1 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6 2013-04-21 David S. Miller <davem@davemloft.net>
8 * po/ru.po: Update Russion translation from translation project.
10 2013-04-17 Adam Conrad <adconrad@0c3.net>
12 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17 * configure.in: Remove i386 configure warning. Remove i386 case.
18 * configure: Regenerate.
19 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20 Add example to error message.
21 * sysdeps/i386/configure: Regenerate.
23 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27 * benchtests/cos-inputs: New file.
28 * benchtests/slowcos-inputs: New file.
29 * benchtests/slowcos.c: New file.
30 * benchtests/slowtan-inputs: New file.
31 * benchtests/slowtan.c: New file.
32 * benchtests/tan-inputs: New file.
34 2013-04-16 Roland McGrath <roland@hack.frob.com>
36 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
39 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41 * benchtests/Makefile: Include cppflags-iterator.mk to add
42 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44 * Makefile.in (bench-clean): New target.
45 * benchtests/Makefile (bench-clean): Likewise.
47 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
49 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
51 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
53 * stdio-common/tstdiomisc.c: Fix coding-style violation.
55 2013-04-15 Andreas Schwab <schwab@suse.de>
57 * nscd/grpcache.c (cache_addgr): Properly check for short write.
58 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59 * nscd/pwdcache.c (cache_addpw): Likewise.
60 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
63 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
65 * benchtests/Makefile (bench): Write all output to
66 bench-out.tmp together.
68 2013-04-15 Andreas Schwab <schwab@suse.de>
70 * nscd/nscd.c (main): Don't fork again after closing files.
72 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
74 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
76 * benchtests/Rules (bench-deps): Collect dependencies into a
77 single variable. Add Makefile to dependencies.
78 ($(objpfx)bench-%.c): Depend on bench-deps.
80 2013-04-12 Roland McGrath <roland@hack.frob.com>
81 Xavier Roche <roche+kml2@exalead.com>
84 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
85 just that it's a file descriptor.
86 * manual/llio.texi (Synchronizing AIO Operations): Update description
87 for EBADF error from aio_fsync.
89 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
91 * Rules (bench): Move target definition...
92 * benchtests/Makefile: ... here.
94 2013-04-11 Carlos O'Donell <carlos@redhat.com>
96 * math/libm-test.inc (cos_test): Fix PI/2 test.
97 (sincos_test): Likewise.
98 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
99 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
101 2013-04-11 Andreas Schwab <schwab@suse.de>
104 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
105 accept exponent character only when digits were seen.
106 * stdio-common/Makefile (tests): Add bug26.
107 * stdio-common/bug26.c: New file.
110 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
113 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
115 * Makeconfig (rtld-prefix): Define built linker prefix.
116 * Rules (run-bench): Use it.
117 * math/Makefile (run-regen-ulps): Likewise.
119 * Rules (bench): Remove eval.
121 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
122 Roland McGrath <roland@hack.frob.com>
123 Ondrej Bilka <neleai@seznam.cz>
126 * time/getdate.c: Include ctype.h and alloca.h.
127 (__getdate_r): Trim leading and trailing spaces of input.
128 * time/tst-getdate.c (tests): Add tests with leading and
131 2013-04-08 Roland McGrath <roland@hack.frob.com>
134 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
135 when computing value.
137 2013-04-06 Carlos O'Donell <carlos@redhat.com>
139 * math/README.libm-test (How can I generate "libm-test-ulps"?):
140 Use testrun.sh to run libm tests.
143 * elf/dl-open.c (dl_open_worker): memset all of seen array.
145 2013-04-06 Marko Myllynen <myllynen@redhat.com>
148 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
150 2013-04-06 Carlos O'Donell <carlos@redhat.com>
152 * Makefile.in (regen-ulps): New target.
153 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
154 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
155 [ifneq (no,$(PERL)] (regen-ulps): New target.
156 [ifeq (no,$(PERL)] (regen-ulps): New target.
157 * math/libm-test.inc (ulps_file_name): Define.
158 (output_dir): New variable.
159 (options): Add "output-dir" option.
160 (parse_opt): Handle 'o' case.
161 (main): If output_dir is non-NULL use it as a prefix
163 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
165 2013-04-06 Carlos O'Donell <carlos@redhat.com>
168 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
169 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
170 fail configure if __sync_val_compare_and_swap is not inlined.
171 * sysdeps/i386/configure: Regenerate.
172 * configure.in: Build for i686 when configured for i386.
173 * configure: Regenerate.
174 * README: Remove i386 reference.
176 2013-04-06 Carlos O'Donell <carlos@redhat.com>
178 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
179 * sysdeps/s390/s390-64/sysdep.h: Likewise.
181 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
183 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
184 (lmsnanval): New variables.
185 (F): Add conversion tests.
186 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
187 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
189 * stdio-common/tstdiomisc.c (F): Properly collect individual
193 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
194 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
195 Instead, use input NaN values or generate a qNaN by arithmetic
196 operation. Also fix bugs to comply with the standard.
197 * math/libm-test.inc (remainder_test): Add more tests.
200 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
201 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
202 input NaN values or generate a qNaN by arithmetic operation.
204 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
207 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
210 2013-04-03 Joseph Myers <joseph@codesourcery.com>
213 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
215 * math/s_cexpf.c (__cexpf): Likewise.
216 * math/s_cexpl.c (__cexpl): Likewise.
217 * math/libm-test.inc (cexp_test): Add more tests.
219 2013-04-03 Andreas Schwab <schwab@suse.de>
222 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
223 order arrays from heap if bigger than alloca cutoff.
225 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
227 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
228 (SNAN_TESTS_double): Refer to GCC PR56831.
229 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
232 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
234 * Rules (bench): Move bench.out after the run is complete.
236 * Rules (bench): Echo currently running benchmark.
238 * benchtests/Makefile (bench): Add atan and slowatan.
239 * benchtests/atan-inputs: New file.
240 * benchtests/slowatan-inputs: New file.
241 * benchtests/slowatan.c: New file.
243 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
244 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
248 * sysdeps/unix/sysv/linux/kernel-features.h
249 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
250 __ASSUME_XFS_RESTRICTED_CHOWN.
251 * sysdeps/unix/sysv/linux/pathconf.c
252 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
253 Save and restore errno.
255 2013-04-02 Joseph Myers <joseph@codesourcery.com>
258 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
259 arguments using __kernel_casinh.
260 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
261 arguments using __kernel_casinhf.
262 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
263 arguments using __kernel_casinhl.
264 * math/libm-test.inc (cacosh_test): Add more tests.
265 * sysdeps/i386/fpu/libm-test-ulps: Update.
266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
268 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
270 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
271 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
273 * bench/Makefile (bench): Add sin and slowsin.
274 * benchtests/sin-inputs: New file.
275 * benchtests/slowsin-inputs: New file.
276 * benchtests/slowsin.c: New file.
278 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
279 (bench): Add slowexp and slowpow.
280 (exp-ITER): Increase iterations.
281 (pow-ITER): Likewise.
282 * benchtests/exp-inputs: Change input.
283 * benchtests/pow-inputs: Likewise.
284 * benchtests/slowexp-inputs: New file.
285 * benchtests/slowexp.c: New file.
286 * benchtests/slowpow-inputs: New file.
287 * benchtests/slowpow.c: New file.
289 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
291 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
293 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
294 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
295 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
296 * benchtests/Makefile: Add rint benchtest.
297 * benchtests/rint-inputs: Input for rint benchtest.
299 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
301 * Versions.def (libm): Add GLIBC_2.18.
302 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
303 hidden libm prototypes.
304 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
305 * math/Makefile (libm-calls): Add s_issignaling.
306 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
307 __issignalingf, __issignalingl. Adjust all libm.abilist files.
308 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
310 * math/math.h [__USE_GNU] (issignaling): New macro.
311 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
312 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
313 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
314 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
315 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
316 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
317 * manual/arith.texi (issignaling): New section.
318 * manual/libm-err-tab.pl (@all_functions): Update comment.
319 * math/gen-libm-test.pl (parse_args): Apply special handling for
321 * math/libm-test.inc (print_float, issignaling_test): New
323 (check_float_internal): Add issignaling checks.
324 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
326 * sysdeps/powerpc/math-tests.h: New file.
327 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
329 * math/test-snan.c (TEST_FUNC): Likewise.
331 2013-03-30 David S. Miller <davem@davemloft.net>
333 * po/de.po: Update from translation team.
335 2013-03-30 Joseph Myers <joseph@codesourcery.com>
338 * math/k_casinh.c (__kernel_casinh): Handle arguments with
339 imaginary part less than 1.0 and real part less than 0.5
341 * math/k_casinhf.c (__kernel_casinhf): Likewise.
342 * math/k_casinhl.c (__kernel_casinhl): Likewise.
343 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
344 (cacos_test): Add more tests.
345 (casin_test): Likewise.
346 (casinh_test): Likewise.
347 * sysdeps/i386/fpu/libm-test-ulps: Update.
348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
350 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
352 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
355 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
356 (__pow_mp): Replace ONE and MONE with their values.
357 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
358 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
359 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
360 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
361 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
362 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
364 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
366 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
367 (__pow_mp): Replace ZERO and MZERO with their values.
368 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
369 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
370 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
372 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
373 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
376 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
378 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
380 2013-03-28 Roland McGrath <roland@hack.frob.com>
382 * include/stdlib.h [!SHARED] (__call_tls_dtors):
383 Declare with __attribute__ ((weak)).
384 * stdlib/exit.c (__libc_atexit) [!SHARED]:
385 Call __call_tls_dtors only if it's not NULL.
387 2013-03-28 Roland McGrath <roland@hack.frob.com>
389 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
390 didn't do it already, then set _dl_phdr and _dl_phnum based on the
391 magic __ehdr_start linker symbol if it's defined.
392 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
393 them up here if it was already done.
395 * elf/dl-support.c (_dl_phdr): Make pointer to const.
396 (_dl_aux_init): Use const in cast when setting it.
397 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
398 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
399 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
401 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
403 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
404 * csu/libc-tls.c: Nor here.
405 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
407 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
408 (__libc_message): Never call vsyslog.
410 2013-03-28 Alan Modra <amodra@gmail.com>
412 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
414 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
417 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
420 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
424 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
427 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
428 Don't add gid passed as argument.
430 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
432 2013-03-27 Joseph Myers <joseph@codesourcery.com>
435 * math/k_casinh.c (__kernel_casinh): Handle arguments with
436 imaginary part between 1.0 and 1.5 and real part less than 0.5
438 * math/k_casinhf.c (__kernel_casinhf): Likewise.
439 * math/k_casinhl.c (__kernel_casinhl): Likewise.
440 * math/libm-test.inc (cacos_test): Add more tests.
441 (casin_test): Likewise.
442 (casinh_test): Likewise.
443 * sysdeps/i386/fpu/libm-test-ulps: Update.
444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
446 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
448 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
452 (__dbl_mp): Likewise.
453 (add_magnitudes): Likewise.
454 (sub_magnitudes): Likewise.
462 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
464 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
465 (__dubcos): Likewise.
466 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
467 (__ieee754_acos): Likewise.
468 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
469 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
471 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
472 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
475 (checkint): Likewise.
476 * sysdeps/ieee754/dbl-64/e_remainder.c
477 (__ieee754_remainder): Likewise.
478 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
479 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
481 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
483 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
484 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
485 MANTISSA_STORE_T to store computations on mantissa. Use
486 macros for rounding and division.
488 (__dbl_mp): Likewise.
489 (add_magnitudes): Likewise.
490 (sub_magnitudes): Likewise.
493 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
494 powers of two in terms of TWOPOW macro.
495 (mp_no): Make type of mantissa as MANTISSA_T.
496 [!RADIXI]: Define RADIXI.
497 [!TWO52]: Define TWO52.
498 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
500 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
502 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
503 llroundl symbol when building for PPC32.
505 2013-03-24 Mark H Weaver <mhw@netris.org>
507 * manual/arith.texi (Normalization Functions): Fix prototypes for
508 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
510 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
513 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
514 high value to check if expl overflow.
515 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
516 to check for underflow and overflow.
517 * math/libm-test.inc: Add exp test.
519 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
522 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
525 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
527 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
530 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
532 * math/gen-libm-test.pl (parse_args, special_functions): Properly
533 wrap blocks consisting of several statements.
535 * sysdeps/generic/math-tests.h: New file.
536 * sysdeps/i386/fpu/math-tests.h: Likewise.
537 * math/test-snan.c: Include it.
538 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
540 2013-03-21 Joseph Myers <joseph@codesourcery.com>
543 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
544 (__ieee754_j0l): Do not improve calculations using cos of twice
545 input for inputs above LDBL_MAX / 2.0L.
546 (__ieee754_y0l): Likewise.
547 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
548 (__ieee754_j1l): Do not improve calculations using cos of twice
549 input for inputs above LDBL_MAX / 2.0L.
550 (__ieee754_y1l): Likewise.
551 * math/libm-test.inc (j0_test): Add another test.
555 * sysdeps/i386/fpu/libm-test-ulps: Update.
557 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
559 * Rules ($(objpfx)bench-%.c): Include code from a C source
562 2013-03-21 Joseph Myers <joseph@codesourcery.com>
565 * math/k_casinh.c (__kernel_casinh): Handle arguments with
566 imaginary part 1.0 and real part less than 0.5 specially.
567 * math/k_casinhf.c (__kernel_casinhf): Likewise.
568 * math/k_casinhl.c (__kernel_casinhl): Likewise.
569 * math/libm-test.inc (cacos_test): Add more tests.
570 (casin_test): Likewise.
571 (casinh_test): Likewise.
572 * sysdeps/i386/fpu/libm-test-ulps: Update.
573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
575 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
577 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
578 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
580 2013-03-20 Joseph Myers <joseph@codesourcery.com>
582 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
583 * config.make.in (config-cflags-sse4): Remove variable.
584 (config-cflags-avx): Likewise.
585 (config-cflags-sse2avx): Likewise.
586 (config-cflags-novzeroupper): Likewise.
587 (config-asflags-i686): Likewise.
588 (have-mfma4): Likewise.
589 (have-as-vis3): Likewise.
591 * configure.in (MIG): Do not AC_SUBST.
592 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
593 (libc_cv_cc_sse4): Do not AC_SUBST.
594 (libc_cv_cc_avx): Likewise.
595 (libc_cv_cc_sse2avx): Likewise.
596 (libc_cv_cc_novzeroupper): Likewise.
597 (libc_cv_cc_fma4): Likewise.
598 (libc_cv_as_i686): Likewise.
599 (libc_cv_sparc_as_vis3): Likewise.
600 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
602 (config-asflags-i686): Likewise.
603 (config-cflags-avx): Likewise.
604 (config-cflags-sse2avx): Likewise.
605 (have-mfma4): Likewise.
606 (config-cflags-novzeroupper): Likewise.
607 * sysdeps/mach/configure.in (MIG): Likewise.
608 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
609 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
611 (config-cflags-avx): Likewise.
612 (config-cflags-sse2avx): Likewise.
613 (have-mfma4): Likewise.
614 (config-cflags-novzeroupper): Likewise.
615 * configure: Regenerated.
616 * sysdeps/i386/configure: Likewise.
617 * sysdeps/mach/configure: Likewise.
618 * sysdeps/sparc/configure: Likewise.
619 * sysdeps/x86_64/configure: Likewise.
621 2013-03-20 Roland McGrath <roland@hack.frob.com>
624 * locale/programs/localedef.c (options): Put N_ translation marker
625 on argument names, not just descriptions.
627 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
629 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
631 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
634 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
636 2013-03-19 Roland McGrath <roland@hack.frob.com>
638 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
639 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
640 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
641 [!BEFORE_ABORT] (before_abort): New function.
642 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
643 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
644 (writev_for_fatal): New function.
645 (WRITEV_FOR_FATAL): New macro; call that.
646 (backtrace_and_maps): New function.
647 (BEFORE_ABORT): New macro; call that.
648 (struct str_list): Type removed.
649 (__libc_message, __libc_fatal): Functions removed.
650 Include <sysdeps/posix/libc_fatal.c> instead.
652 2013-03-19 Joseph Myers <joseph@codesourcery.com>
654 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
656 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
659 2013-03-19 Andreas Schwab <schwab@suse.de>
661 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
662 * sysdeps/gnu/configure: Regenerate.
664 * configure.in: Substitute libc_cv_rtlddir.
665 * configure: Regenerate.
666 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
667 * Makeconfig (rtlddir, inst_rtlddir): New variables.
668 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
669 * elf/Makefile (install-others, CFLAGS-interp.c)
670 (ldso_install, common-ldd-rewrite): Likewise.
671 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
672 $(inst_slibdir)/$(rtld-installed-name).
673 * scripts/rellns-sh: Add -p option.
674 * Makerules (make-shlib-link): Use rellns-sh to get relative name
677 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
679 * manual/nptl.texi: Renamed to ...
680 * manual/threads.texi: ... this.
681 * manual/Makefile (chapters): Update.
683 2013-03-18 Roland McGrath <roland@hack.frob.com>
686 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
687 on argument names, not just descriptions.
688 * malloc/memusagestat.c (options): Likewise.
689 * nss/getent.c (options): Likewise.
691 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
694 * iconv/iconv_prog.c (options): Put N_ translation marker
695 on argument names, not just descriptions.
696 * iconv/iconvconfig.c (options): Likewise.
698 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
700 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
701 implementation which is faster on all x86_64 architectures.
702 Tested on AMD, Intel Nehalem, SNB, IVB.
703 * sysdeps/x86_64/strnlen.S: Likewise.
705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
706 Remove all multiarch strlen and strnlen versions.
707 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
708 Remove strlen and strnlen related parts.
710 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
712 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
714 * sysdeps/x86_64/multiarch/strlen.S: Remove.
715 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
716 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
717 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
718 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
719 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
721 2013-03-17 Carlos O'Donell <carlos@redhat.com>
723 * manual/memory.texi (Malloc Tunable Parameters):
724 Sort parameters alphabetically. Add comments for missing entries.
726 2013-03-17 David S. Miller <davem@davemloft.net>
728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
730 2013-03-16 Joseph Myers <joseph@codesourcery.com>
733 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
734 for arguments at most half maximum finite value.
735 * math/libm-test.inc (j0_test): Add more tests.
739 * sysdeps/i386/fpu/libm-test-ulps: Update.
740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
743 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
744 1 / x and functions P and Q for arguments above 0x1p256L.
745 (__ieee754_y0l): Likewise.
746 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
747 (__ieee754_y1l): Likewise.
748 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
753 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
755 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
758 2013-03-15 Roland McGrath <roland@hack.frob.com>
760 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
761 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
762 zero since it's initialized to EXEC_PAGESIZE.
764 * sysdeps/unix/sysv/linux/ldsodefs.h
765 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
766 * sysdeps/generic/ldsodefs.h: ... here.
768 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
770 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
772 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
774 * math/test-snan.c: Renamed from
775 sysdeps/powerpc/fpu/test-powerpc-snan.c.
776 * math/Makefile (tests): Add test-snan.
777 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
780 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
781 SUFFIX. Initialize qNaN_var with __builtin_nan family of
783 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
784 __builtin_nan family of functions.
785 * math/libm-test.inc (initialize): Initialize qnan_value with
786 __builtin_nan family of functions.
787 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
789 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
791 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
792 storage class. Initialize qNaN_var and sNaN_var with
793 __builtin_nan and __builtin_nans families of functions,
796 * math/libm-test.inc (acosh_test): Also test with qNaN input.
797 (sqrt_test): Remove duplicate test with qNaN input.
798 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
799 (round_test, signbit_test, significand_test): Note missing +/-Inf
800 as well as qNaN tests.
802 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
803 qNaN_var. Fix a few strings, too.
804 * math/libm-test.inc (nan_value): Rename to qnan_value.
805 * math/gen-libm-test.pl (%beautify): Adjust to that.
806 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
807 * math/test-misc.c (main): Likewise.
808 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
809 to __qnan_bytes, and __qnan_union, respectively.
810 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
812 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
813 and lqnanval, respectively.
814 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
815 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
816 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
817 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
819 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
820 * math/test-misc.c (main) [__x86_64__]: Enable test for long
823 * math/test-misc.c (main): Fix copy'n'pastos.
824 * misc/tst-efgcvt.c (special): Likewise.
826 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
829 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
831 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
832 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
833 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
834 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
836 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
838 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
839 macro to return vdso values correctly in IFUNC implementations.
840 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
841 Optimization by using IFUNC.
843 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
844 Richard Henderson <rth@redhat.com>
845 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
847 * Makefile.in (bench): New target.
848 * NEWS: Mention the benchmark framework.
849 * Rules (bench): Likewise.
850 (binaries-bench): Generate binaries for functions to
852 * benchtests/Makefile: New makefile for benchmark tests.
853 * benchtests/bench-skeleton.c: New skeleton file for benchmark
855 * benchtests/exp-inputs: New input file for EXP function.
856 * benchtests/pow-inputs: New input file for POW function.
857 * scripts/bench.pl: New script to generate source files for
860 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
862 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
863 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
864 computations on mantissa. Use macros for rounding and
867 (__dbl_mp): Likewise.
868 (add_magnitudes): Likewise.
869 (sub_magnitudes): Likewise.
872 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
873 powers of two in terms of TWOPOW macro.
874 (mp_no): Make type of mantissa as MANTISSA_T.
875 [!RADIXI]: Define RADIXI.
876 [!TWO52]: Define TWO52.
877 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
879 * manual/nptl.texi (cindex): Modify threads to pthreads.
881 2013-03-15 Joseph Myers <joseph@codesourcery.com>
883 * sysdeps/x86_64/preconfigure: Regenerated.
885 2013-03-14 Joseph Myers <joseph@codesourcery.com>
888 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
890 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
891 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
893 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
894 * math/libm-test.inc (j0_test): Do not allow one spurious
898 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
900 * manual/Makefile (chapters): Add nptl.
901 * manual/debug.texi (Debugging Support): Add link to Threads
903 * manual/nptl.texi: New file.
905 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
907 2013-03-14 Petr Baudis <pasky@ucw.cz>
909 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
910 for non-NULL pointer before the memory validity test. Pointed
911 out by Holger Brunck <holger.brunck@keymile.com>.
913 2013-03-13 Andreas Schwab <schwab@suse.de>
915 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
918 2013-03-13 Joseph Myers <joseph@codesourcery.com>
920 * timezone/zic.c: Update from tzcode 2013b.
922 2013-03-12 Carlos O'Donell <carlos@redhat.com>
924 * manual/install.texi (Configuring and compiling):
925 Mention i686 and i586.
926 * INSTALL: Regenerate.
928 2013-03-12 Roland McGrath <roland@hack.frob.com>
930 * sysdeps/init_array/elf-init.c: New file.
932 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
933 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
935 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
936 __gmon_start__ as global, but as static with a .preinit_array pointer.
937 * sysdeps/init_array/gmon-start.c: New file. Use that.
938 * sysdeps/init_array/crti.S: New file, empty except for comments.
939 * sysdeps/init_array/crtn.S: Likewise.
941 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
943 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
946 Remove Prefer_SSE_for_memop.
947 * sysdeps/x86_64/multiarch/init-arch.h: Remove
948 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
949 HAS_PREFER_SSE_FOR_MEMOP.
950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
952 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
953 Remove bzero, memset ifunc support.
954 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
955 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
956 * sysdeps/x86_64/multiarch/memset.S: Likewise.
957 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
959 2013-03-11 Andreas Schwab <schwab@suse.de>
962 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
965 (GLIBC_2.16): Remove pthread_atfork.
967 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
969 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
970 (ptestcases.h): Likewise.
972 2013-03-08 Roland McGrath <roland@hack.frob.com>
974 * Makeconfig ($(common-objpfx)config.status): Depend on
975 sysdeps/*/preconfigure{,.in} too.
977 2013-03-08 Joseph Myers <joseph@codesourcery.com>
979 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
980 (__free_hook): Use void * instead of __malloc_ptr_t.
981 (__malloc_hook): Likewise.
982 (__realloc_hook): Likewise.
983 (__memalign_hook): Likewise.
984 (__after_morecore_hook): Likewise.
985 * malloc/arena.c (save_malloc_hook): Likewise.
986 (save_free_hook): Likewise.
987 * malloc/hooks.c (malloc_hook_ini): Likewise.
988 (realloc_hook_ini): Likewise.
989 (memalign_hook_ini): Likewise.
990 * malloc/malloc.c (malloc_hook_ini): Likewise.
991 (realloc_hook_ini): Likewise.
992 (memalign_hook_ini): Likewise.
993 (__free_hook): Likewise.
994 (__malloc_hook): Likewise.
995 (__realloc_hook): Likewise.
996 (__memalign_hook): Likewise.
997 (__libc_malloc): Likewise.
998 (__libc_free): Likewise.
999 (__libc_realloc): Likewise.
1000 (__libc_memalign): Likewise.
1001 (__libc_valloc): Likewise.
1002 (__libc_pvalloc): Likewise.
1003 (__libc_calloc): Likewise.
1004 (__posix_memalign): Likewise.
1005 * malloc/morecore.c (__sbrk): Likewise.
1006 (__default_morecore): Likewise.
1008 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1010 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1011 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1014 * malloc/malloc.h (__malloc_size_t): Remove macro.
1015 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1017 (old_memalign_hook): Likewise.
1018 (old_realloc_hook): Likewise.
1019 (struct hdr): Likewise.
1021 (mallochook): Likewise.
1022 (memalignhook): Likewise.
1023 (reallochook): Likewise.
1024 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1025 (tr_old_realloc_hook): Likewise.
1026 (tr_old_memalign_hook): Likewise.
1027 (tr_mallochook): Likewise.
1028 (tr_reallochook): Likewise.
1029 (tr_memalignhook): Likewise.
1031 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1033 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1034 default_ldbl_pack and using as default implementation.
1035 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1037 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1038 redundant definition.
1039 (ldbl_insert_mantissa): Likewise.
1040 (ldbl_canonicalize): Likewise.
1041 (ldbl_nearbyint): Likewise.
1042 (ldbl_pack): Rename to ldbl_pack_ppc.
1043 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1044 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1045 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1047 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1050 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1051 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1052 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1054 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1055 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1056 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1058 2013-03-07 Andreas Jaeger <aj@suse.de>
1060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1063 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1065 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1066 Include mpa.h and declare __MPEXP.
1067 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1068 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1069 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1070 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1071 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1072 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1073 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1075 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1076 (__slowpow): Use long double EXPL and LOGL functions to
1078 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1079 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1080 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1081 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1082 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1083 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1086 intermediate variable to calculate exponent.
1088 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1092 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1093 [!NO__SQR]: Define __sqr.
1094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1095 and NO__SQR. Remove all code except __mul and __sqr. Include
1096 sysdeps/ieee754/dbl-64/mpa.c.
1097 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1100 * posix/Makefile (tests): Add tst-pathconf.
1101 * posix/tst-pathconf.c: New test case.
1102 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1104 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1106 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
1108 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1110 2013-03-06 Andreas Jaeger <aj@suse.de>
1112 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1113 definition via __MAP_ANONYMOUS.
1115 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1116 it's not part of Linux headers.
1118 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1119 (MAP_HUGE_MASK): Define.
1121 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1123 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1124 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1126 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1127 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1129 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1130 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1132 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1134 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1135 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1136 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1137 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1138 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1139 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1141 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1144 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1145 Handle f2fs and efivarfs.
1147 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1150 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1151 (EFIVARFS_MAGIC): Add.
1152 (F2FS_LINK_MAX): Add.
1154 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1156 * stdio-common/vfprintf.c: Replace __builtin_expect with
1159 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1162 * sysdeps/generic/bp-sym.h: Remove file.
1163 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1164 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1165 <bp-sym.h> and <bp-asm.h>.
1166 (__longjmp): Don't use BP_SYM.
1167 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1169 (memcpy): Don't use BP_SYM.
1170 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1171 <bp-sym.h> and <bp-asm.h>.
1172 (memcpy): Don't use BP_SYM.
1173 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1175 (memcpy): Don't use BP_SYM.
1176 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1178 (memset): Don't use BP_SYM.
1179 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1180 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1181 (__bzero): Don't use BP_SYM.
1182 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1183 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1184 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1185 <bp-sym.h> and <bp-asm.h>.
1186 (memcmp): Don't use BP_SYM. Remove comment about bounded
1188 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1189 <bp-sym.h> and <bp-asm.h>.
1190 (memcpy): Don't use BP_SYM.
1191 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1192 <bp-sym.h> and <bp-asm.h>.
1193 (memset): Don't use BP_SYM.
1194 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1195 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1196 (__bzero): Don't use BP_SYM.
1197 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1198 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1199 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1200 <bp-sym.h> and <bp-asm.h>.
1201 (strncmp): Don't use BP_SYM. Remove comment about bounded
1203 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1204 <bp-sym.h> and <bp-asm.h>.
1205 (memcpy): Don't use BP_SYM.
1206 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1207 <bp-sym.h> and <bp-asm.h>.
1208 (memset): Don't use BP_SYM.
1209 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1210 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1211 (__bzero): Don't use BP_SYM.
1212 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1213 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1214 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1215 <bp-sym.h> and <bp-asm.h>.
1216 (__memchr): Don't use BP_SYM.
1217 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1218 <bp-sym.h> and <bp-asm.h>.
1219 (memcmp): Don't use BP_SYM. Remove comment about bounded
1221 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1222 <bp-sym.h> and <bp-asm.h>.
1223 (memcpy): Don't use BP_SYM.
1224 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1225 <bp-sym.h> and <bp-asm.h>.
1226 (__mempcpy): Don't use BP_SYM.
1227 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1228 <bp-sym.h> and <bp-asm.h>.
1229 (__memrchr): Don't use BP_SYM.
1230 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1231 <bp-sym.h> and <bp-asm.h>.
1232 (memset): Don't use BP_SYM.
1233 (__bzero): Likewise.
1234 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1235 <bp-sym.h> and <bp-asm.h>.
1236 (__rawmemchr): Don't use BP_SYM.
1237 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1238 <bp-sym.h> and <bp-asm.h>.
1239 (__STRCMP): Don't use BP_SYM.
1240 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1241 <bp-sym.h> and <bp-asm.h>.
1242 (strchr): Don't use BP_SYM.
1243 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1244 <bp-sym.h> and <bp-asm.h>.
1245 (__strchrnul): Don't use BP_SYM.
1246 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1247 <bp-sym.h> and <bp-asm.h>.
1248 (strlen): Don't use BP_SYM.
1249 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1250 <bp-sym.h> and <bp-asm.h>.
1251 (strncmp): Don't use BP_SYM. Remove comment about bounded
1253 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1254 <bp-sym.h> and <bp-asm.h>.
1255 (__strnlen): Don't use BP_SYM.
1256 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1257 <bp-sym.h> and <bp-asm.h>.
1258 (__GI__setjmp): Don't use BP_SYM.
1259 (_setjmp): Likewise.
1260 (__sigsetjmp): Likewise.
1261 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1262 (L(start_addresses)): Don't use BP_SYM.
1264 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1266 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1267 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1268 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1269 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1270 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1272 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1273 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1274 about bounded pointers.
1275 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1276 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1277 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1279 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1280 about bounded pointers. Remove GKM FIXME comments.
1281 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1282 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1284 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1285 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1286 Remove GKM FIXME comments.
1287 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1288 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1289 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1291 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1292 about bounded pointers. Remove GKM FIXME comment.
1293 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1295 (strncmp): Don't use BP_SYM. Remove comment about bounded
1297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1298 <bp-sym.h> and <bp-asm.h>.
1299 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1301 <bp-sym.h> and <bp-asm.h>.
1302 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1305 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1307 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1310 2013-03-05 David S. Miller <davem@davemloft.net>
1312 * po/es.po: Update from translation team.
1314 2013-03-05 Andreas Jaeger <aj@suse.de>
1316 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1317 <bits/mman-linux.h>.
1318 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1320 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1321 <bits/mman-linux.h> to end of file.
1322 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1324 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1325 <bits/mman-linux.h> to end of file.
1326 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1328 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1329 <bits/mman-linux.h> to end of file.
1331 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1332 (MCL_CURRENT, MCL_FUTURE): Define here.
1334 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1337 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1339 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1341 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1343 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1344 fourth parameter needed for rt_sigprocmask syscall.
1345 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1346 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1347 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1348 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1349 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1350 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1352 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1355 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1356 comment about bounded pointers.
1357 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1358 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1360 2013-03-04 Andreas Jaeger <aj@suse.de>
1362 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1365 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1366 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1367 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1368 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1369 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1370 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1372 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1375 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1376 __ieee754_sqrl instead of __sqrl.
1378 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1380 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1381 * sysdeps/powerpc/fpu_control.h: ... here.
1382 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1383 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1384 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1385 * sysdeps/powerpc/bits/mathinline.h: ... here.
1387 2013-03-01 Roland McGrath <roland@hack.frob.com>
1389 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1390 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1391 to just [NEED_DL_SYSINFO_DSO].
1392 * elf/dl-support.c: Likewise.
1393 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1394 * elf/rtld.c (dl_main): Likewise.
1395 * elf/setup-vdso.h (setup_vdso): Likewise.
1396 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1397 * sysdeps/unix/sysv/linux/dl-sysdep.c
1398 (_dl_discover_osversion): Likewise.
1400 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1402 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1403 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1405 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1407 * NEWS: Mention libm performance improvements and non-x86 PI
1410 * csu/libc-start.c (__pthread_initialize_minimal): Change
1412 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1414 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1417 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1418 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1419 <bp-sym.h> and <bp-asm.h>.
1420 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1421 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1423 (memcpy): Don't use BP_SYM.
1424 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1426 (__mpn_add_n): Don't use BP_SYM.
1427 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1428 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1430 (__mpn_addmul_1): Don't use BP_SYM.
1431 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1432 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1434 (_setjmp): Don't use BP_SYM.
1435 (__novmx_setjmp): Likewise.
1436 (__GI__setjmp): Likewise.
1437 (__vmx_setjmp): Likewise.
1438 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1440 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1441 (__bzero): Don't use BP_SYM.
1442 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1443 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1444 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1445 <bp-sym.h> and <bp-asm.h>.
1446 (memcpy): Don't use BP_SYM.
1447 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1448 <bp-sym.h> and <bp-asm.h>.
1449 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1450 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1451 <bp-sym.h> and <bp-asm.h>.
1452 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1453 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1455 (__mpn_lshift): Don't use BP_SYM.
1456 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1457 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1459 (memset): Don't use BP_SYM.
1460 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1461 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1462 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1464 (__mpn_mul_1): Don't use BP_SYM.
1465 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1466 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1467 <bp-sym.h> and <bp-asm.h>.
1468 (memcmp): Don't use BP_SYM.
1469 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1470 <bp-sym.h> and <bp-asm.h>.
1471 (memcpy): Don't use BP_SYM.
1472 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1473 <bp-sym.h> and <bp-asm.h>.
1474 (memset): Don't use BP_SYM.
1475 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1476 <bp-sym.h> and <bp-asm.h>.
1477 (strncmp): Don't use BP_SYM.
1478 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1479 <bp-sym.h> and <bp-asm.h>.
1480 (memcpy): Don't use BP_SYM.
1481 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1482 <bp-sym.h> and <bp-asm.h>.
1483 (memset): Don't use BP_SYM.
1484 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1485 <bp-sym.h> and <bp-asm.h>.
1486 (__memchr): Don't use BP_SYM.
1487 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1488 <bp-sym.h> and <bp-asm.h>.
1489 (memcmp): Don't use BP_SYM.
1490 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1491 <bp-sym.h> and <bp-asm.h>.
1492 (memcpy): Don't use BP_SYM.
1493 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1494 <bp-sym.h> and <bp-asm.h>.
1495 (__mempcpy): Don't use BP_SYM.
1496 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1497 <bp-sym.h> and <bp-asm.h>.
1498 (__memrchr): Don't use BP_SYM.
1499 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1500 <bp-sym.h> and <bp-asm.h>.
1501 (memset): Don't use BP_SYM.
1502 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1503 <bp-sym.h> and <bp-asm.h>.
1504 (__rawmemchr): Don't use BP_SYM.
1505 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1506 <bp-sym.h> and <bp-asm.h>.
1507 (__STRCMP): Don't use BP_SYM.
1508 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1509 <bp-sym.h> and <bp-asm.h>.
1510 (strchr): Don't use BP_SYM.
1511 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1512 <bp-sym.h> and <bp-asm.h>.
1513 (__strchrnul): Don't use BP_SYM.
1514 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1515 <bp-sym.h> and <bp-asm.h>.
1516 (strlen): Don't use BP_SYM.
1517 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1518 <bp-sym.h> and <bp-asm.h>.
1519 (strncmp): Don't use BP_SYM.
1520 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1521 <bp-sym.h> and <bp-asm.h>.
1522 (__strnlen): Don't use BP_SYM.
1523 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1525 (__mpn_rshift): Don't use BP_SYM.
1526 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1527 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1528 <bp-sym.h> and <bp-asm.h>.
1529 (__sigsetjmp): Don't use BP_SYM.
1530 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1531 (L(start_addresses)): Don't use BP_SYM.
1533 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1535 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1536 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1537 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1538 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1540 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1541 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1542 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1543 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1545 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1547 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1548 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1550 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1552 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1553 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1554 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1556 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1558 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1560 (strncmp): Don't use BP_SYM,
1561 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1563 (__mpn_sub_n): Don't use BP_SYM.
1564 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1565 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1567 (__mpn_submul_1): Don't use BP_SYM.
1568 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1570 <bp-sym.h> and <bp-asm.h>.
1571 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1573 <bp-sym.h> and <bp-asm.h>.
1574 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1577 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1580 Use ZK to minimize writes to Z.
1581 (sub_magnitudes): Simplify code a bit.
1582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1583 Use ZK to minimize writes to Z.
1584 (sub_magnitudes): Simplify code a bit.
1586 2013-02-27 Roland McGrath <roland@hack.frob.com>
1588 * csu/gmon-start.c: Add special exception to license text.
1590 2013-02-27 Richard Henderson <rth@redhat.com>
1592 * scripts/config.guess: Update from config.git.
1593 * scripts/config.sub: Likewise.
1595 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1597 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1599 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1601 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1603 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1605 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1607 2013-02-26 Roland McGrath <roland@hack.frob.com>
1609 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1610 [$(build-shared = yes].
1612 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1614 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1615 (__mul): Reduce iterations for calculating mantissa.
1617 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1619 (__mpranred): Likewise.
1622 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1623 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1625 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1627 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1628 Define __attribute__.
1630 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1632 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1634 * posix/regex_internal.h (__attribute): Remove.
1635 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1636 (re_string_context_at): Likewise.
1637 (bitset_not): Use __attribute__ and mark function as possibly
1639 (bitset_merge): Likewise.
1640 (bitset_mask): Likewise.
1641 (re_string_char_size_at): Likewise.
1642 (re_string_wchar_at): Likewise.
1643 (re_string_elem_size_at): Likewise.
1645 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1647 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1651 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1656 (__dbl_mp): Likewise.
1657 (add_magnitudes): Likewise.
1658 (sub_magnitudes): Likewise.
1662 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1665 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1668 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1672 up changes with default code.
1673 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1676 2013-02-24 Allan McRae <allan@archlinux.org>
1678 * manual/socket.texi (The Internet Namespace): Order menu items
1679 to match that in the file.
1681 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1682 node listing of the info page menu.
1684 2013-02-21 Joseph Myers <joseph@codesourcery.com>
1687 * sysdeps/i386/bp-asm.h: Remove file.
1688 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1689 (PARMS): Do not use macros from bp-asm.h.
1693 (__mpn_add_n): Do not use BP_SYM
1694 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1696 (PARMS): Do not use macros from bp-asm.h.
1699 (__mpn_addmul_1): Do not use BP_SYM
1700 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1702 (PARMS): Do not use macros from bp-asm.h.
1704 (_setjmp): Likewise. Do not use BP_SYM.
1705 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1707 (PARMS): Do not use macros from bp-asm.h.
1709 (setjmp): Likewise. Do not use BP_SYM.
1710 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1712 (PARMS): Do not use macros from bp-asm.h.
1713 (__frexp): Do not use BP_SYM.
1715 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1717 (PARMS): Do not use macros from bp-asm.h.
1718 (__frexpf): Do not use BP_SYM.
1720 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1722 (PARMS): Do not use macros from bp-asm.h.
1723 (__frexpl): Do not use BP_SYM.
1725 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1727 (PARMS): Do not use macros from bp-asm.h.
1728 (__remquo): Do not use BP_SYM.
1730 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1732 (PARMS): Do not use macros from bp-asm.h.
1733 (__remquof): Do not use BP_SYM.
1734 (remquof): Likewise.
1735 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1737 (PARMS): Do not use macros from bp-asm.h.
1738 (__remquol): Do not use BP_SYM.
1739 (remquol): Likewise.
1740 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1742 (PARMS): Do not use macros from bp-asm.h.
1745 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1746 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1748 (PARMS): Do not use macros from bp-asm.h.
1749 (strlen): Do not use BP_SYM.
1750 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1752 (PARMS): Do not use macros from bp-asm.h.
1756 (__mpn_add_n): Do not use BP_SYM.
1757 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1759 (PARMS): Do not use macros from bp-asm.h.
1762 (__mpn_addmul_1): Do not use BP_SYM.
1763 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1766 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1768 (PARMS): Do not use macros from bp-asm.h.
1771 (__mpn_lshift): Do not use BP_SYM.
1772 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1774 (PARMS): Do not use macros from bp-asm.h.
1778 (memcpy): Likewise. Do not use BP_SYM.
1779 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1780 libc_hidden_def and weak_alias.
1781 (mempcpy): Do not use BP_SYM in weak_alias.
1782 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1784 (PARMS): Do not use macros from bp-asm.h.
1787 [!BZERO_P] (CHR): Likewise.
1788 (memset): Likewise. Do not use BP_SYM.
1789 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1791 (PARMS): Do not use macros from bp-asm.h.
1794 (__mpn_mul_1): Do not use BP_SYM.
1795 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1797 (PARMS): Do not use macros from bp-asm.h.
1800 (__mpn_rshift): Do not use BP_SYM.
1801 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1803 (PARMS): Do not use macros from bp-asm.h.
1806 (strchr): Likewise. Do not use BP_SYM.
1807 (index): Do not use BP_SYM in weak_alias.
1808 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1810 (PARMS): Do not use macros from bp-asm.h.
1813 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1814 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1816 (PARMS): Do not use macros from bp-asm.h.
1817 (strlen): Do not use BP_SYM.
1818 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1820 (PARMS): Do not use macros from bp-asm.h.
1824 (__mpn_sub_n): Do not use BP_SYM.
1825 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1827 (PARMS): Do not use macros from bp-asm.h.
1830 (__mpn_submul_1): Do not use BP_SYM.
1831 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1833 (PARMS): Do not use macros from bp-asm.h.
1837 (__mpn_add_n): Do not use BP_SYM.
1838 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1841 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1843 (PARMS): Do not use macros from bp-asm.h.
1846 (memcmp): Do not use BP_SYM.
1847 (bcmp): Do not use BP_SYM in weak_alias.
1848 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1850 (PARMS): Do not use macros from bp-asm.h.
1854 (memcpy): Likewise. Do not use BP_SYM.
1855 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1857 (PARMS): Do not use macros from bp-asm.h.
1861 (memmove): Likewise. Do not use BP_SYM.
1862 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1864 (PARMS): Do not use macros from bp-asm.h.
1868 (__mempcpy): Likewise. Do not use BP_SYM.
1869 (mempcpy): Do not use BP_SYM in weak_alias.
1870 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1872 (PARMS): Do not use macros from bp-asm.h.
1875 [!BZERO_P] (CHR): Likewise.
1876 (memset): Likewise. Do not use BP_SYM.
1877 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1879 (PARMS): Do not use macros from bp-asm.h.
1881 (strcmp): Do not use BP_SYM.
1882 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1884 (PARMS): Do not use macros from bp-asm.h.
1887 [USE_AS_STRTOK_R] (SAVE): Likewise.
1888 (FUNCTION): Likewise. Do not use BP_SYM.
1889 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1891 (strtok_r): Likewise.
1892 (__GI___strtok_r): Likewise.
1893 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1894 (PARMS): Do not use macros from bp-asm.h.
1897 (__mpn_lshift): Do not use BP_SYM.
1898 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1899 (PARMS): Do not use macros from bp-asm.h.
1902 (__memchr): Do not use BP_SYM.
1903 (memchr): Do not use BP_SYM in weak_alias.
1904 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1905 (PARMS): Do not use macros from bp-asm.h.
1908 (memcmp): Do not use BP_SYM.
1909 (bcmp): Do not use BP_SYM in weak_alias.
1910 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1911 (PARMS): Do not use macros from bp-asm.h.
1914 (__mpn_mul_1): Do not use BP_SYM.
1915 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1917 (PARMS): Do not use macros from bp-asm.h.
1920 (__rawmemchr): Do not use BP_SYM.
1921 (rawmemchr): Do not use BP_SYM in weak_alias.
1922 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1923 (PARMS): Do not use macros from bp-asm.h.
1926 (__mpn_rshift): Do not use BP_SYM.
1927 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1928 (PARMS): Do not use macros from bp-asm.h.
1930 (__sigsetjmp): Likewise. Do not use BP_SYM.
1931 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1932 (_start): Do not use BP_SYM.
1933 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1934 (PARMS): Do not use macros from bp-asm.h.
1937 (__stpcpy): Likewise. Do not use BP_SYM.
1938 (stpcpy): Do not use BP_SYM in weak_alias.
1939 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1941 (PARMS): Do not use macros from bp-asm.h.
1945 (__stpncpy): Likewise. Do not use BP_SYM.
1946 (stpncpy): Do not use BP_SYM in weak_alias.
1947 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1948 (PARMS): Do not use macros from bp-asm.h.
1951 (strchr): Likewise. Do not use BP_SYM.
1952 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1954 (PARMS): Do not use macros from bp-asm.h.
1957 (__strchrnul): Likewise. Do not use BP_SYM.
1958 (strchrnul): Do not use BP_SYM in weak_alias.
1959 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1961 (PARMS): Do not use macros from bp-asm.h.
1963 (strcspn): Do not use BP_SYM.
1964 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1966 (PARMS): Do not use macros from bp-asm.h.
1969 (strpbrk): Likewise. Do not use BP_SYM.
1970 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1972 (PARMS): Do not use macros from bp-asm.h.
1975 (strrchr): Likewise. Do not use BP_SYM.
1976 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1977 (PARMS): Do not use macros from bp-asm.h.
1979 (strspn): Do not use BP_SYM.
1980 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1981 (PARMS): Do not use macros from bp-asm.h.
1985 (FUNCTION): Likewise. Do not use BP_SYM.
1986 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1988 (strtok_r): Likewise.
1989 (__GI___strtok_r): Likewise.
1990 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1991 (PARMS): Do not use macros from bp-asm.h.
1995 (__mpn_sub_n): Do not use BP_SYM.
1996 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1998 (PARMS): Do not use macros from bp-asm.h.
2001 (__mpn_submul_1): Do not use BP_SYM.
2002 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2004 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2006 (PARMS): Do not use macros from bp-asm.h.
2011 (__clone): Do not use BP_SYM.
2012 (clone): Do not use BP_SYM in weak_alias.
2013 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2015 (PARMS): Do not use macros from bp-asm.h.
2017 (__mmap64): Do not use BP_SYM.
2018 (mmap64): Do not use BP_SYM in weak_alias.
2019 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2020 <bp-sym.h> and <bp-asm.h>.
2021 (PARMS): Do not use macros from bp-asm.h.
2022 (__posix_fadvise64_l64): Do not use BP_SYM.
2023 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2024 (PARMS): Do not use macros from bp-asm.h.
2026 (semtimedop): Do not use BP_SYM.
2027 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2030 2013-02-21 Allan McRae <allan@archlinux.org>
2032 * manual/message.texi (Charset conversion in gettext):
2033 Move @end statement to beginning of line.
2035 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2042 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2047 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2049 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2050 tail-call to the resolved function if pltexit isn't needed.
2052 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2055 or Y being zero as being unlikely.
2056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2059 2013-02-20 Carlos O'Donell <carlos@redhat.com>
2061 * manual/nss.texi (System Databases and Name Service Switch):
2062 Remove frobnicate @pxref.
2064 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2066 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2067 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2069 2013-02-20 Petr Machata <pmachata@redhat.com>
2071 * elf/elf.h (R_ARM_TARGET1): New macro.
2072 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2073 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2074 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2075 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2076 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2077 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2078 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2079 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2080 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2081 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2082 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2083 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2084 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2085 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2086 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2087 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2088 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2089 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2090 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2091 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2092 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2093 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2094 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2095 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2096 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2097 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2098 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2099 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2100 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2101 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2102 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2103 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2104 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2105 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2106 (R_ARM_THM_GOT_BREL12): Likewise.
2107 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2108 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2109 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2110 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2111 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2112 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2113 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2114 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2115 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2117 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2119 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2120 __attribute_used__ to __attribute__ ((unused)).
2122 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2124 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2130 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2133 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2135 (ENTER): Remove both macro definitions.
2137 (CHECK_BOUNDS_LOW): Likewise.
2138 (CHECK_BOUNDS_HIGH): Likewise.
2139 (CHECK_BOUNDS_BOTH): Likewise.
2140 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2141 (RETURN_BOUNDED_POINTER): Likewise.
2142 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2143 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2144 (POP_ERRNO_LOCATION_RETURN): Likewise.
2145 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2146 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2147 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2149 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2150 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2151 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2152 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2153 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2154 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2155 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2156 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2157 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2158 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2159 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2160 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2161 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2162 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2164 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2165 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2167 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2168 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2169 * sysdeps/i386/i586/memset.S (memset): Likewise.
2170 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2171 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2172 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2174 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2175 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2176 Change uses of L(2) to L(out).
2177 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2178 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2179 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2180 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2181 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2183 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2184 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2186 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2187 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2188 (RETURN): Do not use macro LEAVE.
2189 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2190 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2191 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2192 * sysdeps/i386/i686/memset.S (memset): Likewise.
2193 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2194 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2195 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2196 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2198 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2199 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2200 L(1_2) and L(1_3) into L(1).
2201 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2202 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2203 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2204 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2205 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2206 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2207 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2208 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2209 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2211 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2212 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2213 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2214 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2215 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2216 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2217 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2218 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2219 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2220 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2221 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2222 * sysdeps/i386/strspn.S (strspn): Likewise.
2223 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2225 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2226 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2227 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2228 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2230 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2231 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2232 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2234 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2236 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2238 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2241 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2243 * math/atest-exp.c (exp_mpn): Remove ROUND.
2244 * math/atest-exp2.c (exp_mpn): Likewise.
2245 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2247 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2248 * stdlib/tst-tls-atexit-lib.c: Likewise.
2249 * stdlib/tst-tls-atexit.c: Likewise.
2251 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2253 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2254 and __attribute_alloc_size__.
2256 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2258 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2259 __attribute_alloc_size__.
2260 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2261 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2263 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2265 * include/programs/xmalloc.h: New file.
2266 * catgets/gencat.c: Include it.
2267 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2268 * elf/pldd.c: Likewise.
2269 * iconv/iconv_charmap.c: Likewise.
2270 * iconv/iconvconfig.c: Likewise.
2271 * iconv/strtab.c: Likewise.
2272 * locale/programs/locale.c: Likewise.
2273 * locale/programs/localedef.h: Likewise.
2274 * locale/programs/simple-hash.c: Likewise.
2275 * nscd/nscd.h: Likewise.
2276 * nss/makedb.c: Likewise.
2277 * sysdeps/generic/ldconfig.h: Likewise.
2279 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2281 * Versions.def: Add GLIBC_2.18.
2282 * include/link.h (struct link_map): New member l_tls_dtor_count.
2283 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2284 (__call_tls_dtors): Likewise.
2285 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2286 __cxa_thread_atexit_impl.
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2295 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2303 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2304 (tests): Add test case tst-tls-atexit.
2305 (modules-names): Add shared library for tst-tls-atexit.
2306 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2307 (GLIBC_PRIVATE): Add __call_tls_dtors.
2308 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2310 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2311 * stdlib/tst-tls-atexit.c: New test case.
2312 * stdlib/tst-tls-atexit-lib.c: New test case.
2314 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2316 * elf/Versions (ld): Add _dl_find_dso_for_object.
2317 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2318 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2319 (dl_open_worker): Use _dl_find_dso_for_object.
2320 * elf/dl-sym.c (do_sym): Likewise.
2321 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2323 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2325 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2326 Syntactic changes only.
2327 (_dl_runtime_profile): Do a tail-call to the resolved function.
2329 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2332 * sysdeps/x86_64/bp-asm.h: Remove file.
2333 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2334 <bp-sym.h> and <bp-asm.h>.
2335 (__clone): Do not use BP_SYM.
2336 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2337 <bp-sym.h> and <bp-asm.h>.
2338 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2339 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2341 (_setjmp): Do not use BP_SYM.
2342 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2344 (setjmp): Do not use BP_SYM.
2345 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2347 (mempcpy): Do not use BP_SYM in weak_alias.
2348 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2350 (strchr): Do not use BP_SYM.
2351 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2353 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2354 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2355 (_start): Do not use BP_SYM.
2356 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2358 (strcat): Do not use BP_SYM.
2359 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2361 (STRCMP): Do not use BP_SYM.
2362 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2364 (STRCPY): Do not use BP_SYM.
2365 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2367 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2369 (FUNCTION): Do not use BP_SYM.
2370 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2372 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2374 2013-02-17 Andreas Jaeger <aj@suse.de>
2376 * time/Versions: Sort entries.
2377 * string/Versions: Likewise.
2378 * resolv/Versions: Likewise.
2379 * posix/Versions: Likewise.
2380 * iconv/Versions: Likewise.
2381 * elf/Versions: Likewise.
2382 * wcsmbs/Versions: Likewise.
2384 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2386 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2387 loop termination condition.
2389 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2390 variable to calculate EZ.
2393 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2394 the lower precision input.
2396 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2399 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2400 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2401 (run-via-rtld-prefix): Do not handle %-bp tests.
2402 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2403 (all-object-suffixes): Remove .ob.
2404 (bppfx): Remove variable.
2405 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2406 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2407 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2408 [$(build-bounded) = yes] (libtype.ob): Likewise.
2409 * Makerules (elide-routines.ob): Remove variable.
2410 (do-tests-clean): Do not handle *-bp.out.
2411 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2412 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2413 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2414 (tests): Do not include $(tests-bp.out).
2415 (xtests): Do not include $(xtests-bp.out).
2416 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2417 [$(build-bounded) = yes] ($(addprefix
2418 $(objpfx),$(binaries-bounded))): Remove rule.
2419 ($(objpfx)%-bp.out): Remove rule.
2420 * config.make.in (build-bounded): Remove variable.
2421 * crypt/Makefile [$(build-bounded) = yes]
2422 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2423 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2425 [$(build-bounded) = yes] (install-lib): Likewise.
2426 [$(build-bounded) = yes] (generated): Likewise.
2427 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2429 * intl/Makefile [$(build-bounded) = yes]
2430 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2431 * math/Makefile [$(build-bounded) = yes]
2432 ($(tests:%=$(objpfx)%-bp): Likewise.
2433 * misc/Makefile [$(build-bounded) = yes]
2434 ($(objpfx)tst-tsearch-bp): Likewise.
2435 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2436 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2438 * string/Makefile (o-objects.ob): Remove variable.
2439 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2440 (CFLAGS-.ob): Remove variable.
2441 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2442 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2443 both definitions of variable.
2444 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2445 (ASFLAGS-.ob): Remove variable.
2447 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2450 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2451 Remove __BOUNDED_POINTERS__ from condition.
2452 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2453 * string/bits/string2.h [!__NO_STRING_INLINES &&
2454 !__BOUNDED_POINTERS__]: Likewise.
2455 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2457 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2458 Remove conditional code.
2459 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2460 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2461 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2465 * csu/libc-start.c: Do not include <bp-sym.h>.
2466 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2467 * elf/dl-open.c: Do not include <bp-sym.h>.
2468 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2469 * math/fegetenv.c: Do not include <bp-sym.h>.
2470 (fegetenv): Do not use BP_SYM in versioned symbols.
2471 * nptl/sysdeps/pthread/bits/libc-lockP.h
2472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2475 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2477 (__pthread_mutex_destroy): Likewise.
2478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2479 (__pthread_mutex_lock): Likewise.
2480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2481 (__pthread_mutex_trylock): Likewise.
2482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2483 (__pthread_mutex_unlock): Likewise.
2484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2485 (__pthread_mutexattr_init): Likewise.
2486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2487 (__pthread_mutexattr_destroy): Likewise.
2488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2489 (__pthread_mutexattr_settype): Likewise.
2490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2491 (__pthread_rwlock_init): Likewise.
2492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2493 (__pthread_rwlock_destroy): Likewise.
2494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2495 (__pthread_rwlock_rdlock): Likewise.
2496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2497 (__pthread_rwlock_tryrdlock): Likewise.
2498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2499 (__pthread_rwlock_wrlock): Likewise.
2500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2501 (__pthread_rwlock_trywrlock): Likewise.
2502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2503 (__pthread_rwlock_unlock): Likewise.
2504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2505 (__pthread_key_create): Likewise.
2506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2507 (__pthread_setspecific): Likewise.
2508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2509 (__pthread_getspecific): Likewise.
2510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2513 (_pthread_cleanup_push_defer): Likewise.
2514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2515 (_pthread_cleanup_pop_restore): Likewise.
2516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2517 (pthread_setcancelstate): Likewise.
2518 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2520 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2521 (memchr): Do not use BP_SYM in weak_alias.
2522 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2523 (fegetenv): Do not use BP_SYM in versioned symbols.
2524 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2525 (fesetenv): Do not use BP_SYM in versioned symbols.
2526 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2527 (feupdateenv): Do not use BP_SYM in versioned symbols.
2528 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2529 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2530 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2531 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2532 (open64): Do not use BP_SYM in weak_alias.
2533 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2534 (fegetenv): Do not use BP_SYM in versioned symbols.
2535 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2536 (fesetenv): Do not use BP_SYM in versioned symbols.
2537 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2538 (feupdateenv): Do not use BP_SYM in versioned symbols.
2539 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2540 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2541 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2542 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2543 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2544 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2545 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2547 (__libc_start_main): Do not use BP_SYM.
2549 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2552 redundant return line.
2556 (sub_magnitudes): Likewise.
2562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2566 (sub_magnitudes): Likewise.
2573 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2575 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2576 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2579 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2580 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2582 of __mul for squares.
2583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2585 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2587 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2588 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2590 2013-02-13 Joseph Myers <joseph@codesourcery.com>
2593 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2595 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2596 prototype or function definition. Rename ubp_* variables and
2597 parameters. Remove argv definitions conditional on
2598 [__BOUNDED_POINTERS__].
2599 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2600 * elf/dl-runtime.c (_dl_fixup): Likewise.
2601 * include/set-hooks.h (RUN_HOOK): Likewise.
2602 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2604 * string/strcpy.c (strcpy): Do not use __unbounded.
2605 * sysdeps/generic/frame.h (struct layout): Likewise.
2606 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2607 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2608 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2609 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2610 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2611 (__backtrace): Likewise.
2612 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2614 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2615 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2616 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2618 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2619 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2620 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2621 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2622 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2623 Do not use __unbounded.
2624 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2625 Rename __unboundedrlimits parameter to rlimits in prototype.
2626 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2627 Do not use __unbounded.
2628 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2630 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2631 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2632 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2633 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2634 __ptrvalue or __unbounded.
2635 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2636 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2638 (__new_msgctl): Do not use __ptrvalue.
2639 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2641 (__libc_msgrcv): Do not use __ptrvalue.
2642 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2643 startup_info): Do not use __unbounded.
2644 (__libc_start_main): Likewise. Rename ubp_* variables and
2645 parameters. Remove argv definitions conditional on
2646 [__BOUNDED_POINTERS__].
2647 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2649 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2651 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2653 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2655 (__new_shmctl): Do not use __ptrvalue.
2656 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2657 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2659 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2660 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2661 (__libc_sigaction): Likewise.
2662 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2663 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2665 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2667 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
2669 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2671 * string/mempcpy.c: Implement by calling memcpy.
2673 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2675 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2677 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2680 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2681 values in the mantissa.
2683 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2684 minimize writes to Z.
2685 (sub_magnitudes): Simplify code a bit.
2687 2013-02-12 Roland McGrath <roland@hack.frob.com>
2689 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2690 from the message. The linker prefixes all warnings with that already.
2692 2013-02-12 Andreas Schwab <schwab@suse.de>
2695 * posix/regexec.c (extend_buffers): Add parameter min_len.
2696 (check_matching): Pass minimum needed length.
2697 (clean_state_log_if_needed): Likewise.
2698 (get_subexp): Likewise.
2699 * posix/Makefile (tests): Add bug-regex34.
2700 (bug-regex34-ENV): Define.
2701 * posix/bug-regex34.c: New file.
2704 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2705 elements compare against the byte sequence of it, not its name.
2706 * posix/Makefile (tests): Add bug-regex35.
2707 (bug-regex35-ENV): Define.
2708 * posix/bug-regex35.c: New file.
2710 2013-02-11 Tom de Vries <tom@codesourcery.com>
2712 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2714 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2715 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2716 (CHECK_EOL): Add undef.
2718 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
2720 * bits/stdlib-bsearch.h: New file.
2721 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2722 * stdlib/stdlib.h: Likewise.
2724 2013-02-11 Roland McGrath <roland@hack.frob.com>
2726 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2727 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2729 * manual/search.texi (Array Search Function): Add missing const in
2731 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2732 declaration to use rlim_t.
2733 (Basic Scheduling Functions): Remove erroneous const from
2734 sched_getparam prototype. Remove erroneous * from
2735 sched_get_priority_max and sched_get_priority_min prototypes.
2736 (Resource Usage): Fix summary @comment on vtimes to refer to
2737 sys/vtimes.h rather than vtimes.h.
2738 Add missing *s in vtimes prototype.
2739 (Limits on Resources): Fix ulimit prototype to return long int.
2740 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2741 prototypes to use long int rather than double.
2742 (BSD Random): Fix initstate and setstate to use char *, not void *.
2743 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2744 prototype to make second argument 'struct aiocb64 *const[]'.
2745 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2746 (Status of AIO Operations): Remove erroneous const in aio_return and
2747 aio_return64 prototypes.
2748 (Synchronizing I/O): Fix sync prototype to return void.
2749 * manual/startup.texi (Suboptions): Remove an erroneous const in
2750 getsubopt prototype.
2751 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2752 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2753 use size_t rather than int.
2754 (Scanning All Users): Likewise for getpwent_r.
2755 (Setting Groups): Add missing const to setgroups prototype.
2756 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2757 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2758 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2759 'const void *' rather than 'const char *'.
2760 (Host Address Functions): Likewise for inet_ntop.
2761 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2762 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2763 ssize_t for return value.
2764 (Sending Data): Likewise for send, sendto, sendmsg.
2765 (Socket Option Functions): Add a missing const in setsockopt prototype.
2766 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2767 use wchar_t for the argument.
2768 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2769 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2771 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2772 double/float/long double for second argument.
2773 Fix return types of significand, significandf, significandl.
2774 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2775 argument in fchmod prototype.
2776 (File Owner): Use uid_t and gid_t in fchown prototype.
2777 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2778 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2779 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2780 use 'const struct dirent **' as argument types to CMP function pointer
2782 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2783 (File Times): Fix summary magic @comment for struct utimbuf and utime
2784 to refer to utime.h, not time.h.
2785 * manual/string.texi (Argz Functions): Add missing const in
2786 argz_extract and argz_next prototypes.
2787 (Finding Tokens in a String): Likewise for basename.
2788 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2789 (Copying and Concatenation): Fix typo in wmemmove prototype.
2790 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2791 (Signal Stack): Remove erroneous const in sigstack prototype.
2792 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2794 (Simple Calendar Time): Likewise for stime.
2795 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2797 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2798 say sys/sysctl.h instead.
2799 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2800 and vsyslog prototypes.
2802 2013-02-11 Tom de Vries <tom@codesourcery.com>
2804 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2807 2013-02-11 Roland McGrath <roland@hack.frob.com>
2809 * misc/sys/mman.h: Fix typo in mremap comment.
2811 2013-02-08 Roland McGrath <roland@hack.frob.com>
2813 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2814 the '\0' terminator.
2816 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2819 * debug/segfault.c: Don't include <bp-checks.h>.
2820 * sysdeps/generic/bp-checks.h: Remove file.
2821 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2822 (__GETDENTS): Don't use CHECK_N.
2823 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2824 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2825 (__getgroups): Don't use CHECK_N.
2826 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2827 (setgroups): Don't use CHECK_N.
2828 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2829 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2830 (__libc_msgrcv): Don't use CHECK_N.
2831 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2832 (__libc_msgsnd): Don't use CHECK_N.
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2835 (__libc_pread): Don't use CHECK_N.
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2837 include <bp-checks.h>.
2838 (__libc_pread64): Don't use CHECK_N.
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2840 include <bp-checks.h>.
2841 (__libc_pwrite): Don't use CHECK_N.
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2843 include <bp-checks.h>.
2844 (__libc_pwrite64): Don't use CHECK_N.
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2847 (__libc_pread): Don't use CHECK_N.
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2849 include <bp-checks.h>.
2850 (__libc_pread64): Don't use CHECK_N.
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2852 include <bp-checks.h>.
2853 (__libc_pwrite): Don't use CHECK_N.
2854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2855 include <bp-checks.h>.
2856 (__libc_pwrite64): Don't use CHECK_N.
2857 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2858 (do_pread): Don't use CHECK_N.
2859 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2860 (do_pread64): Don't use CHECK_N.
2861 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2862 (do_pwrite): Don't use CHECK_N.
2863 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2864 (do_pwrite64): Don't use CHECK_N.
2865 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2866 (__libc_readv): Don't use CHECK_N.
2867 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2868 (semop): Don't use CHECK_N.
2869 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2871 (semtimedop): Don't use CHECK_N.
2872 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2873 (__libc_pread): Don't use CHECK_N.
2874 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2876 (__libc_pread64): Don't use CHECK_N.
2877 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2879 (__libc_pwrite): Don't use CHECK_N.
2880 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2882 (__libc_pwrite64): Don't use CHECK_N.
2883 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2885 (__libc_msgrcv): Don't use CHECK_N.
2886 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2887 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2888 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2889 (__libc_writev): Don't use CHECK_N.
2891 2013-02-08 Roland McGrath <roland@hack.frob.com>
2893 * string/strcpy.c: Removed unused variable.
2895 * Makeconfig (+sysdep-includes): Define with := rather than =.
2896 Use an existing include/ subdir of each sysdeps dir before it.
2898 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2900 * nscd/connection.c (register_traced_file): Comment function.
2901 [HAVE_INOTIFY] (union __inev): Define.
2902 [HAVE_INOTIFY] (inotify_check_files): New function.
2903 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2904 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2906 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2908 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2910 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2911 loaded if not already and that a failure is permanent.
2913 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2916 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2917 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2919 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2922 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2923 (CHECK_1_NULL_OK): Likewise.
2924 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2925 (__fxstat): Do not use CHECK_1.
2926 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2928 (___fxstat64): Do not use CHECK_1.
2929 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2931 (__fxstatat): Do not use CHECK_1.
2932 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2934 (__fxstatat64): Do not use CHECK_1.
2935 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2937 (__fxstat): Do not use CHECK_1.
2938 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2940 (__fxstatat): Do not use CHECK_1.
2941 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2943 (__getresgid): Do not use CHECK_1.
2944 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2946 (__getresuid): Do not use CHECK_1.
2947 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2949 (__lxstat): Do not use CHECK_1.
2950 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2952 (__old_msgctl): Do not use CHECK_1.
2953 (__new_msgctl): Likewise.
2954 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2956 (__new_setrlimit): Do not use CHECK_1.
2957 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2959 (__old_shmctl): Do not use CHECK_1.
2960 (__new_shmctl): Likewise.
2961 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2963 (__xstat): Do not use CHECK_1.
2964 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2965 (__lxstat): Do not use CHECK_1.
2966 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2968 (___lxstat64): Do not use CHECK_1.
2969 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2970 (__old_msgctl): Do not use CHECK_1.
2971 (__new_msgctl): Likewise.
2972 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2974 (__gettimeofday): Do not use CHECK_1.
2975 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2976 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2977 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2979 (__gettimeofday): Do not use CHECK_1.
2980 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2981 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2982 (__new_shmctl): Do not use CHECK_1.
2983 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2985 (do_sigtimedwait): Do not use CHECK_1.
2986 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2988 (do_sigwaitinfo): Do not use CHECK_1.
2989 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2991 (msgctl): Do not use CHECK_1.
2992 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2994 (shmctl): Do not use CHECK_1.
2995 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2996 (ustat): Do not use CHECK_1.
2997 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2999 (__fxstat): Do not use CHECK_1.
3000 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3002 (__fxstatat): Do not use CHECK_1.
3003 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3005 (__lxstat): Do not use CHECK_1.
3006 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3008 (__xstat): Do not use CHECK_1.
3009 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3010 (__xstat): Do not use CHECK_1.
3011 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3012 (___xstat64): Do not use CHECK_1.
3015 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3017 (CHECK_BOUNDS_HIGH): Likewise.
3018 * string/strcpy.c: Do not include <bp-checks.h>.
3019 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3021 2013-02-07 Roland McGrath <roland@hack.frob.com>
3023 * nscd/nscd-client.h (__nscd_drop_map_ref):
3024 Add __attribute__ ((unused)).
3025 * nis/nss-nisplus.h (niserr2nss): Likewise.
3027 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3028 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3030 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3031 Remove inline keyword.
3032 * include/rounding-mode.h (round_away): Likewise.
3033 * libio/wfileops.c (adjust_wide_data): Likewise.
3034 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3035 (__m128i_strloadu_tolower): Likewise.
3036 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3037 (__m128i_strloadu_tolower): Likewise.
3038 * time/mktime.c (ydhms_diff): Likewise.
3039 * locale/elem-hash.h (elem_hash): Likewise.
3040 * locale/setlocale.c (setdata): Likewise.
3041 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3042 (re_string_wchar_at): Likewise.
3043 (bitset_not, bitset_merge, bitset_mask): Likewise.
3044 [!(__GNUC__ > 3)] (inline): Remove macro.
3045 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3046 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3047 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3048 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3049 * string/memcmp.c (memcmp_bytes): Likewise.
3050 * locale/programs/locarchive.c (compute_hashval): Likewise.
3051 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3052 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3053 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3054 * nss/getent.c (print_rpc, print_protocols): Likewise.
3055 (print_passwd, print_group, print_aliases): Likewise.
3056 * nis/nss-nisplus.h (niserr2nss): Likewise.
3057 * nscd/connections.c (restart_p): Likewise.
3058 Change return type to bool.
3060 2013-02-05 Roland McGrath <roland@hack.frob.com>
3062 * Makeconfig (all-Depend-files): Add existing
3063 $(sorted-subdirs:=/Depend) files.
3064 (all-subdirs): Remove nss.
3065 * sysdeps/unix/inet/Subdirs: Add it here instead.
3066 * hesiod/Depend: New file.
3068 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3069 instead of calling alloca.
3071 * io/lseek.c (__lseek): Rename to __libc_lseek.
3072 Define __lseek as an alias.
3074 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3076 2013-02-04 Carlos O'Donell <carlos@redhat.com>
3078 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3079 else clause and remove check for non-standard endianness.
3081 2013-02-04 David S. Miller <davem@davemloft.net>
3083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3085 2013-02-04 Joseph Myers <joseph@codesourcery.com>
3088 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3089 (__ubp_memchr): Remove prototype.
3090 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3091 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3092 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3093 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3094 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3096 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3097 (__ubp_memchr): Likewise.
3098 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3099 (__ubp_memchr): Likewise.
3100 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3101 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3102 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3103 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3105 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3106 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3107 (__getcwd): Do not use CHECK_STRING.
3108 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3110 (__real_chown): Do not use CHECK_STRING.
3111 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3113 (fchownat): Do not use CHECK_STRING.
3114 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3116 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3118 (__lchown): Do not use CHECK_STRING.
3119 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3120 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3121 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3122 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3124 include <bp-checks.h>.
3125 (truncate64): Do not use CHECK_STRING.
3126 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3128 (__real_chown): Do not use CHECK_STRING.
3129 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3131 (__lchown): Do not use CHECK_STRING.
3132 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3134 (__chown): Do not use CHECK_STRING.
3135 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3137 (truncate64): Do not use CHECK_STRING.
3138 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3140 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3141 (__xmknod): Do not use CHECK_STRING.
3142 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3144 (__xmknodat): Do not use CHECK_STRING.
3145 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3146 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3148 2013-02-04 Andreas Schwab <schwab@suse.de>
3151 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3152 * include/netdb.h: Likewise for h_errno.
3153 * elf/tst-stackguard1.c: Include <tls.h>.
3155 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3157 * elf/link.h (struct link_map): Extend the l_addr comment.
3158 * include/link.h (struct link_map): Likewise.
3160 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3163 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3164 (BOUNDED_1): Remove macro.
3165 * debug/backtrace.c: Don't include <bp-checks.h>.
3166 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3167 (__backtrace): Likewise.
3168 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3170 (__backtrace): Don't use BOUNDED_1.
3171 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3173 (__backtrace): Don't use BOUNDED_1.
3174 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3175 (__backtrace): Don't use BOUNDED_1.
3176 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3177 (shmat): Don't use BOUNDED_N.
3179 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3182 * sysdeps/generic/bp-start.h: Remove file.
3183 * csu/libc-start.c: Don't include <bp-start.h>.
3184 (LIBC_START_MAIN): Set up __environ directly instead of using
3185 INIT_ARGV_and_ENVIRON.
3186 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3190 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3192 (CHECK_FCNTL): Likewise.
3193 (CHECK_N_PAGES): Likewise.
3196 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3198 (CHECK_SIGSET_NULL_OK): Likewise.
3199 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3201 (sigpending): Don't use CHECK_SIGSET.
3202 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3204 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3205 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3207 (do_sigsuspend): Don't use CHECK_SIGSET.
3208 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3210 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3211 (do_sigwait): Don't use CHECK_SIGSET.
3212 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3214 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3215 include <bp-checks.h>.
3216 (sigpending): Don't use CHECK_SIGSET.
3217 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3218 include <bp-checks.h>.
3219 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3220 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3222 (sigpending): Don't use CHECK_SIGSET.
3223 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3225 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3228 * sysdeps/generic/bp-semctl.h: Remove file.
3229 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3230 <bp-checks.h> and <bp-semctl.h>.
3231 (__old_semctl): Don't use CHECK_SEMCTL.
3232 (__new_semctl): Likewise.
3233 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3235 (__old_semctl): Don't use CHECK_SEMCTL.
3236 (__new_semctl): Likewise.
3237 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3238 <bp-checks.h> and <bp-semctl.h>.
3239 (__old_semctl): Don't use CHECK_SEMCTL.
3240 (__new_semctl): Likewise.
3241 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3242 <bp-checks.h> and <bp-semctl.h>.
3243 (semctl): Don't use CHECK_SEMCTL.
3246 * Makerules (elide-bp-thunks): Remove variable.
3247 (elide-routines.oS): Don't use $(elide-bp-thunks).
3248 (elide-routines.os): Likewise.
3249 (elide-routines.o): Likewise.
3250 (elide-routines.op): Likewise.
3251 (elide-routines.og): Likewise.
3252 (objects): Don't use $(bp-thunks).
3253 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3255 (common-generated): Do not add s-proto-bp.d.
3256 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3259 Do not generate makefile rules for bounded-pointer thunks.
3260 * sysdeps/generic/bp-thunks.h: Remove file.
3261 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3262 * sysdeps/unix/s-proto-bp.S: Likewise.
3265 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3266 parts of result separately when argument is not close to line from
3267 -i to i and one part of argument is small.
3268 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3269 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3270 * math/libm-test.inc (cacos_test): Add more tests.
3271 (casin_test): Likewise.
3272 (casinh_test): Likewise.
3273 * sysdeps/i386/fpu/libm-test-ulps: Update.
3274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3276 2013-01-31 David S. Miller <davem@davemloft.net>
3278 * po/de.po: Update from translation team.
3280 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3282 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3284 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3286 * configure.in (_AC_PROG_CC_C89): New definition.
3287 * configure: Regenerate.
3289 * configure.in (AC_PROG_CPP): New definition.
3290 * configure: Regenerate.
3292 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3294 * debug/tst-backtrace.h: New file.
3295 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3296 (ret): Remove variable.
3298 (FAIL): Remove macro.
3299 (NO_INLINE): Likewise.
3300 (fn1): Use match function instead of strstr.
3301 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3302 (ret): Remove variable.
3304 (FAIL): Remove macro.
3305 (NO_INLINE): Likewise.
3306 (fn): Use match function instead of strstr.
3307 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3308 (ret): Remove variable.
3310 (FAIL): Remove macro.
3311 (NO_INLINE): Likewise.
3312 (handle_signal): Use match function instead of strstr.
3313 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3314 (ret): Remove variable.
3316 (FAIL): Remove macro.
3317 (NO_INLINE): Likewise.
3318 (handle_signal): Use match function instead of strstr.
3320 2013-01-23 Roland McGrath <roland@hack.frob.com>
3322 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3324 2013-01-23 David S. Miller <davem@davemloft.net>
3326 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3327 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3328 argument of CAS if possible.
3329 * sysdeps/sparc/sparc64/bits/atomic.h
3330 (__arch_compare_and_exchange_val_32_acq): Likewise.
3331 (__arch_compare_and_exchange_val_64_acq): Likewise.
3333 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3335 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3336 * sysdeps/posix/ulimit.c: ... this.
3338 * sysdeps/unix/bsd/ulimit.c: Remove file.
3340 2013-01-23 Adam Conrad <adconrad@0c3.net>
3342 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3343 (LDFLAGS-tst-array5): Likewise.
3345 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3348 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3349 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3350 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3351 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3353 2013-01-21 David S. Miller <davem@davemloft.net>
3355 * sysdeps/sparc/backtrace.c: New file.
3356 * sysdeps/sparc/sparc32/backtrace.h: New file.
3357 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3358 * sysdeps/sparc/sparc64/backtrace.h: New file.
3359 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3360 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3363 2013-01-21 Andreas Schwab <schwab@suse.de>
3366 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3369 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3375 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3376 Mark Mitchell <mark@codesourcery.com>
3377 Tom de Vries <tom@codesourcery.com>
3378 Paul Pluzhnikov <ppluzhnikov@google.com>
3380 * debug/tst-backtrace2.c: New file.
3381 * debug/tst-backtrace3.c: Likewise.
3382 * debug/tst-backtrace4.c: Likewise.
3383 * debug/tst-backtrace5.c: Likewise.
3384 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3385 (CFLAGS-tst-backtrace3.c): Likewise.
3386 (CFLAGS-tst-backtrace4.c): Likewise.
3387 (CFLAGS-tst-backtrace5.c): Likewise.
3388 (LDFLAGS-tst-backtrace2): Likewise.
3389 (LDFLAGS-tst-backtrace3): Likewise.
3390 (LDFLAGS-tst-backtrace4): Likewise.
3391 (LDFLAGS-tst-backtrace5): Likewise.
3392 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3393 tst-backtrace4 and tst-backtrace5.
3395 2013-01-18 Anton Blanchard <anton@samba.org>
3396 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3398 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3399 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3400 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3401 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3403 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3404 "+r" and remove output regs list as redundant. Add explicit inline
3405 asm to specify register of return val to work around compiler codegen
3406 bug. Remove (int) cast on return value. Add return type parameter to
3407 use in macro so that this macro does not truncate return value for
3409 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3410 pass to INTERNAL_VSYSCALL_NCS.
3411 (INLINE_VSYSCALL): Add 'long int' as return type to
3412 INTERNAL_VSYSCALL_NCS macro invocation.
3413 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3414 INTERNAL_VSYSCALL_NCS macro invocation.
3415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3417 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3420 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3421 Fix application of SIMD FP exception mask.
3423 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3424 mp_no from a power of two.
3425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3426 __mpexp_twomm1. Use __pow_mp.
3428 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3431 2013-01-17 David S. Miller <davem@davemloft.net>
3433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3435 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3438 * include/complex.h: Condition contents on [!_COMPLEX_H].
3439 (__kernel_casinhf): New prototype.
3440 (__kernel_casinh): Likewise.
3441 (__kernel_casinhl): Likewise.
3442 * math/Makefile (libm_calls): Add k_casinh.
3443 * math/k_casinh.c: New file.
3444 * math/k_casinhf.c: Likewise.
3445 * math/k_casinhl.c: Likewise.
3446 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3447 finite nonzero arguments.
3448 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3449 finite nonzero arguments.
3450 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3451 finite nonzero arguments.
3452 * math/s_casinh.c: Do not include <float.h>.
3453 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3454 * math/s_casinhf.c: Do not include <float.h>.
3455 (__casinhf): Move code for finite nonzero arguments to
3457 * math/s_casinhl.c: Do not include <float.h>.
3458 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3460 (__casinhl): Move code for finite nonzero arguments to
3462 * math/libm-test.inc (cacos_test): Add more tests.
3463 * sysdeps/i386/fpu/libm-test-ulps: Update.
3464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3466 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3468 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3469 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3470 [!HAVE_MREMAP]: Remove [defined linux] case.
3471 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3473 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3475 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3477 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3479 * elf/elf.h (R_386_SIZE32): New relocation.
3480 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3482 (elf_machine_rela): Likewise.
3483 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3484 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3486 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3488 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3489 (FP_FAST_FMA): Do not define.
3490 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3491 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3492 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3493 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3494 !_SOFT_FLOAT]: Likewise.
3495 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3496 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3498 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3499 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3500 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3501 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3502 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3503 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3506 2013-01-16 Andreas Schwab <schwab@suse.de>
3509 * include/stdlib.h (__mktemp): Add declaration.
3510 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3511 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3513 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3515 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3517 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3518 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3519 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3521 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3522 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3524 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3526 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3527 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3528 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3530 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3531 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3533 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3535 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3537 2013-01-15 David S. Miller <davem@davemloft.net>
3539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3540 trunc{,f} to libm-sysdep_routes.
3541 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3551 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3552 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3553 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3554 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3555 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3556 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3559 nearbyint{,f} to libm-sysdep_routes.
3560 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3571 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3573 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3574 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3576 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3577 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3578 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3580 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3581 libc_feholdexcept and libc_fesetenv.
3583 2013-01-15 Mike Frysinger <vapier@gentoo.org>
3585 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3587 2013-01-14 David S. Miller <davem@davemloft.net>
3589 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3590 (SPARC_ASM_VIS2_IFUNC): Likewise.
3591 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3593 use of 'siam' instruction.
3594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3602 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3613 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3627 routines to libm-sysdep_routines.
3628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3631 fdim/fdimf to libm-sysdep_routines.
3632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3640 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3641 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3642 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3643 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3645 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3647 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3650 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3655 local variable MPTWO.
3656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3659 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3661 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3664 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3666 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3668 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3670 * manual/pattern.texi (glob_t): Document gl_flags.
3671 (glob64_t): Likewise.
3673 2013-01-11 David S. Miller <davem@davemloft.net>
3675 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3676 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3677 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
3678 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3679 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3680 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3681 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3682 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3683 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3684 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3685 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3686 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3687 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3689 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3690 sparc V9 rather than using V8 code.
3691 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3692 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3694 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3696 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3699 2013-01-11 Roland McGrath <roland@hack.frob.com>
3701 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3702 not in the main loop.
3703 * configure: Regenerated.
3705 2013-01-11 Joseph Myers <joseph@codesourcery.com>
3707 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3708 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3710 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3711 [!__GLIBC_HAVE_LONG_LONG] case.
3712 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3713 condition to just #else.
3714 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3715 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3716 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3717 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3719 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3720 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3721 #elif condition to just #else.
3722 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3723 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3724 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3725 #elif condition to just #else.
3727 2013-01-11 Steve Ellcey <sellcey@mips.com>
3729 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3730 (EF_MIPS_ARCH_64): Fix value.
3731 (EF_MIPS_ARCH_32R2): New.
3732 (EF_MIPS_ARCH_64R2): New.
3734 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3736 * Makeconfig (+link-pie-before-libc): New.
3737 (+link-pie-after-libc): Likewise.
3738 (+link-pie-tests): Likewise.
3739 (+link-pie): Rewritten.
3740 (link-before-libc): Remove $(config-LDFLAGS).
3741 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3742 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3743 (config-LDFLAGS): Renamed to ...
3744 (rtld-LDFLAGS): This.
3745 (rtld-tests-LDFLAGS): New macro.
3746 (link-libc-rpath-link): Likewise.
3747 (link-libc-tests-rpath-link): Likewise.
3748 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3749 (link-libc): Prepand $(link-libc-rpath-link).
3750 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3751 (test-program-prefix): New macro.
3752 (test-via-rtld-prefix): Likewise.
3753 (test-program-cmd): Likewise.
3754 (host-test-program-cmd): Likewise.
3755 * Makefile ($(common-objpfx)testrun.sh): Replace
3756 $(run-program-prefix) with $(test-program-prefix).
3757 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3759 ($(common-objpfx)shlib.lds): Likewise.
3760 (build-module-helper): Likewise.
3761 ($(common-objpfx)format.lds): Likewise.
3762 * Rules (binaries-pie-tests): New.
3763 (binaries-pie-notests): Likewise.
3764 (binaries-pie): Rewritten.
3765 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3766 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3767 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3768 (make-test-out): Replace $(host-built-program-cmd) with
3769 $(host-test-program-cmd).
3770 * config.make.in (build-hardcoded-path-in-tests): New variable.
3771 * configure.in (--enable-hardcoded-path-in-tests): New configure
3773 (hardcoded_path_in_tests): New AC_SUBST.
3774 * configure: Regenerated.
3775 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3776 $(built-program-cmd) with $(test-program-cmd).
3777 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3778 (test_program_cmd): This.
3779 * elf/Makefile ($(objpfx)order.out): Run test with
3780 $(test-program-prefix).
3781 ($(objpfx)order2.out): Likewise.
3782 ($(objpfx)tst-initorder.out): Likewise.
3783 ($(objpfx)tst-initorder2.out): Likewise.
3784 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3785 $(test-program-cmd).
3786 ($(objpfx)tst-array1-static.out): Likewise.
3787 ($(objpfx)tst-array2.out): Likewise.
3788 ($(objpfx)tst-array3.out): Likewise.
3789 ($(objpfx)tst-array4.out): Likewise.
3790 ($(objpfx)tst-array5.out): Likewise.
3791 ($(objpfx)tst-array5-static.out): Likewise.
3792 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3793 $(test-program-cmd).
3794 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3795 $(run-program-prefix) with $(test-program-prefix).
3796 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3797 (test_program_prefix): This.
3798 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3799 $(run-program-prefix) with $(test-program-prefix).
3800 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3801 (test_program_prefix): This.
3802 * iconvdata/tst-tables.sh: Likewise.
3803 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3804 $(run-program-prefix) with $(test-program-prefix).
3805 ($(objpfx)tst-translit.out): Likewise.
3806 ($(objpfx)tst-gettext2.out): Likewise.
3807 ($(objpfx)tst-gettext4.out): Likewise.
3808 ($(objpfx)tst-gettext6.out): Likewise.
3809 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3810 (test_program_prefix): This.
3811 * intl/tst-gettext2.sh: Likewise.
3812 * intl/tst-gettext4.sh Likewise.
3813 * intl/tst-gettext6.sh: Likewise.
3814 * intl/tst-translit.sh: Likewise.
3815 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3816 with $(test-program-cmd).
3817 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3818 $(run-program-prefix) with $(test-program-prefix).
3819 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3820 (test_program_prefix): This.
3821 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3822 $(run-program-prefix) with $(test-program-prefix).
3823 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3824 (test_program_prefix): This.
3825 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3826 * posix/Makefile ($(objpfx)globtest.out): Replace
3827 $(run-via-rtld-prefix) and $(test-wrapper) with
3828 $(test-program-prefix) and $(test-via-rtld-prefix).
3829 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3830 $(test-program-prefix).
3831 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3832 $(host-test-program-cmd).
3833 (tst-spawn-ARGS): Likewise.
3834 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3835 $(test-program-prefix).
3836 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3837 (test_via_rtld_prefix): This.
3838 (test_wrapper): Renamed to ...
3839 (test_program_prefix): This.
3840 (run_program_prefix): Replaced by test_program_prefix.
3841 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3842 (test_program_prefix): This.
3843 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3844 with $(host-test-program-cmd).
3845 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3846 $(run-program-prefix) with $(test-program-prefix).
3847 ($(objpfx)tst-printf.out): Likewise.
3848 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3849 $(test-program-cmd).
3850 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3851 (test_program_prefix): This.
3852 * stdio-common/tst-unbputc.sh: Likewise.
3853 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3854 $(run-program-prefix) with $(test-program-prefix).
3855 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3856 (test_program_prefix): This.
3857 * string/Makefile ($(objpfx)tst-svc.out): Replace
3858 $(built-program-cmd) with $(test-program-cmd).
3860 2013-01-11 Andreas Jaeger <aj@suse.de>
3863 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3864 value. Sync with Linux 3.7.
3866 2013-01-10 David S. Miller <davem@davemloft.net>
3868 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3869 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3870 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3872 2013-01-10 Roland McGrath <roland@hack.frob.com>
3874 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3876 * configure: Regenerated.
3878 2013-01-10 David S. Miller <davem@davemloft.net>
3880 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3881 sparc V9 rather than using V8 code.
3882 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3883 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3885 2013-01-10 Roland McGrath <roland@hack.frob.com>
3887 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3888 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3889 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3890 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3891 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3892 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3893 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3894 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3895 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3896 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3897 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3898 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3899 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3900 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3901 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3902 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3903 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3904 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3905 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3906 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3907 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3908 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3909 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3910 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3911 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3912 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3913 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3915 2013-01-10 David S. Miller <davem@davemloft.net>
3917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3919 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3921 * posix/Makefile (tests-static): New variable.
3922 (tests): Add $(tests-static).
3923 (tst-exec-static-ARGS): New variable.
3924 (tst-spawn-static-ARGS): Likewise.
3925 * posix/tst-exec-static.c: New file.
3926 * posix/tst-spawn-static.c: Likewise.
3927 * posix/tst-exec.c: Support run directly.
3928 * posix/tst-spawn.c: Likewise.
3930 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3932 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3934 * math/bits/mathcalls.h (llrint): Likewise.
3935 (llround): Likewise.
3936 * stdlib/stdlib.h (struct drand48_data): Likewise.
3937 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3938 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3939 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3941 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3943 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3944 (elf_greg_t): Likewise.
3945 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3946 (__jmp_buf): Likewise.
3947 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3949 (llrint): Likewise, for all definitions.
3950 (llrintl): Likewise.
3952 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3953 Remove [__GNUC__] condition.
3954 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3955 condition to just [__USE_ISOC99].
3956 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3958 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3961 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3962 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3964 (_POSIX_V6_ILP32_OFF32): Likewise.
3965 (_XBS5_ILP32_OFF32): Likewise.
3966 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3967 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3969 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3971 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3973 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3974 doubles __mpexp_twomm1. Adjust usage.
3975 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3978 2013-01-10 Andreas Schwab <schwab@suse.de>
3981 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3982 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3984 2013-01-09 David S. Miller <davem@davemloft.net>
3987 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3988 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3989 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3990 TCP_FASTOPEN): Define.
3991 (tcp_repair_opt): New structure.
3992 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3994 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3995 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3996 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3997 (tcp_cookie_transactions): New structure.
3999 2013-01-09 Anton Blanchard <anton@samba.org>
4001 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4002 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4003 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4004 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4006 2013-01-09 Joseph Myers <joseph@codesourcery.com>
4008 * include/features.h (__USE_ANSI): Remove.
4010 2013-01-09 Roland McGrath <roland@hack.frob.com>
4012 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4014 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4016 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4018 * sysdeps/s390/fpu/libm-test-ulps: Update.
4020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4022 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4027 (__mp_dbl): Likewise.
4028 (__dbl_mp): Likewise.
4029 (add_magnitudes): Likewise.
4030 (sub_magnitudes): Likewise.
4036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4041 (__mp_dbl): Likewise.
4042 (__dbl_mp): Likewise.
4043 (add_magnitudes): Likewise.
4044 (sub_magnitudes): Likewise.
4050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4055 (__mp_dbl): Likewise.
4056 (__dbl_mp): Likewise.
4057 (add_magnitudes): Likewise.
4058 (sub_magnitudes): Likewise.
4065 2013-01-08 Joseph Myers <joseph@codesourcery.com>
4067 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4068 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4069 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4070 2 && __USE_EXTERN_INLINES]: Likewise.
4072 2013-01-08 Andreas Jaeger <aj@suse.de>
4075 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4077 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4078 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4080 2013-01-07 Anton Blanchard <anton@samba.org>
4082 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4083 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4084 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4085 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4086 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4087 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4088 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4089 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4091 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4092 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4093 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4094 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4095 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4096 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4097 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4098 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4099 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4100 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4101 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4102 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4103 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4104 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4105 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4106 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4107 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4108 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4109 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4110 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4111 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4112 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4113 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4114 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4115 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4116 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4117 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4118 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4119 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4120 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4121 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4122 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4123 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4124 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4126 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4128 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4129 (__MALLOC_PMT): Likewise.
4130 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4131 [__GNUC__], only on [_LIBC].
4132 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4133 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4134 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4135 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4136 forward declaration.
4137 (realloc_hook_ini): Likewise.
4138 (memalign_hook_ini): Likewise.
4139 (__libc_memalign): Do not use __MALLOC_PMT in variable
4141 (__libc_valloc): Likewise.
4142 (__libc_pvalloc): Likewise.
4143 (__libc_calloc): Likewise.
4144 (__posix_memalign): Likewise.
4147 * math/s_casinh.c: Include <float.h>.
4148 (__casinh): Do not do computation with squaring and square root
4149 for large arguments.
4150 * math/s_casinhf.c: Include <float.h>.
4151 (__casinhf): Do not do computation with squaring and square root
4152 for large arguments.
4153 * math/s_casinhl.c: Include <float.h>.
4154 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4155 (__casinhl): Do not do computation with squaring and square root
4156 for large arguments.
4157 * math/libm-test.inc (casin_test): Add more tests.
4158 (casinh_test): Likewise.
4159 * sysdeps/i386/fpu/libm-test-ulps: Update.
4160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4162 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4164 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4165 (__x86_64_raw_data_cache_size): Likewise.
4166 (__x86_64_data_cache_size_half): Likewise.
4167 (__x86_64_raw_data_cache_size_half): Likewise.
4168 (__x86_64_shared_cache_size): Likewise.
4169 (__x86_64_raw_shared_cache_size): Likewise.
4170 (__x86_64_shared_cache_size_half): Likewise.
4171 (__x86_64_raw_shared_cache_size_half): Likewise.
4172 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4174 (__x86_data_cache_size): This.
4175 (__x86_64_raw_data_cache_size): Renamed to ...
4176 (__x86_raw_data_cache_size): This.
4177 (__x86_64_data_cache_size_half): Renamed to ...
4178 (__x86_data_cache_size_half): This.
4179 (__x86_64_raw_data_cache_size_half): Renamed to ...
4180 (__x86_raw_data_cache_size_half): This.
4181 (__x86_64_shared_cache_size): Renamed to ...
4182 (__x86_shared_cache_size): This.
4183 (__x86_64_raw_shared_cache_size): Renamed to ...
4184 (__x86_raw_shared_cache_size): This.
4185 (__x86_64_shared_cache_size_half): Renamed to ...
4186 (__x86_shared_cache_size_half): This.
4187 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4188 (__x86_raw_shared_cache_size_half): This.
4189 * sysdeps/x86_64/memcpy.S: Updated.
4190 * sysdeps/x86_64/memset.S: Likewise.
4191 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4192 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4193 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4195 2013-01-04 David S. Miller <davem@davemloft.net>
4197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4199 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4201 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4202 1 to avoid redefinition warning.
4203 (__USE_GNU): Don't define.
4204 (init_signaling_nan): Protoize.
4206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4208 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4210 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4212 (__cpymn): Likewise.
4213 (norm): Remove commented code.
4215 (__mp_dbl): Likewise.
4217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4218 (__cpymn): Likewise.
4219 (norm): Remove commented code.
4221 (__mp_dbl): Likewise.
4224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4225 mp_no value for 1.0 and 2.0.
4226 (norm): Use RADIXI instead of radixi.d.
4228 (__mul): Use 0.0 instead of zero.d.
4229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4230 mp_no value for 1.0 and 2.0.
4231 (norm): Use RADIXI instead of radixi.d.
4233 (__mul): Use 0.0 instead of zero.d.
4235 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4238 * math/s_casinh.c (__casinh): Reduce finite argument to first
4239 quadrant then set signs of results at the end.
4240 * math/s_casinhf.c (__casinhf): Likewise.
4241 * math/s_casinhl.c (__casinhl): Likewise.
4242 * math/libm-test.inc (casin_test): Add more tests.
4243 (casinh_test): Likewise.
4244 * sysdeps/i386/fpu/libm-test-ulps: Update.
4245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4247 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4249 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4251 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4253 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4256 (__mp_dbl): Likewise.
4259 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4260 and adjust the header comment.
4262 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4263 variable name from declaration.
4265 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4268 Initialize COMMON_CPUID_INDEX_7 element.
4269 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4270 (CPUID_RTM): Likewise.
4271 (HAS_RTM): Likewise.
4272 (COMMON_CPUID_INDEX_7): New enum.
4274 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4277 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4278 size is zero, record memory as freed.
4280 2013-01-03 Andreas Jaeger <aj@suse.de>
4282 * po/ia.po: Add new Interlingua translation.
4284 2012-01-03 Allan McRae <allan@archlinux.org>
4286 * locale/programs/localedef.c: Fix description of '--posix' flag.
4288 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4290 * NEWS: Update dates in second copyright notice.
4291 * README: Update copyright dates in example.
4292 * manual/libc.texinfo: Update copyright dates.
4293 * scripts/test-installation.pl: Update copyright date in --version
4296 * hurd/ctty-input.c: Fix copyright notice formatting.
4297 * hurd/ctty-output.c: Likewise.
4298 * hurd/dtable.c: Likewise.
4299 * hurd/hurd-raise.c: Likewise.
4300 * hurd/hurdprio.c: Likewise.
4301 * hurd/msgportdemux.c: Likewise.
4302 * misc/sys/file.h: Likewise.
4303 * misc/sys/ioctl.h: Likewise.
4304 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4305 * sysdeps/mach/hurd/chdir.c: Likewise.
4306 * sysdeps/mach/hurd/fchdir.c: Likewise.
4307 * sysdeps/mach/hurd/rename.c: Likewise.
4308 * sysdeps/mach/hurd/rmdir.c: Likewise.
4309 * sysdeps/mach/hurd/seekdir.c: Likewise.
4310 * sysdeps/mach/hurd/setsid.c: Likewise.
4311 * sysdeps/posix/wait3.c: Likewise.
4313 * All files with FSF copyright notices: Update copyright dates
4314 using scripts/update-copyrights.
4315 * intl/plural.c: Regenerated.
4316 * locale/programs/charmap-kw.h: Likewise.
4317 * locale/programs/locfile-kw.h: Likewise.
4319 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4321 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4324 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4325 calculation loop and add branch prediction.
4327 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4328 check access beyond bounds of m1np.
4330 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4332 (__inv): Remove local variable MPTWO to use the global
4334 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4335 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4337 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4338 MP3HALFS static const.
4340 2013-01-01 David S. Miller <davem@davemloft.net>
4342 * po/ca.po: Update from translation team.
4344 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4346 * scripts/update-copyrights: New file.
4347 * Makeconfig: Reformat copyright notice.
4348 * ctype/ctype.h: Likewise.
4349 * debug/swprintf_chk.c: Likewise.
4350 * elf/dl-cache.c: Likewise.
4351 * elf/dl-debug.c: Likewise.
4352 * elf/dl-object.c: Likewise.
4353 * grp/initgroups.c: Likewise.
4354 * hurd/Makefile: Likewise.
4355 * hurd/hurd/signal.h: Likewise.
4356 * hurd/hurdfault.c: Likewise.
4357 * hurd/hurdioctl.c: Likewise.
4358 * hurd/hurdlookup.c: Likewise.
4359 * hurd/intr-msg.c: Likewise.
4360 * iconv/gconv_open.c: Likewise.
4361 * libio/swprintf.c: Likewise.
4362 * locale/lc-ctype.c: Likewise.
4363 * locale/nl_langinfo.c: Likewise.
4364 * mach/Machrules: Likewise.
4365 * mach/Makefile: Likewise.
4366 * malloc/obstack.h: Likewise.
4367 * manual/Makefile: Likewise.
4368 * manual/tsort.awk: Likewise.
4369 * misc/bits/stab.def: Likewise.
4370 * nis/nis_print_group_entry.c: Likewise.
4371 * nis/nis_table.c: Likewise.
4372 * nis/nss_compat/compat-pwd.c: Likewise.
4373 * nis/nss_compat/compat-spwd.c: Likewise.
4374 * po/Makefile: Likewise.
4375 * posix/fnmatch.c: Likewise.
4376 * posix/regex.h: Likewise.
4377 * resolv/Makefile: Likewise.
4378 * resolv/nss_dns/dns-network.c: Likewise.
4379 * resolv/res_hconf.c: Likewise.
4380 * scripts/gen-sorted.awk: Likewise.
4381 * soft-fp/soft-fp.h: Likewise.
4382 * stdio-common/printf.h: Likewise.
4383 * stdlib/monetary.h: Likewise.
4384 * stdlib/random.c: Likewise.
4385 * stdlib/random_r.c: Likewise.
4386 * sysdeps/generic/Makefile: Likewise.
4387 * sysdeps/gnu/Makefile: Likewise.
4388 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4389 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4390 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4392 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4393 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4395 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4396 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4397 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4398 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4399 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4400 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4401 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4402 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4403 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4404 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4405 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4406 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4407 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4408 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4409 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4410 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4416 * sysdeps/mach/hurd/errnos.awk: Likewise.
4417 * sysdeps/mach/hurd/fork.c: Likewise.
4418 * sysdeps/mach/hurd/getcwd.c: Likewise.
4419 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4420 * sysdeps/mach/hurd/mmap.c: Likewise.
4421 * sysdeps/mach/hurd/utimes.c: Likewise.
4422 * sysdeps/mach/hurd/xmknod.c: Likewise.
4423 * sysdeps/posix/profil.c: Likewise.
4424 * sysdeps/posix/readdir_r.c: Likewise.
4425 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4426 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4427 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4428 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4430 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4431 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4432 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4434 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4435 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4436 * sysdeps/pthread/lio_listio.c: Likewise.
4437 * sysdeps/sparc/dl-procinfo.h: Likewise.
4438 * sysdeps/unix/i386/sysdep.S: Likewise.
4439 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4440 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4441 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4442 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4444 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4445 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4446 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4447 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4448 * sysdeps/wordsize-32/divdi3.c: Likewise.
4449 * time/sys/time.h: Likewise.
4450 * wcsmbs/Makefile: Likewise.
4452 2013-01-01 David S. Miller <davem@davemloft.net>
4454 * po/fr.po: Update from translation team.
4456 * catgets/gencat.c: Update copyright year.
4457 * csu/version.c: Likewise.
4458 * debug/catchsegv.sh: Likewise.
4459 * debug/pcprofiledump.c: Likewise.
4460 * debug/xtrace.sh: Likewise.
4461 * elf/ldconfig.c: Likewise.
4462 * elf/ldd.bash.in: Likewise.
4463 * elf/pldd.c: Likewise.
4464 * elf/sotruss.ksh: Likewise.
4465 * elf/sprof.c: Likewise.
4466 * iconv/iconv_prog.c: Likewise.
4467 * iconv/iconvconfig.c: Likewise.
4468 * locale/programs/locale.c: Likewise.
4469 * locale/programs/localedef.c: Likewise.
4470 * login/programs/pt_chown.c: Likewise.
4471 * malloc/memusage.sh: Likewise.
4472 * malloc/memusagestat.c: Likewise.
4473 * malloc/mtrace.pl: Likewise.
4474 * nscd/nscd.c: Likewise.
4475 * nss/getent.c: Likewise.
4476 * nss/makedb.c: Likewise.
4477 * posix/getconf.c: Likewise.
4479 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4481 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4484 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4486 * math/bits/mathcalls.h (modf): Use __nonnull.
4488 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4490 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4491 (split): Use macro CN instead of the bare value.
4492 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4494 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4495 instead of the bare value.
4498 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4500 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4502 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4504 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4506 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4507 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4508 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4509 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4511 2012-12-28 Andreas Jaeger <aj@suse.de>
4513 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4514 values are from Linux 3.7.
4516 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4517 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4519 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4521 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4524 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4526 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4527 variables with preprocessor constants.
4528 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4529 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4530 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4532 2012-12-27 Bruno Haible <bruno@clisp.org>
4535 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4538 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4540 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4541 and use variable directly.
4542 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4544 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4546 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4547 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4549 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4550 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4551 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4552 include directive. Remove local variable MPONE.
4553 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4554 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4555 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4557 2012-12-25 David S. Miller <davem@davemloft.net>
4559 * version.h (RELEASE): Set to "development".
4560 (VERSION): Set to "2.17.90".
4561 * NEWS: Add 2.18 section.
4563 2012-12-21 David S. Miller <davem@davemloft.net>
4565 * po/hr.po: Update from translation team.
4567 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4569 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4571 2012-12-19 Steve Ellcey <sellcey@mips.com>
4573 * NEWS: Mention new memcpy for MIPS.
4575 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4577 * manual/contrib.texi (Contributors): Spelling correction.
4579 2012-12-15 David S. Miller <davem@davemloft.net>
4581 * po/ru.po: Update from translation team.
4583 2012-12-13 David S. Miller <davem@davemloft.net>
4585 * NEWS: Mention IFUNC testsuite enhancements.
4587 * po/pl.po: Update from translation team.
4588 * po/bg.po: Likewise.
4590 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4591 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4593 2012-12-11 David S. Miller <davem@davemloft.net>
4595 * po/sv.po: Update from translation team.
4597 * po/vi.po: Update from translation team.
4599 * po/cs.po: Update from translation team.
4601 * po/de.po: Update from translation team.
4602 * po/eo.po: Likewise.
4603 * po/nl.po: Likewise.
4605 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4608 * manual/argp.texi (Argp Helper Functions): Move node to follow
4612 * manual/conf.texi (Limits on File System Capacity): Mention if
4613 terminating null is included in the max size.
4615 2012-12-10 Andreas Jaeger <aj@suse.de>
4617 * po/cs.po: Update from translation team.
4619 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4621 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4622 void pointer and cast to uintptr_t.
4623 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4625 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4626 * sysdeps/s390/s390-64/memset.S: Likewise.
4628 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
4631 * menual/message.texi (Message Translation): Fix typos.
4632 (Helper programs for gettext): Likewise.
4634 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4637 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4640 2012-12-07 David S. Miller <davem@davemloft.net>
4642 * po/libc.pot: Update.
4644 2012-12-07 Richard Henderson <rth@redhat.com>
4647 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4648 normal/normal case to before the switch.
4649 (_FP_DIV): Likewise.
4651 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4652 Mike Frysinger <vapier@gentoo.org>
4654 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4655 check for __NR_fadvise64_64.
4657 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4659 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4660 0, not just to plain "0" as a statement.
4661 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4664 2012-12-06 Joseph Myers <joseph@codesourcery.com>
4666 * NEWS: Use sourceware.org in Bugzilla URL.
4668 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4671 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4673 * stdio-common/tst-put-error.c (do_test): Add newline to the
4674 padded test to ensure flush.
4676 2012-12-05 Jeff Law <law@redhat.com>
4678 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4680 2012-12-05 Joseph Myers <joseph@codesourcery.com>
4682 * README: Don't refer to ports add-on as distributed separately.
4683 Mention AArch64 in list of systems supported in the ports add-on.
4685 * LICENSES: Add more non-FSF copyright and license notices.
4687 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4690 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4692 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4693 10000 as width of padded output.
4695 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4697 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4699 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4700 variable LX with __attribute__ ((unused)).
4701 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4703 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4704 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4705 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4706 with __attribute__ ((unused)).
4708 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
4710 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4712 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4714 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4715 (CFLAGS-nldbl-acos.c): New variable.
4716 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4717 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4718 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4719 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4720 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4721 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4722 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4723 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4724 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4725 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4726 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4727 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4728 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4729 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4730 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4731 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4732 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4733 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4734 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4735 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4736 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4737 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4738 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4739 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4740 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4741 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4742 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4743 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4744 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4745 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4746 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4747 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4748 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4749 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4750 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4751 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4752 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4753 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4754 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4755 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4756 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4757 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4758 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4759 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4760 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4761 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4762 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4763 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4764 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4765 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4766 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4767 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4768 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4769 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4770 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4771 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4772 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4773 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4774 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4775 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4776 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4777 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4778 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4779 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4780 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4781 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4782 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4783 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4784 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4785 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4786 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4787 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4788 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4789 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4790 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4791 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4792 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4793 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4794 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4795 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4796 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4797 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4798 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4799 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4800 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4801 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4802 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4803 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4804 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4805 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4806 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4807 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4808 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4809 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4810 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4811 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4812 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4815 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4818 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4819 whole low double instead of just low 47 bits when splitting values
4822 2012-12-03 Allan McRae <allan@archlinux.org>
4824 * manual/stdio.texi (Predefined Printf Handlers): Remove
4825 @hsep and @vsep usage.
4827 2012-12-03 Mike Frysinger <vapier@gentoo.org>
4829 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4830 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4832 2012-12-03 Jeff Law <law@redhat.com>
4834 * time/sys/time.h (settimeofday): Do not mark TV argument
4837 2012-12-01 Mike Frysinger <vapier@gentoo.org>
4839 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4840 when currently writing and seek to current position when not.
4841 * libio/Makefile (tests): Remove bug-fclose1.
4842 * libio/bug-fclose1.c: Delete.
4844 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4846 * manual/arith.texi (feenableexcept): Fix typo.
4847 (fedisableexcept): Likewise.
4849 2012-11-30 Roland McGrath <roland@hack.frob.com>
4851 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4852 second, differently-typed declaration, rather than a cast.
4854 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4856 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4857 * include/rpc/svc.h: ... here.
4859 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4862 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4863 depending n and resplen2 to catch cases where answer
4866 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4868 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4869 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4871 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4873 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4875 2012-11-29 Roland McGrath <roland@hack.frob.com>
4877 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4879 2012-11-28 Jeff Law <law@redhat.com>
4882 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4883 dataset_temporary. Track alloca usage into alloca_used.
4884 If dataset is large allocate and release it via malloc/free.
4886 2012-06-04 Florian Weimer <fweimer@redhat.com>
4889 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4891 2012-11-28 David S. Miller <davem@davemloft.net>
4893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4895 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4898 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4899 of pi/2 rounded to nearest to 64 bits.
4900 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4902 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4905 2012-11-28 Jeff Law <law@redhat.com>
4906 Martin Osvald <mosvald@redhat.com>
4909 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4910 * sunrpc/svc.c: Include time.h.
4911 (__svc_accept_failed): New function.
4912 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4913 any reason other than EINTR, call __svc_accept_failed.
4914 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4915 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4917 2012-11-28 Andreas Schwab <schwab@suse.de>
4919 * scripts/abilist.awk: Also handle indirect functions in .opd
4922 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4925 * sysdeps/x86/fpu/powl_helper.c: New file.
4926 * sysdeps/x86/fpu/Makefile: Likewise.
4927 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4929 (__ieee754_powl): Use __powl_helper for finite arguments except
4930 integer exponents below 8.
4931 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4933 (__ieee754_powl): Use __powl_helper for finite arguments except
4934 integer exponents below 8.
4935 * math/libm-test.inc (pow_test): Add more tests and enable some
4936 previously disabled tests.
4937 * sysdeps/i386/fpu/libm-test-ulps: Update.
4938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4940 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4941 Carlos O'Donell <carlos_odonell@mentor.com>
4943 * nss/makedb.c (is_prime): Assert that input is odd and greater
4944 than 4. Note that fact in a comment too.
4945 (next_prime): Add 4 to input.
4947 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4950 * libio/Makefile (tests): Add test case tst-fwrite-error.
4951 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4952 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4953 * libio/tst-fwrite-error.c: New test case.
4955 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4957 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4958 before casting to void *.
4959 * include/libc-internal.h (__pointer_type): New macro.
4960 (__integer_if_pointer_type_sub): Likewise.
4961 (__integer_if_pointer_type): Likewise.
4962 (cast_to_integer): Likewise.
4963 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4964 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4965 before casting to atomic64_t.
4966 (atomic_exchange_acq): Likewise.
4967 (__arch_exchange_and_add_body): Likewise.
4968 (__arch_add_body): Likewise.
4969 (atomic_add_negative): Likewise.
4970 (atomic_add_zero): Likewise.
4972 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4974 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4975 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4976 (add_fdes): Likewise.
4977 (linear_search_fdes): Likewise.
4978 (binary_search_unencoded_fdes): Likewise.
4980 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4982 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4984 2012-11-24 Adam Conrad <adconrad@0c3.net>
4986 * configure.in: Autodetect C++ header directories.
4987 * configure: Regenerated.
4989 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4991 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4993 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4997 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4999 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5000 LDBL_MANT_DIG == 106]: Disable some tests.
5001 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5003 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5007 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5008 input for small inputs. Return +/- pi/2 for large inputs.
5009 * math/libm-test.inc (atan_test): Add more tests.
5011 * sysdeps/generic/unwind-dw2-fde-glibc.c
5012 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5013 __attribute__ ((unused)).
5016 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5017 x * y if x and y are nonzero and z is zero.
5020 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5021 nonzero exponents with absolute value below 0x1p-117 to +/-
5025 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5026 up arguments below 2**-450, not just those below 2**-500.
5027 * math/libm-test.inc (hypot_test): Add another test.
5030 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5031 Return a+b for ratio over 2**120, not 2**60.
5032 * math/libm-test.inc (hypot_test): Add another test.
5034 * math/libm-test.inc (clog_test): Use
5035 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5036 (clog10_test): Likewise.
5039 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5041 2012-11-22 Andreas Schwab <schwab@suse.de>
5043 * sysdeps/i386/fpu/libm-test-ulps: Update.
5045 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5047 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5048 printf output with newline.
5050 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5053 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5054 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5055 -z nodlopen, -z initfirst and -z execstack support.
5056 * configure: Regenerated.
5058 * elf/elf.h (DF_1_NODIRECT): New macro.
5059 (DF_1_IGNMULDEF): Likewise.
5060 (DF_1_NOKSYMS): Likewise.
5061 (DF_1_NOHDR): Likewise.
5062 (DF_1_EDITED): Likewise.
5063 (DF_1_NORELOC): Likewise.
5064 (DF_1_SYMINTPOSE): Likewise.
5065 (DF_1_GLOBAUDIT): Likewise.
5066 (DF_1_SINGLETON): Likewise.
5067 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5068 DT_1_SUPPORTED_MASK bits.
5069 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5071 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5073 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5075 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5077 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5080 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5081 (sendmmsg): Move declarations...
5082 * socket/sys/socket.h: ... here.
5083 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5084 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5086 * socket/recvmmsg.c: ... this new file.
5087 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5088 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5089 definition of __sendmmsg hidden.
5090 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5091 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5092 Move ENOSYS stub into and include it from...
5093 * socket/sendmmsg.c: ... this new file.
5094 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5095 (sysdep_routines): Move recvmmsg and sendmmsg...
5096 * socket/Makefile (routines): ... here.
5097 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5098 (GLIBC_PRIVATE): Add __sendmmsg.
5099 * include/sys/socket.h (__sendmmsg): Add declarations.
5100 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5103 2012-11-20 Joseph Myers <joseph@codesourcery.com>
5105 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5106 variable I1 with __attribute__ ((unused)).
5107 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5109 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5111 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5112 DUMMY variables with __attribute__ ((unused)).
5114 * bits/byteswap.h: Include <bits/types.h>.
5115 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5117 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5119 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5120 string_t. Do not manually set errno.
5121 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5122 length with __strnlen. Make sure to both set errno and return it on
5125 2012-11-19 David S. Miller <davem@davemloft.net>
5127 With help from Joseph Myers.
5128 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5129 very large arguments properly.
5130 * math/libm-test.inc (atan_test): New tests.
5131 (atan2_test): New tests.
5132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5135 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5138 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5141 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5142 [POSIX] (EADDRNOTAVAIL): Likewise.
5143 [POSIX] (EAFNOSUPPORT): Likewise.
5144 [POSIX] (EALREADY): Likewise.
5145 [POSIX] (ECONNABORTED): Likewise.
5146 [POSIX] (ECONNREFUSED): Likewise.
5147 [POSIX] (ECONNRESET): Likewise.
5148 [POSIX] (EDESTADDRREQ): Likewise.
5149 [POSIX] (EDQUOT): Likewise.
5150 [POSIX] (EHOSTUNREACH): Likewise.
5151 [POSIX] (EIDRM): Likewise.
5152 [POSIX] (EISCONN): Likewise.
5153 [POSIX] (ELOOP): Likewise.
5154 [POSIX] (EMULTIHOP): Likewise.
5155 [POSIX] (ENETDOWN): Likewise.
5156 [POSIX] (ENETUNREACH): Likewise.
5157 [POSIX] (ENOBUFS): Likewise.
5158 [POSIX] (ENODATA): Likewise.
5159 [POSIX] (ENOLINK): Likewise.
5160 [POSIX] (ENOMSG): Likewise.
5161 [POSIX] (ENOPROTOOPT): Likewise.
5162 [POSIX] (ENOSR): Likewise.
5163 [POSIX] (ENOSTR): Likewise.
5164 [POSIX] (ENOTCONN): Likewise.
5165 [POSIX] (ENOTSOCK): Likewise.
5166 [POSIX] (EOPNOTSUPP): Likewise.
5167 [POSIX] (EOVERFLOW): Likewise.
5168 [POSIX] (EPROTO): Likewise.
5169 [POSIX] (EPROTONOSUPPORT): Likewise.
5170 [POSIX] (EPROTOTYPE): Likewise.
5171 [POSIX] (ESTALE): Likewise.
5172 [POSIX] (ETIME): Likewise.
5173 [POSIX] (ETXTBSY): Likewise.
5174 [POSIX] (EWOULDBLOCK): Likewise.
5175 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5176 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5177 [POSIX] (SEEK_CUR): Likewise.
5178 [POSIX] (SEEK_END): Likewise.
5179 [POSIX || UNIX98] (mode_t): Do not require.
5180 [POSIX] (off_t): Likewise.
5181 [POSIX] (pid_t): Likewise.
5182 [POSIX] (sys/stat.h): Do not allow header.
5183 [POSIX] (unistd.h): Likewise.
5184 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5185 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5186 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5187 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5189 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5190 sigevent): Specify elements.
5191 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5193 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5194 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5196 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5197 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5198 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5199 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5200 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5201 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5202 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5203 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5204 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5205 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5206 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5207 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5208 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5209 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5211 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5213 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5215 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5217 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5218 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5219 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5220 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5221 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5222 Specify lower bound on value.
5223 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5224 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5225 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5226 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5227 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5228 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5229 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5230 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5232 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5234 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5235 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5236 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5237 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5238 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5239 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5240 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5241 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5242 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5243 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5244 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5245 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5246 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5247 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5248 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5249 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5251 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5253 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5254 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5255 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5256 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5257 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5258 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5260 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5261 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5262 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5263 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5264 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5265 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5266 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5268 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5269 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5270 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5271 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5272 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5273 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5274 specify as optional.
5275 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5276 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5277 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5278 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5279 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5280 [XPG3] (NL_LANGMAX): Likewise.
5281 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5282 [POSIX || XPG3] (NL_NMAX): Likewise.
5283 [POSIX || XPG3] (NL_SETMAX): Likewise.
5284 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5285 [XPG3] (NZERO): Likewise.
5286 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5287 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5288 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5289 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5290 (REG_ERANGE): Expect.
5291 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5293 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5294 Use (void) in prototype.
5295 [POSIX] (*_t): Allow.
5296 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5297 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5298 (WRDE_BADVAL): Expect.
5300 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5302 [XPG3 || XPG4] (O_RSYNC): Likewise.
5303 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5305 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5306 [XPG3 || XPG4] (sigqueue): Likewise.
5307 [XPG3 || XPG4] (sigtimedwait): Likewise.
5308 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5309 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5310 [XPG3 || XPG4] (vsnprintf): Likewise.
5311 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5313 [XPG3 || XPG4] (blksize_t): Likewise.
5314 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5316 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5317 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5318 [XPG3 || XPG4] (struct itimerspec): Likewise.
5319 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5320 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5321 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5322 [XPG3 || XPG4] (clockid_t): Likewise.
5323 [XPG3 || XPG4] (timer_t): Likewise.
5324 [XPG3 || XPG4] (clock_getres): Likewise.
5325 [XPG3 || XPG4] (clock_gettime): Likewise.
5326 [XPG3 || XPG4] (clock_settime): Likewise.
5327 [XPG3 || XPG4] (nanosleep): Likewise.
5328 [XPG3 || XPG4] (timer_create): Likewise.
5329 [XPG3 || XPG4] (timer_delete): Likewise.
5330 [XPG3 || XPG4] (timer_gettime): Likewise.
5331 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5332 [XPG3 || XPG4] (timer_settime): Likewise.
5333 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5334 [XPG3 || XPG4] (getlogin_r): Likewise.
5335 [XPG3 || XPG4] (pread): Likewise.
5336 [XPG3 || XPG4] (pthread_atfork): Likewise.
5337 [XPG3 || XPG4] (pwrite): Likewise.
5340 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5343 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5345 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5346 finalizing MALLSTREAM.
5348 * sysdeps/mach/hurd/syncfs.c: New file.
5350 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5353 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5354 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5355 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5356 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5357 (_nss_dns_gethostbyname4_r): Likewise.
5358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5359 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5361 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5364 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5366 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5368 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5369 * elf/cache.c (print_entry): Print ",AArch64" for
5372 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5373 * elf/cache.c (print_entry): Print ",hard-float" for
5376 2012-11-18 David S. Miller <davem@davemloft.net>
5378 With help from Joseph Myers.
5379 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5381 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5383 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5384 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5386 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5387 * math/libm-test.inc (y0_test): New tests.
5388 (y1_test): New tests.
5389 * sysdeps/i386/fpu/libm-test-ulps: Update.
5390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5393 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5395 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5397 * configure: Regenerated.
5399 2012-11-17 David S. Miller <davem@davemloft.net>
5402 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5403 nonzero exponents with absolute value below 0x1p-128 to +/-
5406 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5408 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5410 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5412 * posix/getconf-speclist.c: New file.
5413 * posix/posix-envs.def: Likewise.
5414 * posix/confstr.c (START_ENV_GROUP): New macro.
5415 (END_ENV_GROUP): Likewise.
5416 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5417 (KNOWN_PRESENT_ENV_STRING): Likewise.
5418 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5419 (UNKNOWN_ENVIRONMENT): Likewise.
5420 (confstr): Include posix-envs.def instead of handling
5421 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5422 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5423 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5424 (END_ENV_GROUP): Likewise.
5425 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5426 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5427 (UNKNOWN_ENVIRONMENT): Likewise.
5428 (__sysconf): Include posix-envs.def instead of handling associated
5429 cases directly here.
5430 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5431 preprocessing getconf-speclist.c rather than running getconf or
5432 generating empty file.
5434 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5436 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5438 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5441 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5443 2012-11-16 David S. Miller <davem@davemloft.net>
5445 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5446 smaller than LDBL_EPSILON/2.0L, just return xm1.
5448 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5450 * elf/tst-array1.c (init): Set constructor priority to 1000.
5451 (fini): Set destructor priority to 1000.
5452 * elf/tst-array2dep.c: Likewise.
5454 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5457 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5458 (_IO_new_file_xsputn): Also return EOF if none of the input
5459 data was written when overflow failed.
5460 * libio/iopadn.c (_IO_padn): Likewise.
5461 * libio/iowpadn.c (_IO_wpadn): Likewise.
5462 * stdio-common/tst-put-error.c: Add copyright notice.
5463 (do_test): Add case for printing padded string.
5464 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5465 _IO_padn returned error.
5466 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5467 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5470 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5472 * libio/libioP.h: Add comment note that the references to C++
5473 bits are now obsolete.
5475 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5477 * math/libm-test.inc (check_complex): Use asprintf.
5479 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5481 * debug/pcprofiledump.c (print_version): Update copyright year.
5482 * malloc/memusagestat.c (print_version): Likewise.
5484 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5487 * elf/Makefile (tests): Add tst-audit8.
5488 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5489 ($(objpfx)tst-audit8.out): New target.
5490 (tst-audit8-ENV): New variable.
5491 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5492 audit if l_reloc_result is NULL.
5493 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5494 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5495 * elf/tst-audit8.c: New file.
5497 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5499 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5500 * misc/Makefile (CFLAGS-select.c): Define.
5501 * posix/Makefile (CFLAGS-pause.c): Define.
5503 2012-11-13 David S. Miller <davem@davemloft.net>
5505 * crypt/Makefile: Move test targets after toplevel Rules
5506 inclusion. Grab any necessary sysdep routines when linking.
5507 * crypt/md5.c (md5_process_block): Remove define, we will always
5508 name it __md5_process_block.
5509 (md5_finish_ctx): Update md5_process_block call.
5510 (md5_stream): Likewise.
5511 (md5_process_bytes): Likewise.
5512 (md5_process_block): Rename to __md5_process_block and move to ...
5513 * crypt/md5-block.c: ... here.
5514 * crypt/sha256.c (sha256_process_block): Move to ...
5515 * crypt/sha256-block.c: ... here.
5516 * crypt/sha512.c (sha512_process_block): Move to ...
5517 * crypt/sha512-block.c: ... here.
5518 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5520 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5521 * sysdeps/sparc/sparc64/multiarch/Makefile
5522 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5524 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5525 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5527 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5528 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5529 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5530 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5531 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5532 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5533 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5534 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5535 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5537 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5538 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5540 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5542 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5544 * timezone/tzselect.ksh: Update from tzcode git revision
5545 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5546 * timezone/zdump.c: Likewise.
5547 * timezone/zic.c: Likewise.
5548 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5549 in TZVERSION setting, not $(PKGVERSION).
5550 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5551 REPORT_BUGS_TO settings.
5554 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5557 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5559 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5560 detection to immediately after _FP_ROUND().
5561 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5564 2012-11-11 David S. Miller <davem@davemloft.net>
5566 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5568 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5569 __close rather than their public counterparts.
5571 2012-11-10 Joseph Myers <joseph@codesourcery.com>
5573 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5575 [UNIX98] (sem_timedwait): Do not expect.
5576 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5577 [XPG4 || UNIX98] (sockatmark): Do not expect.
5578 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5579 (clock_getcpuclockid): Do not expect.
5580 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5581 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5583 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5584 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5585 [UNIX98] (vwscanf): Likewise.
5586 [UNIX98] (vswscanf): Likewise.
5588 2012-11-09 Joseph Myers <joseph@codesourcery.com>
5590 * timezone/version.h: Remove file.
5591 * timezone/README: Do not refer to version.h.
5592 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5594 ($(objpfx)zdump.o): Likewise.
5595 ($(objpfx)version.h): New target.
5597 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5599 * timezone/README: Don't mention modification to tzselect.ksh.
5600 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5601 work on unmodified tzselect.ksh. Substitute version numbers in
5604 * Makefile (format-me): Remove.
5605 (INSTALL): Adjust indentation. Use commands directly instead of
5608 * aclocal.m4 (ACX_PKGVERSION): New macro.
5609 (ACX_BUGURL): Likewise.
5610 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5611 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5612 (REPORT_BUGS_TO): Likewise.
5613 * configure: Regenerated.
5614 * config.h.in (PKGVERSION): New macro.
5615 (REPORT_BUGS_TO): Likewise.
5616 * config.make.in (PKGVERSION): New variable.
5617 (PKGVERSION_TEXI): Likewise.
5618 (REPORT_BUGS_TO): Likewise.
5619 (REPORT_BUGS_TEXI): Likewise.
5620 * Makefile (format-me): Use -I$(common-objpfx)manual.
5621 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5622 ($(common-objpfx)manual/%): New target.
5623 (manual/%): Remove target.
5624 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5625 (print_version): Use PKGVERSION.
5626 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5627 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5629 ($(objpfx)xtrace): Likewise.
5630 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5631 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5632 (print_version): Use PKGVERSION.
5633 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5634 (do_version): Use PKGVERSION.
5635 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5637 (common-ldd-rewrite): Likewise.
5638 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5639 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5640 (print_version): Use PKGVERSION.
5641 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5642 * elf/pldd.c (argp_program_bug_address): Remove variable.
5643 (more_help): New function.
5644 (argp): Use more_help.
5645 (print_version): Use PKGVERSION.
5646 * elf/sln.c (main): Use PKGVERSION.
5647 (usage): Use REPORT_BUGS_TO.
5648 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5649 (top level): Use PKGVERSION.
5650 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5651 (print_version): Use PKGVERSION.
5652 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5653 (print_version): Use PKGVERSION.
5654 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5655 (print_version): Use PKGVERSION.
5656 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5657 (print_version): Use PKGVERSION.
5658 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5659 (print_version): Use PKGVERSION.
5660 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5661 (print_version): Use PKGVERSION.
5662 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5664 ($(objpfx)memusage): Likewise.
5665 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5666 (do_version): Use PKGVERSION.
5667 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5668 (print_version): Use PKGVERSION.
5669 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5670 ($PKGVERSION): New variable.
5671 ($REPORT_BUGS_TO): Likewise.
5672 (usage): Use $REPORT_BUGS_TO.
5673 (top level): Use $PKGVERSION.
5674 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5675 ($(objpfx)pkgvers.texi): New rule.
5676 ($(objpfx)stamp-pkgvers): Likewise.
5677 * manual/install.texi: Include pkgvers.texi.
5678 (--with-pkgversion): Document new configure option.
5679 (--with-bugurl): Likewise.
5680 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5681 than necessarily for this particular distribution. Use
5682 REPORT_BUGS_TO for where to report bugs.
5683 * INSTALL: Regenerated.
5684 * manual/libc.texinfo: Include pkgvers.texi.
5685 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5686 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5687 (print_version): Use PKGVERSION.
5688 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5689 (print_version): Use PKGVERSION.
5690 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5691 (print_version): Use PKGVERSION.
5692 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5693 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5695 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5696 (print_version): Use PKGVERSION.
5697 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5698 (print_version): Use PKGVERSION.
5699 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5702 * timezone/checktab.awk: Update from tzcode 2012i.
5703 * timezone/ialloc.c: Likewise.
5704 * timezone/private.h: Likewise.
5705 * timezone/scheck.c: Likewise.
5706 * timezone/tzfile.h: Likewise.
5707 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5708 (TZVERSION): Hardcode tzcode version number.
5709 * timezone/zdump.c: Update from tzcode 2012i.
5710 * timezone/zic.c: Likewise.
5711 * timezone/version.h: New file.
5712 * timezone/README: Describe version.h. Update upstream location.
5715 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5716 (mktemp): Enable declaration.
5717 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5719 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5720 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5722 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5724 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5726 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5728 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5730 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5734 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5735 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5736 for copies of such integer values.
5737 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5738 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5740 2012-11-09 Andreas Jaeger <aj@suse.de>
5742 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5743 definitions and declarations that are provided by
5744 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5746 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5748 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5749 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5750 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5753 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5755 * elf/elf.h: Update comment before AArch64 relocations.
5757 2012-11-07 David S. Miller <davem@davemloft.net>
5759 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5760 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5761 (__start_context): Declare.
5762 (__makecontext_ret): Delete.
5763 (__makecontext): Hook up __start_context instead of
5765 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5766 (sysdep_routines): Add __start_context when in stdlib.
5768 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5770 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5771 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5772 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5774 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5775 (READELF): New variable. Use it instead of hardcoded "readelf".
5777 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5779 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5780 * sysdeps/x86/Makefile: Here.
5781 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5782 * sysdeps/x86/tst-xmmymm.sh: This.
5784 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5786 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5788 [UNIX98] (pthread_barrier_t): Do not expect.
5789 [UNIX98] (pthread_barrierattr_t): Likewise.
5790 [UNIX98] (pthread_spinlock_t): Likewise.
5791 [UNIX98] (pthread_barrier_destroy): Likewise.
5792 [UNIX98] (pthread_barrier_init): Likewise.
5793 [UNIX98] (pthread_barrier_wait): Likewise.
5794 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5795 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5796 [UNIX98] (pthread_barrierattr_init): Likewise.
5797 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5798 [UNIX98] (pthread_getcpuclockid): Likewise.
5799 [UNIX98] (pthread_mutex_timedlock): Likewise.
5800 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5801 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5802 [UNIX98] (pthread_sigmask): Likewise.
5803 [UNIX98] (pthread_spin_destroy): Likewise.
5804 [UNIX98] (pthread_spin_init): Likewise.
5805 [UNIX98] (pthread_spin_lock): Likewise.
5806 [UNIX98] (pthread_spin_trylock): Likewise.
5807 [UNIX98] (pthread_spin_unlock): Likewise.
5808 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5810 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5811 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5812 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5813 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5814 [XPG3 || XPG4] (pthread_key_t): Likewise.
5815 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5816 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5817 [XPG3 || XPG4] (pthread_once_t): Likewise.
5818 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5819 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5820 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5821 [XPG3 || XPG4] (pthread_t): Likewise.
5823 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5825 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5827 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5828 Change function return type to int.
5830 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5831 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5832 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5833 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5834 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5835 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5836 [!POSIX] (posix_madvise): Likewise.
5837 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5839 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5840 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5842 (posix_mem_offset): Likewise.
5843 (posix_typed_mem_get_info): Likewise.
5844 (posix_typed_mem_open): Likewise.
5846 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5847 Change condition to [XOPEN2K8].
5849 * conform/conformtest.pl: Preprocess allow-header data with -x c
5850 instead of from stdin.
5851 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5852 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5853 [C99-based standards] (cerfc): Likewise.
5854 [C99-based standards] (cexp2): Likewise.
5855 [C99-based standards] (cexpm1): Likewise.
5856 [C99-based standards] (clog10): Likewise.
5857 [C99-based standards] (clog1p): Likewise.
5858 [C99-based standards] (clog2): Likewise.
5859 [C99-based standards] (clgamma): Likewise.
5860 [C99-based standards] (ctgamma): Likewise.
5861 [C99-based standards] (cerff): Likewise.
5862 [C99-based standards] (cerfcf): Likewise.
5863 [C99-based standards] (cexp2f): Likewise.
5864 [C99-based standards] (cexpm1f): Likewise.
5865 [C99-based standards] (clog10f): Likewise.
5866 [C99-based standards] (clog1pf): Likewise.
5867 [C99-based standards] (clog2f): Likewise.
5868 [C99-based standards] (clgammaf): Likewise.
5869 [C99-based standards] (ctgammaf): Likewise.
5870 [C99-based standards] (cerfl): Likewise.
5871 [C99-based standards] (cerfcl): Likewise.
5872 [C99-based standards] (cexp2l): Likewise.
5873 [C99-based standards] (cexpm1l): Likewise.
5874 [C99-based standards] (clog10l): Likewise.
5875 [C99-based standards] (clog1pl): Likewise.
5876 [C99-based standards] (clog2l): Likewise.
5877 [C99-based standards] (clgammal): Likewise.
5878 [C99-based standards] (ctgammal): Likewise.
5879 * conform/data/inttypes.h-data [C99-based standards]: Include
5880 stdint.h-data. Remove all expectations for stdint.h contents.
5881 [C99-based standards] (PRI*): Do not allow.
5882 [C99-based standards] (SCN*): Likewise.
5883 [C99-based standards] (*_t): Likewise.
5884 [C99-based-standards] (PRId8): Expect macro.
5885 [C99-based-standards] (PRIi8): Likewise.
5886 [C99-based-standards] (PRIo8): Likewise.
5887 [C99-based-standards] (PRIu8): Likewise.
5888 [C99-based-standards] (PRIx8): Likewise.
5889 [C99-based-standards] (PRIX8): Likewise.
5890 [C99-based-standards] (SCNd8): Likewise.
5891 [C99-based-standards] (SCNi8): Likewise.
5892 [C99-based-standards] (SCNo8): Likewise.
5893 [C99-based-standards] (SCNu8): Likewise.
5894 [C99-based-standards] (SCNx8): Likewise.
5895 [C99-based-standards] (PRIdLEAST8): Likewise.
5896 [C99-based-standards] (PRIiLEAST8): Likewise.
5897 [C99-based-standards] (PRIoLEAST8): Likewise.
5898 [C99-based-standards] (PRIuLEAST8): Likewise.
5899 [C99-based-standards] (PRIxLEAST8): Likewise.
5900 [C99-based-standards] (PRIXLEAST8): Likewise.
5901 [C99-based-standards] (SCNdLEAST8): Likewise.
5902 [C99-based-standards] (SCNiLEAST8): Likewise.
5903 [C99-based-standards] (SCNoLEAST8): Likewise.
5904 [C99-based-standards] (SCNuLEAST8): Likewise.
5905 [C99-based-standards] (SCNxLEAST8): Likewise.
5906 [C99-based-standards] (PRIdFAST8): Likewise.
5907 [C99-based-standards] (PRIiFAST8): Likewise.
5908 [C99-based-standards] (PRIoFAST8): Likewise.
5909 [C99-based-standards] (PRIuFAST8): Likewise.
5910 [C99-based-standards] (PRIxFAST8): Likewise.
5911 [C99-based-standards] (PRIXFAST8): Likewise.
5912 [C99-based-standards] (SCNdFAST8): Likewise.
5913 [C99-based-standards] (SCNiFAST8): Likewise.
5914 [C99-based-standards] (SCNoFAST8): Likewise.
5915 [C99-based-standards] (SCNuFAST8): Likewise.
5916 [C99-based-standards] (SCNxFAST8): Likewise.
5917 [C99-based-standards] (PRId16): Likewise.
5918 [C99-based-standards] (PRIi16): Likewise.
5919 [C99-based-standards] (PRIo16): Likewise.
5920 [C99-based-standards] (PRIu16): Likewise.
5921 [C99-based-standards] (PRIx16): Likewise.
5922 [C99-based-standards] (PRIX16): Likewise.
5923 [C99-based-standards] (SCNd16): Likewise.
5924 [C99-based-standards] (SCNi16): Likewise.
5925 [C99-based-standards] (SCNo16): Likewise.
5926 [C99-based-standards] (SCNu16): Likewise.
5927 [C99-based-standards] (SCNx16): Likewise.
5928 [C99-based-standards] (PRIdLEAST16): Likewise.
5929 [C99-based-standards] (PRIiLEAST16): Likewise.
5930 [C99-based-standards] (PRIoLEAST16): Likewise.
5931 [C99-based-standards] (PRIuLEAST16): Likewise.
5932 [C99-based-standards] (PRIxLEAST16): Likewise.
5933 [C99-based-standards] (PRIXLEAST16): Likewise.
5934 [C99-based-standards] (SCNdLEAST16): Likewise.
5935 [C99-based-standards] (SCNiLEAST16): Likewise.
5936 [C99-based-standards] (SCNoLEAST16): Likewise.
5937 [C99-based-standards] (SCNuLEAST16): Likewise.
5938 [C99-based-standards] (SCNxLEAST16): Likewise.
5939 [C99-based-standards] (PRIdFAST16): Likewise.
5940 [C99-based-standards] (PRIiFAST16): Likewise.
5941 [C99-based-standards] (PRIoFAST16): Likewise.
5942 [C99-based-standards] (PRIuFAST16): Likewise.
5943 [C99-based-standards] (PRIxFAST16): Likewise.
5944 [C99-based-standards] (PRIXFAST16): Likewise.
5945 [C99-based-standards] (SCNdFAST16): Likewise.
5946 [C99-based-standards] (SCNiFAST16): Likewise.
5947 [C99-based-standards] (SCNoFAST16): Likewise.
5948 [C99-based-standards] (SCNuFAST16): Likewise.
5949 [C99-based-standards] (SCNxFAST16): Likewise.
5950 [C99-based-standards] (PRId32): Likewise.
5951 [C99-based-standards] (PRIi32): Likewise.
5952 [C99-based-standards] (PRIo32): Likewise.
5953 [C99-based-standards] (PRIu32): Likewise.
5954 [C99-based-standards] (PRIx32): Likewise.
5955 [C99-based-standards] (PRIX32): Likewise.
5956 [C99-based-standards] (SCNd32): Likewise.
5957 [C99-based-standards] (SCNi32): Likewise.
5958 [C99-based-standards] (SCNo32): Likewise.
5959 [C99-based-standards] (SCNu32): Likewise.
5960 [C99-based-standards] (SCNx32): Likewise.
5961 [C99-based-standards] (PRIdLEAST32): Likewise.
5962 [C99-based-standards] (PRIiLEAST32): Likewise.
5963 [C99-based-standards] (PRIoLEAST32): Likewise.
5964 [C99-based-standards] (PRIuLEAST32): Likewise.
5965 [C99-based-standards] (PRIxLEAST32): Likewise.
5966 [C99-based-standards] (PRIXLEAST32): Likewise.
5967 [C99-based-standards] (SCNdLEAST32): Likewise.
5968 [C99-based-standards] (SCNiLEAST32): Likewise.
5969 [C99-based-standards] (SCNoLEAST32): Likewise.
5970 [C99-based-standards] (SCNuLEAST32): Likewise.
5971 [C99-based-standards] (SCNxLEAST32): Likewise.
5972 [C99-based-standards] (PRIdFAST32): Likewise.
5973 [C99-based-standards] (PRIiFAST32): Likewise.
5974 [C99-based-standards] (PRIoFAST32): Likewise.
5975 [C99-based-standards] (PRIuFAST32): Likewise.
5976 [C99-based-standards] (PRIxFAST32): Likewise.
5977 [C99-based-standards] (PRIXFAST32): Likewise.
5978 [C99-based-standards] (SCNdFAST32): Likewise.
5979 [C99-based-standards] (SCNiFAST32): Likewise.
5980 [C99-based-standards] (SCNoFAST32): Likewise.
5981 [C99-based-standards] (SCNuFAST32): Likewise.
5982 [C99-based-standards] (SCNxFAST32): Likewise.
5983 [C99-based-standards] (PRId64): Likewise.
5984 [C99-based-standards] (PRIi64): Likewise.
5985 [C99-based-standards] (PRIo64): Likewise.
5986 [C99-based-standards] (PRIu64): Likewise.
5987 [C99-based-standards] (PRIx64): Likewise.
5988 [C99-based-standards] (PRIX64): Likewise.
5989 [C99-based-standards] (SCNd64): Likewise.
5990 [C99-based-standards] (SCNi64): Likewise.
5991 [C99-based-standards] (SCNo64): Likewise.
5992 [C99-based-standards] (SCNu64): Likewise.
5993 [C99-based-standards] (SCNx64): Likewise.
5994 [C99-based-standards] (PRIdLEAST64): Likewise.
5995 [C99-based-standards] (PRIiLEAST64): Likewise.
5996 [C99-based-standards] (PRIoLEAST64): Likewise.
5997 [C99-based-standards] (PRIuLEAST64): Likewise.
5998 [C99-based-standards] (PRIxLEAST64): Likewise.
5999 [C99-based-standards] (PRIXLEAST64): Likewise.
6000 [C99-based-standards] (SCNdLEAST64): Likewise.
6001 [C99-based-standards] (SCNiLEAST64): Likewise.
6002 [C99-based-standards] (SCNoLEAST64): Likewise.
6003 [C99-based-standards] (SCNuLEAST64): Likewise.
6004 [C99-based-standards] (SCNxLEAST64): Likewise.
6005 [C99-based-standards] (PRIdFAST64): Likewise.
6006 [C99-based-standards] (PRIiFAST64): Likewise.
6007 [C99-based-standards] (PRIoFAST64): Likewise.
6008 [C99-based-standards] (PRIuFAST64): Likewise.
6009 [C99-based-standards] (PRIxFAST64): Likewise.
6010 [C99-based-standards] (PRIXFAST64): Likewise.
6011 [C99-based-standards] (SCNdFAST64): Likewise.
6012 [C99-based-standards] (SCNiFAST64): Likewise.
6013 [C99-based-standards] (SCNoFAST64): Likewise.
6014 [C99-based-standards] (SCNuFAST64): Likewise.
6015 [C99-based-standards] (SCNxFAST64): Likewise.
6016 [C99-based-standards] (PRIdMAX): Likewise.
6017 [C99-based-standards] (PRIiMAX): Likewise.
6018 [C99-based-standards] (PRIoMAX): Likewise.
6019 [C99-based-standards] (PRIuMAX): Likewise.
6020 [C99-based-standards] (PRIxMAX): Likewise.
6021 [C99-based-standards] (PRIXMAX): Likewise.
6022 [C99-based-standards] (SCNdMAX): Likewise.
6023 [C99-based-standards] (SCNiMAX): Likewise.
6024 [C99-based-standards] (SCNoMAX): Likewise.
6025 [C99-based-standards] (SCNuMAX): Likewise.
6026 [C99-based-standards] (SCNxMAX): Likewise.
6027 [C99-based-standards] (PRIdPTR): Likewise.
6028 [C99-based-standards] (PRIiPTR): Likewise.
6029 [C99-based-standards] (PRIoPTR): Likewise.
6030 [C99-based-standards] (PRIuPTR): Likewise.
6031 [C99-based-standards] (PRIxPTR): Likewise.
6032 [C99-based-standards] (PRIXPTR): Likewise.
6033 [C99-based-standards] (SCNdPTR): Likewise.
6034 [C99-based-standards] (SCNiPTR): Likewise.
6035 [C99-based-standards] (SCNoPTR): Likewise.
6036 [C99-based-standards] (SCNuPTR): Likewise.
6037 [C99-based-standards] (SCNxPTR): Likewise.
6038 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6040 * conform/data/stdint.h-data: Update comments to clarify
6042 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6044 [C99-based standards] (INT8_MAX): Likewise.
6045 [C99-based standards] (INT16_MIN): Likewise.
6046 [C99-based standards] (INT16_MAX): Likewise.
6047 [C99-based standards] (INT32_MIN): Likewise.
6048 [C99-based standards] (INT32_MAX): Likewise.
6049 [C99-based standards] (INT64_MIN): Likewise.
6050 [C99-based standards] (INT64_MAX): Likewise.
6051 [C99-based standards] (UINT8_MAX): Likewise.
6052 [C99-based standards] (UINT16_MAX): Likewise.
6053 [C99-based standards] (UINT32_MAX): Likewise.
6054 [C99-based standards] (UINT64_MAX): Likewise.
6055 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6056 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6057 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6058 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6059 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6060 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6061 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6062 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6063 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6064 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6065 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6066 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6067 [C99-based standards] (INT_FAST8_MIN): Likewise.
6068 [C99-based standards] (INT_FAST8_MAX): Likewise.
6069 [C99-based standards] (INT_FAST16_MIN): Likewise.
6070 [C99-based standards] (INT_FAST16_MAX): Likewise.
6071 [C99-based standards] (INT_FAST32_MIN): Likewise.
6072 [C99-based standards] (INT_FAST32_MAX): Likewise.
6073 [C99-based standards] (INT_FAST64_MIN): Likewise.
6074 [C99-based standards] (INT_FAST64_MAX): Likewise.
6075 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6076 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6077 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6078 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6079 [C99-based standards] (INTPTR_MIN): Likewise.
6080 [C99-based standards] (INTPTR_MAX): Likewise.
6081 [C99-based standards] (UINTPTR_MAX): Likewise.
6082 [C99-based standards] (INTMAX_MIN): Likewise.
6083 [C99-based standards] (INTMAX_MAX): Likewise.
6084 [C99-based standards] (UINTMAX_MAX): Likewise.
6085 [C99-based standards] (PTRDIFF_MIN): Likewise.
6086 [C99-based standards] (PTRDIFF_MAX): Likewise.
6087 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6088 [C99-based standards] (SIZE_MAX): Likewise.
6089 [C99-based standards] (WCHAR_MAX): Likewise.
6090 [C99-based standards] (WINT_MAX): Likewise.
6091 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6092 constraint on value.
6093 [C99-based standards] (WCHAR_MIN): Likewise.
6094 [C99-based standards] (WINT_MIN): Likewise.
6095 [C99-based standards] (*_t): Allow.
6096 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6097 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6098 Include math.h-data and complex.h-data. Remove all expectations
6099 of math.h and complex.h contents.
6100 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6102 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6103 (struct tm): Expect tag.
6104 [C99-based-standards] (wcstof): Expect function.
6105 [C99-based-standards] (wcstold): Likewise.
6106 [C99-based-standards] (wcstoll): Likewise.
6107 [C99-based-standards] (wcstoull): Likewise.
6108 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6109 macro-int-constant. Specify type.
6110 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6111 constraint on value.
6112 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6114 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6116 [ISO C standards]: Do not allow headers.
6117 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6118 wcs[abcdefghijklmnopqrstuvwxyz]*.
6119 [ISO C standards] (*_t): Do not allow.
6120 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6122 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6123 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6125 [ISO C standards]: Do not allow headers.
6126 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6127 is[abcdefghijklmnopqrstuvwxyz]*.
6128 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6129 to[abcdefghijklmnopqrstuvwxyz]*.
6130 [ISO C standards] (*_t): Do not allow.
6131 * conform/data/stdalign.h-data: New file.
6132 * conform/data/stdbool.h-data: Likewise.
6133 * conform/data/stdnoreturn.h-data: Likewise.
6135 2012-11-07 Roland McGrath <roland@hack.frob.com>
6138 * manual/filesys.texi (Directory Entries): Typo fix.
6139 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6141 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6143 * elf/elf.h (EM_AARCH64): New macro.
6144 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6145 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6146 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6147 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6148 (R_AARCH64_TLSDESC): Likewise.
6149 (NT_ARM_TLS): Likewise.
6150 (NT_ARM_HW_BREAK): Likewise.
6151 (NT_ARM_HW_WATCH): Likewise.
6153 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6156 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6157 (__ieee754_powl): Saturate nonzero exponents with absolute value
6158 below 0x1p-79 to +/- 0x1p-79.
6159 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6160 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6161 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6162 nonzero exponents with absolute value below 0x1p-32 to +/-
6164 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6165 (__ieee754_powl): Saturate nonzero exponents with absolute value
6166 below 0x1p-79 to +/- 0x1p-79.
6167 * math/libm-test.inc (pow_test): Add more tests.
6169 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6171 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6172 _dl_s390_cap_flags with kernel. Increase string length.
6173 (_dl_s390_platforms): Add z196 and zEC12.
6175 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6177 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6178 Change XOPEN21K to XOPEN2K.
6180 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6182 * string/memmove.c: Use memcpy when possible.
6184 2012-11-06 Andreas Jaeger <aj@suse.de>
6186 * po/eo.po: Update from translation team.
6188 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6192 exponent and small x and y exponents, scale x or y up. Increase
6193 by 2 the exponent used in scaling up.
6194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6195 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6196 * math/libm-test.inc (fma_test): Add more tests.
6197 (fma_test_towardzero): Likewise.
6198 (fma_test_downward): Likewise.
6199 (fma_test_upward): Likewise.
6201 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6204 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6208 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6209 namespace for names of struct fields.
6210 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6212 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6213 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6215 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6218 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6220 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6222 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6226 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6229 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6233 definitely overflow as x * y not x * y + z.
6234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6235 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6236 * math/libm-test.inc (fma_test): Add more tests.
6237 (fma_test_towardzero): Likewise.
6238 (fma_test_downward): Likewise.
6239 (fma_test_upward): Likewise.
6241 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6245 * include/stub-tag.h: Remove file.
6246 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6248 * manual/maint.texi (Porting): Don't reference it.
6249 * Makerules ($(objpfx)stubs): Likewise.
6250 * dirent/closedir.c: Don't include <stub-tag.h>.
6251 * dirent/dirfd.c: Likewise.
6252 * dirent/fdopendir.c: Likewise.
6253 * dirent/getdents.c: Likewise.
6254 * dirent/getdents64.c: Likewise.
6255 * dirent/opendir.c: Likewise.
6256 * dirent/readdir.c: Likewise.
6257 * dirent/readdir64.c: Likewise.
6258 * dirent/readdir64_r.c: Likewise.
6259 * dirent/readdir_r.c: Likewise.
6260 * dirent/rewinddir.c: Likewise.
6261 * dirent/seekdir.c: Likewise.
6262 * dirent/telldir.c: Likewise.
6263 * gmon/profil.c: Likewise.
6264 * grp/setgroups.c: Likewise.
6265 * inet/if_index.c: Likewise.
6266 * io/access.c: Likewise.
6267 * io/chdir.c: Likewise.
6268 * io/chmod.c: Likewise.
6269 * io/chown.c: Likewise.
6270 * io/close.c: Likewise.
6271 * io/dup.c: Likewise.
6272 * io/dup2.c: Likewise.
6273 * io/dup3.c: Likewise.
6274 * io/euidaccess.c: Likewise.
6275 * io/faccessat.c: Likewise.
6276 * io/fchdir.c: Likewise.
6277 * io/fchmod.c: Likewise.
6278 * io/fchmodat.c: Likewise.
6279 * io/fchown.c: Likewise.
6280 * io/fchownat.c: Likewise.
6281 * io/fcntl.c: Likewise.
6282 * io/flock.c: Likewise.
6283 * io/fstatfs.c: Likewise.
6284 * io/fstatfs64.c: Likewise.
6285 * io/fstatvfs.c: Likewise.
6286 * io/fstatvfs64.c: Likewise.
6287 * io/futimens.c: Likewise.
6288 * io/fxstat.c: Likewise.
6289 * io/fxstat64.c: Likewise.
6290 * io/fxstatat.c: Likewise.
6291 * io/fxstatat64.c: Likewise.
6292 * io/getcwd.c: Likewise.
6293 * io/isatty.c: Likewise.
6294 * io/lchmod.c: Likewise.
6295 * io/lchown.c: Likewise.
6296 * io/link.c: Likewise.
6297 * io/linkat.c: Likewise.
6298 * io/lseek.c: Likewise.
6299 * io/lseek64.c: Likewise.
6300 * io/lxstat64.c: Likewise.
6301 * io/mkdir.c: Likewise.
6302 * io/mkdirat.c: Likewise.
6303 * io/mkfifo.c: Likewise.
6304 * io/mkfifoat.c: Likewise.
6305 * io/open.c: Likewise.
6306 * io/open64.c: Likewise.
6307 * io/openat.c: Likewise.
6308 * io/openat64.c: Likewise.
6309 * io/pipe.c: Likewise.
6310 * io/pipe2.c: Likewise.
6311 * io/poll.c: Likewise.
6312 * io/posix_fadvise.c: Likewise.
6313 * io/posix_fadvise64.c: Likewise.
6314 * io/posix_fallocate.c: Likewise.
6315 * io/posix_fallocate64.c: Likewise.
6316 * io/read.c: Likewise.
6317 * io/readlink.c: Likewise.
6318 * io/readlinkat.c: Likewise.
6319 * io/rmdir.c: Likewise.
6320 * io/sendfile.c: Likewise.
6321 * io/sendfile64.c: Likewise.
6322 * io/statfs.c: Likewise.
6323 * io/statfs64.c: Likewise.
6324 * io/statvfs.c: Likewise.
6325 * io/statvfs64.c: Likewise.
6326 * io/symlink.c: Likewise.
6327 * io/symlinkat.c: Likewise.
6328 * io/ttyname.c: Likewise.
6329 * io/ttyname_r.c: Likewise.
6330 * io/umask.c: Likewise.
6331 * io/unlink.c: Likewise.
6332 * io/unlinkat.c: Likewise.
6333 * io/utime.c: Likewise.
6334 * io/utimensat.c: Likewise.
6335 * io/write.c: Likewise.
6336 * io/xmknod.c: Likewise.
6337 * io/xmknodat.c: Likewise.
6338 * io/xstat.c: Likewise.
6339 * io/xstat64.c: Likewise.
6340 * login/getpt.c: Likewise.
6341 * login/grantpt.c: Likewise.
6342 * login/unlockpt.c: Likewise.
6343 * math/e_acoshl.c: Likewise.
6344 * math/e_acosl.c: Likewise.
6345 * math/e_asinl.c: Likewise.
6346 * math/e_atan2l.c: Likewise.
6347 * math/e_atanhl.c: Likewise.
6348 * math/e_coshl.c: Likewise.
6349 * math/e_expl.c: Likewise.
6350 * math/e_fmodl.c: Likewise.
6351 * math/e_gammal_r.c: Likewise.
6352 * math/e_hypotl.c: Likewise.
6353 * math/e_j0l.c: Likewise.
6354 * math/e_j1l.c: Likewise.
6355 * math/e_jnl.c: Likewise.
6356 * math/e_lgammal_r.c: Likewise.
6357 * math/e_log10l.c: Likewise.
6358 * math/e_log2l.c: Likewise.
6359 * math/e_logl.c: Likewise.
6360 * math/e_powl.c: Likewise.
6361 * math/e_rem_pio2l.c: Likewise.
6362 * math/e_sinhl.c: Likewise.
6363 * math/e_sqrtl.c: Likewise.
6364 * math/fclrexcpt.c: Likewise.
6365 * math/fedisblxcpt.c: Likewise.
6366 * math/feenablxcpt.c: Likewise.
6367 * math/fegetenv.c: Likewise.
6368 * math/fegetexcept.c: Likewise.
6369 * math/fegetround.c: Likewise.
6370 * math/feholdexcpt.c: Likewise.
6371 * math/fesetenv.c: Likewise.
6372 * math/fesetround.c: Likewise.
6373 * math/feupdateenv.c: Likewise.
6374 * math/fgetexcptflg.c: Likewise.
6375 * math/fraiseexcpt.c: Likewise.
6376 * math/fsetexcptflg.c: Likewise.
6377 * math/ftestexcept.c: Likewise.
6378 * math/k_cosl.c: Likewise.
6379 * math/k_rem_pio2l.c: Likewise.
6380 * math/k_sinl.c: Likewise.
6381 * math/k_tanl.c: Likewise.
6382 * math/s_asinhl.c: Likewise.
6383 * math/s_atanl.c: Likewise.
6384 * math/s_cbrtl.c: Likewise.
6385 * math/s_erfl.c: Likewise.
6386 * math/s_expm1l.c: Likewise.
6387 * math/s_log1pl.c: Likewise.
6388 * math/s_tanhl.c: Likewise.
6389 * misc/acct.c: Likewise.
6390 * misc/brk.c: Likewise.
6391 * misc/chflags.c: Likewise.
6392 * misc/chroot.c: Likewise.
6393 * misc/fchflags.c: Likewise.
6394 * misc/fgetxattr.c: Likewise.
6395 * misc/flistxattr.c: Likewise.
6396 * misc/fremovexattr.c: Likewise.
6397 * misc/fsetxattr.c: Likewise.
6398 * misc/fsync.c: Likewise.
6399 * misc/ftruncate.c: Likewise.
6400 * misc/futimes.c: Likewise.
6401 * misc/futimesat.c: Likewise.
6402 * misc/getdomain.c: Likewise.
6403 * misc/getdtsz.c: Likewise.
6404 * misc/gethostid.c: Likewise.
6405 * misc/gethostname.c: Likewise.
6406 * misc/getloadavg.c: Likewise.
6407 * misc/getpagesize.c: Likewise.
6408 * misc/getsysstats.c: Likewise.
6409 * misc/getxattr.c: Likewise.
6410 * misc/gtty.c: Likewise.
6411 * misc/ioctl.c: Likewise.
6412 * misc/lgetxattr.c: Likewise.
6413 * misc/listxattr.c: Likewise.
6414 * misc/llistxattr.c: Likewise.
6415 * misc/lremovexattr.c: Likewise.
6416 * misc/lsetxattr.c: Likewise.
6417 * misc/lutimes.c: Likewise.
6418 * misc/madvise.c: Likewise.
6419 * misc/mincore.c: Likewise.
6420 * misc/mlock.c: Likewise.
6421 * misc/mlockall.c: Likewise.
6422 * misc/mmap.c: Likewise.
6423 * misc/mprotect.c: Likewise.
6424 * misc/msync.c: Likewise.
6425 * misc/munlock.c: Likewise.
6426 * misc/munlockall.c: Likewise.
6427 * misc/munmap.c: Likewise.
6428 * misc/preadv.c: Likewise.
6429 * misc/preadv64.c: Likewise.
6430 * misc/ptrace.c: Likewise.
6431 * misc/pwritev.c: Likewise.
6432 * misc/pwritev64.c: Likewise.
6433 * misc/readv.c: Likewise.
6434 * misc/reboot.c: Likewise.
6435 * misc/remap_file_pages.c: Likewise.
6436 * misc/removexattr.c: Likewise.
6437 * misc/revoke.c: Likewise.
6438 * misc/select.c: Likewise.
6439 * misc/setdomain.c: Likewise.
6440 * misc/setegid.c: Likewise.
6441 * misc/seteuid.c: Likewise.
6442 * misc/sethostid.c: Likewise.
6443 * misc/sethostname.c: Likewise.
6444 * misc/setregid.c: Likewise.
6445 * misc/setreuid.c: Likewise.
6446 * misc/setxattr.c: Likewise.
6447 * misc/sstk.c: Likewise.
6448 * misc/stty.c: Likewise.
6449 * misc/swapoff.c: Likewise.
6450 * misc/swapon.c: Likewise.
6451 * misc/sync.c: Likewise.
6452 * misc/syncfs.c: Likewise.
6453 * misc/syscall.c: Likewise.
6454 * misc/truncate.c: Likewise.
6455 * misc/ualarm.c: Likewise.
6456 * misc/usleep.c: Likewise.
6457 * misc/ustat.c: Likewise.
6458 * misc/utimes.c: Likewise.
6459 * misc/vhangup.c: Likewise.
6460 * misc/writev.c: Likewise.
6461 * posix/_exit.c: Likewise.
6462 * posix/alarm.c: Likewise.
6463 * posix/execve.c: Likewise.
6464 * posix/fexecve.c: Likewise.
6465 * posix/fork.c: Likewise.
6466 * posix/fpathconf.c: Likewise.
6467 * posix/getaddrinfo.c: Likewise.
6468 * posix/getegid.c: Likewise.
6469 * posix/geteuid.c: Likewise.
6470 * posix/getgid.c: Likewise.
6471 * posix/getgroups.c: Likewise.
6472 * posix/getlogin.c: Likewise.
6473 * posix/getlogin_r.c: Likewise.
6474 * posix/getpgid.c: Likewise.
6475 * posix/getpid.c: Likewise.
6476 * posix/getppid.c: Likewise.
6477 * posix/getresgid.c: Likewise.
6478 * posix/getresuid.c: Likewise.
6479 * posix/getsid.c: Likewise.
6480 * posix/getuid.c: Likewise.
6481 * posix/glob64.c: Likewise.
6482 * posix/nanosleep.c: Likewise.
6483 * posix/pathconf.c: Likewise.
6484 * posix/pause.c: Likewise.
6485 * posix/posix_madvise.c: Likewise.
6486 * posix/pread.c: Likewise.
6487 * posix/pread64.c: Likewise.
6488 * posix/pwrite.c: Likewise.
6489 * posix/pwrite64.c: Likewise.
6490 * posix/sched_getaffinity.c: Likewise.
6491 * posix/sched_getp.c: Likewise.
6492 * posix/sched_gets.c: Likewise.
6493 * posix/sched_primax.c: Likewise.
6494 * posix/sched_primin.c: Likewise.
6495 * posix/sched_rr_gi.c: Likewise.
6496 * posix/sched_setaffinity.c: Likewise.
6497 * posix/sched_setp.c: Likewise.
6498 * posix/sched_sets.c: Likewise.
6499 * posix/sched_yield.c: Likewise.
6500 * posix/setgid.c: Likewise.
6501 * posix/setlogin.c: Likewise.
6502 * posix/setpgid.c: Likewise.
6503 * posix/setresgid.c: Likewise.
6504 * posix/setresuid.c: Likewise.
6505 * posix/setsid.c: Likewise.
6506 * posix/setuid.c: Likewise.
6507 * posix/sleep.c: Likewise.
6508 * posix/spawni.c: Likewise.
6509 * posix/sysconf.c: Likewise.
6510 * posix/times.c: Likewise.
6511 * posix/wait.c: Likewise.
6512 * posix/wait3.c: Likewise.
6513 * posix/wait4.c: Likewise.
6514 * posix/waitpid.c: Likewise.
6515 * resolv/gai_sigqueue.c: Likewise.
6516 * resource/getpriority.c: Likewise.
6517 * resource/getrlimit.c: Likewise.
6518 * resource/getrusage.c: Likewise.
6519 * resource/nice.c: Likewise.
6520 * resource/setpriority.c: Likewise.
6521 * resource/setrlimit.c: Likewise.
6522 * resource/ulimit.c: Likewise.
6523 * rt/aio_cancel.c: Likewise.
6524 * rt/aio_fsync.c: Likewise.
6525 * rt/aio_read.c: Likewise.
6526 * rt/aio_sigqueue.c: Likewise.
6527 * rt/aio_suspend.c: Likewise.
6528 * rt/aio_write.c: Likewise.
6529 * rt/clock_getres.c: Likewise.
6530 * rt/clock_gettime.c: Likewise.
6531 * rt/clock_nanosleep.c: Likewise.
6532 * rt/clock_settime.c: Likewise.
6533 * rt/lio_listio.c: Likewise.
6534 * rt/mq_close.c: Likewise.
6535 * rt/mq_getattr.c: Likewise.
6536 * rt/mq_notify.c: Likewise.
6537 * rt/mq_open.c: Likewise.
6538 * rt/mq_receive.c: Likewise.
6539 * rt/mq_send.c: Likewise.
6540 * rt/mq_setattr.c: Likewise.
6541 * rt/mq_timedreceive.c: Likewise.
6542 * rt/mq_timedsend.c: Likewise.
6543 * rt/mq_unlink.c: Likewise.
6544 * rt/shm_open.c: Likewise.
6545 * rt/shm_unlink.c: Likewise.
6546 * rt/timer_create.c: Likewise.
6547 * rt/timer_delete.c: Likewise.
6548 * rt/timer_getoverr.c: Likewise.
6549 * rt/timer_gettime.c: Likewise.
6550 * rt/timer_settime.c: Likewise.
6551 * setjmp/__longjmp.c: Likewise.
6552 * setjmp/setjmp.c: Likewise.
6553 * signal/kill.c: Likewise.
6554 * signal/killpg.c: Likewise.
6555 * signal/raise.c: Likewise.
6556 * signal/sigaction.c: Likewise.
6557 * signal/sigaltstack.c: Likewise.
6558 * signal/sigblock.c: Likewise.
6559 * signal/sigignore.c: Likewise.
6560 * signal/sigintr.c: Likewise.
6561 * signal/signal.c: Likewise.
6562 * signal/sigpause.c: Likewise.
6563 * signal/sigpending.c: Likewise.
6564 * signal/sigqueue.c: Likewise.
6565 * signal/sigreturn.c: Likewise.
6566 * signal/sigset.c: Likewise.
6567 * signal/sigsetmask.c: Likewise.
6568 * signal/sigstack.c: Likewise.
6569 * signal/sigsuspend.c: Likewise.
6570 * signal/sigtimedwait.c: Likewise.
6571 * signal/sigvec.c: Likewise.
6572 * signal/sigwait.c: Likewise.
6573 * signal/sigwaitinfo.c: Likewise.
6574 * signal/sysv_signal.c: Likewise.
6575 * socket/accept.c: Likewise.
6576 * socket/accept4.c: Likewise.
6577 * socket/bind.c: Likewise.
6578 * socket/connect.c: Likewise.
6579 * socket/getpeername.c: Likewise.
6580 * socket/getsockname.c: Likewise.
6581 * socket/getsockopt.c: Likewise.
6582 * socket/isfdtype.c: Likewise.
6583 * socket/listen.c: Likewise.
6584 * socket/recv.c: Likewise.
6585 * socket/recvfrom.c: Likewise.
6586 * socket/recvmsg.c: Likewise.
6587 * socket/send.c: Likewise.
6588 * socket/sendmsg.c: Likewise.
6589 * socket/sendto.c: Likewise.
6590 * socket/setsockopt.c: Likewise.
6591 * socket/shutdown.c: Likewise.
6592 * socket/sockatmark.c: Likewise.
6593 * socket/socket.c: Likewise.
6594 * socket/socketpair.c: Likewise.
6595 * stdio-common/ctermid.c: Likewise.
6596 * stdio-common/cuserid.c: Likewise.
6597 * stdio-common/remove.c: Likewise.
6598 * stdio-common/rename.c: Likewise.
6599 * stdio-common/renameat.c: Likewise.
6600 * stdio-common/tempname.c: Likewise.
6601 * stdlib/getcontext.c: Likewise.
6602 * stdlib/makecontext.c: Likewise.
6603 * stdlib/setcontext.c: Likewise.
6604 * stdlib/swapcontext.c: Likewise.
6605 * stdlib/system.c: Likewise.
6606 * streams/fattach.c: Likewise.
6607 * streams/fdetach.c: Likewise.
6608 * streams/getmsg.c: Likewise.
6609 * streams/getpmsg.c: Likewise.
6610 * streams/putmsg.c: Likewise.
6611 * streams/putpmsg.c: Likewise.
6612 * sysdeps/unix/bsd/getpt.c: Likewise.
6613 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6614 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6615 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6618 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6619 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6620 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6621 * sysvipc/msgctl.c: Likewise.
6622 * sysvipc/msgget.c: Likewise.
6623 * sysvipc/msgrcv.c: Likewise.
6624 * sysvipc/msgsnd.c: Likewise.
6625 * sysvipc/semctl.c: Likewise.
6626 * sysvipc/semget.c: Likewise.
6627 * sysvipc/semop.c: Likewise.
6628 * sysvipc/semtimedop.c: Likewise.
6629 * sysvipc/shmat.c: Likewise.
6630 * sysvipc/shmctl.c: Likewise.
6631 * sysvipc/shmdt.c: Likewise.
6632 * sysvipc/shmget.c: Likewise.
6633 * termios/tcdrain.c: Likewise.
6634 * termios/tcflow.c: Likewise.
6635 * termios/tcflush.c: Likewise.
6636 * termios/tcgetattr.c: Likewise.
6637 * termios/tcgetpgrp.c: Likewise.
6638 * termios/tcsendbrk.c: Likewise.
6639 * termios/tcsetattr.c: Likewise.
6640 * termios/tcsetpgrp.c: Likewise.
6641 * time/adjtime.c: Likewise.
6642 * time/clock.c: Likewise.
6643 * time/getitimer.c: Likewise.
6644 * time/gettimeofday.c: Likewise.
6645 * time/setitimer.c: Likewise.
6646 * time/settimeofday.c: Likewise.
6647 * time/stime.c: Likewise.
6648 * time/time.c: Likewise.
6650 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
6652 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6655 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6657 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6659 2012-11-03 Joseph Myers <joseph@codesourcery.com>
6662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6663 FE_TONEAREST before applying Dekker multiplication and Knuth
6664 addition. Clear inexact exceptions and check for exact zero
6666 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6667 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6668 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6669 * math/libm-test.inc (fma_test): Add more tests.
6670 (fma_test_towardzero): Likewise.
6671 (fma_test_downward): Likewise.
6672 (fma_test_upward): Likewise.
6673 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6675 (libc_fesetround): New macro.
6676 (libc_fesetroundf): Likewise.
6677 (libc_fesetroundl): Likewise.
6678 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6680 (libc_fesetround_387): Likewise.
6681 (libc_fesetroundf): New macro.
6682 (libc_fesetround): Likewise.
6683 (libc_fesetroundl): Likewise.
6684 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6686 (libc_fesetroundf): New macro.
6687 (libc_fesetround): Likewise.
6688 (libc_fesetroundl): Likewise.
6689 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6690 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6691 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6693 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6694 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6696 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6697 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6699 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6703 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6704 integer constant usable in #if and use that to give value to enum
6706 (FE_DIVBYZERO): Likewise.
6707 (FE_UNDERFLOW): Likewise.
6708 (FE_OVERFLOW): Likewise.
6709 (FE_INVALID): Likewise.
6710 (FE_INVALID_SNAN): Likewise.
6711 (FE_INVALID_ISI): Likewise.
6712 (FE_INVALID_IDI): Likewise.
6713 (FE_INVALID_ZDZ): Likewise.
6714 (FE_INVALID_IMZ): Likewise.
6715 (FE_INVALID_COMPARE): Likewise.
6716 (FE_INVALID_SOFTWARE): Likewise.
6717 (FE_INVALID_SQRT): Likewise.
6718 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6719 (FE_TONEAREST): Likewise.
6720 (FE_TOWARDZERO): Likewise.
6721 (FE_UPWARD): Likewise.
6722 (FE_DOWNWARD): Likewise.
6723 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6724 (FE_DIVBYZERO): Likewise.
6725 (FE_OVERFLOW): Likewise.
6726 (FE_UNDERFLOW): Likewise.
6727 (FE_INEXACT): Likewise.
6728 (FE_TONEAREST): Likewise.
6729 (FE_DOWNWARD): Likewise.
6730 (FE_UPWARD): Likewise.
6731 (FE_TOWARDZERO): Likewise.
6732 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6733 (FE_UNDERFLOW): Likewise.
6734 (FE_OVERFLOW): Likewise.
6735 (FE_DIVBYZERO): Likewise.
6736 (FE_INVALID): Likewise.
6737 (FE_TONEAREST): Likewise.
6738 (FE_TOWARDZERO): Likewise.
6739 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6740 (FE_OVERFLOW): Likewise.
6741 (FE_UNDERFLOW): Likewise.
6742 (FE_DIVBYZERO): Likewise.
6743 (FE_INEXACT): Likewise.
6744 (FE_TONEAREST): Likewise.
6745 (FE_TOWARDZERO): Likewise.
6746 (FE_UPWARD): Likewise.
6747 (FE_DOWNWARD): Likewise.
6748 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6749 (FE_DIVBYZERO): Likewise.
6750 (FE_OVERFLOW): Likewise.
6751 (FE_UNDERFLOW): Likewise.
6752 (FE_INEXACT): Likewise.
6753 (FE_TONEAREST): Likewise.
6754 (FE_DOWNWARD): Likewise.
6755 (FE_UPWARD): Likewise.
6756 (FE_TOWARDZERO): Likewise.
6758 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6760 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6762 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6764 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6765 commands. Quote $PWD.
6766 (blacklist_exports): Don't use remove_newlines. Replace "declare
6768 (remove_newlines): Remove.
6770 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6772 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6773 * stdlib/stdlib.h (atof): Moved to ...
6774 * include/bits/stdlib-float.h: Here. New file.
6775 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6776 * stdlib/bits/stdlib-float.h: New file.
6777 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6779 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6782 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6784 * conform/conformtest.pl (@headers): Add fenv.h.
6785 * conform/data/fenv.h-data: New file.
6786 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6787 include of <math/fenv.h>.
6789 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6790 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6791 && !UNIX98]. Enables tests for XOPEN2K8.
6792 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6793 POSIX2008]: Likewise.
6795 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6796 (struct rusage): Do not expect type or its members.
6799 * math/math.h (FP_NAN): Define macro to integer constant usable in
6800 #if and use that to give value to enum constant.
6801 (FP_INFINITE): Likewise.
6802 (FP_ZERO): Likewise.
6803 (FP_SUBNORMAL): Likewise.
6804 (FP_NORMAL): Likewise.
6806 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6808 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6809 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6812 2012-11-02 Roland McGrath <roland@hack.frob.com>
6814 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6815 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6816 autoconf-time if not.
6817 * configure.in: Remove AC_PREREQ.
6819 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6821 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6822 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6823 of the internal implementation.
6825 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6827 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6828 except include of <misc/sys/syslog.h>.
6830 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6833 function returns with a NULL context exit with zero.
6835 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6837 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6839 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6841 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6842 (run_program_cmd): This.
6843 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6844 (tst_langinfo): New variable. Use it.
6846 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6848 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6849 floating point opcodes.
6851 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6853 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6856 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6858 * sysdeps/mach/hurd/powerpc: Remove directory.
6859 * sysdeps/mach/powerpc: Likewise.
6861 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6863 * scripts/check-local-headers.sh: Ignore c++ headers.
6865 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6867 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6868 __libc_cleanup_region_start argument.
6870 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6875 x * y using scaling, not as x * y + z.
6876 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6877 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6878 * math/libm-test.inc (fma_test): Add more tests.
6879 (fma_test_towardzero): Likewise.
6880 (fma_test_downward): Likewise.
6881 (fma_test_upward): Likewise.
6883 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6885 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6887 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6889 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6892 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6894 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6896 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6903 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6906 Fix the order of the list for glibc 2.17.
6907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6910 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6914 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6917 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6918 for low part of x being zero before using __atanl (y).
6919 * math/libm-test.inc (atan2_test): Add another test.
6921 * manual/install.texi (Configuring and compiling): Document
6922 general use of test-wrapper and test-wrapper-env.
6923 * INSTALL: Regenerated.
6925 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6926 (__fma): Do not extract and scale down low bits on after-rounding
6927 systems when result rounded to normal precision would have normal
6929 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6930 (__fmal): Do not extract and scale down low bits on after-rounding
6931 systems when result rounded to normal precision would have normal
6933 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6934 (__fmal): Do not extract and scale down low bits on after-rounding
6935 systems when result rounded to normal precision would have normal
6937 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6939 (fma_test): Add more tests.
6940 (fma_test_towardzero): Likewise.
6941 (fma_test_downward): Likewise.
6942 (fma_test_upward): Likewise.
6944 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6946 * sysdeps/i386/tininess.h: Renamed to ...
6947 * sysdeps/x86/tininess.h: This.
6948 * sysdeps/x86_64/tininess.h: Removed.
6950 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6952 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6953 input. Use $(build-program-cmd).
6954 ($(objpfx)tst-array1-static.out): Likewise.
6955 ($(objpfx)tst-array2.out): Likewise.
6956 ($(objpfx)tst-array3.out): Likewise.
6957 ($(objpfx)tst-array4.out): Likewise.
6958 ($(objpfx)tst-array5.out): Likewise.
6959 ($(objpfx)tst-array5-static.out): Likewise.
6961 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6963 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6966 * nss/nsswitch.h (nss_interface_function): Provide new
6967 macro for use with NSS functions.
6968 * grp/initgroups.c: Use new macro.
6969 * nss/getXXbyYY.c: Likewise.
6970 * nss/getXXbyYY_r.c: Likewise.
6971 * nss/getXXent.c: Likewise.
6972 * nss/getXXent_r.c: Likewise.
6973 * sysdeps/posix/getaddrinfo.c: Likewise.
6975 2012-10-30 Andreas Jaeger <aj@suse.de>
6977 * po/ru.po: Update Russion translation from translation project.
6979 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6984 result and shift together with sticky bit instead of replicating
6985 round-to-nearest rounding.
6986 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6987 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6988 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6989 missing underflow exceptions.
6990 (fma_test_towardzero): Add more tests.
6991 (fma_test_downward): Likewise.
6992 (fma_test_upward): Likewise.
6995 * sysdeps/generic/tininess.h: New file.
6996 * sysdeps/i386/tininess.h: Likewise.
6997 * sysdeps/sh/tininess.h: Likewise.
6998 * sysdeps/x86_64/tininess.h: Likewise.
6999 * stdlib/tst-strtod-underflow.c: Likewise.
7000 * stdlib/tst-tininess.c: Likewise.
7001 * stdlib/strtod_l.c: Include <tininess.h>.
7002 (round_and_return): Do not set errno for exact underflow cases.
7003 Force an underflow exception when setting errno for underflow.
7004 Determine underflow based on rounding to normal precision if
7005 TININESS_AFTER_ROUNDING.
7006 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7007 ERANGE for exact underflow cases.
7008 * stdlib/Makefile (tests): Add tst-tininess and
7009 tst-strtod-underflow.
7010 ($(objpfx)tst-tininess): Use $(link-libm).
7011 ($(objpfx)tst-strtod-underflow): Likewise.
7013 2012-10-30 Andreas Jaeger <aj@suse.de>
7016 * elf/Makefile (tests): Remove conditional for have-initfini-array
7017 since this is now always required and the variable does not exist
7019 (tests-static): Likewise.
7020 (modules-names): Likewise.
7022 * po/eo.po: Add Esperanto translation from translation project.
7024 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7025 merged with constructor/destructor.
7026 (init_array): Likewise.
7027 * elf/tst-array2dep.c (fini_array): Likewise.
7028 (init_array): Likewise.
7030 2012-10-29 Mike Frysinger <vapier@gentoo.org>
7032 * manual/message.texi: Delete @cartouche tags.
7034 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7036 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7038 * sysdeps/mach/hurd/fsync.c: Likewise.
7040 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7041 [_POSIX_REALTIME_SIGNALS]: Change condition to
7042 [_POSIX_REALTIME_SIGNALS > 0].
7044 2012-10-27 Andreas Jaeger <aj@suse.de>
7046 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7047 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7048 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7049 [__WORDSIZE != 64]: Likewise.
7051 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7053 * iconvdata/tst-table.sh: Remove ${SHELL}.
7054 * iconvdata/tst-tables.sh: Likewise.
7056 2012-10-25 David S. Miller <davem@davemloft.net>
7058 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7059 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7062 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7064 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7065 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7066 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7069 2012-10-25 Roland McGrath <roland@hack.frob.com>
7071 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7072 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7075 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7076 Jim Blandy <jimb@codesourcery.com>
7078 * scripts/cross-test-ssh.sh: New file.
7079 * manual/install.texi (Configuring and compiling): Document use of
7081 * INSTALL: Regenerated.
7083 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7085 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7088 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7090 * Makeconfig (run-program-prefix): Fix comment.
7092 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7093 Jim Blandy <jimb@codesourcery.com>
7095 * Makeconfig (test-wrapper): New variable,
7096 (test-wrapper-env): Likewise.
7097 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7098 (run-built-tests): Define to yes.
7099 (run-program-prefix): Use $(test-wrapper).
7100 (built-program-cmd): Likewise.
7101 * Rules (make-test-out): Use $(test-wrapper-env) and
7102 $(host-built-program-cmd).
7103 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7104 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7106 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7107 $(test-wrapper-env) to tst-rtld-load-self.sh.
7108 ($(objpfx)order2.out): Use $(test-wrapper).
7109 ($(objpfx)tst-initorder.out): Likewise.
7110 ($(objpfx)tst-initorder2.out): Likewise.
7111 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7112 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7113 (test_wrapper_env): New variable. Use it to run ld.so.
7114 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7115 Use it to run ld.so.
7116 (test_wrapper_env): Likewise.
7117 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7118 $(test-wrapper) to run-iconv-test.sh.
7119 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7120 (ICONV): Use $test_wrapper.
7121 * posix/Makefile ($(objpfx)globtest.out): Pass
7122 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7123 globtest.sh, not $(run-program-prefix).
7124 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7125 (test_wrapper): Likewise.
7126 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7127 set together with run_via_rtld_prefix.
7128 (run_program_prefix): Define in terms of test_wrapper and
7129 run_via_rtld_prefix.
7131 2012-10-24 Roland McGrath <roland@hack.frob.com>
7133 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7134 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7138 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7139 Declare __clock_getres, __clock_gettime, __clock_settime,
7140 __clock_nanosleep, and __clock_getcpuclockid.
7141 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7142 Remove librt_hidden_def (clock_gettime).
7143 * sysdeps/unix/clock_gettime.c: Likewise.
7144 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7145 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7146 * rt/clock_getres.c: Define __clock_getres as an alias.
7147 * sysdeps/posix/clock_getres.c: Likewise.
7148 * rt/clock_settime.c: Define __clock_settime as an alias.
7149 * sysdeps/unix/clock_settime.c: Likewise.
7150 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7151 * sysdeps/unix/clock_nanosleep.c: Likewise.
7152 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7153 * rt/clock-compat.c: New file.
7154 * rt/Makefile (librt-routines): Add clock-compat and move
7155 $(clock-routines) to ...
7156 (routines): ... here, new variable.
7157 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7158 Don't add get_clockfreq here.
7159 * rt/Versions (libc: GLIBC_2.17): New version set.
7160 Add clock_* symbols here.
7161 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7162 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7163 (GLIBC_2.17): Add clock_* symbols.
7164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7166 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7175 * NEWS: Mention the move.
7177 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7178 Use __open, __read, __close rather than their public counterparts.
7179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7180 (__get_clockfreq_via_cpuinfo): Likewise.
7181 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7182 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7184 * config.h.in (HAVE_IFUNC): New #undef.
7185 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7187 * configure: Regenerated.
7189 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7191 * configure.in: Move READELF check to start of file.
7192 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7193 libc_cv_asm_gnu_indirect_function in the process.
7194 * configure: Regenerated.
7196 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7198 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7199 send the output to /dev/null.
7200 (libc_cv_cc_with_libunwind): Likewise.
7201 (libc_cv_as_noexecstack): Likewise.
7202 * configure: Regenerate.
7204 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7206 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7208 * posix/globtest.sh (TMPDIR): Do not set.
7209 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7210 (testout): Likewise.
7212 2012-10-24 Andreas Jaeger <aj@suse.de>
7214 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7215 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7216 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7217 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7218 posix_fadvise64, posix_fallocate64.
7220 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7221 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7222 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7224 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7226 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7229 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7230 <bits/fcntl-linux.h>.
7231 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7233 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7234 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7235 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7236 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7237 [__WORDSIZE != 64]: Likewise.
7239 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7241 * Makeconfig (run-built-tests): New variable.
7242 * Rules [$(cross-compiling) = yes]: Change condition to
7243 [$(run-built-tests) = no].
7244 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7245 to [$(run-built-tests) = yes].
7246 * elf/Makefile [$(cross-compiling) = no]: Likewise
7247 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7248 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7249 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7250 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7251 * io/Makefile [$(cross-compiling) = no]: Likewise.
7252 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7253 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7254 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7255 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7256 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7257 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7258 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7259 * string/Makefile [$(cross-compiling) = no]: Likewise.
7261 * posix/Makefile ($(objpfx)globtest.out): Pass
7262 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7263 $(rtld-installed-name).
7264 * posix/globtest.sh (elf_objpfx): Remove variable.
7265 (rtld_installed_name): Likewise.
7266 (library_path): Likewise.
7267 (run_program_prefix): New variable. Use for running globtest
7270 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7271 Joseph Myers <joseph@codesourcery.com>
7273 * Makeconfig (host-built-program-cmd): New variable.
7274 * elf/Makefile (tst-stackguard1-ARGS): Use
7275 $(host-built-program-cmd).
7276 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7277 (tst-spawn-ARGS): Likewise.
7278 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7280 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7281 Jim Blandy <jimb@codesourcery.com>
7283 * Makeconfig (run-via-rtld-prefix): New variable.
7284 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7285 (built-program-cmd): Likewise.
7287 2012-10-22 Andreas Jaeger <aj@suse.de>
7289 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7290 __O_RSYNC if it exists, otherwise to O_SYNC.
7292 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7293 Joseph Myers <joseph@codesourcery.com>
7295 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7297 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7299 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7302 2012-10-22 Andreas Jaeger <aj@suse.de>
7304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7306 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7311 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7312 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7319 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7320 Joseph Myers <joseph@codesourcery.com>
7322 * config.make.in (NM): New variable.
7324 2012-10-21 Andreas Jaeger <aj@suse.de>
7326 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7327 definitions and declarations that are provided by
7328 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7330 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7333 * elf/Makefile (tests-static): Add tst-leaks1-static.
7334 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7335 ($(objpfx)tst-leaks1-static): New rule.
7336 ($(objpfx)tst-leaks1-static-mem): Likewise.
7337 (tst-leaks1-static-ENV): New macro.
7338 * elf/dl-open.c (dl_open_worker): Check the main application
7339 only if SHARED is defined.
7340 * elf/tst-leaks1-static.c: New file.
7342 2012-10-20 Andreas Jaeger <aj@suse.de>
7344 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7345 generic values for Linux.
7346 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7347 and declarations that are provided by <bits/fcntl-linux.h> and
7348 include <bits/fcntl-linux.h>.
7349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7350 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7352 2012-10-20 Roland McGrath <roland@hack.frob.com>
7354 * io/fcntl.h: Move include of <bits/types.h> to the top and
7355 include it unconditionally.
7357 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7359 * wcsmbs/Makefile (tests-ifunc): New variable.
7360 (tests): Add $(tests-ifunc).
7361 * wcsmbs/test-wcschr-ifunc.c: New file.
7362 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7363 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7364 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7365 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7366 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7368 * string/Makefile (tests-ifunc): New variable.
7369 (tests): Add $(tests-ifunc).
7370 * string/test-memccpy.c (TEST_NAME): New macro.
7371 * string/test-memchr.c (TEST_NAME): Likewise.
7372 * string/test-memcmp.c (TEST_NAME): Likewise.
7373 * string/test-memcpy.c (TEST_NAME): Likewise.
7374 * string/test-memmem.c (TEST_NAME): Likewise.
7375 * string/test-memmove.c (TEST_NAME): Likewise.
7376 * string/test-memset.c (TEST_NAME): Likewise.
7377 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7378 * string/test-stpcpy.c (TEST_NAME): Likewise.
7379 * string/test-stpncpy.c (TEST_NAME): Likewise.
7380 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7381 * string/test-strcasestr.c (TEST_NAME): Likewise.
7382 * string/test-strcat.c (TEST_NAME): Likewise.
7383 * string/test-strchr.c (TEST_NAME): Likewise.
7384 * string/test-strcmp.c(TEST_NAME): Likewise.
7385 * string/test-strcpy.c (TEST_NAME): Likewise.
7386 * string/test-strcspn.c (TEST_NAME): Likewise.
7387 * string/test-strlen.c (TEST_NAME): Likewise.
7388 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7389 * string/test-strncmp.c (TEST_NAME): Likewise.
7390 * string/test-strncpy.c (TEST_NAME): Likewise.
7391 * string/test-strnlen.c (TEST_NAME): Likewise.
7392 * string/test-strpbrk.c (TEST_NAME): Likewise.
7393 * string/test-strrchr.c (TEST_NAME): Likewise.
7394 * string/test-strspn.c (TEST_NAME): Likewise.
7395 * string/test-strstr.c (TEST_NAME): Likewise.
7396 * string/test-bcopy-ifunc.c: New file.
7397 * string/test-bzero-ifunc.c: Likewise.
7398 * string/test-memccpy-ifunc.c: Likewise.
7399 * string/test-memchr-ifunc.c: Likewise.
7400 * string/test-memcmp-ifunc.c: Likewise.
7401 * string/test-memcpy-ifunc.c: Likewise.
7402 * string/test-memmem-ifunc.c: Likewise.
7403 * string/test-memmove-ifunc.c: Likewise.
7404 * string/test-mempcpy-ifunc.c: Likewise.
7405 * string/test-memset-ifunc.c: Likewise.
7406 * string/test-rawmemchr-ifunc.c: Likewise.
7407 * string/test-stpcpy-ifunc.c: Likewise.
7408 * string/test-stpncpy-ifunc.c: Likewise.
7409 * string/test-strcasecmp-ifunc.c: Likewise.
7410 * string/test-strcasestr-ifunc.c: Likewise.
7411 * string/test-strcat-ifunc.c: Likewise.
7412 * string/test-strchr-ifunc.c: Likewise.
7413 * string/test-strchrnul-ifunc.c: Likewise.
7414 * string/test-strcmp-ifunc.c: Likewise.
7415 * string/test-strcpy-ifunc.c: Likewise.
7416 * string/test-strcspn-ifunc.c: Likewise.
7417 * string/test-strlen-ifunc.c: Likewise.
7418 * string/test-strncasecmp-ifunc.c: Likewise.
7419 * string/test-strncat-ifunc.c: Likewise.
7420 * string/test-strncmp-ifunc.c: Likewise.
7421 * string/test-strncpy-ifunc.c: Likewise.
7422 * string/test-strnlen-ifunc.c: Likewise.
7423 * string/test-strpbrk-ifunc.c: Likewise.
7424 * string/test-strrchr-ifunc.c: Likewise.
7425 * string/test-strspn-ifunc.c: Likewise.
7426 * string/test-strstr-ifunc.c: Likewise.
7428 * debug/Makefile (tests-ifunc): New variable.
7429 (tests): Add $(tests-ifunc).
7430 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7431 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7432 * debug/test-stpcpy_chk-ifunc.c: New file.
7433 * debug/test-strcpy_chk-ifunc.c: Likewise.
7435 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7438 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7439 header is not read in.
7441 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7443 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7444 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7445 directly. Pass built executable to script as
7446 $(built-program-cmd).
7447 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7448 $testprogram without using LD_LIBRARY_PATH and $ldso.
7450 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7451 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7452 $(rtld-installed-name).
7453 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7454 (rtld_installed_name): Likewise.
7455 (library_path): Likewise.
7456 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7457 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7458 $(run-program-prefix) to tst-tables.sh.
7459 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7460 it to run tst-table-from and tst-table-to.
7461 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7462 Pass it to tst-table.sh.
7463 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7464 $(run-program-prefix) to tst-gettext.sh.
7465 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7467 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7469 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7471 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7472 to run tst-gettext2.
7473 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7474 to run tst-translit.
7475 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7476 $(run-program-prefix) to tst-mtrace.sh.
7477 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7479 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7480 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7481 $(rtld-installed-name).
7482 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7483 (rtld_installed_name): Likewise.
7484 (run_program_prefix): New variable. Use it to run wordexp-test.
7486 * Makeconfig (ARCH): Remove all definitions.
7487 (machine): Likewise.
7488 [ARCH]: Remove conditional code.
7489 [!objdir]: Give error.
7490 [!objdir] (objpfx): Remove.
7491 [!objdir] (common-objpfx): Likewise.
7492 [!objdir] (common-objdir): Likewise.
7493 * configure.in (config_makefile): Remove. Hardcode Makefile in
7494 AC_CONFIG_FILES call.
7495 * configure: Regenerated.
7498 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7500 (testout): Likewise.
7502 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7503 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7504 $(rtld-installed-name).
7505 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7506 (rtld_installed_name): Likwise.
7507 (runit): Remove function.
7508 (run_getconf): New variable, Use it for running getconf binary.
7510 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7513 * string/test-memmem.c (check_result): New function.
7514 (do_one_test): Use it.
7515 (check1): New function.
7516 (test_main): Use it.
7518 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7520 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7522 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7524 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7525 (_G_LSEEK64): Likewise.
7526 (_G_MMAP64): Likewise.
7527 (_G_FSTAT64): Likewise.
7528 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7529 (_G_LSEEK64): Likewise.
7530 (_G_MMAP64): Likewise.
7531 (_G_FSTAT64): Likewise.
7532 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7533 unconditional. Call __mmap64 directly.
7534 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7535 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7537 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7538 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7540 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7541 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7543 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7544 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7546 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7547 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7549 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7550 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7551 __fxstat64 directly.
7552 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7553 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7555 (freopen64) [!_G_OPEN64]: Remove conditional code.
7556 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7558 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7559 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7561 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7562 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7564 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7565 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7567 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7568 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7570 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7571 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7573 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7574 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7576 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7578 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7581 * manual/memory.texi (Malloc Tunable Parameters): Add note
7582 about free list pointers overwriting some perturb bytes.
7583 Wording suggested by Roland McGrath.
7585 2012-10-17 Joseph Myers <joseph@codesourcery.com>
7587 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7588 (lgamma_test): Likewise.
7589 (tgamma_test): Likewise.
7591 2012-10-16 Florian Weimer <fweimer@redhat.com>
7594 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7595 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7597 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7599 * NEWS: Mention BZ #14716.
7600 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7601 when removing AVAILABLE1_USES_J macro.
7603 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7605 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7606 (__bswap_64): __uint64_t for unsigned 64-bit int.
7608 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7610 * include/string.h (memmem): Declare libc hidden alias.
7611 * string/memmem.c (memmem): Define libc hidden alias.
7612 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7613 __read, __close instead of open, read, close.
7615 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7617 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7618 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7620 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7621 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7622 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7624 (__rawmemchr_sse2): Likewise.
7625 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7626 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7627 (__strchr_sse2): Likewise.
7628 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7629 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7630 (__strcasecmp_sse2): Likewise.
7631 (__strncasecmp_sse2): Likewise.
7632 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7633 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7634 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7635 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7636 (__strrchr_sse2): Likewise.
7637 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7639 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7640 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7641 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7642 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7643 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7644 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7645 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7646 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7647 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7648 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7649 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7650 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7651 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7652 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7653 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7654 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7655 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7656 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7657 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7658 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7659 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7660 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7661 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7662 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7663 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7664 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7665 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7666 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7667 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7668 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7670 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7672 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7673 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7674 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7675 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7677 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7679 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7680 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7681 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7682 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7684 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7685 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7686 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7687 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7688 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7689 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7690 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7691 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7692 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7693 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7694 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7695 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7696 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7697 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7698 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7699 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7700 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7701 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7702 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7703 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7704 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7705 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7706 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7707 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7708 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7709 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7710 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7711 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7712 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7713 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7714 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7715 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7716 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7717 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7718 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7719 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7720 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7721 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7722 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7723 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7724 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7726 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7727 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7728 * include/ifunc-impl-list.h: New file.
7729 * misc/ifunc-impl-list.c: Likewise.
7730 * misc/Makefile (routines): Add ifunc-impl-list.
7731 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7732 * string/test-string.h: Include <ifunc-impl-list.h>.
7733 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7734 impl_array): New variables.
7735 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7737 (test_init): Call __libc_ifunc_impl_list to initialize
7738 func_list if TEST_IFUNC and TEST_NAME are defined.
7740 * string/Makefile (strop-tests): Add bcopy and bzero.
7741 * string/test-bcopy.c: New file.
7742 * string/test-bzero.c: Likewise.
7743 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7745 * string/test-memset.c: Support bzero test if TEST_BZERO is
7747 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7749 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7751 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7754 2012-10-10 Joseph Myers <joseph@codesourcery.com>
7756 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7757 * configure: Regenerated.
7759 * Makeconfig (+link-static-before-libc): Don't include
7760 $(link-static-libc).
7762 * libio/libio.h (_IO_pos_t): Remove.
7764 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7766 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7769 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7771 * crypt/crypt-entry.c: Include fips-private.h.
7772 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7773 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7774 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7775 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7777 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7779 * crypt/crypt-private.h: Include stdbool.h.
7780 (_ufc_setup_salt_r): Return bool.
7781 * crypt/crypt-entry.c: Include errno.h.
7782 (__crypt_r): Return NULL with EINVAL for bad salt.
7783 * crypt/crypt_util.c (bad_for_salt): New.
7784 (_ufc_setup_salt_r): Check that salt is long enough and within
7785 the specified alphabet.
7786 * crypt/badsalttest.c: New file.
7787 * crypt/Makefile (tests): Add it.
7788 ($(objpfx)badsalttest): New.
7790 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7792 * NEWS: Add entry for BZ #14602.
7794 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7796 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7798 * math/libm-test.inc: Update comment listing what functions and
7800 (isgreater_test): New function.
7801 (isgreaterequal_test): Likewise.
7802 (isless_test): Likewise.
7803 (islessequal_test): Likewise.
7804 (islessgreater_test): Likewise.
7805 (isunordered_test): Likewise.
7806 (main): Call the new functions.
7808 2012-10-09 Roland McGrath <roland@hack.frob.com>
7810 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7811 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7812 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7813 * sysdeps/i386/configure: Regenerated.
7814 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7815 * sysdeps/mach/configure: Regenerated.
7816 * sysdeps/mach/hurd/configure: Regenerated.
7817 * sysdeps/powerpc/configure: Regenerated.
7818 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7819 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7820 * sysdeps/s390/s390-32/configure: Regenerated.
7821 * sysdeps/s390/s390-64/configure: Regenerated.
7822 * sysdeps/sh/configure: Regenerated.
7823 * sysdeps/sparc/configure: Regenerated.
7824 * sysdeps/unix/sysv/linux/configure: Regenerated.
7825 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7826 * sysdeps/x86_64/configure: Regenerated.
7828 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7829 defined. Don't check if MAP is NULL.
7831 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7833 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7834 (_G_stat64): Likewise.
7835 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7836 (_G_stat64): Likewise.
7837 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7838 instead of struct _G_stat64.
7839 * libio/fileops.c (mmap_remap_check): Likewise.
7840 (decide_maybe_mmap): Likewise.
7841 (_IO_new_file_seekoff): Likewise.
7842 (_IO_file_stat): Likewise.
7843 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7845 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7846 instead of struct _G_stat64.
7847 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7849 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7852 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7854 (CHECK_EOL): New macro.
7855 (two_way_short_needle): Check beginning of haystack for EOL. Use
7857 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7858 Replace with CHECK_EOL.
7859 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7860 Replace with CHECK_EOL.
7862 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7864 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7866 * math/libm-test.inc: Update comment listing what functions and
7868 (finite_test): New function.
7869 (isinf_test): Likewise.
7870 (isnan_test): Likewise.
7871 (fpclassify_test): Test subnormal input.
7872 (isfinite_test): Likewise.
7873 (isnormal_test): Likewise.
7874 (main): Call the new functions.
7876 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7879 * Makerules (%.dynsym): Force C locale when running
7880 $(OBJDUMP) --dynamic-syms.
7882 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7884 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7887 2012-10-06 David S. Miller <davem@davemloft.net>
7889 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7890 upper 32-bits of the length value in %o2 since we use branch-on-register
7891 tests which consider the entire 64-bit register.
7893 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7895 * string/test-strstr.c (check2): Add a test for page boundary.
7897 2012-10-05 David S. Miller <davem@davemloft.net>
7899 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7900 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7902 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7904 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7905 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7906 and bzero when HWCAP_SPARC_CRYPTO is present.
7908 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7911 * string/test-strstr.c (check2): New function.
7912 (test_main): Call check2.
7914 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7916 * string/bug-strcasestr1.c (do_test): Moved to ...
7917 * string/test-strcasestr.c (check1): Here. New function.
7918 (do_one_test): Break out result checking code into ...
7919 (check_result): This. New function.
7920 (do_one_test): Call check_result.
7921 (test_main): Call check1.
7922 * string/bug-strchr1.c (do_test): Moved to ...
7923 * string/test-strchr.c (check1): Here. New function.
7924 (do_one_test): Break out result checking code into ...
7925 (check_result): This. New function.
7926 (do_one_test): Call check_result.
7927 (test_main): Call check1.
7928 * string/bug-strstr1.c (main): Moved to ...
7929 * string/test-strstr.c (check1): Here. New function.
7930 (do_one_test): Break out result checking code into ...
7931 (check_result): This. New function.
7932 (do_one_test): Call check_result.
7933 (test_main): Call check1.
7934 * string/bug-strcasestr1.c: Removed.
7935 * string/bug-strchr1.c: Likewise.
7936 * string/bug-strstr1.c: Likewise.
7938 * elf/Makefile (dl-routines): Add hwcaps.
7939 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7940 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7941 (_dl_important_hwcaps): Moved to ...
7942 * elf/dl-hwcaps.c: Here. New file.
7943 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7946 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7947 if IS_IN_rtld isn't defined.
7949 * elf/dl-support.c (_dl_sysinfo_map): New.
7950 Include "get-dynamic-info.h" and "setup-vdso.h".
7951 (_dl_non_dynamic_init): Call setup_vdso.
7952 * elf/dynamic-link.h: Don't include <assert.h>.
7953 (elf_get_dynamic_info): Moved to ...
7954 * elf/get-dynamic-info.h: Here. New file.
7955 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7956 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7957 * elf/setup-vdso.h: Here. New file.
7958 * elf/rtld.c: Include "setup-vdso.h".
7959 (dl_main): Call setup_vdso.
7961 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7963 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7964 creal in comment listing functions tested. List finite, isinf,
7965 isnan, isless, islessequal, isgreater, isgreaterequal,
7966 islessgreater, isunordered, lgamma_r and pow10 as functions and
7967 macros not tested. Mention which functions not tested are aliases
7968 for other functions. Fix typo. Note that signs of NaNs are not
7971 * scripts/config.guess: Update from config.git.
7972 * scripts/config.sub: Likewise.
7974 2012-10-04 Roland McGrath <roland@hack.frob.com>
7976 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7977 * misc/madvise.c (madvise): Renamed to __madvise.
7978 Make madvise a weak alias.
7979 * include/sys/mman.h: Declare __madvise.
7980 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7981 * sysdeps/unix/syscalls.list
7982 (madvise): Make __madvise the strong name, and madvise a weak alias.
7983 * sysdeps/unix/sysv/linux/syscalls.list
7984 (madvise, mmap): Remove redundant entries.
7985 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7986 * malloc/malloc.c (mtrim): Likewise.
7987 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7989 2012-10-03 Roland McGrath <roland@hack.frob.com>
7991 * sysdeps/mach/hurd/dl-cache.c: File removed.
7992 * config.h.in (USE_LDCONFIG): New #undef.
7993 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7994 * configure: Regenerated.
7995 * elf/Makefile (dl-routines): Add dl-cache only under
7996 [$(use-ldconfig) = yes].
7997 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7998 cache on [USE_LDCONFIG].
7999 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8001 * elf/rtld.c (dl_main): Likewise.
8003 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8005 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8006 _SC_LEVEL4_CACHE_LINESIZE.
8008 2012-10-03 Roland McGrath <roland@hack.frob.com>
8010 * sysdeps/unix/bsd/confstr.h: File removed.
8012 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
8014 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8017 2012-10-02 Roland McGrath <roland@hack.frob.com>
8019 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8020 Make 'mapoff' field ElfW(Off) rather than off_t.
8022 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8024 * nscd/Makefile: Remove nscd-cflags and all its users.
8025 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8026 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8029 * malloc.c (malloc_printerr): Clarify error message.
8031 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8035 Set bit_FMA_Usable if FMA is supported.
8036 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8038 (bit_FMA4_Usable): Updated.
8039 (index_FMA_Usable): New macro.
8040 (CPUID_FMA): Likewise
8041 (HAS_FMA): Defined with bit_FMA_Usable.
8043 2012-10-01 Roland McGrath <roland@hack.frob.com>
8045 * bits/types.h (__swblk_t): Type removed.
8046 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8047 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8048 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8049 (__SWBLK_T_TYPE): Likewise.
8050 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8051 (__SWBLK_T_TYPE): Likewise.
8052 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8053 (__SWBLK_T_TYPE): Likewise.
8054 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8055 (__SWBLK_T_TYPE): Likewise.
8057 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
8058 Honza Horak <hhorak@redhat.com>
8060 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8061 (xdr_mapname): Use YPMAXMAP as maxsize.
8062 (xdr_peername): Use YPMAXPEER as maxsize.
8063 (xdr_keydat): Use YPAXRECORD as maxsize.
8064 (xdr_valdat): Use YPMAXRECORD as maxsize.
8066 2012-10-01 Roland McGrath <roland@hack.frob.com>
8068 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8070 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8071 * csu/init-first.c: ... here.
8072 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8073 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8074 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8075 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8076 * sysdeps/i386/init-first.c: File removed.
8077 * sysdeps/sh/init-first.c: File removed.
8079 2012-10-01 Joseph Myers <joseph@codesourcery.com>
8082 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8083 if x * y might underflow to zero and z is zero.
8084 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8085 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8086 * math/libm-test.inc (min_subnorm_value): New variable.
8087 (fma_test): Add more tests.
8088 (fma_test_towardzero): Likewise.
8089 (fma_test_downward): Likewise
8090 (fma_test_upward): Likewise.
8091 (initialize): Set min_subnorm_value.
8093 2012-09-29 Joseph Myers <joseph@codesourcery.com>
8096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8098 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8099 mode for addition resulting in exact zero.
8100 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8103 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8104 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8105 * math/libm-test.inc (fma_test): Add more tests.
8106 (fma_test_towardzero): New function.
8107 (fma_test_downward): Likewise.
8108 (fma_test_upward): Likewise.
8109 (main): Call the new functions.
8111 2012-09-28 David S. Miller <davem@davemloft.net>
8113 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8115 2012-09-28 Roland McGrath <roland@hack.frob.com>
8117 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8120 * sysdeps/gnu/_G_config.h: Moved to ...
8121 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8122 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8123 * sysdeps/generic/_G_config.h: ... here.
8125 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8127 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8129 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8130 Conditionalize target on [libnss_test1.so-version].
8132 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8134 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8135 (elfobjdir): Move out of conditionals.
8137 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8138 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8139 (__nss_lookup_function): Conditionalize label remove_from_tree on
8140 [!DO_STATIC_NSS || SHARED], matching its only use.
8142 2012-09-28 David S. Miller <davem@davemloft.net>
8144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8145 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8147 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8149 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8151 when HWCAP_SPARC_CRYPTO is present.
8153 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8155 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8157 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8160 * stdio-common/vfprintf.c (process_string_arg): Revert
8163 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8165 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8167 * stdio-common/tst-sprintf.c: Include <locale.h>
8168 (main): Test sprintf's handling of incomplete multibyte
8171 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8173 * elf/dl-runtime.c (VERSYMIDX): Removed.
8174 * elf/dl-version.c (VERSYMIDX): Likewise.
8175 * elf/do-rel.h (VERSYMIDX): Likewise.
8177 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8178 * elf/rtld.c (VALIDX): Likewise.
8179 (ADDRIDX): Likewise.
8180 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8181 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8182 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8183 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8185 (ADDRIDX): Likewise.
8187 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8189 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8191 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8194 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8196 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8197 addresses are in the same scope as 192.0.2/24.
8198 * posix/gai.conf: Document new scope table defaults.
8200 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8203 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8204 for ftell. Compute offsets from write pointers instead.
8205 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8207 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8210 * libio/Makefile (tests): New test case tst-fseek.
8211 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8212 combination works in wide mode.
8213 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8214 state when the external buffer state changes.
8216 2012-09-27 David S. Miller <davem@davemloft.net>
8219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8220 pass reloc->r_addend in as the 'high' argument to
8221 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8225 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8227 * rt/tst-aio2.c: Include <pthread.h>.
8228 * rt/tst-aio3.c: Likewise.
8230 2012-09-27 Steve Ellcey <sellcey@mips.com>
8232 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8234 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8236 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8237 contents on [SHARED].
8239 2012-09-26 Marek Polacek <polacek@redhat.com>
8243 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8244 for C++ and GCC <4.3 as well as for non GCC compilers.
8246 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8250 2012-09-25 Roland McGrath <roland@hack.frob.com>
8252 * Makefile.in (all, install): Declare with .PHONY.
8253 Reported by Michael Hope <michael.hope@linaro.org>.
8255 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8257 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8258 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8260 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8262 (sydep_routines): Add the new and the internal functions.
8263 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8264 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8266 (GLIBC_2.17): Add the new function.
8267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8268 (GLIBC_2.17): Likewise.
8269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8270 (GLIBC_2.17): Likewise.
8271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8272 (GLIBC_2.17): Likewise.
8273 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8275 2012-09-25 Alan Modra <amodra@gmail.com>
8277 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8278 Add release barrier before setting once_control to say
8279 initialisation is done. Add hints on lwarx. Use macro in
8281 (clear_once_control): Add release barrier.
8283 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8286 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8288 * math/s_clog10.c (__clog10): Likewise.
8289 * math/s_clog10f.c (__clog10f): Likewise.
8290 * math/s_clog10l.c (__clog10l): Likewise.
8291 * math/s_clogf.c (__clogf): Likewise.
8292 * math/s_clogl.c (__clogl): Likewise.
8293 * math/Makefile (libm-calls): Add x2y2m1.
8294 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8295 (__x2y2m1): Likewise.
8296 (__x2y2m1l): Likewise.
8297 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8298 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8299 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8300 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8301 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8302 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8303 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8304 * sysdeps/i386/fpu/libm-test-ulps: Update.
8305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8308 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8309 int as type of variable DEPTH.
8310 (glob): Use size_t instead of int as type of variables NEWCOUNT
8313 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8315 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8317 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8318 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8319 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8320 macros for using routine as __sincosf_ia32.
8321 Use macro for function declaration and weak_alias.
8322 * sysdeps/i386/fpu/libm-test-ulps: Update.
8324 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8327 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8329 * math/s_cexpf.c (__cexpf): Likewise.
8330 * math/s_csinf.c (__csinf): Likewise.
8331 * math/s_csinhf.c (__csinhf): Likewise.
8332 * math/s_ctanf.c (__ctanf): Likewise.
8333 * math/s_ctanhf.c (__ctanhf): Likewise.
8334 * math/s_ccosh.c (__ccoshf): Likewise.
8335 * math/s_cexp.c (__cexpl): Likewise.
8336 * math/s_csin.c (__csin): Likewise.
8337 * math/s_csinh.c (__csinh): Likewise.
8338 * math/s_ctan.c (__ctan): Likewise.
8339 * math/s_ctanh.c (ctanh): Likewise.
8340 * math/s_ccoshl.c (__ccoshl): Likewise.
8341 * math/s_cexpl.c (__cexpl): Likewise.
8342 * math/s_csinl.c (__csinl): Likewise.
8343 * math/s_csinhl.c (__csinhl): Likewise.
8344 * math/s_ctanl.c (__ctanl): Likewise.
8345 * math/s_ctanhl.c (__ctanhl): Likewise.
8347 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8349 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8350 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8351 (_IO_off_t): Define to __off_t, not _G_off_t.
8352 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8353 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8354 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8355 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8356 type of __dummy and __dummy2 fields.
8357 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8358 (_G_ssize_t): Likewise.
8359 (_G_off_t): Likewise.
8360 (_G_pid_t): Likewise.
8361 (_G_uid_t): Likewise.
8362 (_G_wchar_t): Likewise.
8363 (_G_wint_t): Likewise.
8364 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8365 (_G_ssize_t): Likewise.
8366 (_G_off_t): Likewise.
8367 (_G_pid_t): Likewise.
8368 (_G_uid_t): Likewise.
8369 (_G_wchar_t): Likewise.
8370 (_G_wint_t): Likewise.
8371 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8372 (_G_ssize_t): Likewise.
8373 (_G_off_t): Likewise.
8374 (_G_pid_t): Likewise.
8375 (_G_uid_t): Likewise.
8376 (_G_wchar_t): Likewise.
8377 (_G_wint_t): Likewise.
8379 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8381 * malloc/arena.c: Include malloc-sysdep.h.
8382 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8383 is sufficient to shrink the heap or an unmap is needed.
8384 * sysdeps/generic/malloc-sysdep.h: New file. Define
8385 new function check_may_shrink_heap.
8386 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8387 new function check_may_shrink_heap.
8389 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8391 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8394 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8396 * catgets/test-gencat.sh: Add "set -e".
8397 * elf/tst-pathopt.sh: Likewise.
8398 * grp/tst_fgetgrent.sh: Likewise.
8399 * iconvdata/run-iconv-test.sh: Likewise.
8400 * intl/tst-gettext.sh: Likewise.
8401 * intl/tst-gettext2.sh: Likewise.
8402 * intl/tst-gettext4.sh: Likewise.
8403 * intl/tst-gettext6.sh: Likewise.
8404 * intl/tst-translit.sh: Likewise.
8405 * io/ftwtest-sh: Likewise.
8406 * libio/test-freopen.sh: Likewise.
8407 * malloc/tst-mtrace.sh: Likewise.
8408 * posix/globtest.sh: Likewise.
8409 * posix/tst-getconf.sh: Likewise.
8410 * posix/wordexp-tst.sh: Likewise.
8411 * stdio-common/tst-printf.sh: Likewise.
8412 * stdio-common/tst-unbputc.sh: Likewise.
8413 * stdlib/tst-fmtmsg.sh: Likewise.
8414 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8415 * catgets/Makefile: Do not specify -e option when running
8416 testsuite shell scripts.
8417 * elf/Makefile: Likewise.
8418 * grp/Makefile: Likewise.
8419 * iconvdata/Makefile: Likewise.
8420 * intl/Makefile: Likewise.
8421 * io/Makefile: Likewise.
8422 * libio/Makefile: Likewise.
8423 * malloc/Makefile: Likewise.
8424 * posix/Makefile: Likewise.
8425 * stdio-common/Makefile: Likewise.
8426 * stdlib/Makefile: Likewise.
8427 * sysdeps/x86_64/Makefile: Likewise.
8429 * io/ftwtest-sh: Add copyright header.
8430 * posix/globtest.sh: Likewise.
8431 * posix/tst-getconf.sh: Likewise.
8432 * posix/wordexp-tst.sh: Likewise.
8433 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8435 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8438 * Makeconfig (+link): Defined as $(+link-static) if
8439 $(build-shared) isn't yes.
8440 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8442 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8444 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8447 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8448 new chunk size with MALLOC_ALIGN_MASK.
8450 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8453 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8455 (__printf_fphex): Determine rounding using get_rounding_mode and
8457 * stdio-common/tst-printf-round.c (struct hex_test): New
8459 (hex_tests): New variable.
8460 (test_hex_in_one_mode): New function.
8461 (do_test): Also run tests for hex float output.
8463 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8465 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8466 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8467 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8468 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8469 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8470 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8471 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8472 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8474 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8476 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8477 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8478 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8479 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8481 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8484 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8486 * elf/tst-rtld-load-self.sh: New test.
8487 * elf/Makefile: Run it.
8489 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8491 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8492 (tst-writev-ENV): Remove.
8493 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8495 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8497 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8499 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8501 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8503 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8505 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8506 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8507 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8510 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8513 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8514 * config.make.in (have-cpp-asm-debuginfo): Removed.
8515 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8516 * configure: Regenerated.
8518 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8521 * stdio-common/printf_fp.c: Include <stdbool.h> and
8523 (___printf_fp): Determine rounding using get_rounding_mode and
8525 * stdio-common/tst-printf-round.c: New file.
8526 * stdio-common/Makefile (tests): Add tst-printf-round.
8527 (link-libm): New variable.
8528 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8530 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8533 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8534 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8536 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8539 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8541 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8542 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8543 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8544 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8546 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8549 * include/rounding-mode.h: New file.
8550 * sysdeps/generic/get-rounding-mode.h: Likewise.
8551 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8552 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8553 (MAX_VALUE): New macro.
8554 (MIN_VALUE): Likewise.
8555 (overflow_value): New function.
8556 (underflow_value): Likewise.
8557 (round_and_return): Use overflow_value and underflow_value to
8558 determine return values in overflow and underflow cases. Use
8559 round_away to determine rounding depending on rounding mode.
8560 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8561 determine return values in overflow and underflow cases.
8562 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8563 (struct test_results): New structure.
8564 (struct test): Use struct test_results to store expected results
8565 for all rounding modes.
8566 (TEST): Include expected results for all rounding modes.
8567 (test_in_one_mode): New function.
8568 (do_test): Use test_in_one_mode to compute and check results.
8569 Check results for all rounding modes.
8570 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8573 2012-12-09 Allan McRae <allan@archlinux.org>
8575 * sysdeps/i386/fpu/libm-test-ulps: Update
8577 2012-09-11 Joseph Myers <joseph@codesourcery.com>
8579 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8580 (_G_int32_t): Likewise.
8581 (_G_uint16_t): Likewise.
8582 (_G_uint32_t): Likewise.
8583 (_G_HAVE_BOOL): Likewise.
8584 (_G_HAVE_ATEXIT): Likewise.
8585 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8586 (_G_HAVE_IO_FILE_OPEN): Likewise.
8587 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8588 (_G_int32_t): Likewise.
8589 (_G_uint16_t): Likewise.
8590 (_G_uint32_t): Likewise.
8591 (_G_HAVE_BOOL): Likewise.
8592 (_G_HAVE_ATEXIT): Likewise.
8593 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8594 (_G_HAVE_IO_FILE_OPEN): Likewise.
8595 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8596 (_G_int32_t): Likewise.
8597 (_G_uint16_t): Likewise.
8598 (_G_uint32_t): Likewise.
8599 (_G_HAVE_BOOL): Likewise.
8600 (_G_HAVE_ATEXIT): Likewise.
8601 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8602 (_G_HAVE_IO_FILE_OPEN): Likewise.
8604 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8606 * csu/libc-tls.c: Update copyright years.
8608 2012-09-10 Joseph Myers <joseph@codesourcery.com>
8610 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8611 [!_G_USING_THUNKS]: Remove conditional code.
8612 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8613 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8615 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8616 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8617 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8618 (_G_VTABLE_LABEL_PREFIX): Likewise.
8619 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8620 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8621 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8622 (_G_VTABLE_LABEL_PREFIX): Likewise.
8623 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8624 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8625 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8626 (_G_VTABLE_LABEL_PREFIX): Likewise.
8627 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8629 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8631 * libio/Makefile: Include ../Makeconfig before tests.
8632 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8633 only if $(build-shared) is yes.
8635 * iconv/gconv_db.c: Update copyright years.
8637 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8639 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8640 unwind info if defined PIC. Fix special cases description.
8641 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8643 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8645 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8647 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8649 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8651 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8654 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8655 (LDLIBS-tst-chk4): This.
8656 (LDFLAGS-tst-chk5): Renamed to ...
8657 (LDLIBS-tst-chk5): This.
8658 (LDFLAGS-tst-chk6): Renamed to ...
8659 (LDLIBS-tst-chk6): This.
8660 (LDFLAGS-tst-lfschk4): Renamed to ...
8661 (LDLIBS-tst-lfschk4): This.
8662 (LDFLAGS-tst-lfschk5): Renamed to ...
8663 (LDLIBS-tst-lfschk5): This.
8664 (LDFLAGS-tst-lfschk6): Renamed to ...
8665 (LDLIBS-tst-lfschk6): This.
8667 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8668 on $(common-objpfx)soversions.mk.
8670 2012-09-07 Joseph Myers <joseph@codesourcery.com>
8673 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8676 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8678 * malloc/arena.c (arena_get_retry): New function that gets
8679 another arena for the caller to try its request on.
8680 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8681 current arena cannot fulfill the request.
8682 (__libc_memalign): Likewise.
8683 (__libc_memalign): Likewise.
8684 (__libc_pvalloc): Likewise.
8685 (__libc_calloc): Likewise.
8687 2012-09-05 John Tobey <john.tobey@gmail.com>
8690 * manual/arith.texi (Operations on Complex): Fix description
8693 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8696 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8700 * manual/memory.texi (Memory): Make order of menu items match
8703 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8705 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8706 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8707 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8709 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8711 * csu/libc-tls.c (static_dtv): Renamed to ...
8712 (_dl_static_dtv): This. Make it global.
8713 (_dl_initial_dtv): Removed.
8714 (__libc_setup_tls): Updated.
8715 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8716 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8719 2012-09-06 Petr Machata <pmachata@redhat.com>
8721 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8722 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8723 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8724 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8726 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8729 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8730 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8733 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8736 * Makeconfig (link-static-before-libc): Replace $(+prector)
8738 (link-static-after-libc): Replace $(+postctor) with
8740 (link-bounded): Replace $(+prector)/$(+postctor) with
8741 $(+prectorT)/$(+postctorT).
8742 (+prectorT): New macro.
8743 (+postctorT): Likewise.
8745 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8747 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8748 (round_str): Handle values above the maximum for IBM long double
8750 * stdlib/tst-strtod-round.c (tests): Regenerated.
8752 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8754 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8756 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8757 zarch_nohighgprs around the zarch optimized routines.
8758 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8759 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8760 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8763 2012-09-05 David S. Miller <davem@davemloft.net>
8765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8767 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8768 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8769 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8770 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8773 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8775 * malloc/arena.c: Fold copyright years.
8776 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8778 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8780 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8782 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8784 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8786 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8788 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8789 change internal state upon failure.
8791 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8793 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8794 * malloc/memusage.c (mmap): Likewise.
8795 (mmap64, mremap): Likewise. Adjust name in comment.
8797 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8799 * libio/fileops.c: Fix typos in comments.
8800 * libio/oldfileops.c: Likewise.
8801 * libio/wfileops.c: Likewise.
8803 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8806 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8807 (tst-malloc-usable-ENV): Set environment for test case.
8808 * malloc/hooks.c (malloc_check_get_size): New function to get
8810 * malloc/malloc.c (musable): Use malloc_check_get_size.
8811 * malloc/tst-malloc-usable.c: New test case.
8813 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8815 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8817 2012-09-05 Allan McRae <allan@archlinux.org>
8820 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8821 determine header location.
8822 * configure: Regenerated.
8824 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8826 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8828 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8829 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8833 2012-09-04 David S. Miller <davem@davemloft.net>
8835 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8836 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8837 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8839 2012-09-04 Florian Weimer <fweimer@redhat.com>
8841 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8844 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8846 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8849 * libio/iogetdelim.c: Include <limits.h>.
8850 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8851 + len + 1 would overflow.
8853 2012-09-03 Andreas Jaeger <aj@suse.de>
8855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8856 * sysdeps/i386/fpu/libm-test-ulps: Update.
8858 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8860 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8861 Add s_sinf-sse2, s_conf-sse2.
8863 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8864 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8865 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8866 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8868 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8869 for using routine as __sinf_ia32.
8870 Use macro for function declaration and weak_alias.
8871 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8872 for using routine as __cosf_ia32.
8873 Use macro for function declaration and weak_alias.
8875 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8876 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8878 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8879 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8882 * math/libm-test.inc (cos_test): Add more test cases.
8883 (sin_test): Likewise.
8884 (sincos_test): Likewise.
8886 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8888 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8889 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8891 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8893 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8896 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8897 first element of the GOT.
8898 (elf_machine_load_address): Return the difference between
8899 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8901 2012-09-01 Allan McRae <allan@archlinux.org>
8904 * configure.in (AWK): Require gawk version 3.0 or later.
8905 * configure: Regenerated.
8907 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8909 * sysdeps/unix/sysv/linux/kernel-features.h
8910 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8911 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8912 [__NR_clock_getres]: Make code unconditional.
8913 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8914 (clock_getcpuclockid): Remove code left unreachable by removal of
8916 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8918 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8919 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8920 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8921 Make code unconditional.
8922 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8923 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8924 * sysdeps/unix/sysv/linux/clock_settime.c
8925 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8927 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8928 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8930 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8933 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8934 scripts/test-installation.pl.
8936 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8937 and $ld_so_version if it is set.
8939 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8942 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8943 failure if reading from procfs failed.
8944 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8946 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8948 * sysdeps/unix/sysv/linux/kernel-features.h
8949 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8950 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8951 Remove conditional code.
8952 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8953 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8954 Remove conditional code.
8955 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8956 * sysdeps/unix/sysv/linux/i386/fxstat.c
8957 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8958 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8959 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8960 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8961 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8962 * sysdeps/unix/sysv/linux/i386/lxstat.c
8963 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8964 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8965 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8966 Remove conditional code.
8967 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8968 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8969 Remove conditional code.
8970 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8971 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8972 <kernel-features.h>.
8973 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8975 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8976 Remove conditional code.
8977 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8978 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8981 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8984 * NEWS: Add fixed bug number.
8986 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8989 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8990 underflowing exponent in case of negative sign.
8991 * stdlib/tst-strtod-round-data: Add more tests.
8992 * stdlib/tst-strtod-round.c (tests): Regenerated.
8995 * stdlib/strtod_l.c (NDIG): Remove.
8996 (HEXNDIG): Likewise.
8997 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8998 smallest representable value.
8999 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9000 lie within an exact representation of 1/2 ulp of the result.
9001 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9003 (TENS_P9_IDX): Define unconditionally.
9004 (TENS_P9_SIZE): Likewise.
9005 (TENS_P10_IDX): Likewise.
9006 (TENS_P10_SIZE): Likewise.
9007 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9008 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9009 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9010 entries for 10^2^13 and 10^2^14.
9011 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9012 (TENS_P13_IDX): Define.
9013 (TENS_P13_SIZE): Likewise.
9014 (TENS_P14_IDX): Likewise.
9015 (TENS_P14_SIZE): Likewise.
9016 (_fpioconst_pow10): Change array size to
9017 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9019 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9020 1024]: Add entries for 10^2^13 and 10^2^14.
9021 [LAST_POW10 > _LAST_POW10]: Remove #error.
9022 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9023 (_fpioconst_pow10): Change array size to
9024 FPIOCONST_POW10_ARRAY_SIZE.
9025 * stdlib/gen-fpioconst.c: New file.
9026 * stdlib/gen-tst-strtod-round.c: Likewise.
9027 * stdlib/tst-strtod-round-data: Likewise.
9028 * stdlib/tst-strtod-round.c: Likewise.
9029 * stdlib/Makefile (tests): Add tst-strtod-round.
9032 * stdlib/strtod_l.c: Include <stdint.h>.
9033 (NDEBUG): Do not define.
9034 (round_and_return): Change EXPONENT parameter to type intmax_t.
9035 Rearrange calculations to avoid internal overflow possibilities.
9036 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9037 Rearrange calculations to avoid internal overflow possibilities.
9038 Assert that number fits inside MPNSIZE limbs.
9039 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9040 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9041 calculations and add assertions to avoid internal overflow
9042 possibilities. Add casts to avoid signed/unsigned operations.
9043 * stdlib/tst-strtod-overflow.c: New file.
9044 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9046 2012-08-25 Marek Polacek <polacek@redhat.com>
9048 * time/time.h: Fix some typos in comments.
9050 2012-08-23 Roland McGrath <roland@hack.frob.com>
9052 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9053 * posix/tst-rfc3484-2.c: Likewise.
9054 * posix/tst-rfc3484-3.c: Likewise.
9056 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9058 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9059 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9061 2012-08-23 Joseph Myers <joseph@codesourcery.com>
9063 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9064 #include of fxstatat64.c.
9066 2012-08-22 Roland McGrath <roland@hack.frob.com>
9068 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9069 * shadow/getspent_r.c: Likewise.
9070 * shadow/getspnam.c: Likewise.
9071 * shadow/getspnam_r.c: Likewise.
9072 * gshadow/getsgent.c: Likewise.
9073 * gshadow/getsgent_r.c: Likewise.
9074 * gshadow/getsgnam.c: Likewise.
9075 * gshadow/getsgnam_r.c: Likewise.
9076 * inet/getnetbyad.c: Likewise.
9077 * inet/getnetbyad_r.c: Likewise.
9078 * inet/getnetbynm.c: Likewise.
9079 * inet/getnetbynm_r.c: Likewise.
9080 * inet/getnetent.c: Likewise.
9081 * inet/getnetent_r.c: Likewise.
9082 * inet/getproto.c: Likewise.
9083 * inet/getproto_r.c: Likewise.
9084 * inet/getprtent.c: Likewise.
9085 * inet/getprtent_r.c: Likewise.
9086 * inet/getprtname.c: Likewise.
9087 * inet/getprtname_r.c: Likewise.
9088 * inet/getrpcbyname.c: Likewise.
9089 * inet/getrpcbyname_r.c: Likewise.
9090 * inet/getrpcbynumber.c: Likewise.
9091 * inet/getrpcbynumber_r.c: Likewise.
9092 * inet/getrpcent.c: Likewise.
9093 * inet/getrpcent_r.c: Likewise.
9094 * inet/getaliasent.c: Likewise.
9095 * inet/getaliasent_r.c: Likewise.
9096 * inet/getaliasname.c: Likewise.
9097 * inet/getaliasname_r.c: Likewise.
9098 * nscd/getgrgid_r.c: Likewise.
9099 * nscd/getgrnam_r.c: Likewise.
9100 * nscd/gethstbyad_r.c: Likewise.
9101 * nscd/gethstbynm3_r.c: Likewise.
9102 * nscd/getpwnam_r.c: Likewise.
9103 * nscd/getpwuid_r.c: Likewise.
9104 * nscd/getsrvbynm_r.c: Likewise.
9105 * nscd/getsrvbypt_r.c: Likewise.
9106 * nscd/gai.c: Likewise.
9108 * configure.in (build_nscd): New substituted variable, set
9109 by --disable-build-nscd and defaults to $use_nscd.
9110 * configure: Regenerated.
9111 * config.make.in (build-nscd): New substituted variable.
9112 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9113 Change conditional to require [$(build-nscd) = yes] as well.
9114 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9117 * configure.in (use_nscd): New substituted variable, set by
9118 --disable-nscd. If enabled, define USE_NSCD.
9119 * configure: Regenerated.
9120 * config.h.in: Add USE_NSCD.
9121 * config.make.in (use-nscd): New substituted variable.
9122 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9123 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9124 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9125 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9126 (CFLAGS-getgrnam_r.c): Likewise.
9127 (CFLAGS-initgroups.c): Likewise.
9128 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9129 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9131 * inet/getnetgrent_r.c
9132 (nscd_setnetgrent): New function, broken out of ...
9133 (setnetgrent): ... here. Call it.
9134 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9135 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9136 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9137 * nscd/Makefile (routines, aux): Move definitions after include of
9138 Makeconfig. Conditionalize on [$(use-nscd) != no].
9139 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9140 Conditionalize on [USE_NSCD].
9141 (is_nscd, nscd_init_cb): Likewise.
9142 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9143 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9144 * nss/nss_db/db-init.c: Likewise.
9145 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9147 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9148 (make_request): Use it.
9149 (cache_valid_p): New function.
9150 (__check_pf): Use it.
9151 * NEWS: Add item for --disable-nscd.
9153 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9155 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9156 to support sed >= 4.2.1-20-ga9bf076.
9157 * configure: Regenerated.
9159 2012-08-22 Roland McGrath <roland@hack.frob.com>
9161 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9162 Conditionalize whole body on [IREL].
9164 2012-08-22 Jeff Law <law@redhat.com>
9167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9168 if the family is PF_UNSPEC.
9170 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9172 * Makerules (lib-version): Rename from V.
9173 (install-lib-nosubdir): Change V to lib-version.
9175 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9178 * powerpc32/power6/wcschr.c: New file.
9179 * powerpc32/power6/wcscpy.c: New file.
9180 * powerpc32/power6/wcsrchr.c: New file.
9181 * powerpc64/power6/wcschr.c: New file.
9182 * powerpc64/power6/wcscpy.c: New file.
9183 * powerpc64/power6/wcsrchr.c: New file.
9185 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9187 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9188 (two_way_short_needle): Use it.
9189 * string/strstr.c (AVAILABLE1_USES_J): Define.
9190 * string/strcasestr.c: Likewise.
9192 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9194 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9197 * NEWS: Add an entry.
9198 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9199 define their defaults.
9200 (two_way_short_needle): Detect end-of-string on-the-fly.
9201 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9202 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9203 * string/bug-strcasestr1.c: New test.
9204 * string/Makefile: Run it.
9206 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9209 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9210 the first character.
9212 2012-08-21 Roland McGrath <roland@hack.frob.com>
9214 * csu/elf-init.c (__libc_csu_irel): Function removed.
9215 * csu/libc-start.c (apply_irel): New function.
9216 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9218 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9220 * sysdeps/unix/sysv/linux/kernel-features.h
9221 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9222 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9223 <kernel-features.h>.
9224 [__NR_fadvise64_64]: Make code unconditional.
9225 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9226 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9227 !__NR_fadvise64_64)]: Likewise.
9228 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9229 !__NR_fadvise64_64))]: Likewise.
9230 [__NR_fadvise64]: Make code unconditional.
9231 [!__NR_fadvise64]: Remove conditional code.
9232 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9233 <kernel-features.h>.
9234 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9236 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9239 not include <kernel-features.h>.
9240 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9242 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9244 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9245 include <kernel-features.h>.
9246 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9248 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9251 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9253 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9254 slight instruction rearrangements per scrollpipe analysis.
9255 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9257 2012-08-20 Roland McGrath <roland@hack.frob.com>
9259 * manual/syslog.texi (syslog; vsyslog, closelog):
9260 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9261 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9263 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9264 DSOCAPS to match condition on defining it.
9266 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9268 * sysdeps/unix/sysv/linux/kernel-features.h
9269 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9271 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9272 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9274 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9275 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9277 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9278 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9280 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9281 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9283 * sysdeps/unix/sysv/linux/kernel-features.h
9284 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9285 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9287 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9288 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9289 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9290 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9291 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9292 Make code unconditional.
9293 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9294 (__mmap64) [!__NR_mmap2]: Likewise.
9295 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9296 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9297 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9298 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9299 [__NR_mmap2]: Make code unconditional.
9300 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9301 (__mmap64) [!__NR_mmap2]: Likewise.
9303 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9305 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9307 2012-08-18 Andreas Jaeger <aj@suse.de>
9309 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9311 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9313 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9314 * include/unistd.h (__have_sock_cloexec): Likewise.
9315 (__have_pipe2): Likewise.
9316 (__have_dup3): Likewise.
9318 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9321 * include/unistd.h (__have_pipe2): Change define into an extern int.
9322 (__have_dup3): Likewise.
9323 * socket/have_sock_cloexec.c: Include fcntl.h.
9324 (__have_pipe2): New variable.
9325 (__have_dup3): Likewise.
9327 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9329 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9331 2012-08-17 Marek Polacek <polacek@redhat.com>
9333 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9334 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9336 2012-08-17 Roland McGrath <roland@hack.frob.com>
9338 * configure.in: Add AC_SUBST for sysheaders.
9339 * configure: Regenerated.
9340 * config.make.in (sysheaders): New substituted variable.
9342 * sysdeps/unix/mkfifo.c: Moved ...
9343 * sysdeps/posix/mkfifo.c: ... here.
9344 * sysdeps/unix/mkfifoat.c: Moved ...
9345 * sysdeps/posix/mkfifoat.c: ... here.
9347 * sysdeps/unix/utime.c: Moved ...
9348 * sysdeps/posix/utime.c: ... here.
9350 * sysdeps/unix/time.c: Moved ...
9351 * sysdeps/posix/time.c: ... here.
9352 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9353 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9355 * sysdeps/unix/nice.c: Moved ...
9356 * sysdeps/posix/nice.c: ... here.
9358 * sysdeps/unix/alarm.c: Moved ...
9359 * sysdeps/posix/alarm.c: ... here.
9361 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9363 2012-08-17 Jeff Law <law@redhat.com>
9365 * intl/Makefile (codeset_mo): New variable.
9366 ($(codeset_mo)): New target.
9367 (tst-codeset.out): Depend on that. Remove explicit rule.
9368 (tst-gettext3.out, tst-gettext5.out): Likewise.
9369 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9370 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9371 * intl/tst-codeset.sh: Remove.
9372 * intl/tst-gettext3.sh: Likewise.
9373 * intl/tst-gettext5.sh: Likewise.
9375 2012-08-17 Roland McGrath <roland@hack.frob.com>
9377 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9378 * sysdeps/unix/syscalls.list: ... here.
9380 * sysdeps/posix/getaddrinfo.c
9381 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9382 (gaiconf_init, gaiconf_reload): Use them.
9384 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9385 Define using time_t rather than struct timespec.
9387 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9388 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9390 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9392 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9393 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9396 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9397 __libc_cleanup_push argument.
9399 * bits/param.h: New file.
9400 * misc/sys/param.h: New file.
9401 * include/sys/param.h: New file.
9402 * misc/Makefile (headers): Add bits/param.h.
9403 * sysdeps/generic/sys/param.h: File removed.
9404 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9405 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9406 * sysdeps/mach/hurd/bits/param.h: New file.
9407 * sysdeps/mach/hurd/sys/param.h: File removed.
9409 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9412 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9414 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9415 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9418 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9419 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9420 rather than -D_IO_MTSAFE_IO conditionally.
9421 * stdio-common/Makefile (CPPFLAGS): Likewise.
9422 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9423 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9424 Use $(libio-mtsafe).
9425 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9427 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9428 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9429 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9430 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9431 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9432 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9433 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9434 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9435 (CFLAGS-fread_u_chk.c): Likewise.
9436 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9437 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9438 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9439 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9440 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9441 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9442 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9443 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9444 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9446 * libio/Makefile: Test [$(libc-reentrant) = yes]
9447 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9450 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9451 * sysdeps/pthread/configure: File removed.
9452 * sysdeps/pthread/Makeconfig: New file.
9453 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9454 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9456 2012-08-16 Gary Benson <gbenson@redhat.com>
9458 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9459 unmapping the first object in a namespace.
9461 2012-08-16 Roland McGrath <roland@hack.frob.com>
9463 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9464 (__internal_setnetgrent): ... this. Add internal_function to
9465 definition. Add libc_hidden_def.
9466 (setnetgrent): Update caller.
9467 (internal_endnetgrent): Renamed to ...
9468 (__internal_endnetgrent): ... this. Add internal_function to
9469 definition. Add libc_hidden_def.
9470 (endnetgrent): Update caller.
9471 (internal_getnetgrent_r): Renamed to ...
9472 (__internal_getnetgrent_r): ... this. Add internal_function to
9473 definition. Add libc_hidden_def.
9474 (__getnetgrent_r): Update caller.
9475 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9477 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9479 * stdlib/longlong.h: Update from GCC.
9481 2012-08-16 Roland McGrath <roland@hack.frob.com>
9483 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9484 on _QL, which is set by umul_ppmm but never used.
9485 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9486 variables, which are set by GMP macros but never used.
9487 * stdio-common/_itowa.c (_itowa): Likewise.
9488 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9489 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9491 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9493 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9494 struct La_sh_regs is not constant.
9495 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9496 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9497 and struct La_sparc64_regs are not constant.
9499 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9501 * sysdeps/unix/sysv/linux/kernel-features.h
9502 (__ASSUME_POSIX_TIMERS): Remove.
9503 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9504 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9505 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9506 Make code unconditional.
9507 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9508 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9509 Make code unconditional.
9510 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9511 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9512 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9513 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9514 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9515 Make code unconditional.
9516 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9517 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9518 (__libc_missing_posix_timers): Remove.
9520 2012-08-15 Roland McGrath <roland@hack.frob.com>
9522 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9523 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9525 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9527 * elf/dl-sym.c: Include <stdlib.h>.
9529 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9530 constants, which avoids warnings in 32-bit builds.
9532 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9533 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9535 * misc/lseek.c: File moved to ...
9536 * io/lseek.c: ... here.
9538 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9540 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9541 shifting LEN more than 31 bits at once.
9543 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9546 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9547 segmentation fault for a case of two empty input strings.
9548 * string/test-strncasecmp.c (check1): Renamed to...
9550 (bz14195): Add new testcase for two empty input strings and N > 0.
9551 (test_main): Call new testcase, adapt for renamed function.
9553 2012-08-15 Andreas Jaeger <aj@suse.de>
9556 * crypt/md5test2.c: New test, based on test supplied by Serge
9557 Belyshev <belyshev@depni.sinp.msu.ru>.
9558 * crypt/Makefile (xtests): Add md5test-giant..
9559 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9561 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9564 * crypt/md5.c (md5_process_block): Don't assume the buffer
9565 length is less than 2**32.
9566 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9567 length is less than 2**64.
9569 2012-08-15 Roland McGrath <roland@hack.frob.com>
9571 * string/str-two-way.h: Include <sys/param.h>.
9572 (MAX): Macro removed.
9574 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9575 Move #define and #undef of memmove to just before and after
9576 including <string.h>.
9578 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9579 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9580 and after including <string.h>. Move declarations of
9581 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9582 to before #include "string/memmove.c".
9584 * include/dirent.h: Declare __getdirentries.
9586 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9587 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9589 2012-08-14 Mike Frysinger <vapier@gentoo.org>
9591 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9592 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9593 * sysdeps/i386/configure: Regenerated.
9594 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9595 STABS_CURRENT_FILE, and STABS_FUN.
9596 (END): Remove call to STABS_FUN_END.
9597 (STABS_CURRENT_FILE1): Delete.
9598 (STABS_CURRENT_FILE): Likewise.
9599 (STABS_FUN): Likewise.
9600 (STABS_FUN_END): Likewise.
9601 (STABS_FUN2): Likewise.
9602 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9603 * sysdeps/x86_64/configure: Regenerated.
9605 2012-08-14 Roland McGrath <roland@hack.frob.com>
9607 * elf/dl-open.c: Include <atomic.h>.
9608 * elf/dl-lookup.c: Likewise.
9610 2012-08-14 Joseph Myers <joseph@codesourcery.com>
9612 * sysdeps/unix/sysv/linux/kernel-features.h
9613 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9614 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9616 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9618 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9619 condition on __ASSUME_CLONE_THREAD_FLAGS.
9621 2012-08-14 Andreas Jaeger <aj@suse.de>
9623 * sysdeps/i386/fpu/libm-test-ulps: Update.
9625 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9627 * include/atomic.h (atomic_exchange_and_add): Split into ...
9628 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9631 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9635 2012-08-13 Jeff Law <law@redhat.com>
9637 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9638 null byte in the output string.
9640 2012-08-10 Joseph Myers <joseph@codesourcery.com>
9642 * sysdeps/unix/sysv/linux/kernel-features.h
9643 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9644 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9645 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9646 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9647 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9648 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9649 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9651 2012-08-09 Jeff Law <law@redhat.com>
9654 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9655 When avoid_arena is set, don't retry in the that arena. Pick the
9656 next one, whatever it might be.
9657 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9658 (arena_lock): Pass in new parameter to arena_get2.
9659 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9661 (__libc_malloc): Unify retrying after main arena failure with
9662 __libc_memalign version.
9663 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9665 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9668 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9669 to __redirect_strstr.
9670 (__strstr_sse42): Use typeof __redirect_strstr.
9671 (__strstr_ia32): Likewise.
9672 (__libc_strstr): New prototype.
9673 (strstr): Renamed to ...
9674 (__libc_strstr): This.
9675 (strstr): New strong alias of __libc_strstr.
9676 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9677 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9680 (__libc_time): New prototype.
9681 (time_ifunc): Replace time with __libc_time.
9682 (time): New strong alias and hidden definition of __libc_time.
9683 (__GI_time): Remove strong alias.
9684 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9686 (memmove): Redefined to __redirect_memmove.
9687 (__memmove_sse2): Use typeof __redirect_memmove.
9688 (__memmove_ssse3): Likewise.
9689 (__memmove_ssse3_back): Likewise.
9690 (__libc_memmove): New prototype.
9691 (memmove): Renamed to ...
9692 (__libc_memmove): This.
9693 (memmove): New strong alias of __libc_memmove.
9695 2012-08-08 Mark Salter <msalter@redhat.com>
9698 (R_MN10300_TLS_GD): Define.
9699 (R_MN10300_TLS_LD): Likewise.
9700 (R_MN10300_TLS_LDO): Likewise.
9701 (R_MN10300_TLS_GOTIE): Likewise.
9702 (R_MN10300_TLS_IE): Likewise.
9703 (R_MN10300_TLS_LE): Likewise.
9704 (R_MN10300_TLS_DTPMOD): Likewise.
9705 (R_MN10300_TLS_DTPOFF): Likewise.
9706 (R_MN10300_TLS_TPOFF): Likewise.
9707 (R_MN10300_SYM_DIFF): Likewise.
9708 (R_MN10300_ALIGN): Likewise.
9709 (R_MN10300_NUM): Update.
9711 2012-08-08 Joseph Myers <joseph@codesourcery.com>
9713 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9716 2012-08-08 Roland McGrath <roland@hack.frob.com>
9718 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9720 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9721 sysdeps/unix -> sysdeps/posix move.
9722 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9724 2012-08-07 Allan McRae <allan@archlinux.org>
9727 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9728 (SUNOS_CPP): Likewise.
9729 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9731 (open_input): Call CPP using execvp.
9733 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9735 * sysdeps/unix/sysv/linux/kernel-features.h
9736 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9737 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9738 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9739 (__ASSUME_WAITID_SYSCALL): Likewise.
9740 * sysdeps/unix/sysv/linux/dl-execstack.c
9741 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9743 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9745 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9746 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9747 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9749 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9751 [__ASSUME_WAITID_SYSCALL]: Likewise.
9752 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9754 2012-08-07 Roland McGrath <roland@hack.frob.com>
9756 * sysdeps/unix/closedir.c: Renamed to ...
9757 * sysdeps/posix/closedir.c: ... here.
9758 * sysdeps/unix/dirfd.c: Renamed to ...
9759 * sysdeps/posix/dirfd.c: ... here.
9760 * sysdeps/unix/dirstream.h: Renamed to ...
9761 * sysdeps/posix/dirstream.h: ... here.
9762 * sysdeps/unix/fdopendir.c: Renamed to ...
9763 * sysdeps/posix/fdopendir.c: ... here.
9764 * sysdeps/unix/opendir.c: Renamed to ...
9765 * sysdeps/posix/opendir.c: ... here.
9766 * sysdeps/unix/readdir.c: Renamed to ...
9767 * sysdeps/posix/readdir.c: ... here.
9768 * sysdeps/unix/readdir_r.c: Renamed to ...
9769 * sysdeps/posix/readdir_r.c: ... here.
9770 * sysdeps/unix/rewinddir.c: Renamed to ...
9771 * sysdeps/posix/rewinddir.c: ... here.
9772 * sysdeps/unix/seekdir.c: Renamed to ...
9773 * sysdeps/posix/seekdir.c: ... here.
9774 * sysdeps/unix/telldir.c: Renamed to ...
9775 * sysdeps/posix/telldir.c: ... here.
9776 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9777 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9778 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9779 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9781 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9782 * bits/fcntl.h: ... here.
9784 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9786 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9787 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9788 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9789 (struct flock): Move l_start, l_len to the beginning.
9790 Use __pid_t for l_pid.
9791 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9792 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9793 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9794 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9795 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9796 [__USE_LARGEFILE64] (struct flock64): New type.
9797 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9799 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9800 * bits/dirent.h: ... here.
9802 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9803 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9805 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9807 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9808 Change from 2.6.0 to 2.6.16.
9809 * sysdeps/unix/sysv/linux/configure: Regenerated.
9810 * sysdeps/unix/sysv/linux/kernel-features.h
9811 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9812 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9814 (__ASSUME_UTIMES): Likewise.
9815 (__ASSUME_CLONE_STOPPED): Remove.
9816 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9817 architectures, not kernel version.
9818 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9819 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9820 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9821 (__ASSUME_WAITID_SYSCALL): Likewise.
9822 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9823 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9824 * README: State 2.6.16 as minimum Linux kernel version. Do not
9825 refer to older versions.
9827 2012-08-06 Roland McGrath <roland@hack.frob.com>
9829 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9830 Define alphasort64 as an alias.
9831 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9832 Define versionsort64 as an alias.
9833 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9834 Define scandir64 as an alias.
9835 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9836 Define scandirat64 as an alias.
9837 * dirent/alphasort64.c (alphasort64):
9838 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9839 * dirent/versionsort64.c: Likewise.
9840 * dirent/scandir64.c: Likewise.
9841 * dirent/scandirat64.c: Likewise.
9842 * sysdeps/wordsize-64/alphasort.c: File removed.
9843 * sysdeps/wordsize-64/alphasort64.c: File removed.
9844 * sysdeps/wordsize-64/scandir.c: File removed.
9845 * sysdeps/wordsize-64/scandir64.c: File removed.
9846 * sysdeps/wordsize-64/scandirat.c: File removed.
9847 * sysdeps/wordsize-64/scandirat64.c: File removed.
9848 * sysdeps/wordsize-64/versionsort.c: File removed.
9849 * sysdeps/wordsize-64/versionsort64.c: File removed.
9850 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9851 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9852 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9853 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9854 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9855 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9856 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9857 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9859 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9860 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9861 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9862 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9863 [defined __arch64__ || defined __sparcv9]
9864 (__INO_T_MATCHES_INO64_T): New macro.
9865 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9866 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9867 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9868 * sysdeps/unix/sysv/linux/bits/dirent.h
9869 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9870 (_DIRENT_MATCHES_DIRENT64): New macro.
9872 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9873 Define lockf64 as an alias.
9874 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9875 Define fseeko64 as an alias.
9876 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9877 Define ftello64 as an alias.
9878 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9879 Define _IO_fgetpos64 and fgetpos64 as aliases.
9880 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9881 Define _IO_fsetpos64 and fsetpos64 as aliases.
9882 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9883 Conditionalize body on this.
9884 * libio/fseeko64.c: Likewise.
9885 * libio/ftello64.c: Likewise.
9886 * libio/iofgetpos64.c: Likewise.
9887 * libio/iofsetpos64.c: Likewise.
9888 * sysdeps/wordsize-64/lockf.c: File removed.
9889 * sysdeps/wordsize-64/lockf64.c: File removed.
9890 * sysdeps/wordsize-64/fseeko.c: File removed.
9891 * sysdeps/wordsize-64/fseeko64.c: File removed.
9892 * sysdeps/wordsize-64/ftello.c: File removed.
9893 * sysdeps/wordsize-64/ftello64.c: File removed.
9894 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9895 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9896 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9897 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9898 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9899 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9900 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9901 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9902 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9903 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9904 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9905 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9906 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9907 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9909 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9910 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9911 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9912 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9913 [defined __arch64__ || defined __sparcv9]
9914 (__OFF_T_MATCHES_OFF64_T): New macro.
9915 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9916 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9918 (__OFF_T_MATCHES_OFF64_T): New macro.
9920 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9922 * stdlib/secure-getenv.c (__secure_getenv): Replace
9923 GLIBC_2_16 with GLIBC_2_17.
9925 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9927 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9928 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9930 2012-08-03 David S. Miller <davem@davemloft.net>
9932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9934 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9936 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9938 (__ASSUME_CORRECT_SI_PID): Likewise.
9939 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9940 (__ASSUME_TMPFS_NAME): Likewise.
9941 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9942 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9943 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9944 (HAVE_AUX_SECURE): Make definition unconditional.
9945 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9946 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9948 2012-08-03 Roland McGrath <roland@hack.frob.com>
9950 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9951 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9952 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9953 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9954 __eloop_threshold instead of SYMLOOP_MAX.
9956 * sysdeps/generic/eloop-threshold.h: New file.
9957 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9959 * elf/chroot_canon.c (chroot_canon): Likewise.
9961 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9964 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9965 Change to 2.6.0 everywhere.
9966 * sysdeps/unix/sysv/linux/configure: Regenerated.
9967 * sysdeps/unix/sysv/linux/kernel-features.h
9968 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9969 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9971 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9972 (__ASSUME_FUTEX_REQUEUE): Remove.
9973 (__ASSUME_STATFS64): Define unconditionally.
9974 (__ASSUME_AT_SECURE): Likewise.
9975 (__ASSUME_CORRECT_SI_PID): Likewise.
9976 (__ASSUME_TGKILL): Define without depending on kernel version for
9978 (__ASSUME_UTIMES): Likewise.
9979 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9981 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9982 (__ASSUME_TMPFS_NAME): Likewise.
9983 * README: Update reference to Linux kernel versions.
9985 2012-08-02 Marek Polacek <polacek@redhat.com>
9988 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9989 libc_cv_asm_type_prefix with %.
9990 * configure: Regenerated.
9991 * include/libc-symbols.h: Remove comment about
9992 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9993 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9994 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9995 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9996 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9997 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9998 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9999 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10000 * elf/tst-unique2mod1.c: Likewise.
10001 * elf/tst-unique1mod2.c: Likewise.
10002 * elf/tst-unique1mod1.c: Likewise.
10003 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10004 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10005 Replace ASM_TYPE_DIRECTIVE with .type.
10006 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10007 * sysdeps/i386/sysdep.h: Likewise.
10008 * sysdeps/x86_64/sysdep.h: Likewise.
10009 * sysdeps/sh/sysdep.h: Likewise.
10010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10011 Do not define ASM_TYPE_DIRECTIVE.
10012 * sysdeps/powerpc/sysdep.h: Likewise.
10013 * sysdeps/powerpc/powerpc32/sysdep.h:
10014 Replace ASM_TYPE_DIRECTIVE with .type.
10015 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10016 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10017 * sysdeps/i386/fpu/e_powf.S: Likewise.
10018 * sysdeps/i386/fpu/e_expl.S: Likewise.
10019 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10020 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10021 * sysdeps/i386/fpu/e_pow.S: Likewise.
10022 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10023 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10024 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10025 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10026 * sysdeps/i386/fpu/e_log2.S: Likewise.
10027 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10028 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10029 * sysdeps/i386/fpu/e_powl.S: Likewise.
10030 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10031 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10032 * sysdeps/i386/fpu/e_logl.S: Likewise.
10033 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10034 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10035 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10036 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10037 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10038 * sysdeps/i386/fpu/e_log.S: Likewise.
10039 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10040 * sysdeps/i386/fpu/e_logf.S: Likewise.
10041 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10042 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10043 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10044 * sysdeps/i386/fpu/e_log10.S: Likewise.
10045 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10046 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10047 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10048 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10049 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10050 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10051 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10052 * sysdeps/i386/i686/strtok.S: Likewise.
10053 * sysdeps/i386/i386-mcount.S: Likewise.
10054 * sysdeps/i386/strtok.S: Likewise.
10055 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10056 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10057 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10058 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10059 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10060 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10061 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10062 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10063 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10064 * sysdeps/x86_64/_mcount.S: Likewise.
10065 * sysdeps/x86_64/strtok.S: Likewise.
10066 * sysdeps/sh/_mcount.S: Likewise.
10068 2012-08-01 Roland McGrath <roland@hack.frob.com>
10070 * libio/iofopen.c: Include <fcntl.h>.
10071 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10072 (_IO_fopen64, fopen64): Define as aliases.
10073 * libio/iofopen64.c: Include <fcntl.h>.
10074 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10075 Conditionalize body on this.
10076 * sysdeps/wordsize-64/iofopen.c: File removed.
10077 * sysdeps/wordsize-64/iofopen64.c: File removed.
10079 2012-08-01 Marek Polacek <polacek@redhat.com>
10081 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10082 Use dlfcn directly instead of a variable.
10083 (binfmt-subdir): Do not define.
10086 2012-08-01 Joseph Myers <joseph@codesourcery.com>
10088 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10089 Remove all definitions.
10090 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10091 <kernel-features.h>.
10092 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10093 (miss_F_GETOWN_EX): Remove all definitions.
10094 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10096 [!__ASSUME_FCNTL64]: Remove conditional code.
10097 [__ASSUME_FCNTL64]: Make code unconditional.
10098 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10099 <kernel-features.h>.
10100 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10101 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10102 (lockf64) [__NR_fcntl64]: Make code unconditional.
10103 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10105 * sysdeps/unix/sysv/linux/kernel-features.h
10106 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10107 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10108 Make code unconditional.
10109 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10110 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10112 [__NR_vfork]: Make code unconditional.
10113 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10114 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10116 [__NR_vfork]: Make code unconditional.
10117 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10118 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10120 2012-08-01 Roland McGrath <roland@hack.frob.com>
10122 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10123 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10125 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10126 Define mkstemp64 as an alias.
10127 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10128 Define mkstemps64 as an alias.
10129 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10130 Define mkostemp64 as an alias.
10131 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10132 Define mkostemps64 as an alias.
10133 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10134 Conditionalize body on this.
10135 * misc/mkostemp64.c: Likewise.
10136 * misc/mkostemps64.c: Likewise.
10137 * misc/mkstemps64.c: Likewise.
10138 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10139 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10140 * sysdeps/wordsize-64/mkostemp.c: File removed.
10141 * sysdeps/wordsize-64/mkstemp.c: File removed.
10142 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10143 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10144 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10145 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10148 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10149 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10150 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10151 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10153 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10154 compat_symbol macros from <shlib-compat.h> rather than the underlying
10155 default_symbol_version and symbol_version macros, so that DEFAULT
10156 lines in shlib-versions are respected.
10157 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10159 2012-08-01 Florian Weimer <fweimer@redhat.com>
10161 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10162 Declare with warn_unused_result.
10163 (setgid, setregid, setegid, setresgid): Likewise.
10164 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10166 * WUR-REPORT: Remove set*id functions.
10168 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10170 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10172 2012-07-31 Roland McGrath <roland@hack.frob.com>
10174 * include/sys/socket.h (__libc_accept, __libc_accept4):
10175 Add attribute_hidden.
10176 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10178 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10180 * inet/getnetgrent_r.c (setup): Likewise.
10182 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10184 2012-07-31 David S. Miller <davem@davemloft.net>
10186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10188 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10191 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10192 value between 1.0 and 2.0 and smaller part has absolute value less
10194 * math/s_clog10.c (__clog10): Likewise.
10195 * math/s_clog10f.c (__clog10f): Likewise.
10196 * math/s_clog10l.c (__clog10l): Likewise.
10197 * math/s_clogf.c (__clogf): Likewise.
10198 * math/s_clogl.c (__clogl): Likewise.
10199 * math/libm-test.inc (clog_test): Add more tests.
10200 (clog10_test): Likewise.
10201 * sysdeps/i386/fpu/libm-test-ulps: Update.
10202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10204 2012-07-31 Florian Weimer <fweimer@redhat.com>
10206 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10207 Exit with zero in case no suitable GID is found, and write a
10208 message to standard error.
10210 2012-07-30 Roland McGrath <roland@hack.frob.com>
10212 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10214 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10215 (MAXPATHLEN): Removed.
10216 (NOGROUP, NODEV): New macros.
10217 (setbit, clrbit, isset, isclr): New macros.
10218 (howmany, roundup, powerof2): New macros.
10219 (DEV_BSIZE): New macro.
10221 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10222 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10224 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10225 definition on [!__NO_LONG_DOUBLE_MATH].
10227 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10228 PTR_MANGLE and PTR_DEMANGLE.
10230 * socket/accept4.c (accept4): Rename to __libc_accept4.
10231 Define accept4 as a weak alias.
10233 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10234 on [_DIRENT_HAVE_D_TYPE].
10235 * io/ftw.c (ftw_dir): Likewise.
10237 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10239 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10241 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10242 Use the BSD numbers rather than the arbitrary ones we had.
10243 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10244 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10245 (SIGXCPU, SIGXFSZ): New macros.
10248 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10249 initializer on [_LIBC_REENTRANT].
10251 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10252 definitions inside [_POSIX_MAPPED_FILES].
10254 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10256 * dirent/opendir.c: Include <fcntl.h>.
10258 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10259 (__libc_getspecific): Likewise.
10260 (__libc_key_create): Likewise.
10262 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10263 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10264 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10265 (tmpfile64): Define as alias.
10266 * sysdeps/wordsize-64/tmpfile.c: File removed.
10267 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10268 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10269 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10271 * stdio-common/vfscanf.c: Include <stdbool.h>.
10272 * nss/makedb.c: Likewise.
10273 * stdio-common/_i18n_number.h: Likewise.
10274 * argp/argp-help.c: Likewise.
10275 * posix/wordexp.c: Likewise.
10276 * sysdeps/posix/spawni.c: Likewise.
10277 * nss/nss_files/files-initgroups.c: Likewise.
10278 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10279 * nss/nss_files/files-initgroups.c: Likewise.
10280 * nss/nss_db/db-netgrp.c: Likewise.
10281 * nss/nss_db/db-initgroups.c: Likewise.
10282 * io/fchmodat.c: Include <sys/stat.h>.
10284 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10285 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10287 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10290 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10291 Add multiple inclusion protection.
10293 2012-07-27 David S. Miller <davem@davemloft.net>
10295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10297 2012-07-27 Gary Benson <gbenson@redhat.com>
10300 * elf/rtld.c: Include <stap-probe.h>.
10301 (dl_main): Added static probes "init_start" and "init_complete".
10302 * elf/dl-load.c: Include <stap-probe.h>.
10303 (lose): Take new parameter "nsid".
10304 Added static probe "map_failed".
10305 (_dl_map_object_from_fd): Pass namespace id to lose.
10306 Added static probe "map_start".
10307 (open_verify): Pass namespace id to lose.
10308 * elf/dl-open.c: Include <stap-probe.h>.
10309 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10310 and "reloc_complete".
10311 * elf/dl-close.c: Include <stap-probe.h>.
10312 (_dl_close_worker): Added static probes "unmap_start" and
10314 * elf/rtld-debugger-interface.txt: New file documenting the above.
10316 2012-07-26 Roland McGrath <roland@hack.frob.com>
10318 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10319 rather than a string variable.
10320 * sunrpc/rpc_main.c (h_output): Likewise.
10321 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10323 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10325 * inet/check_native.c: New file.
10327 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10330 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10331 if larger part has absolute value 1.0.
10332 * math/s_clog10.c (__clog10): Likewise.
10333 * math/s_clog10f.c (__clog10f): Likewise.
10334 * math/s_clog10l.c (__clog10l): Likewise.
10335 * math/s_clogf.c (__clogf): Likewise.
10336 * math/s_clogl.c (__clogl): Likewise.
10337 * math/libm-test.inc (clog_test): Add more tests.
10338 (clog10_test): Likewise.
10339 * sysdeps/i386/fpu/libm-test-ulps: Update.
10340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10342 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10343 (pltexit): Likewise.
10344 (La_regs): Likewise.
10345 (La_retval): Likewise.
10346 (int_retval): Likewise.
10347 Update #error for removed macros to refer only to definitions in
10349 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10351 (pltexit): Likewise.
10352 (La_regs): Likewise.
10353 (La_retval): Likewise.
10354 (int_retval): Likewise.
10355 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10357 (pltexit): Likewise.
10358 (La_regs): Likewise.
10359 (La_retval): Likewise.
10360 (int_retval): Likewise.
10361 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10363 (pltexit): Likewise.
10364 (La_regs): Likewise.
10365 (La_retval): Likewise.
10366 (int_retval): Likewise.
10367 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10369 (pltexit): Likewise.
10370 (La_regs): Likewise.
10371 (La_retval): Likewise.
10372 (int_retval): Likewise.
10373 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10375 (pltexit): Likewise.
10376 (La_regs): Likewise.
10377 (La_retval): Likewise.
10378 (int_retval): Likewise.
10379 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10381 (pltexit): Likewise.
10382 (La_regs): Likewise.
10383 (La_retval): Likewise.
10384 (int_retval): Likewise.
10385 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10386 macro definitions in tst-audit.h.
10387 * sysdeps/i386/tst-audit.h: New file.
10388 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10389 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10390 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10391 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10392 * sysdeps/sh/tst-audit.h: Likewise.
10393 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10394 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10395 * sysdeps/x86_64/tst-audit.h: Likewise.
10397 2012-07-26 Andreas Jaeger <aj@suse.de>
10399 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10402 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10403 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10404 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10406 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10407 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10408 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10410 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10413 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10415 (si_call_addr, si_syscall, si_arch): Define new macro.
10416 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10418 (si_call_addr, si_syscall, si_arch): Define new marcro.
10419 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10421 (si_call_addr, si_syscall, si_arch): Define new macro.
10422 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10424 (si_call_addr, si_syscall, si_arch): Define new macro.
10426 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10429 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10430 Change to 2.4.21 where previously 2.4.1.
10431 * sysdeps/unix/sysv/linux/configure: Regenerated.
10432 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10433 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10434 Linux kernel version.
10435 (__ASSUME_STD_AUXV): Remove.
10436 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10438 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10439 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10440 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10441 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10442 (__ASSUME_NETLINK_SUPPORT): Likewise.
10443 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10444 (__no_netlink_support): Remove conditional definition.
10445 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10447 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10448 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10449 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10450 (if_nameindex_ioctl): Remove.
10451 (if_nameindex_netlink): Do not handle __no_netlink_support.
10452 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10454 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10455 Remove conditional code.
10456 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10458 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10460 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10461 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10462 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10464 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10465 [!__ASSUME_STD_AUXV]: Remove conditional code.
10466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10467 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10468 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10470 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10471 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10473 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10475 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10476 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10478 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10480 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10483 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10486 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10487 code unconditional.
10488 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10490 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10492 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10495 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10497 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10500 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10501 code unconditional.
10502 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10504 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10506 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10509 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10510 code unconditional.
10511 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10513 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10515 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10518 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10520 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10521 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10522 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10523 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10524 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10525 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10526 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10527 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10528 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10529 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10530 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10531 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10532 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10533 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10534 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10535 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10536 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10537 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10538 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10540 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10541 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10542 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10544 2012-07-25 Florian Weimer <fweimer@redhat.com>
10546 * Versions.def: Add GLIBC_2.17.
10547 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10548 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10549 Introduce __libc_secure_getenv.
10550 * stdlib/Versions (2.17): Add secure_getenv
10551 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10552 * stdlib/secure-getenv.c: Rename __secure_getenv to
10553 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10554 symbol __secure_getenv for GLIBC_2.0.
10555 * stdlib/tst-secure-getenv.c: New.
10556 * stdlib/Makefile (tests): Add testcase.
10557 * manual/startup.texi (Environment Access): Document
10559 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10560 __libc_secure_getenv.
10561 * inet/ruserpass.c (ruserpass): Likewise.
10562 * malloc/mtrace.c (mtrace): Likewise.
10563 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10564 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10565 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10566 * sysdeps/posix/tempname.c: Likewise. Evaluate
10567 HAVE_SECURE_GETENV.
10568 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10569 __secure_getenv to __libc_secure_getenv.
10570 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10577 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10583 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10585 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10586 (struct La_i86_retval): Likewise.
10587 (struct La_x86_64_regs): Likewise.
10588 (struct La_x86_64_retval): Likewise.
10589 (struct La_x32_regs): Likewise.
10590 (struct La_x32_retval): Likewise.
10591 (struct La_ppc32_regs): Likewise.
10592 (struct La_ppc32_retval): Likewise.
10593 (struct La_ppc64_regs): Likewise.
10594 (struct La_ppc64_retval): Likewise.
10595 (struct La_sh_regs): Likewise.
10596 (struct La_sh_retval): Likewise.
10597 (struct La_s390_32_regs): Likewise.
10598 (struct La_s390_32_retval): Likewise.
10599 (struct La_s390_64_regs): Likewise.
10600 (struct La_s390_64_retval): Likewise.
10601 (struct La_sparc32_regs): Likewise.
10602 (struct La_sparc32_retval): Likewise.
10603 (struct La_sparc64_regs): Likewise.
10604 (struct La_sparc64_retval): Likewise.
10605 (struct audit_ifaces): Remove architecture-specific pltenter and
10607 * sysdeps/i386/ldsodefs.h: New file.
10608 * sysdeps/powerpc/ldsodefs.h: Likewise.
10609 * sysdeps/s390/ldsodefs.h: Likewise.
10610 * sysdeps/sh/ldsodefs.h: Likewise.
10611 * sysdeps/sparc/ldsodefs.h: Likewise.
10612 * sysdeps/x86_64/ldsodefs.h: Likewise.
10614 2012-07-25 Marek Polacek <polacek@redhat.com>
10617 * math/libm-test.inc (yn_test): Add another test.
10618 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10619 to ERANGE when the result is +-Inf.
10620 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10621 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10622 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10623 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10625 2012-07-24 Joseph Myers <joseph@codesourcery.com>
10627 * conform/data/time.h-data (NULL): Use macro-constant. Require
10629 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10631 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10633 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10635 * configure.in <sysdeps resolving>: Correct printing
10637 * configure: Regenerate.
10639 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10641 * math/w_ilogb.c: Include <limits.h>.
10642 * math/w_ilogbl.c: Likewise.
10644 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10646 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10647 va_copy. Document allowing for unavailable va_copy only as
10648 pre-C99 compatibility.
10649 * manual/string.texi (Copying and Concatenation): Use va_copy
10650 instead of __va_copy in concat example.
10652 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10654 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10655 (__sendto): Use create_address_port. Initialize APORT and deallocate
10658 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10659 with O_NOLINK passed to __file_name_lookup.
10661 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10662 with O_NOLINK passed to __file_name_lookup.
10664 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10665 negative N or less than NGIDS.
10667 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10668 type to string_t. Set ERANGE as errno and return it if NAME is not big
10669 enough. Use memcpy instead of strncpy.
10671 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10673 * elf/Makefile (check-data): Remove.
10674 (localplt.data): New vpath directive.
10675 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10676 instead of $(check-data).
10677 * scripts/data/localplt-generic.data: Move to ...
10678 * sysdeps/generic/localplt.data: ... here.
10679 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10680 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10681 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10684 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10687 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10690 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10693 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10696 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10700 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10702 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10703 PPC32 and PPC64 files.
10704 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10705 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10707 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10709 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10710 __makecontext_ret to ...
10711 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10712 ... here and call exit if uc_link is NULL. New file.
10713 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10714 __makecontext_ret.S.
10715 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10716 __makecontext_ret to ...
10717 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10718 ... here and call exit if uc_link is NULL. New file.
10719 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10720 __makecontext_ret.S.
10722 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10724 * elf/elf.h (R_390_IRELATIVE): New definition.
10725 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10726 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10727 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10728 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10729 (elf_machine_lazy_rel): Likewise.
10730 * sysdeps/s390/dl-irel.h: New file.
10731 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10732 * sysdeps/s390/s390-64/memset.S: New asm code.
10733 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10734 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10735 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10736 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10737 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10738 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10739 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10740 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10741 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10742 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10743 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10744 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10745 * sysdeps/s390/s390-32/memset.S: New asm code.
10746 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10748 2012-07-17 Marek Polacek <polacek@redhat.com>
10751 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10752 * sysdeps/s390/s390-64/configure.in: Likewise.
10753 * sysdeps/sparc/configure.in: Likewise.
10754 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10755 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10756 * sysdeps/i386/configure.in: Likewise.
10757 * sysdeps/x86_64/configure.in: Likewise.
10758 * sysdeps/sh/configure.in: Likewise.
10759 * sysdeps/s390/s390-32/configure: Regenerated.
10760 * sysdeps/s390/s390-64/configure: Likewise.
10761 * sysdeps/x86_64/configure: Likewise.
10762 * sysdeps/sh/configure: Likewise.
10763 * sysdeps/powerpc/powerpc64/configure: Likewise.
10764 * sysdeps/powerpc/powerpc32/configure: Likewise.
10765 * sysdeps/sparc/configure: Likwise.
10766 * sysdeps/i386/configure: Likewise.
10768 * elf/dl-open.c: Comment fixes.
10770 2012-07-17 Joseph Myers <joseph@codesourcery.com>
10772 * Makefile [CXX] (check-data): Remove.
10773 [CXX] (c++-types.data): New vpath directive.
10774 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10775 vpath. Do not allow for C++ type data being missing.
10776 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10777 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10778 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10779 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10780 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10781 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10782 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10785 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10788 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10791 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10794 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10797 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10800 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10803 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10806 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10807 definitions to architecture-specific files.
10808 (TLS_IE): Likewise.
10809 (TLS_LD): Likewise.
10810 (TLS_GD): Likewise.
10811 * sysdeps/i386/tls-macros.h: New file.
10812 * sysdeps/powerpc/tls-macros.h: Likewise.
10813 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10814 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10815 * sysdeps/sh/tls-macros.h: Likewise.
10816 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10817 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10818 * sysdeps/x86_64/tls-macros.h: Likewise.
10820 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10822 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10823 zero value for regular exit case.
10825 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10826 (__start_context): Preserve zero value for regular exit case.
10828 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10829 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10831 * manual/setjmp.texi (setcontext): Clarify normal process
10832 termination when uc_link is the null pointer.
10833 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10836 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10838 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10839 preprocessor. Test for each exception mask separately.
10841 2012-07-16 Andreas Jaeger <aj@suse.de>
10843 * po/ru.po: Update from translation team.
10845 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10847 * conform/data/string.h-data (NULL): Use macro-constant. Require
10849 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10850 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10851 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10852 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10853 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10855 2012-07-13 Andreas Jaeger <aj@suse.de>
10857 * po/fr.po: Update from translation team.
10859 2012-07-12 Marek Polacek <polacek@redhat.com>
10862 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10863 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10866 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10869 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10870 Change to 2.4.1 where previously 2.4.0.
10871 * sysdeps/unix/sysv/linux/configure: Regenerated.
10872 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10873 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10875 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10876 (__ASSUME_AT_CLKTCK): Remove.
10877 (__ASSUME_AT_PAGESIZE): Likewise.
10878 (__ASSUME_AT_XID): Likewise.
10879 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10880 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10881 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10883 (HAVE_AUX_PAGESIZE): Likewise.
10884 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10885 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10886 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10888 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10892 the temporary buffer used to invoke __gethostbyname2_r,
10893 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10894 host_data / struct gaih_addrtuple.
10895 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10896 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10897 header file nss/nsswitch.h.
10898 * nss/nsswitch.h (global scope): Add definition of implementation
10899 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10900 resolv/nss_dns/dns-host.c).
10902 2012-07-11 Andreas Jaeger <aj@suse.de>
10904 * po/fr.po: Update from translation team.
10906 * po/sv.po: Update from translation team
10907 * po/fr.po: Another update from translation team.
10909 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10911 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10912 for subnormals or multiply small sinh result by itself.
10913 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10916 2012-07-11 David S. Miller <davem@davemloft.net>
10918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10920 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10923 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10924 (INTERNAL_MARK): Shift it here.
10926 2012-07-10 Marek Polacek <polacek@redhat.com>
10929 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10930 libc_cv_asm_global_directive with .globl.
10931 * configure: Regenerated.
10932 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10934 * sysdeps/i386/configure: Regenerated.
10935 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10937 * sysdeps/x86_64/configure: Regenerated.
10938 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10939 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10940 * elf/tst-unique2mod2.c: Likewise.
10941 * elf/tst-unique2mod1.c: Likewise.
10942 * elf/tst-unique1mod2.c: Likewise.
10943 * elf/tst-unique1mod1.c: Likewise.
10944 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10945 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10946 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10947 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10948 * sysdeps/mach/sysdep.h: Likewise.
10949 * sysdeps/i386/sysdep.h: Likewise.
10950 * sysdeps/i386/i386-mcount.S: Likewise.
10951 * sysdeps/x86_64/_mcount.S: Likewise.
10952 * sysdeps/x86_64/sysdep.h: Likewise.
10953 * sysdeps/sh/_mcount.S: Likewise.
10954 * sysdeps/sh/sysdep.h: Likewise.
10955 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10956 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10957 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10958 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10959 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10960 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10961 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10962 * locale/localeinfo.h: Likewise.
10963 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10964 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10966 2012-07-09 Roland McGrath <roland@hack.frob.com>
10969 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10971 * manual/message.texi (The Uniforum approach): Likewise.
10972 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10973 (glibc iconv Implementation): Likewise.
10975 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10978 * math/s_clog.c (__clog): Avoid scaling a value down where that
10979 could result in underflow.
10980 * math/s_clog10.c (__clog10): Likewise.
10981 * math/s_clog10f.c (__clog10f): Likewise.
10982 * math/s_clog10l.c (__clog10l): Likewise.
10983 * math/s_clogf.c (__clogf): Likewise.
10984 * math/s_clogl.c (__clogl): Likewise.
10985 * math/libm-test.inc (clog_test): Add more tests.
10986 (clog10_test): Likewise.
10987 * sysdeps/i386/fpu/libm-test-ulps: Update.
10988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10990 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10993 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10994 by 7 not 8 to examine high bit of fractional part.
10997 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10998 for call to __mcount_internal.
10999 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11000 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11001 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11003 2012-07-06 Joseph Myers <joseph@codesourcery.com>
11006 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11007 approximation for values within 0x1p-13f of an odd multiple of
11009 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11010 exception. Add more tests.
11011 * sysdeps/i386/fpu/libm-test-ulps: Update.
11014 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11015 inputs and return -1 for them. Do not check for +Inf in case not
11016 reachable for +Inf.
11017 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11018 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11019 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11020 and return -1 for them. Do not check for +Inf in case not
11021 reachable for +Inf.
11022 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11024 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11025 and return -1 for them. Do not check for +Inf in case not
11026 reachable for +Inf.
11027 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11028 spurious underflow.
11029 * sysdeps/i386/fpu/libm-test-ulps: Update.
11030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11032 2012-07-06 Mike Frysinger <vapier@gentoo.org>
11034 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11036 2012-07-05 Joseph Myers <joseph@codesourcery.com>
11040 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11041 could result in spurious underflow. Scale down values above
11042 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11043 * math/s_csqrtf.c (__csqrtf): Likewise.
11044 * math/s_csqrtl.c (__csqrtl): Likewise.
11045 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11046 spurious underflow.
11047 * sysdeps/i386/fpu/libm-test-ulps: Update.
11048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11050 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11052 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11054 * catgets/xopen-msg.awk: New file.
11055 * catgets/xopen-msg.sed: Removed.
11057 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11059 * intl/po2test.awk: New file.
11060 * intl/po2test.sed: Removed.
11062 2012-07-04 Joseph Myers <joseph@codesourcery.com>
11065 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11066 or multiply small sinh result by itself.
11067 * math/s_ctanf.c (__ctanf): Likewise.
11068 * math/s_ctanh.c (__ctanh): Likewise.
11069 * math/s_ctanhf.c (__ctanhf): Likewise.
11070 * math/s_ctanhl.c (__ctanhl): Likewise.
11071 * math/s_ctanl.c (__ctanl): Likewise.
11072 * math/libm-test.inc (ctan_test_tonearest): New function.
11073 (ctan_test_towardzero): Likewise.
11074 (ctan_test_downward): Likewise.
11075 (ctan_test_upward): Likewise.
11076 (ctanh_test_tonearest): Likewise.
11077 (ctanh_test_towardzero): Likewise.
11078 (ctanh_test_downward): Likewise.
11079 (ctanh_test_upward): Likewise.
11080 (main): Call these new functions.
11081 * sysdeps/i386/fpu/libm-test-ulps: Update.
11082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11084 2012-07-03 Mike Frysinger <vapier@gentoo.org>
11086 * .gitignore: Delete /ports entry.
11088 2012-07-03 Andreas Jaeger <aj@suse.de>
11090 * po/bg.po: Update from translation team.
11091 * po/cs.po: Likewise.
11092 * po/de.po: Likewise.
11093 * po/hr.po: Likewise.
11094 * po/nl.pl: Likewise.
11095 * po/pl.po: Likewise.
11096 * po/vi.po: Likewise.
11098 2012-07-03 Joseph Myers <joseph@codesourcery.com>
11100 * Makeconfig [!+link] (+link-before-libc): New variable.
11101 [!+link] (+link-after-libc): Likewise.
11102 [!+link] (+link-tests): Likewise.
11103 [!+link] (+link): Define in terms of $(+link-before-libc) and
11104 $(+link-after-libc).
11105 [!+link-static] (+link-static-before-libc): New variable.
11106 [!+link-static] (+link-static-after-libc): Likewise.
11107 [!+link-static] (+link-static-tests): Likewise.
11108 [!+link-static] (+link-static): Define in terms of
11109 $(+link-static-before-libc) and $(+link-static-after-libc).
11110 [build-shared] (link-libc-before-gnulib): New variable.
11111 [build-shared] (link-libc-tests): Likewise.
11112 [build-shared] (link-libc): Define in terms of
11113 $(link-libc-before-gnulib).
11114 [!build-shared] (link-libc-tests): New variable.
11115 (link-libc-static-tests): New variable.
11116 [!gnulib] (gnulib-arch): New variable.
11117 [!gnulib] (gnulib-tests): Likewise.
11118 [!gnulib] (static-gnulib-arch): Likewise.
11119 [!gnulib] (static-gnulib-tests): Likewise.
11120 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11121 Define with "=" instead of ":=".
11122 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11123 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11124 * Rules (binaries-all-notests): New variable.
11125 (binaries-all-tests): Likewise.
11126 (binaries-static-notests): Likewise.
11127 (binaries-static-tests): Likewise.
11128 (binaries-all): Define using $(binaries-all-notests) and
11129 $(binaries-all-tests).
11130 (binaries-static): Define using $(binaries-static-notests) and
11131 $(binaries-static-tests).
11132 (binaries-shared-tests): New variable.
11133 (binaries-shared-notests): Likewise.
11134 (binaries-shared): Remove variable.
11135 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11136 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11137 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11138 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11139 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11140 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11141 * elf/Makefile (sln-modules): New variable.
11142 (extra-objs): Add $(sln-modules:=.o).
11143 (ldconfig-modules): Add static-stubs.
11144 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11145 * elf/static-stubs.c: New file.
11148 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11149 by 7 not 8 to examine high bit of fractional part. Use volatile
11150 variables when splitting into final array of floats if
11151 __FLT_EVAL_METHOD__ != 0.
11152 * math/libm-test.inc (cos_test): Add another test.
11153 (sin_test): Likewise.
11154 * sysdeps/i386/fpu/libm-test-ulps: Update.
11157 * math/libm-test.inc (cosh_test): Add more tests.
11159 * version.h (RELEASE): Set to "development".
11160 (VERSION): Set to "2.16.90".
11162 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11164 * NEWS: Update copyright. Remove last-updated date.
11165 Mention math library bug fixes and timezone data changes.
11166 * README: Mention GNU/Hurd, x32, and HPPA support status.
11168 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11170 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11172 2012-06-27 Andreas Jaeger <aj@suse.de>
11174 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11176 2012-06-25 Andreas Jaeger <aj@suse.de>
11178 * sysdeps/s390/fpu/libm-test-ulps: Update.
11180 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11181 Thomas Schwinge <thomas@codesourcery.com>
11183 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11184 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11185 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11188 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11190 * sysdeps/mach/start.c: Remove file.
11191 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11192 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11193 * sysdeps/sh/init-first.c: Likewise.
11195 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11196 registers for frame unwinding purposes, add CFI directives.
11197 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11198 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11199 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11202 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11203 __fortify_fail returning.
11204 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11206 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11207 sysdeps/sh/____longjmp_chk.S.
11208 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11209 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11210 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11211 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11213 * sysdeps/sh/abort-instr.h: New file.
11214 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11215 process in case exit returns.
11217 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11218 initialize the GOT register before use.
11220 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11221 calculation of ARGC > 4.
11223 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11224 meaningful names to some local labels.
11226 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11227 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11229 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11230 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11231 (__arch_compare_and_exchange_val_16_acq): Likewise.
11232 (__arch_compare_and_exchange_val_32_acq): Likewise.
11233 (atomic_exchange_and_add): Fix gUSA sequence.
11234 (atomic_add): Likewise.
11235 (atomic_add_negative): Likewise.
11236 (atomic_add_zero): Likewise.
11237 (atomic_bit_test_set): Likewise.
11239 2012-06-22 Andreas Schwab <schwab@redhat.com>
11242 * include/link.h (struct link_map): Add l_free_initfini.
11243 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11245 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11246 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11247 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11250 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11252 * configure.in: Use AC_LANG_SOURCE.
11253 * configure: Regenerate.
11255 2012-06-22 Roland McGrath <roland@hack.frob.com>
11257 * configure.in (libc_cv_localstatedir): New substituted variable.
11258 * configure: Regenerated.
11259 * config.make.in (localstatedir): New variable, substituted from
11260 libc_cv_localstatedir.
11261 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11262 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11263 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11264 * sysdeps/gnu/configure: Regenerated.
11266 2012-06-21 Jeff Law <law@redhat.com>
11269 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11270 free. Simplify list management for _LIBC case.
11272 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11275 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11276 Clear sign bit of 64-bit integer value before comparing against
11279 * sysdeps/mach/configure: Regenerated.
11281 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11284 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11286 2012-06-21 Jeff Law <law@redhat.com>
11289 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11290 uint16_t for elements in the "seen" array to avoid char overflows.
11291 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11292 * elf/dl-open.c (dl_open_worker): Likewise.
11294 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11296 * scripts/list-sources.sh: Scan PORTS for translations.
11297 * po/libc.pot: Regenerated.
11299 2012-06-21 Andreas Jaeger <aj@suse.de>
11302 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11304 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11305 * bits/byteswap-16.h (__bswap_16): Likewise.
11306 * bits/byteswap.h (__bswap_constant_16): Likewise.
11308 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11311 * sysdeps/i386/fpu_control.h: Removed.
11312 * sysdeps/x86_64/fpu_control.h: Moved to ...
11313 * sysdeps/x86/fpu_control.h: Here.
11315 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11316 (_FPU_SETCW): Likewise.
11318 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11321 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11322 * sysdeps/x86/fpu/bits/mathinline.h: This.
11323 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11327 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11328 functions if __x86_64__ is defined.
11330 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11332 * string/endian.h: Add !__ASSEMBLER__ condition for including
11333 conversion interfaces.
11335 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11338 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11339 of ABS(x) in calculating zero to negative powers other than odd
11341 * math/libm-test.inc (pow_test): Add more tests.
11343 2012-06-15 Andreas Jaeger <aj@suse.de>
11345 * manual/contrib.texi (Contributors): Update entry of Liubov
11346 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11349 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11351 * string/string.h: Add __wur to GNU version of strerror_r.
11353 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11356 * string/Makefile (tests): Add tst-strtok_r.
11357 * string/tst-strtok_r.c: New file.
11358 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11359 RAX_LP/RDX_LP on SAVE_PTR.
11361 2012-06-14 Roland McGrath <roland@hack.frob.com>
11363 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11365 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11367 * libm_test.inc (csqrt_test): Allow more spurious underflow
11369 (j0_test): Likewise.
11370 (j1_test): Likewise.
11371 (y0_test): Likewise.
11372 (y1_test): Likewise.
11374 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11376 * po/Makefile (libc.pot): Use UTF-8 charset.
11378 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11381 Suppress sign-conversion warning from FD_SET.
11382 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11383 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11384 not unsigned long int.
11385 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11387 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11391 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11392 __extern_always_inline instead of __extern_inline.
11393 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11394 (__signbit): Likewise.
11395 (__signbitl): Support C++ namespace.
11396 (lrintf): New inline function.
11398 (llrintf): Likewise.
11399 (llrint): Likewise.
11409 (floorf): Likewise.
11410 (nearbyint): Likewise.
11411 (nearbyintf): Likewise.
11413 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11415 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11416 non-default versions.
11418 2012-06-11 Roland McGrath <roland@hack.frob.com>
11421 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11423 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11425 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11426 (FE_UPWARD, FE_DOWNWARD): Don't define.
11427 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11428 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11430 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11432 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11433 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11435 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11437 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11438 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11439 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11440 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11442 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11445 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11446 * sysdeps/i386/fpu/Implies: New file.
11447 * sysdeps/x86_64/fpu/Implies: Likewise.
11448 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11449 * sysdeps/x86/fpu/bits/fenv.h: This.
11451 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11454 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11457 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11458 character 0xffff that matches the last element of the
11461 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11463 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11466 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11468 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11469 values higher than 25.6283.
11471 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11473 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11474 subnormal exponent extraction and add some __builtin_expect.
11475 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11476 Fix for subnormal mantissa calculation.
11478 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11480 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11481 cpu2 is -1 and errno is not ENOSYS.
11483 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11486 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11487 * sysdeps/x86/bits/string.h: This.
11488 * sysdeps/x86_64/bits/string.h: Removed.
11490 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11491 if not compiling for x86-64, but compiling for >= i486.
11493 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11494 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11496 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11497 New macro from Linux kernel 3.4.0.
11498 (FP_XSTATE_MAGIC2): Likewise.
11499 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11500 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11501 (struct _fpx_sw_bytes): New struct.
11502 (struct _xsave_hdr): Likewise.
11503 (struct _ymmh_state): Likewise.
11504 (struct _xstate): Likewise.
11506 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11507 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11508 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11509 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11510 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11511 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11513 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11514 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11515 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11516 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11517 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11518 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11520 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11523 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11524 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11525 (sysdep_headers): Include sys/platform/ppc.h.
11526 * sysdeps/powerpc/test-gettimebase.c: Test for
11527 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11528 * manual/Makefile (appendices): Include platform.texi.
11529 * manual/contrib.texi (Contributors): Update @node pointers.
11530 * manual/maint.texi (Maintenance): Likewise.
11531 (Platform): New node.
11532 * manual/platform.texi: New file. Document the new features.
11534 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11535 Jakub Jelinek <jakub@redhat.com>
11538 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11539 where __builtin_expect is unavailable.
11541 2012-06-03 David S. Miller <davem@davemloft.net>
11543 * stdlib/longlong.h: Updated from GCC.
11545 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11548 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11549 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11552 (GLIBC_2.16): Likewise.
11554 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11556 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11558 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11561 (default-abi): New variable.
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11563 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11565 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11567 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11569 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11572 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11573 definition. Document in comment.
11575 2012-06-01 David S. Miller <davem@davemloft.net>
11577 * stdlib/longlong.h: Updated from GCC.
11579 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11582 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11583 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11584 sys/debugreg.h sys/io.h here.
11585 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11586 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11588 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11589 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11590 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11591 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11592 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11593 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11595 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11596 Define only if __x86_64__ is defined.
11598 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11601 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11602 Use int64_t for variable i.
11603 * math/libm-test.inc (fmod_test): Add more tests.
11605 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11606 z computation is not scheduled after fetestexcept.
11607 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11608 Use math_force_eval instead of asm to ensure calculation scheduled
11609 before exception test.
11610 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11611 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11613 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11615 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11616 computation is not scheduled after fetestexcept.
11618 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11621 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11622 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11624 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11626 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11627 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11629 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11632 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11634 (__WCHAR_MIN): Support __WORDSIZE == 64.
11635 (__WCHAR_MAX): Likewise.
11637 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11638 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11641 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11642 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11645 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11646 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11648 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11649 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11651 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11652 Defined to 1 if __x86_64__ isn't defined.
11653 (_STAT_VER_LINUX_OLD): New.
11654 (st_atime): Remove duplicate.
11655 (st_mtime): Likewise.
11656 (st_ctime): Likewise.
11658 2012-05-31 David S. Miller <davem@davemloft.net>
11660 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11663 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11665 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11669 * elf/dl-reloc.c: Include <_itoa.h>.
11670 (_dl_reloc_bad_type): Remove use of INTUSE.
11671 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11672 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11673 * stdio-common/psiginfo.c (psiginfo): Likewise.
11674 * stdio-common/psignal.c (psignal): Likewise.
11675 * string/strsignal.c (strsignal): Likewise.
11676 * include/signal.h (_sys_siglist): Declare hidden proto.
11677 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11678 INTVARDEF with libc_hidden_data_def.
11679 * stdio-common/itoa-udigits.c: Likewise.
11680 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11681 (_itoa_lower_digits_internal): Remove declaration.
11682 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11683 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11684 (_sys_sigabbrev_internal): Remove aliases.
11685 (_sys_siglist): Define hidden alias.
11687 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11692 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11695 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11696 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11698 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11699 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11700 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11701 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11702 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11703 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11705 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11706 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11707 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11709 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11717 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11718 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11719 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11721 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11722 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11723 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11724 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11725 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11726 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11728 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11729 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11731 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11732 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11734 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11735 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11736 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11738 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11739 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11741 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11743 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11744 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11745 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11747 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11749 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11751 2012-05-31 Joseph Myers <joseph@codesourcery.com>
11753 * math/math.h (M_El): Use two more decimal places.
11754 (M_LOG2El): Likewise.
11755 (M_LOG10El): Likewise.
11756 (M_LN2l): Likewise.
11757 (M_LN10l): Likewise.
11759 (M_PI_2l): Likewise.
11760 (M_PI_4l): Likewise.
11761 (M_1_PIl): Likewise.
11762 (M_2_PIl): Likewise.
11763 (M_2_SQRTPIl): Likewise.
11764 (M_SQRT2l): Likewise.
11765 (M_SQRT1_2l): Likewise.
11767 2012-05-31 David S. Miller <davem@davemloft.net>
11769 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11770 values between float registers.
11771 * sysdeps/sparc/sparc64/memset.S: Likewise.
11772 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11774 2012-05-31 Mike Frysinger <vapier@gentoo.org>
11776 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11777 -D_FORTIFY_SOURCE=1.
11778 (CPPFLAGS-tst-longjmp_chk.c): Define.
11779 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11780 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11781 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11782 CFLAGS-tst-wchar-h.c.
11784 2012-05-31 Marek Polacek <polacek@redhat.com>
11787 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11788 __endmntent_internal): Remove declaration.
11789 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11790 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11791 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11793 2012-05-30 David S. Miller <davem@davemloft.net>
11795 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11796 (___Q_simulate_exceptions): Use real FP ops rather than writing
11798 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11801 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11804 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11805 * sysdeps/x86/bits/xtitypes.h: This.
11807 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11808 * sysdeps/x86/bits/wordsize.h: This.
11810 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11811 * sysdeps/x86/bits/huge_vall.h: This.
11813 * sysdeps/i386/bits/select.h: Removed.
11814 * sysdeps/x86_64/bits/select.h: Renamed to ...
11815 * sysdeps/x86/bits/select.h: This.
11817 * sysdeps/i386/bits/setjmp.h: Removed.
11818 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11819 * sysdeps/x86/bits/setjmp.h: This.
11821 * sysdeps/i386/bits/mathdef.h: Removed.
11822 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11823 * sysdeps/x86/bits/mathdef.h: This.
11825 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11828 * include/sys/socket.h (__connect_internal)
11829 (__libc_sa_len_internal): Remove declaration.
11830 (__connect, __libc_sa_len): Declare hidden_proto.
11831 (SA_LEN): Remove use of INTUSE.
11832 * socket/connect.c: Add libc_hidden_def.
11833 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11834 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11835 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11837 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11838 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11839 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11840 of adding _internal alias.
11842 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11845 * sysdeps/i386/bits/link.h: Removed.
11846 * sysdeps/i386/bits/linkmap.h: Likewise.
11847 * sysdeps/x86_64/bits/link.h: Renamed to ...
11848 * sysdeps/x86/bits/link.h: This.
11849 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11850 * sysdeps/x86/bits/linkmap.h: This.
11852 * sysdeps/i386/bits/endian.h: Removed.
11853 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11854 * sysdeps/x86/bits/endian.h: This.
11856 * sysdeps/i386/bits/byteswap.h: Removed.
11857 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11858 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11859 * sysdeps/x86/bits/byteswap.h: This.
11860 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11861 * sysdeps/x86/bits/byteswap-16.h: This.
11862 * sysdeps/i386/Implies: Add x86.
11863 * sysdeps/x86_64/Implies: Likewise.
11865 2012-05-30 David S. Miller <davem@davemloft.net>
11867 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11868 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11869 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11870 (FP_TRAPPING_EXCEPTIONS): Define.
11871 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11872 (FP_TRAPPING_EXCEPTIONS): Define.
11873 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11874 subnormals only when inexact has been signalled or underflow
11875 exceptions are enabled.
11876 (_FP_PACK_CANONICAL): Likewise.
11878 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11881 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11882 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11884 2012-05-30 Richard Henderson <rth@twiddle.net>
11886 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11887 with #ifndef NOT_IN_libc.
11889 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11890 marked to avoid plt entry.
11892 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11895 * Makeconfig (default-abi): New macro.
11896 (abi-includes): Likewise.
11897 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11898 $(abi-$(default-abi)-lib-soname) for soname if defined.
11899 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11901 * Makefile (installed-stubs): Likewise.
11902 * include/stubs-biarch.h: Removed.
11903 * scripts/lib-names.awk: Only handle one library at a time.
11904 * scripts/soversions.awk: Remove WORDSIZE support.
11905 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11907 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11909 (syscall-list-default-condition): Likewise.
11910 (syscall-list-default-condition): Likewise.
11911 (syscall-list-includes): Likewise.
11912 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11913 syscall-list-* with abi-*. Handle undefined abi-variants.
11914 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11915 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11916 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11917 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11918 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11919 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11921 (syscall-list-32-options): Likewise.
11922 (syscall-list-32-condition): Likewise.
11923 (syscall-list-64-options): Likewise.
11924 (syscall-list-64-condition): Likewise.
11925 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11927 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11930 (abi-64-ld-soname): New macro.
11931 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11932 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11935 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11936 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11938 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11940 * sysdeps/unix/sysv/linux/kernel-features.h
11941 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11942 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11943 include <kernel-features.h>.
11944 [!__NR_ftruncate64]: Remove conditional code.
11945 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11946 [__NR_ftruncate64]: Make code unconditional.
11947 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11948 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11949 include <kernel-features.h>.
11950 [!__NR_ftruncate64]: Remove conditional code.
11951 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11952 [__NR_ftruncate64]: Make code unconditional.
11953 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11955 include <kernel-features.h>.
11956 [!__NR_ftruncate64]: Remove conditional code.
11957 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11958 [__NR_ftruncate64]: Make code unconditional.
11959 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11961 include <kernel-features.h>.
11962 [!__NR_ftruncate64]: Remove conditional code.
11963 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11964 [__NR_ftruncate64]: Make code unconditional.
11965 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11967 * configure.in (libc_cv_fpie): Weaken to a compile test using
11968 LIBC_TRY_CC_OPTION.
11969 * configure: Regenerated.
11971 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11986 2012-05-27 David S. Miller <davem@davemloft.net>
11988 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11990 (__Q_simulate_exceptions): Return void. Change to simulate
11991 exceptions by writing into the %fsr.
11992 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11993 (__Qp_handle_exceptions): Likewise.
11995 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11996 __Qp_handle_exceptions.
11997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11998 __Qp_handle_exceptions.
11999 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12000 as unused and give dummy FP_RND_NEAREST initializer.
12001 (FP_INHIBIT_RESULTS): Define.
12002 (___Q_simulate_exceptions): Update declaration.
12003 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12005 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12006 as unused and give dummy FP_RND_NEAREST initializer.
12007 (__Qp_handle_exceptions): Update declaration.
12008 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12011 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12013 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12014 the temporary FPU control word.
12015 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12016 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12017 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12018 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12019 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12020 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12021 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12022 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12023 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12024 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12025 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12027 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12029 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12032 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12034 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12035 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12036 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12037 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12039 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12040 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12043 2012-05-27 Ulrich Drepper <drepper@gmail.com>
12045 * po/h.po: Update from translation team.
12047 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12049 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12051 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12052 handling of denormals.
12053 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12054 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12055 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12056 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12057 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12059 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12062 2012-05-26 Marek Polacek <polacek@redhat.com>
12065 * math/libm-test.inc (fma_test): Don't always expect underflow
12068 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12071 * elf/tst-execstack.c: Include stackinfo.h.
12072 (do_test): Adjust test case to ensure that pthread_getattr_np
12073 behaviour remains the same after marking stack executable.
12075 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12077 * sysdeps/unix/sysv/linux/kernel-features.h
12078 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12079 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12081 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12082 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12083 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12085 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12086 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12088 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12090 * configure.in: Define the default includes to being none.
12091 * configure: Regenerated.
12093 2012-05-25 Roland McGrath <roland@hack.frob.com>
12095 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12096 * sysdeps/x86_64/setjmp.S: Likewise.
12097 * sysdeps/i386/bsd-setjmp.S: Likewise.
12098 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12099 * sysdeps/i386/setjmp.S: Likewise.
12100 * sysdeps/i386/__longjmp.S: Likewise.
12101 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12102 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12104 * include/stap-probe.h: New file.
12105 * configure.in: Handle --enable-systemtap.
12106 * configure: Regenerated.
12107 * config.h.in (USE_STAP_PROBE): New #undef.
12108 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12109 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12110 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12112 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12115 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12116 to 2.4.0 where earlier.
12117 * sysdeps/unix/sysv/linux/configure: Regenerated.
12118 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12119 <kernel-features.h>.
12120 [__ASSUME_32BITUIDS]: Make code unconditional.
12121 [!__ASSUME_32BITUIDS]: Remove conditional code.
12122 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12123 <kernel-features.h>.
12124 [__ASSUME_32BITUIDS]: Make code unconditional.
12125 [!__ASSUME_32BITUIDS]: Remove conditional code.
12126 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12127 [__ASSUME_32BITUIDS]: Make code unconditional.
12128 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12129 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12130 <kernel-features.h>.
12131 [__ASSUME_32BITUIDS]: Make code unconditional.
12132 [!__ASSUME_32BITUIDS]: Remove conditional code.
12133 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12134 <kernel-features.h>.
12135 [__ASSUME_32BITUIDS]: Make code unconditional.
12136 [!__ASSUME_32BITUIDS]: Remove conditional code.
12137 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12138 <kernel-features.h>.
12139 [__ASSUME_32BITUIDS]: Make code unconditional.
12140 [!__ASSUME_32BITUIDS]: Remove conditional code.
12141 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12142 <kernel-features.h>.
12143 [__ASSUME_32BITUIDS]: Make code unconditional.
12144 [!__ASSUME_32BITUIDS]: Remove conditional code.
12145 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12146 <kernel-features.h>.
12147 [__ASSUME_32BITUIDS]: Make code unconditional.
12148 [!__ASSUME_32BITUIDS]: Remove conditional code.
12149 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12150 <kernel-features.h>.
12151 [__ASSUME_32BITUIDS]: Make code unconditional.
12152 [!__ASSUME_32BITUIDS]: Remove conditional code.
12153 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12154 <kernel-features.h>.
12155 [__ASSUME_32BITUIDS]: Make code unconditional.
12156 [!__ASSUME_32BITUIDS]: Remove conditional code.
12157 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12158 <kernel-features.h>.
12159 [__ASSUME_32BITUIDS]: Make code unconditional.
12160 [!__ASSUME_32BITUIDS]: Remove conditional code.
12161 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12162 <kernel-features.h>.
12163 [__ASSUME_32BITUIDS]: Make code unconditional.
12164 [!__ASSUME_32BITUIDS]: Remove conditional code.
12165 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12166 <kernel-features.h>.
12167 [__ASSUME_32BITUIDS]: Make code unconditional.
12168 [!__ASSUME_32BITUIDS]: Remove conditional code.
12169 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12170 <kernel-features.h>.
12171 [__NR_setresgid] (__setresgid): Do not declare.
12172 [__ASSUME_32BITUIDS]: Make code unconditional.
12173 [!__ASSUME_32BITUIDS]: Remove conditional code.
12174 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12175 <kernel-features.h>.
12176 [__NR_setresuid] (__setresuid): Do not declare.
12177 [__ASSUME_32BITUIDS]: Make code unconditional.
12178 [!__ASSUME_32BITUIDS]: Remove conditional code.
12179 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12180 <kernel-features.h>.
12181 [__ASSUME_32BITUIDS]: Make code unconditional.
12182 [!__ASSUME_32BITUIDS]: Remove conditional code.
12183 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12184 <kernel-features.h>.
12185 [__ASSUME_32BITUIDS]: Make code unconditional.
12186 [!__ASSUME_32BITUIDS]: Remove conditional code.
12187 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12188 <kernel-features.h>.
12189 [__ASSUME_32BITUIDS]: Make code unconditional.
12190 [!__ASSUME_32BITUIDS]: Remove conditional code.
12191 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12192 <kernel-features.h>.
12193 [__ASSUME_32BITUIDS]: Make code unconditional.
12194 [!__ASSUME_32BITUIDS]: Remove conditional code.
12195 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12196 <kernel-features.h>.
12197 [__ASSUME_32BITUIDS]: Make code unconditional.
12198 [!__ASSUME_32BITUIDS]: Remove conditional code.
12199 * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
12220 (__ASSUME_SETRESUID_SYSCALL): Remove.
12221 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12222 (__ASSUME_32BITUIDS): Likewise.
12223 (__ASSUME_LDT_WORKS): Likewise.
12224 (__ASSUME_O_DIRECTORY): Likewise.
12225 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12226 architecture but not kernel version.
12227 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12228 (__ASSUME_MMAP2_SYSCALL): Likewise.
12229 (__ASSUME_STAT64_SYSCALL): Likewise.
12230 (__ASSUME_IPC64): Likewise.
12231 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12232 <kernel-features.h>.
12233 [__ASSUME_32BITUIDS]: Make code unconditional.
12234 [!__ASSUME_32BITUIDS]: Remove conditional code.
12235 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12236 <kernel-features.h>.
12237 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12238 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12239 132096]: Remove conditional code.
12240 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12241 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12242 <kernel-features.h>.
12243 [__ASSUME_32BITUIDS]: Make code unconditional.
12244 [!__ASSUME_32BITUIDS]: Remove conditional code.
12245 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12246 <kernel-features.h>.
12247 [__ASSUME_32BITUIDS]: Make code unconditional.
12248 [!__ASSUME_32BITUIDS]: Remove conditional code.
12249 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12250 <kernel-features.h>.
12251 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12253 (__setresgid): Do not declare.
12254 [__ASSUME_32BITUIDS]: Make code unconditional.
12255 [!__ASSUME_32BITUIDS]: Remove conditional code.
12256 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12257 <kernel-features.h>.
12258 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12260 (__setresuid): Do not declare.
12261 [__ASSUME_32BITUIDS]: Make code unconditional.
12262 [!__ASSUME_32BITUIDS]: Remove conditional code.
12263 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12264 <kernel-features.h>.
12265 [__ASSUME_32BITUIDS]: Make code unconditional.
12266 [!__ASSUME_32BITUIDS]: Remove conditional code.
12267 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12268 <kernel-features.h>.
12269 [__ASSUME_32BITUIDS]: Make code unconditional.
12270 [!__ASSUME_32BITUIDS]: Remove conditional code.
12272 2012-05-25 Richard Henderson <rth@twiddle.net>
12274 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12275 dl_hwcap to ifunc resolver.
12276 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12278 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12279 dl_hwcap to ifunc resolver.
12280 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12282 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12285 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12286 for |x| <= 2**-26, not 2**-57.
12287 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12290 2012-05-24 Jeff Law <law@redhat.com>
12292 * stdio-common/Makefile (tests): Add bug25.
12293 * stdio-common/bug25.c: New test.
12295 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12298 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12299 multiple of MALLOC_ALIGNMENT in size.
12300 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12302 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12304 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12306 (FILENAME_MAX): Use macro-int-constant.
12307 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12308 (_IOFBF): Use macro-int-constant.
12309 (_IOLBF): Likewise.
12310 (_IONBF): Likewise.
12311 (SEEK_CUR): Likewise.
12312 (SEEK_END): Likewise.
12313 (SEEK_SET): Likewise.
12314 (TMP_MAX): Likewise.
12315 (EOF): Use macro-int-constant. Require < 0.
12316 (NULL): Use macro-constant. Require == 0.
12317 (stdin): Require type to be FILE *.
12318 (stdout): Likewise.
12319 (stderr): Likewise.
12320 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12321 macro-int-constant.
12322 (EXIT_SUCCESS): Likewise.
12323 (NULL): Use macro-constant. Require == 0.
12324 (RAND_MAX): Use macro-int-constant.
12325 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12326 [C99-based standards] (strtof): Require function.
12327 [C99-based standards] (strtold): Likewise.
12328 [C99-based standards] (strtoll): Likewise.
12329 [C99-based standards] (strtoull): Likewise.
12330 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12331 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12332 [ISO || ISO99 || ISO11] (math.h): Likewise.
12333 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12334 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12335 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12337 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12340 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12341 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12342 * intl/dgettext.c (DCGETTEXT): Likewise.
12343 * intl/gettext.c (DCGETTEXT): Likewise.
12344 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12345 * posix/regex_internal.h (gettext): Likewise.
12346 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12347 Remove declaration.
12348 * include/argz.h (__argz_count_internal)
12349 (__argz_stringify_internal): Remove declaration.
12350 (__argz_count, __argz_stringify): Declare hidden proto.
12351 * intl/dcgettext.c: Remove use of INTDEF.
12352 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12353 * string/argz-stringify.c: Likewise.
12354 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12355 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12356 Declare hidden proto.
12357 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12358 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12359 Declare hidden proto.
12360 * include/stdio.h (__asprintf_internal): Don't declare.
12361 (__asprintf): Don't define as macro. Declare hidden proto.
12362 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12363 (__fsetlocking): Declare hidden proto.
12364 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12365 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12367 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12368 (_IO_setlinebuf): Remove use of INTUSE.
12369 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12370 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12371 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12372 Remove declaration.
12373 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12374 (_IO_do_flush): Remove use of INTUSE.
12375 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12376 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12377 (_IO_adjust_column, _IO_least_wmarker)
12378 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12379 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12380 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12381 (_IO_default_doallocate, _IO_wdefault_doallocate)
12382 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12383 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12384 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12385 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12386 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12387 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12388 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12389 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12390 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12391 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12392 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12393 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12394 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12396 (_IO_flush_all_internal, _IO_adjust_column_internal)
12397 (_IO_default_uflow_internal, _IO_default_finish_internal)
12398 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12399 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12400 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12401 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12402 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12403 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12404 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12405 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12406 (_IO_file_close_internal, _IO_file_close_it_internal)
12407 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12408 (_IO_file_init_internal, _IO_file_attach_internal)
12409 (_IO_file_fopen_internal, _IO_file_read_internal)
12410 (_IO_file_sync_internal, _IO_file_seek_internal)
12411 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12412 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12413 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12414 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12415 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12416 (_IO_list_all_internal, _IO_link_in_internal)
12417 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12418 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12419 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12420 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12421 (_IO_do_write_internal, _IO_padn_internal)
12422 (_IO_getline_info_internal, _IO_getline_internal)
12423 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12424 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12425 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12426 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12427 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12428 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12429 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12430 with libc_hidden_ver, remove use of INTUSE.
12431 * libio/genops.c: Likewise.
12432 * libio/freopen.c: Likewise.
12433 * libio/freopen64.c: Likewise.
12434 * libio/iofclose.c: Likewise.
12435 * libio/iofdopen.c: Likewise.
12436 * libio/iofflush.c: Likewise.
12437 * libio/iofflush_u.c: Likewise.
12438 * libio/iofgets.c: Likewise.
12439 * libio/iofgets_u.c: Likewise.
12440 * libio/iofopen.c: Likewise.
12441 * libio/iofopncook.c: Likewise.
12442 * libio/iofread.c: Likewise.
12443 * libio/iofread_u.c: Likewise.
12444 * libio/ioftell.c: Likewise.
12445 * libio/iofwrite.c: Likewise.
12446 * libio/iogetline.c: Likewise.
12447 * libio/iogets.c: Likewise.
12448 * libio/iogetwline.c: Likewise.
12449 * libio/iopadn.c: Likewise.
12450 * libio/iopopen.c: Likewise.
12451 * libio/ioseekoff.c: Likewise.
12452 * libio/ioseekpos.c: Likewise.
12453 * libio/iosetbuffer.c: Likewise.
12454 * libio/iosetvbuf.c: Likewise.
12455 * libio/ioungetc.c: Likewise.
12456 * libio/ioungetwc.c: Likewise.
12457 * libio/iovdprintf.c: Likewise.
12458 * libio/iovsprintf.c: Likewise.
12459 * libio/iovsscanf.c: Likewise.
12460 * libio/memstream.c: Likewise.
12461 * libio/obprintf.c: Likewise.
12462 * libio/oldfileops.c: Likewise.
12463 * libio/oldiofclose.c: Likewise.
12464 * libio/oldiofdopen.c: Likewise.
12465 * libio/oldiofopen.c: Likewise.
12466 * libio/oldiopopen.c: Likewise.
12467 * libio/oldstdfiles.c: Likewise.
12468 * libio/putc.c: Likewise.
12469 * libio/setbuf.c: Likewise.
12470 * libio/setlinebuf.c: Likewise.
12471 * libio/stdfiles.c: Likewise.
12472 * libio/strops.c: Likewise.
12473 * libio/vasprintf.c: Likewise.
12474 * libio/vscanf.c: Likewise.
12475 * libio/vsnprintf.c: Likewise.
12476 * libio/vswprintf.c: Likewise.
12477 * libio/wfiledoalloc.c: Likewise.
12478 * libio/wfileops.c: Likewise.
12479 * libio/wgenops.c: Likewise.
12480 * libio/wmemstream.c: Likewise.
12481 * libio/wstrops.c: Likewise.
12482 * libio/__fpurge.c: Likewise.
12483 * libio/__fsetlocking.c: Likewise.
12484 * assert/assert.c: Likewise.
12485 * debug/fgets_chk.c: Likewise.
12486 * debug/fgets_u_chk.c: Likewise.
12487 * debug/fread_chk.c: Likewise.
12488 * debug/fread_u_chk.c: Likewise.
12489 * debug/gets_chk.c: Likewise.
12490 * debug/obprintf_chk.c: Likewise.
12491 * debug/vasprintf_chk.c: Likewise.
12492 * debug/vdprintf_chk.c: Likewise.
12493 * debug/vsnprintf_chk.c: Likewise.
12494 * debug/vsprintf_chk.c: Likewise.
12495 * malloc/mtrace.c: Likewise.
12496 * misc/error.c: Likewise.
12497 * misc/syslog.c: Likewise.
12498 * stdio-common/asprintf.c: Likewise.
12499 * stdio-common/fxprintf.c: Likewise.
12500 * stdio-common/getw.c: Likewise.
12501 * stdio-common/isoc99_fscanf.c: Likewise.
12502 * stdio-common/isoc99_scanf.c: Likewise.
12503 * stdio-common/isoc99_vfscanf.c: Likewise.
12504 * stdio-common/isoc99_vscanf.c: Likewise.
12505 * stdio-common/isoc99_vsscanf.c: Likewise.
12506 * stdio-common/printf-prs.c: Likewise.
12507 * stdio-common/printf_fp.c: Likewise.
12508 * stdio-common/printf_fphex.c: Likewise.
12509 * stdio-common/printf_size.c: Likewise.
12510 * stdio-common/putw.c: Likewise.
12511 * stdio-common/scanf.c: Likewise.
12512 * stdio-common/sprintf.c: Likewise.
12513 * stdio-common/tmpfile.c: Likewise.
12514 * stdio-common/vfprintf.c: Likewise.
12515 * stdio-common/vfscanf.c: Likewise.
12516 * stdlib/strfmon_l.c: Likewise.
12517 * sunrpc/openchild.c: Likewise.
12518 * sunrpc/xdr_stdio.c: Likewise.
12519 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12520 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12522 2012-05-24 Roland McGrath <roland@hack.frob.com>
12524 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12526 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12527 in the third column, to generate for the shared library an IFUNC
12528 that uses _dl_vdso_vsym.
12529 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12530 * Makeconfig (object-suffixes-noshared): New variable.
12532 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12533 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12534 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12535 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12538 * include/sys/time.h (__gettimeofday): Remove macro.
12539 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12540 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12542 (__gettimeofday): Add libc_hidden_def.
12543 (gettimeofday): Add libc_hidden_weak.
12544 * sysdeps/mach/gettimeofday.c: Likewise.
12545 * sysdeps/posix/gettimeofday.c: Likewise.
12546 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12547 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12548 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12549 (__gettimeofday_internal): Remove strong_alias.
12550 (__gettimeofday): Add libc_hidden_def.
12551 (gettimeofday): Add libc_hidden_weak.
12552 * sysdeps/unix/syscalls.list (gettimeofday):
12553 Remove __gettimeofday_internal alias.
12555 2012-05-24 Daniel Jacobowitz <drow@false.org>
12556 H.J. Lu <hongjiu.lu@intel.com>
12559 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12560 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12561 (largebin_index_32_big): New.
12562 (largebin_index): Use it for 16-byte alignment.
12563 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12564 correction with front_misalign.
12566 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12594 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12595 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12597 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12601 * math/libm-test.inc (exp_test): Add test from bug 14036.
12602 (pow_test): Add test from bug 10846.
12604 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12606 (special_function): Do not include flags in test name.
12607 (parse_args): Likewise.
12608 * sysdeps/i386/fpu/libm-test-ulps: Update.
12609 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12610 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12611 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12614 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12616 * math/libm-test.inc ("Philosophy"): Update comment about
12618 (UNDERFLOW_EXCEPTION): New macro.
12619 (UNDERFLOW_EXCEPTION_OK): Likewise.
12620 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12621 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12622 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12623 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12624 (INVALID_EXCEPTION_OK): Update value.
12625 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12626 (OVERFLOW_EXCEPTION_OK): Likewise.
12627 (IGNORE_ZERO_INF_SIGN): Likewise.
12628 (test_exceptions): Handle underflow exceptions.
12629 (acos_test): Update for underflow exception expectations.
12630 (cexp_test): Likewise.
12631 (clog_test): Likewise.
12632 (clog10_test): Likewise.
12633 (csqrt_test): Likewise.
12634 (ctan_test): Likewise.
12635 (ctanh_test): Likewise.
12636 (exp_test): Likewise.
12637 (exp10_test): Likewise.
12638 (exp2_test): Likewise.
12639 (expm1_test): Likewise.
12640 (fma_test): Likewise.
12641 (j0_test): Likewise.
12642 (jn_test): Likewise.
12643 (nexttoward_test): Likewise.
12644 (pow_test): Likewise.
12645 (scalbn_test): Likewise.
12646 (scalbln_test): Likewise.
12647 (tan_test): Likewise.
12648 (y1_test): Likewise.
12649 * sysdeps/i386/fpu/libm-test-ulps: Update.
12650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12652 2012-05-23 David S. Miller <davem@davemloft.net>
12654 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12655 (__libc_sigaction): Remove unused local variables.
12657 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12659 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12661 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12663 mktime: avoid signed integer overflow
12664 * time/mktime.c (__mktime_internal): Do not mishandle the case
12665 where diff == INT_MIN.
12667 mktime: simplify computation of average
12668 * time/mktime.c (ranged_convert): Use new time_t_avg function
12669 instead of rolling our own (probably-slower) code.
12671 mktime: do not assume signed right shift propagates sign bit
12672 * time/mktime.c (isdst_differ): New static function.
12673 (__mktime_internal): No need to normalize tm_isdst now.
12674 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12677 mktime: merge another wrapv change from gnulib
12678 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12679 from some compilers.
12681 mktime: remove incorrect attempt at unusual arithmetics
12682 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12683 The code didn't really work on such machines anyway.
12684 (TYPE_MINIMUM): Assume two's complement.
12685 (twos_complement_arithmetic): Verify that long_int and time_t
12686 are two's complement (or unsigned, in the latter case).
12688 mktime: check signed shifts on long_int and time_t, too
12689 * time/mktime.c (SHR): Check that shifts work as desired
12690 on the types long_int and time_t too, as SHR is used on
12693 mktime: do not assume 'long' is wide enough
12694 * time/mktime.c (verify): Move decl up.
12695 (long_int): New type.
12696 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12697 to remove assumption in the code that 'long' is wide enough to
12698 store year values. This assumption is not true on x32 and on
12699 some non-glibc platforms.
12701 mktime: merge wrapv change from gnulib
12702 * time/mktime.c (WRAPV): New macro.
12703 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12704 (guess_time_tm, __mktime_internal): Do not assume that signed
12705 integer overflow wraps around; modern compilers generate code
12706 where this assumption is no longer valid.
12708 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12710 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12711 Replace "jmp L(pseudo_end)" with "ret".
12712 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12715 2012-05-23 Andreas Jaeger <aj@suse.de>
12717 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12718 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12720 2012-05-23 Andreas Jaeger <aj@suse.de>
12721 Maximilian Attems <max@stro.at>
12723 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12726 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12728 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12729 code so that pseudo_end is just ret and the stack pointer is
12730 correct also for static library in error case.
12732 2012-05-23 Joseph Myers <joseph@codesourcery.com>
12734 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12735 move to syscalls.list.
12736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12741 * manual/install.texi (Running make install): Do not mention Linux
12742 kernel version for which pt_chown is not needed.
12743 (Linux): Do not mention problems with nscd with 2.0 kernels.
12744 * INSTALL: Regenerated.
12746 2012-05-23 Andreas Jaeger <aj@suse.de>
12748 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12749 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12751 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12752 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12753 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12754 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12755 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12756 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12757 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12758 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12759 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12760 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12761 * sysdeps/unix/sysv/linux/bits/in.h
12762 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12764 2012-05-22 Roland McGrath <roland@hack.frob.com>
12766 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12767 (PREPARE_VERSION): Just use assert instead, it will be elided
12768 under [NDEBUG] anyway.
12770 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12772 * sysdeps/unix/sysv/linux/Makefile: Include
12773 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12774 (sysdep_routines): Remove sysctl.
12775 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12776 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12777 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12778 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12779 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12781 2012-05-22 Andreas Jaeger <aj@suse.de>
12783 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12784 that pseudo_end is just ret and the stack pointer is correct also
12785 for static library in error case.
12787 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12790 * nss/nsswitch.c (defconfig_entries): New variable.
12791 (__nss_database_lookup): Don't leak defconfig entries.
12792 (nss_parse_service_list): Don't leak on error paths.
12793 (free_database_entries): New function.
12794 (free_defconfig): New function.
12795 (free_mem): Move common code to free_database_entries.
12797 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12799 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12801 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12803 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12804 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12805 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12807 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12808 (INTERNAL_SYSCALL_TYPES): Likewise.
12809 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12810 (LOAD_REGS_TYPES_[1-6]): Likewise.
12811 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12812 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12814 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12816 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12817 copysignl for GLIBC_2_0.
12818 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12819 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12820 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12821 logbl for GLIBC_2_0.
12822 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12823 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12825 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12827 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12828 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12830 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12833 * time/mktime.c: Update copyright years.
12835 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12837 mktime: merge comment-quoting-style change from gnulib
12838 * time/mktime.c: Quote 'like this' in comments.
12839 The GNU coding standards suggest that we no longer quote `like this',
12840 as "`" and "'" are typically rendered asymmetrically nowadays.
12841 The typical gnulib style is to quote 'like this' when quoting
12842 code, and "like this" when quoting English.
12844 * time/mktime.c (compile-command): Add "-I.".
12846 mktime: merge mktime-internal.h change from gnulib
12847 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12849 mktime: merge time_r change from gnulib
12850 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12852 mktime: merge DEBUG change from gnulib
12853 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12854 case system <time.h> has a #define.
12856 mktime: merge <sys/types.h> change from gnulib
12857 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12858 since <time.t> is now guaranteed to define time_t.
12860 mktime: merge HAVE_CONFIG_H change from gnulib
12861 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12863 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12868 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12870 (struct rusage): Use anonymous union to pad each field to
12873 2012-05-21 David S. Miller <davem@davemloft.net>
12875 * Makefules (o-iterator): Remove .s cases.
12876 (compile-command.s): Delete.
12877 (COMPILE.s): Delete.
12878 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12880 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12882 * configure.in (libc_cv_predef_stack_protector): Only consider
12883 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12884 * configure: Regenerated.
12886 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12889 New macro. Use R*LP on int and pointer.
12890 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12891 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12892 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12893 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12895 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12896 [__WORDSIZE_TIME64_COMPAT32] instead of
12897 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12898 (struct utmp): Likewise.
12899 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12900 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12902 (__WORDSIZE_TIME64_COMPAT32): This.
12903 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12904 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12905 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12906 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12907 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12908 (__WORDSIZE_TIME64_COMPAT32): New macro.
12910 2012-05-21 Andreas Jaeger <aj@suse.de>
12912 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12913 only if [SHARED]. Add prototype for __wcschr_ia32.
12915 2012-05-21 Roland McGrath <roland@hack.frob.com>
12917 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12918 of %rbp unmolested in the jmp_buf while mangling the low bits.
12919 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12920 unmolested high bits of %rbp while demangling the low bits.
12921 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12923 2012-05-21 Andreas Jaeger <aj@suse.de>
12925 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12926 * sunrpc/svc_simple.c: Use it for registerrpc.
12927 * sunrpc/xcrypt.c: Use it for passwd2des.
12929 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12931 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12933 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12934 Don't define if [__SYSCALL_WORDSIZE != 32].
12935 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12938 2012-05-21 Bruno Haible <bruno@clisp.org>
12939 Andreas Jaeger <aj@suse.de>
12941 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12942 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12943 inptr and inend for must_buffer_ch.
12944 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12945 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12946 * stdio-common/Makefile (tests): Remove bug15.
12947 (bug15-ENV): Remove macro.
12948 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12951 2012-05-19 Andreas Jaeger <aj@suse.de>
12952 Roland McGrath <roland@hack.frob.com>
12954 * manual/contrib.texi: Completely rewritten. It contains now an
12955 alphabetical list of contributors and their contributions.
12957 2012-05-21 Richard Henderson <rth@twiddle.net>
12959 * misc/getauxval.c (__getauxval): Use unsigned long int.
12960 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12961 (getauxval): Use unsigned long int.
12963 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12965 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12967 2012-05-21 Roland McGrath <roland@hack.frob.com>
12969 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12970 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12971 __alignof__ (long double).
12973 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12977 2012-05-20 Richard Henderson <rth@twiddle.net>
12979 * misc/getauxval.c: New file.
12980 * misc/sys/auxv.h: New file.
12981 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12982 (routines): Add getauxval.
12983 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12984 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12985 * elf/dl-sysdep.c (_dl_auxv): Remove.
12986 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12987 * elf/dl-support.c (_dl_auxv): New variable.
12988 (_dl_aux_init): Initialize it.
12989 * manual/startup.texi (Auxiliary Vector): New node.
12990 * sysdeps/generic/bits/hwcap.h: New file.
12991 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12992 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12993 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12994 * sysdeps/sparc/sysdep.h: ... here. Include it.
12995 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12996 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13002 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13008 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13012 2012-05-19 David S. Miller <davem@davemloft.net>
13014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13016 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13019 * math/s_ccosh.c: Include <float.h>
13020 (__ccosh): Avoid internal overflow calculating sinh and cosh
13021 values before multiplying by sin and cos values.
13022 * math/s_ccoshf.c: Likewise.
13023 * math/s_ccoshl.c: Likewise.
13024 * math/s_csin.c: Likewise.
13025 * math/s_csinf.c: Likewise.
13026 * math/s_csinl.c: Likewise.
13027 * math/s_csinh.c: Likewise.
13028 * math/s_csinhf.c: Likewise.
13029 * math/s_csinhl.c: Likewise.
13030 * math/libm-test.inc (ccos_test): Add more tests.
13031 (ccosh_test): Likewise.
13032 (csin_test): Likewise.
13033 (csinh_test): Likewise.
13034 * sysdeps/i386/fpu/libm-test-ulps: Update.
13035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13037 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13039 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13040 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13042 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13044 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13046 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13047 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13048 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13049 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13050 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13051 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13052 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13053 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13054 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13055 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13056 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13057 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13058 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13059 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13060 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13061 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13062 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13063 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13064 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13065 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13066 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13067 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13068 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13069 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13070 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13071 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13072 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13073 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13074 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13075 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13076 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13078 2012-05-18 Andreas Jaeger <aj@suse.de>
13080 * csu/.gitignore: Delete.
13082 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13084 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13085 (timex): Use __syscall_slong_t.
13087 2012-05-18 Andreas Jaeger <aj@suse.de>
13088 Carlos O'Donell <carlos_odonell@mentor.com>
13090 * manual/install.texi (Configuring and compiling): Update
13091 description about files modified in the source directory.
13092 * INSTALL: Regenerated.
13094 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13096 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13097 value. Use "or" to set return value to -1.
13098 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13099 negate return value.
13101 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13103 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13104 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13105 failure if the compiler has Graphite support disabled.
13106 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13108 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13109 CFLAGS-memmove.c): Likewise.
13110 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13113 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13115 * sysdeps/x86_64/x32/_itoa.h: New file.
13117 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13118 getdents system call only if kernel and user dirents have the
13119 same d_ino and d_off.
13121 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13122 LLONG_MAX != LONG_MAX.
13123 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13124 (_fitoa_word): Likewise.
13126 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13128 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13129 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13130 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13132 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13133 include <bits/wordsize.h>. Check __x86_64__ instead of
13135 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13136 if __x86_64__ is defined. Use anonymous union on fpstate.
13138 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13141 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13143 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13144 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13145 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13146 Refer to _rtld_local_ro instead of _rtld_global_ro.
13147 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13149 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13151 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13153 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13154 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13155 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13157 * sysdeps/powerpc/powerpc32/dl-machine.c
13158 (__elf_machine_runtime_setup) [PROF]: Don't reference
13161 2012-05-18 Andreas Jaeger <aj@suse.de>
13163 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13164 function only available for GCCs before 3.4 since GCC 3.4
13165 introduced a builtin.
13167 (llrintf): Likewise.
13168 (llrint): Likewise.
13175 (nearbyint): Likewise.
13176 (nearbyintf): Likewise.
13180 (floorf): Likewise.
13182 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13184 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13185 on both fields and cast pointer to __syscall_ulong_t.
13187 * bits/types.h (__fsword_t): New type.
13188 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13189 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13190 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13191 (__FSWORD_T_TYPE): Likewise.
13192 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13193 (__FSWORD_T_TYPE): Likewise.
13194 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13195 (__FSWORD_T_TYPE): Likewise.
13196 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13197 (__FSWORD_T_TYPE): Likewise.
13198 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13199 __SWORD_TYPE with __fsword_t.
13200 (statfs64): Likewise.
13202 2012-05-17 David S. Miller <davem@davemloft.net>
13204 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13206 2012-05-17 Andreas Jaeger <aj@suse.de>
13208 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13211 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13213 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13215 2012-05-17 Andreas Jaeger <aj@suse.de>
13217 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13220 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13222 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13224 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13226 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13227 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13229 2012-05-17 Andreas Jaeger <aj@suse.de>
13230 Carlos O'Donell <carlos_odonell@mentor.com>
13233 * sysdeps/x86_64/multiarch/init-arch.h
13234 (bit_YMM_Usable): Rename to...
13235 (bit_AVX_Usable): ... this.
13236 (bit_FMA4_Usable): New macro.
13237 (bit_XMM_state): New macro.
13238 (bit_YMM_state): New macro.
13239 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13240 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13241 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13242 (CPUID_OSXSAVE): New macro.
13243 (CPUID_AVX): New macro.
13244 (CPUID_FMA4): New macro.
13245 (index_YMM_Usable): Rename to...
13246 (index_AVX_Usable): ... this.
13247 (HAS_AVX): Use HAS_ARCH_FEATURE.
13248 (HAS_FMA4): Likewise.
13249 (HAS_YMM_USABLE): Remove.
13250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13251 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13253 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13254 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13255 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13256 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13257 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13259 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13261 * math/libm-test.c: Support platforms without multiple rounding modes.
13262 * math/bug-nextafter.c: Support platforms without FP exceptions.
13263 * math/bug-nexttoward.c: Likewise.
13264 * math/test-fenv.c: Likewise.
13265 * math/test-misc.c: Likewise.
13266 * stdlib/bug-getcontext.c: Likewise.
13268 2012-05-17 Andreas Jaeger <aj@suse.de>
13270 * manual/examples/search.c (critter_cmp): Change signature to
13272 * manual/string.texi (Collation Functions): Likewise.
13274 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13276 * bits/types.h: Fold copyright years.
13277 * bits/typesizes.h: Likewise.
13278 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13279 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13280 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13281 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13282 * time/time.h: Likewise.
13284 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13287 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13288 in instead of returning them. Return void.
13289 (__libc_mallinfo): Accumulate over all arenas.
13290 (__malloc_stats): Adjust for change in int_mallinfo interface.
13292 2012-05-16 Roland McGrath <roland@hack.frob.com>
13295 * configure.in (NM): Add AC_CHECK_TOOL for it.
13296 (libc_extra_cflags): New substituted variable.
13297 Check for -fstack-protector being used implicitly.
13298 * configure: Regenerated.
13299 * config.make.in (config-extra-cflags): New variable,
13300 gets @libc_extra_cflags@.
13301 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13304 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13305 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13306 * configure: Regenerated.
13307 * config.make.in (CPPUNDEFS): New substituted variable.
13308 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13309 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13310 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13312 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13314 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13315 (mq_attr): Use __syscall_slong_t.
13317 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13319 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13320 Check __x86_64__ instead of __WORDSIZE.
13321 (_STAT_VER_LINUX): Likewise.
13322 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13323 __syscall_ulong_t and __syscall_slong_t.
13324 (stat64): Likewise.
13326 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13328 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13330 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13332 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13334 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13336 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13339 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13340 include <bits/wordsize.h>. Check __x86_64__ instead of
13342 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13344 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13346 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13347 include <bits/wordsize.h>. Check __x86_64__ instead of
13349 (user_regs_struct): Use "__extension__ unsigned long long"
13350 instead of "unsigned long" if __x86_64__ is defined.
13351 (user): Likewise. Pad after pointer field if __ILP32__ is
13354 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13356 * configure.in (makeinfo): Require version 4.5 or later. Allow
13358 * configure: Regenerated.
13359 * manual/install.texi (texinfo): Increase version requirement to
13361 * INSTALL: Regenerated.
13363 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13365 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13367 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13369 * sysdeps/x86_64/x32/ffs.c: New file.
13371 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13373 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13374 defined. Use __syscall_ulong_t.
13375 (shminfo): Use __syscall_ulong_t.
13376 (shm_info): Likewise.
13378 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13381 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13383 (msgqnum_t): Use __syscall_ulong_t.
13384 (msglen_t): Likewise.
13385 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13388 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13389 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13391 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13393 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13394 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13396 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13399 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13400 include <bits/wordsize.h>. Check __x86_64__ instead of
13403 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13404 "unsigned long long int" if __x86_64__ is defined.
13405 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13407 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13408 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13409 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13411 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13413 (GET_PC): Cast to uintptr_t first.
13414 (GET_FRAME): Likewise.
13415 (GET_STACK): Likewise.
13417 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13418 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13419 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13420 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13421 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13422 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13423 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13424 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13425 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13426 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13427 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13428 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13429 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13430 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13431 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13432 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13433 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13434 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13435 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13436 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13437 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13438 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13439 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13440 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13441 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13442 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13443 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13444 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13445 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13447 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13449 * Makerules (+depfiles): Also collect depfiles from .oS in
13451 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13452 .oS, $(libnldbl-routines)).
13454 * Makerules (native-compile-mkdep-flags): Define.
13455 * sunrpc/Makefile (extra-objs): Add $(addprefix
13456 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13457 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13458 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13459 calling $(make-target-directory).
13461 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13463 * bits/types.h (__snseconds_t): Removed.
13464 * time/time.h (struct timespec): Replace __snseconds_t with
13466 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13467 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13469 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13470 (__SNSECONDS_T_TYPE): Likewise.
13471 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13472 (__SNSECONDS_T_TYPE): Likewise.
13473 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13474 (__SNSECONDS_T_TYPE): Likewise.
13476 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13478 * sysdeps/mach/hurd/bits/typesizes.h
13479 (__SYSCALL_SLONG_TYPE): New macro.
13480 (__SYSCALL_ULONG_TYPE): Likewise.
13482 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13484 * bits/types.h (__syscall_slong_t): New type.
13485 (__syscall_ulong_t): Likewise.
13487 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13488 (__SYSCALL_ULONG_TYPE): Likewise.
13489 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13490 (__SYSCALL_SLONG_TYPE): Likewise.
13491 (__SYSCALL_ULONG_TYPE): Likewise.
13492 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13493 (__SYSCALL_SLONG_TYPE): Likewise.
13494 (__SYSCALL_ULONG_TYPE): Likewise.
13495 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13496 (__SYSCALL_SLONG_TYPE): Likewise.
13497 (__SYSCALL_ULONG_TYPE): Likewise.
13499 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13501 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13502 Add sigaltstack-offsets.sym.
13503 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13504 <sigaltstack-offsets.h>.
13505 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13506 longjmp_msg pointer.
13507 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13508 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13510 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13512 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13514 * elf/stackguard-macros.h: Remove file.
13515 * sysdeps/generic/stackguard-macros.h: New file.
13516 * sysdeps/i386/stackguard-macros.h: Likewise.
13517 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13518 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13519 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13520 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13521 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13522 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13523 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13524 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13525 <elf/stackguard-macros.h>.
13528 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13529 __aligned__ in attribute.
13530 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13531 (gregset_t): Likewise.
13533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13535 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13536 * sysdeps/x86_64/64/Implies-after: Here. New file.
13537 * sysdeps/x86_64/x32/Implies-after: New file.
13539 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13541 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13542 and access return value for _dl_profile_fixup. Use R10_LP to
13545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13547 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13551 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13552 * sysdeps/x86_64/x32/sysdep.h: New file.
13554 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13556 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13557 * sysdeps/x86_64/setjmp.S: Likewise.
13559 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13561 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13562 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13563 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13564 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13565 remove unused global constant.
13567 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13569 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13570 include of <not-cancel.h>.
13572 2012-05-15 Roland McGrath <roland@hack.frob.com>
13574 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13576 2012-05-15 Jeff Law <law@redhat.com>
13577 Andreas Jaeger <aj@suse.de>
13580 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13582 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13583 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13584 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13585 code changing __hst_map_handle.map.
13587 2012-05-15 Roland McGrath <roland@hack.frob.com>
13589 * configure.in (sysnames): Look for Implies-before and Implies-after
13591 * configure: Regenerated.
13593 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13595 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13596 8-byte data alignment with LP_SIZE alignment.
13598 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13600 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13603 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13605 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13607 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13609 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13610 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13611 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13613 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13617 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13618 (stackinfo_sub_sp): Likewise.
13620 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13622 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13627 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13632 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13637 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13639 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13641 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13642 into R11_LP and load __x86_64_shared_cache_size_half into
13645 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13647 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13650 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13652 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13654 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13656 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13658 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13659 powerpc32/power7/fpu/s_logb.c via #include.
13660 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13661 powerpc32/power7/fpu/s_logbf.c via #include.
13662 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13663 powerpc32/power7/fpu/s_logbl.c via #include.
13665 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13667 * README.libm: Remove file.
13669 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13671 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13672 count for x32. Use R*_LP and omit operand-size suffix.
13674 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13676 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13677 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13678 * sysdeps/x86_64/x32/shlib-versions: New file.
13680 2012-05-14 Roland McGrath <roland@hack.frob.com>
13682 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13683 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13684 Use _dl_fatal_printf instead.
13686 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13688 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13689 set if not set by the user. Do not allow for being unset.
13690 * sysdeps/unix/sysv/linux/configure: Regenerated.
13692 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13694 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13695 the `q' suffix from lea and replace .quad with ASM_ADDR.
13697 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13699 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13700 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13702 (PTR_DEMANGLE): Likewise.
13704 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13706 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13708 (ASM_ADDR): Likewise.
13709 (RAX_LP): Likewise.
13710 (RBP_LP): Likewise.
13711 (RBX_LP): Likewise.
13712 (RCX_LP): Likewise.
13713 (RDI_LP): Likewise.
13714 (RSI_LP): Likewise.
13715 (RSP_LP): Likewise.
13718 (R10_LP): Likewise.
13719 (R10_LP): Likewise.
13720 (R11_LP): Likewise.
13721 (R12_LP): Likewise.
13722 (R13_LP): Likewise.
13723 (R14_LP): Likewise.
13724 (R15_LP): Likewise.
13726 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13728 * sysdeps/x86_64/x32/dl-machine.h: New file.
13730 2012-05-14 Andreas Jaeger <aj@suse.de>
13732 * manual/Makefile (subdir): Remove export of subdir.
13733 (all): Remove target.
13734 (.PHONY): Remove all from list.
13735 (mkinstalldirs): Remove.
13736 (.PHONY): Remove installdirs from list.
13737 ($(inst_infodir)/libc.info): Use make-target-directory.
13738 (installdirs): Remove.
13739 (subdir_%): Remove.
13740 (glibc-targets): Remove.
13743 ($(objpfx)stubs ../po/manual.pot): Remove.
13744 ($(objpfx)stamp%): Remove.
13745 (make-target-directory): Remove.
13746 (subdir_install): Remove.
13747 (routines): Remove.
13754 * manual/.gitignore: Remove, it's not needed anymore.
13755 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13757 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13759 (texis): Renamed to $(objpfx)texis.
13760 (texis-path): New, contains path to generated files.
13761 (chapters.%): Use texis-path for complete path, add extra argument
13763 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13764 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13765 (summary,texi, stamp-summary): Use complete path of
13766 files. Generate files in build dir.
13767 (dir-add.texi): Build in build dir.
13768 (libm-err.texi,stamp-libm-err): Likewise.
13769 (version.texi, stamp-version): Likewise.
13770 (.%c.texi): Likewise.
13771 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13772 (mostlyclean): Remove target.
13773 (realclean): Remove target.
13774 (generated): Add new variable with contents from mostlyclean and
13775 realclean, remove entries duplicated in common-mostlyclean, add
13776 stamp-libm-err and stamp-version.
13777 (generated-dirs): Add libc directory.
13778 ($(inst_infodir)/libc.info): Install files from build dir.
13780 * manual/install.texi (Configuring and compiling): Adjust since
13781 the info files are not part of the tar ball anymore.
13783 2012-05-14 Andreas Jaeger <aj@suse.de>
13785 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13788 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13791 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13792 to 2.2.0 where earlier.
13793 * sysdeps/unix/sysv/linux/configure: Regenerated.
13794 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13795 Remove conditional code.
13796 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13797 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13798 Remove conditional code.
13799 [!__NR_lchown]: Likewise.
13800 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13801 [__NR_lchown]: Likewise.
13802 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13803 comment referencing __ASSUME_LCHOWN_SYSCALL.
13804 * sysdeps/unix/sysv/linux/i386/sigaction.c
13805 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13806 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13807 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13808 Remove conditional code.
13809 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13810 (__protocol_available): Remove #if 0 code.
13811 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13813 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13814 * sysdeps/unix/sysv/linux/kernel-features.h
13815 (__ASSUME_GETCWD_SYSCALL): Don't define.
13816 (__ASSUME_REALTIME_SIGNALS): Likewise.
13817 (__ASSUME_PREAD_SYSCALL): Likewise.
13818 (__ASSUME_PWRITE_SYSCALL): Likewise.
13819 (__ASSUME_POLL_SYSCALL): Likewise.
13820 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13821 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13823 (__ASSUME_SIOCGIFNAME): Don't define.
13824 (__ASSUME_MSG_NOSIGNAL): Likewise.
13825 (__ASSUME_SENDFILE): Define unconditionally.
13826 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13827 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13829 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13830 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13831 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13832 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13833 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13834 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13835 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13837 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13838 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13840 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13841 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13843 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13844 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13846 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13847 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13849 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13850 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13852 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13853 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13855 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13856 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13858 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13859 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13860 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13861 Remove conditional code.
13862 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13863 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13864 Remove conditional code.
13865 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13866 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13867 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13868 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13869 Remove conditional code.
13870 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13871 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13872 Remove conditional code.
13873 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13874 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13875 Remove conditional code.
13876 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13877 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13878 Remove conditional code.
13879 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13880 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13881 Remove conditional code.
13882 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13883 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13884 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13885 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13886 * sysdeps/unix/sysv/linux/sigaction.c
13887 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13888 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13889 * sysdeps/unix/sysv/linux/sigpending.c
13890 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13891 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13892 * sysdeps/unix/sysv/linux/sigprocmask.c
13893 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13894 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13895 * sysdeps/unix/sysv/linux/sigsuspend.c
13896 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13897 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13898 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13899 (__libc_missing_rt_sigs): Remove.
13900 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13901 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13902 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13903 Remove conditional code.
13904 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13905 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13907 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13908 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13909 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13910 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13912 2012-05-14 Andreas Jaeger <aj@suse.de>
13914 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13915 it's not used in glibc.
13916 (__coshm1): Likewise.
13917 (__acosh1p): Likewise.
13920 * manual/string.texi (Copying and Concatenation): Add missing
13921 variable in concat example.
13922 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13924 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13927 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13928 __builtin_clzl with __builtin_clzll.
13930 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13933 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13936 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13938 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13939 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13940 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13941 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13943 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13945 * NEWS: Update ia64 info.
13947 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13949 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13952 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13954 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13955 * sysdeps/unix/syscalls.list (dup3): Likewise.
13956 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13957 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13959 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13961 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13962 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13964 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13966 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13968 (TLS_IE): Use mov/add instead of movq/addq to load thread
13970 (TLS_GD_PREFIX): New.
13973 2012-05-11 David S. Miller <davem@davemloft.net>
13975 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13976 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13977 (_FPU_SETCW): Likewise.
13979 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13981 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13982 is 32-byte aligned.
13984 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13987 * iconvdata/gb18030.c: Update tables.
13988 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13989 characters specially.
13990 (BODY for TO_LOOP): Add encoding of missing ranges.
13992 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13995 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13996 * sysdeps/mach/hurd/dup3.c: Likewise.
13997 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13998 * sysdeps/powerpc/memmove.c:: Likewise.
14000 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14002 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14003 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14005 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14007 * elf/elf.h (R_X86_64_RELATIVE64): New.
14008 (R_X86_64_NUM): Updated.
14009 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14010 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14011 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14012 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14013 tst-quad1pie tst-quad2pie
14014 (modules-names): Add tst-quadmod1 tst-quadmod2.
14015 ($(objpfx)tst-quad1): New dependency.
14016 ($(objpfx)tst-quad2): Likewise.
14017 ($(objpfx)tst-quad1pie): Likewise.
14018 ($(objpfx)tst-quad2pie): Likewise.
14019 * sysdeps/x86_64/tst-quad1.c: New file.
14020 * sysdeps/x86_64/tst-quad1pie.c: New file.
14021 * sysdeps/x86_64/tst-quad2.c: Likewise.
14022 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14023 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14024 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14025 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14026 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14028 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14030 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14031 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14032 * streams/stropts.h (t_scalar_t): Define type.
14034 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14035 (_PATH_PRESERVE): Set to "/var/lib".
14036 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14038 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14041 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14042 if __dir_mkfile succeeded.
14044 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14045 checking for _hurd_dtablesize. Unlock it right after having
14046 finished _hurd_dtable allocation.
14048 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14050 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14051 * sysdeps/mach/hurd/configure: Regenerated.
14052 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14053 special-casing to...
14054 * sysdeps/gnu/configure.in: ... this new file.
14055 * sysdeps/unix/sysv/linux/configure: Regenerated.
14056 * sysdeps/gnu/configure: New generated file.
14058 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14059 for Linux: use nsec instead of usec, as well as:
14060 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14061 members of type struct timespec.
14062 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14064 (struct stat64): Likewise.
14065 (_STATBUF_ST_NSEC): New macro.
14066 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14068 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14069 __strtoul_internal rather than strtoul.
14071 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14073 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14076 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14078 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14079 which preserves existing values.
14080 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14082 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14084 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14085 TIMEOUT values. Return EINVAL for NFDS values either negative or
14086 greater than FD_SETSIZE.
14088 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14090 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14091 allocated, call __vm_protect to finish enabling the existing space, and
14092 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14093 allocate the remainder.
14095 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14097 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14098 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14100 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14102 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14103 sysdeps/mach/hurd/readlink.c.
14105 * posix/tst-sysconf.c (posix_options): Only use
14106 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14107 _POSIX_SYNCHRONIZED_IO when they are defined
14108 * sysdeps/mach/hurd/bits/posix_opt.h:
14109 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14110 (_XOPEN_REALTIME): Undefine macro.
14111 (_XOPEN_REALTIME_THREADS): Undefine macro.
14112 (_XOPEN_SHM): Undefine macro.
14113 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14115 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14117 (_POSIX_ASYNC_IO): Undefine macro.
14118 (_POSIX_PRIORITIZED_IO): Undefine macro.
14119 (_POSIX_SPIN_LOCKS): Define macro to -1.
14121 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14122 SA_NODEFER, SA_RESETHAND.
14123 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14124 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14127 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14129 * elf/Makefile (pldd-modules): Define unconditionally.
14131 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14133 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14135 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14137 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14138 Return ENOENT when name is empty.
14139 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14141 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14143 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14145 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14147 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14149 Fix mlock in all cases except non-readable pages.
14150 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14151 instead of VM_PROT_ALL as parameter to __vm_wire function.
14153 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14154 (__mkdir): When path is `/', just fail with EEXIST.
14155 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14157 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14159 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14160 <sys/uio.h> (for writev).
14161 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14162 and <sys/param.h> (for MIN).
14164 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14166 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14167 REQUESTED_TIME. Properly set the remaining time and return EINTR
14170 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14172 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14173 Depend on against $(link-rpcuserlibs).
14175 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14177 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14178 (__libc_stack_end): Do not use attribute_relro.
14179 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14180 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14181 to libthread-provided value.
14182 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14185 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14188 * bits/libc-lock.h (__libc_once_get): New macro.
14189 * sysdeps/mach/bits/libc-lock.h: Likewise.
14190 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14191 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14192 instead of using implementation details.
14194 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14195 * libio/freopen.c: Likewise.
14196 * libio/freopen64.c: Likewise.
14197 * misc/syslog.c: Likewise.
14198 * nscd/connections.c: Likewise.
14199 * nscd/netgroupcache.c: Likewise.
14200 * sysdeps/posix/getcwd.c: Likewise.
14202 2012-05-10 Roland McGrath <roland@hack.frob.com>
14204 * math/w_ilogbf.c: Add #include <limits.h>.
14206 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14208 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14209 path instead of returning without unlocking.
14211 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14212 immediate-write ioctls.
14213 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14215 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14217 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14218 __builtin_frame_address instead of making assumptions about the
14219 location of the return address relative to DATA. Force early load of
14220 the return address.
14221 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14222 __builtin_frame_address.
14225 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14226 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14227 implement dup3 and do some further code clean-ups.
14228 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14229 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14231 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14233 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14235 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14236 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14237 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14238 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14239 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14242 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14243 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14244 when handler == SIG_ERR, not when handler != SIG_ERR.
14246 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14248 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14249 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14252 accept4 for GNU Hurd.
14253 * include/sys/socket.h (__libc_accept4): New prototype.
14254 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14255 to implement __libc_accept4.
14256 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14258 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14260 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14261 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14262 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14263 signal-defines.sym.
14265 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14267 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14269 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14271 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14272 assertion on O_CLOEXEC flag.
14273 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14274 * hurd/intern-fd.c: Likewise.
14275 * hurd/port2fd.c: Likewise.
14277 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14280 * bits/in.h (IPV6_PKTINFO): Define new macro.
14281 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14283 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14288 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14289 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14290 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14291 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14292 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14293 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14294 * math/libm-test.inc (logb_test) : Additional logb tests.
14296 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14297 Andreas Jaeger <aj@suse.de>
14299 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14300 * configure: Regenerated.
14301 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14302 * config.make.in (link-obsolete-rpc): New substituted variable.
14303 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14304 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14305 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14306 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14307 so that libc.a contains the symbols.
14308 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14309 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14310 * sunrpc/auth_none.c: Likewise.
14311 * sunrpc/auth_unix.c: Likewise.
14312 * sunrpc/authdes_prot.c: Likewise.
14313 * sunrpc/authuxprot.c: Likewise.
14314 * sunrpc/clnt_gen.c: Likewise.
14315 * sunrpc/clnt_perr.c: Likewise.
14316 * sunrpc/clnt_raw.c: Likewise.
14317 * sunrpc/clnt_simp.c: Likewise.
14318 * sunrpc/clnt_tcp.c: Likewise.
14319 * sunrpc/clnt_udp.c: Likewise.
14320 * sunrpc/clnt_unix.c: Likewise.
14321 * sunrpc/des_crypt.c: Likewise.
14322 * sunrpc/des_soft.c: Likewise.
14323 * sunrpc/get_myaddr.c: Likewise.
14324 * sunrpc/key_call.c: Likewise.
14325 * sunrpc/key_prot.c: Likewise.
14326 * sunrpc/netname.c: Likewise.
14327 * sunrpc/pm_getmaps.c: Likewise.
14328 * sunrpc/pm_getport.c: Likewise.
14329 * sunrpc/pmap_clnt.c: Likewise.
14330 * sunrpc/pmap_prot.c: Likewise.
14331 * sunrpc/pmap_prot2.c: Likewise.
14332 * sunrpc/pmap_rmt.c: Likewise.
14333 * sunrpc/publickey.c: Likewise.
14334 * sunrpc/rpc_cmsg.c: Likewise.
14335 * sunrpc/rpc_common.c: Likewise.
14336 * sunrpc/rpc_dtable.c: Likewise.
14337 * sunrpc/rpc_prot.c: Likewise.
14338 * sunrpc/rpc_thread.c: Likewise.
14339 * sunrpc/rtime.c: Likewise.
14340 * sunrpc/svc.c: Likewise.
14341 * sunrpc/svc_auth.c: Likewise.
14342 * sunrpc/svc_raw.c: Likewise.
14343 * sunrpc/svc_run.c: Likewise.
14344 * sunrpc/svc_tcp.c: Likewise.
14345 * sunrpc/svc_udp.c: Likewise.
14346 * sunrpc/svc_unix.c: Likewise.
14347 * sunrpc/svcauth_des.c: Likewise.
14348 * sunrpc/xcrypt.c: Likewise.
14349 * sunrpc/xdr.c: Likewise.
14350 * sunrpc/xdr_array.c: Likewise.
14351 * sunrpc/xdr_float.c: Likewise.
14352 * sunrpc/xdr_intXX_t.c: Likewise.
14353 * sunrpc/xdr_mem.c: Likewise.
14354 * sunrpc/xdr_rec.c: Likewise.
14355 * sunrpc/xdr_ref.c: Likewise.
14356 * sunrpc/xdr_sizeof.c: Likewise.
14357 * sunrpc/xdr_stdio.c: Likewise.
14359 2012-05-10 Roland McGrath <roland@hack.frob.com>
14361 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14362 change. Update copyright years.
14364 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14366 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14368 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14369 Joseph Myers <joseph@codesourcery.com>
14370 Paul Pluzhnikov <ppluzhnikov@google.com>
14373 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14375 [cross-compiling] (extra-libs): Likewise.
14376 [cross-compiling] (extra-libs-others): Likewise.
14377 [cross-compiling] (librpcsvc-routines): Likewise.
14378 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14379 [cross-compiling] (omit-deps): Likewise.
14380 (sunrpc-CPPFLAGS): New variable.
14381 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14382 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14383 (cross-rpcgen-objs): New variable.
14384 (extra-objs): Append $(cross-rpcgen-objs).
14385 ($(cross-rpcgen-objs)): New rule.
14386 ($(objpfx)cross-rpcgen): Likewise.
14387 (rpcgen-cmd): Define to use $(built-program-file). Expand
14389 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14390 ($(objpfx)x%.stmp): Likewise.
14391 * sunrpc/proto.h [IS_IN_build] (_): Define.
14392 [IS_IN_build] (_libc_intl_domainname): Likewise.
14394 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14396 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14397 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14398 and R_X86_64_TPOFF64.
14400 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14402 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14403 sysdeps/unix/sysv/syscalls.list.
14406 * sysdeps/unix/sysv/syscalls.list: Remove file.
14408 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14411 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14412 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14413 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14414 (__LC_IDENTIFICATION): Make these macros useful in #if
14415 expressions, as required by C99.
14417 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14419 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14420 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14423 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14425 * stdlib/longlong.h: Updated from GCC.
14427 2012-05-09 Andreas Jaeger <aj@suse.de>
14429 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14430 default is first entry.
14431 (run_mode): Set type.
14432 (main): Remove informal message about syslog.
14433 (options): Fix typo.
14436 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14439 (llrintf): Likewise.
14440 (llrint): Likewise.
14443 (nearbyint): Likewise.
14444 (nearbyintf): Likewise.
14446 2012-05-09 Andreas Jaeger <aj@suse.de>
14447 Pedro Alves <palves@redhat.com>
14449 * nscd/nscd.c (run_mode): Use enum.
14450 (main): Cleanup coding style issue.
14452 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14453 Andreas Jaeger <aj@suse.de>
14455 * nscd/nscd.c (go_background): Replaced with...
14456 (run_mode): ... this.
14457 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14458 (options): Add -F --foreground.
14459 (main): Implement it.
14460 (parse_opt): Parse it.
14462 2012-05-09 Andreas Jaeger <aj@suse.de>
14465 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14466 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14467 -Wconversion warning.
14468 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14471 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14473 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14475 (LC_ALL): Use macro-int-constant.
14476 (LC_COLLATE): Likewise.
14477 (LC_CTYPE): Likewise.
14478 (LC_MESSAGES): Likewise.
14479 (LC_MONETARY): Likewise.
14480 (LC_NUMERIC): Likewise.
14481 (LC_TIME): Likewise.
14482 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14483 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14484 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14485 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14487 [C99-based standards] (float_t): Expect type.
14488 [C99-based standards] (double_t): Expect type.
14489 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14491 [C99-based standards] (HUGE_VALL): Likewise.
14492 [C99-based standards] (INFINITY): Likewise.
14493 [C99-based standards] (NAN): Likewise.
14494 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14495 [C99-based standards] (FP_NAN): Likewise.
14496 [C99-based standards] (FP_NORMAL): Likewise.
14497 [C99-based standards] (FP_SUBNORMAL): Likewise.
14498 [C99-based standards] (FP_ZERO): Likewise.
14499 [C99-based standards] (FP_FAST_FMA): Use
14500 optional-macro-int-constant. Specify type. Require == 1.
14501 [C99-based standards] (FP_FAST_FMAF): Likewise.
14502 [C99-based standards] (FP_FAST_FMAL): Likewise.
14503 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14504 [C99-based standards] (FP_ILOGBNAN): Likewise.
14505 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14507 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14508 [C99-based standards] (math_errhandling): Specify type.
14509 [ISO99 || ISO11] (signgam): Do not allow.
14510 [non-C99-based standards] (copysignf): Do not allow.
14511 [non-C99-based standards] (exp2f): Likewise.
14512 [non-C99-based standards] (log2f): Likewise.
14513 [non-C99-based standards] (modff): Allow.
14514 [non-C99-based standards] (erff): Do not allow.
14515 [non-C99-based standards] (erfcf): Likewise.
14516 [non-C99-based standards] (gammaf): Likewise.
14517 [non-C99-based standards] (hypotf): Likewise.
14518 [non-C99-based standards] (j0f): Likewise.
14519 [non-C99-based standards] (j1f): Likewise.
14520 [non-C99-based standards] (jnf): Likewise.
14521 [non-C99-based standards] (lgammaf): Likewise.
14522 [non-C99-based standards] (tgammaf): Likewise.
14523 [non-C99-based standards] (y0f): Likewise.
14524 [non-C99-based standards] (y1f): Likewise.
14525 [non-C99-based standards] (ynf): Likewise.
14526 [non-C99-based standards] (isnanf): Likewise.
14527 [non-C99-based standards] (acoshf): Likewise.
14528 [non-C99-based standards] (asinhf): Likewise.
14529 [non-C99-based standards] (atanhf): Likewise.
14530 [non-C99-based standards] (cbrtf): Likewise.
14531 [non-C99-based standards] (expm1f): Likewise.
14532 [non-C99-based standards] (ilogbf): Likewise.
14533 [non-C99-based standards] (log1pf): Likewise.
14534 [non-C99-based standards] (logbf): Likewise.
14535 [non-C99-based standards] (nextafterf): Likewise.
14536 [non-C99-based standards] (remainderf): Likewise.
14537 [non-C99-based standards] (rintf): Likewise.
14538 [non-C99-based standards] (scalbf): Likewise.
14539 [non-C99-based standards] (copysignl): Likewise.
14540 [non-C99-based standards] (exp2l): Likewise.
14541 [non-C99-based standards] (log2l): Likewise.
14542 [non-C99-based standards] (modfl): Allow.
14543 [non-C99-based standards] (erfl): Do not allow.
14544 [non-C99-based standards] (erfcl): Likewise.
14545 [non-C99-based standards] (gammal): Likewise.
14546 [non-C99-based standards] (hypotl): Likewise.
14547 [non-C99-based standards] (j0l): Likewise.
14548 [non-C99-based standards] (j1l): Likewise.
14549 [non-C99-based standards] (jnl): Likewise.
14550 [non-C99-based standards] (lgammal): Likewise.
14551 [non-C99-based standards] (tgammal): Likewise.
14552 [non-C99-based standards] (y0l): Likewise.
14553 [non-C99-based standards] (y1l): Likewise.
14554 [non-C99-based standards] (ynl): Likewise.
14555 [non-C99-based standards] (isnanl): Likewise.
14556 [non-C99-based standards] (acoshl): Likewise.
14557 [non-C99-based standards] (asinhl): Likewise.
14558 [non-C99-based standards] (atanhl): Likewise.
14559 [non-C99-based standards] (cbrtl): Likewise.
14560 [non-C99-based standards] (expm1l): Likewise.
14561 [non-C99-based standards] (ilogbl): Likewise.
14562 [non-C99-based standards] (log1pl): Likewise.
14563 [non-C99-based standards] (logbl): Likewise.
14564 [non-C99-based standards] (nextafterl): Likewise.
14565 [non-C99-based standards] (remainderl): Likewise.
14566 [non-C99-based standards] (rintl): Likewise.
14567 [non-C99-based standards] (scalbl): Likewise.
14568 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14569 [non-C99-based standards] (FP_*): Do not allow.
14570 [C99-based standards] (FP_*): Change to
14571 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14572 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14574 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14575 (SIG_ERR): Likewise.
14576 [X/Open-based standards] (SIG_HOLD): Likewise.
14577 (SIG_IGN): Likewise.
14578 (SIGABRT): Use macro-int-constant. Specify type. Require
14580 (SIGFPE): Likewise.
14581 (SIGILL): Likewise.
14582 (SIGINT): Likewise.
14583 (SIGSEGV): Likewise.
14584 (SIGTER): Likewise.
14585 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14586 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14587 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14588 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14589 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14590 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14591 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14592 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14593 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14594 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14595 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14596 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14597 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14598 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14599 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14600 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14601 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14602 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14603 [X/Open-based standards] (SIGTRAP): Likewise.
14604 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14605 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14606 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14607 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14608 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14611 2012-05-08 Ian Wienand <ianw@vmware.com>
14614 * time/tzset.c (__tzset_parse_tz): Update default rules for
14615 daylight time changes in the Energy Policy Act of 2005.
14617 2012-05-09 Andreas Jaeger <aj@suse.de>
14620 * elf/ldconfig.c (parse_conf): Change string to make clear that
14621 ldconfig only issued a warning if ld.so.conf does not exist.
14623 2012-05-08 David S. Miller <davem@davemloft.net>
14625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14626 movxtod instead of popping the value on the stack.
14628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14630 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14632 * config.h.in: Add HAVE_ARM_PCS_VFP.
14634 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
14637 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14638 checking but the checks are disabled for any reason.
14640 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14642 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14643 and ELF64_R_TYPE with ELFW(R_TYPE).
14645 2012-05-08 Joseph Myers <joseph@codesourcery.com>
14647 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14648 (ulimit): Likewise.
14650 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14651 (settimeofday): Likewise.
14653 2012-05-08 Mike Frysinger <vapier@gentoo.org>
14655 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14656 a struct th_u2 inside the union, and move tu_block/tu_code into
14657 a new th_u3 union of tu_block/tu_code inside of that. Move
14658 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14659 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14660 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14661 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14662 (th_stuff): Change to th_u1.tu_stuff.
14664 (th_msg): Change to th_u1.th_u2.tu_data.
14666 2012-05-07 David S. Miller <davem@davemloft.net>
14668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14671 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14672 (SETUP_PIC_REG): Use it.
14673 (SETUP_PIC_REG_LEAF): Use it.
14675 2012-05-07 Joseph Myers <joseph@codesourcery.com>
14679 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14681 (EXPL_FINITE): Likewise.
14682 (FLDLOG): Likewise.
14683 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14684 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14686 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14688 (EXPL_FINITE): Likewise.
14689 (FLDLOG): Likewise.
14690 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14691 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14693 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14694 test of -max_value argument for long double.
14695 * sysdeps/i386/fpu/libm-test-ulps: Update.
14696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14698 2012-05-06 David S. Miller <davem@davemloft.net>
14700 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14701 quad soft-float symbols whose references which are compiler
14703 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14705 2012-05-06 Joseph Myers <joseph@codesourcery.com>
14709 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14711 (EXPL_FINITE): Likewise.
14712 (FLDLOG): Likewise.
14715 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14716 Adjust comments for base varying.
14717 (__expl_finite): Change alias to EXPL_FINITE.
14718 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14720 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14721 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14722 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14723 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14724 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14726 (EXPL_FINITE): Likewise.
14727 (FLDLOG): Likewise.
14730 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14731 Adjust comments for base varying.
14732 (__expl_finite): Change alias to EXPL_FINITE.
14733 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14738 * math/libm-test.inc (check_float_internal): Correct ulp
14739 calculation for subnormal expected results.
14741 2012-05-06 Andreas Jaeger <aj@suse.de>
14743 * Makeconfig (+math-flags): New, set to -frounding-math.
14744 (+cflags): Add +math-flags so that all of glibc gets compiled with
14747 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14749 2012-05-05 Joseph Myers <joseph@codesourcery.com>
14751 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14757 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14758 (__ieee754_expl): Allow for and saturate large arguments.
14759 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14760 (u_threshold): Likewise.
14761 (__exp): Call __ieee754_exp before checking for overflow and
14763 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14764 (u_threshold): Likewise.
14765 (__expf): Call __ieee754_expf before checking for overflow and
14767 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14768 (u_threshold): Likewise.
14769 (__expl): Call __ieee754_expl before checking for overflow and
14771 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14772 (__ieee754_expl): Allow for and saturate large arguments.
14773 * math/libm-test.inc (exp_test): Add another test. Do not allow
14774 missing overflow exception on overflow.
14775 (expm1_test): Do not allow missing overflow exception on overflow.
14777 * sysdeps/i386/fpu/e_expl.c: Move to ...
14778 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14779 rather than using inline asm.
14780 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14781 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14782 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14784 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14787 (signal): Likewise.
14791 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14793 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14794 sysdeps/unix/common/syscalls.list.
14795 (fchmod): Likewise.
14796 (fchown): Likewise.
14797 (ftruncate): Likewise.
14798 (getrusage): Likewise.
14799 (gettimeofday): Likewise.
14800 (setpgid): Likewise.
14801 (setregid): Likewise.
14802 (setreuid): Likewise.
14803 (sigaction): Likewise.
14804 (truncate): Likewise.
14805 (vhangup): Likewise.
14806 * sysdeps/unix/common/syscalls.list: Remove file.
14807 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14808 * sysdeps/unix/sysv/linux/Implies: Likewise.
14810 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14812 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14814 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14818 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14821 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14824 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14827 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14830 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14833 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14836 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14840 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14844 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14847 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14851 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14855 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14857 * sysdeps/unix/common/bits/dirent.h: Remove file.
14858 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14860 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14861 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14862 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14863 * sysdeps/unix/bsd/isatty.c: Likewise.
14864 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14865 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14866 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14868 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14871 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14872 long double comparison inaccuracies.
14873 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14876 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14878 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14879 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14881 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14884 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14885 nonzero digits before rounding a hex value.
14886 * stdlib/tst-strtod.c (tests): Add another test.
14888 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14890 * sysdeps/s390/fpu/libm-test-ulps: Update.
14892 2012-05-03 Andreas Jaeger <aj@suse.de>
14894 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14895 does not get optimized out.
14896 (malloc_opt_barrier): New.
14898 2012-05-03 Andreas Jaeger <aj@suse.de>
14899 Roland McGrath <roland@hack.frob.com>
14901 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14902 intermediate file deletion.
14903 (generated): Add .symlist files.
14905 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14908 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14909 Redirect under this condition.
14910 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14911 [__USE_GNU] (__dprintf_chk): Not under this condition.
14912 [__USE_GNU] (__vdprintf_chk): Likewise.
14913 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14914 under this condition.
14915 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14916 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14917 [__USE_XOPEN2K8] (vdprintf): Likewise.
14918 [__USE_GNU] (__dprintf_chk): Not under this condition.
14919 [__USE_GNU] (__vdprintf_chk): Likewise.
14920 [__USE_GNU] (dprintf): Likewise.
14921 [__USE_GNU] (vdprintf): Likewise.
14923 2012-05-03 Roland McGrath <roland@hack.frob.com>
14925 * elf/Makefile (common-generated): Set this instead of generated for
14926 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14927 $(all-built-dso)-derived lists.
14929 2012-05-03 Andreas Jaeger <aj@suse.de>
14931 * sysdeps/i386/fpu/libm-test-ulps: Update.
14934 * FAQ.in: Likewise.
14935 * scripts/gen-FAQ.pl: Likewise.
14936 * manual/install.texi (Installation): Point to online location of
14938 * Makefile (files-for-dist): Remove FAQ.
14941 2012-05-02 Allan McRae <allan@archlinux.org>
14943 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14944 (LDFLAGS-reldepmod5.so): Likewise.
14945 (LDFLAGS-reldep6mod1.so): Likewise.
14946 (LDFLAGS-reldep6mod4.so): Likewise.
14947 (LDFLAGS-reldep8mod3.so): Likewise.
14948 (LDFLAGS-unload4mod1.so): Likewise.
14949 (LDFLAGS-unload4mod2.so): Likewise.
14950 (LDFLAGS-tst-initorder): Likewise.
14951 (LDFLAGS-tst-initordera2.so): Likewise.
14952 (LDFLAGS-tst-initordera3.so): Likewise.
14953 (LDFLAGS-tst-initordera4.so): Likewise.
14954 (LDFLAGS-tst-initorderb2.so): Likewise.
14955 (LDFLAGS-noload): Likewise.
14956 (LDFLAGS-next): Likewise.
14957 (LDFLAGS-order2mod1.so): Likewise.
14958 (LDFLAGS-order2mod2.so): Likewise.
14959 (LDFLAGS-tst-initorder2): Likewise.
14960 (LDFLAGS-tst-initorder2a.so): Likewise.
14961 (LDFLAGS-tst-initorder2b.so): Likewise.
14962 (LDFLAGS-tst-initorder2c.so): Likewise.
14963 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14965 2012-05-02 David S. Miller <davem@davemloft.net>
14967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14969 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14972 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14974 2012-05-02 Andreas Jaeger <aj@suse.de>
14976 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14977 since we manipulate rounding mode.
14978 (CPPFLAGS-test-idouble.c): Likewise.
14979 (CPPFLAGS-test-ifloat.c): Likewise.
14980 (CFLAGS-test-ldouble.c): Likewise.
14981 (CFLAGS-test-double.c): Likewise.
14982 (CFLAGS-test-float.c): Likewise.
14983 (CFLAGS-test-misc.c): Likewise.
14984 (CFLAGS-test-test-fenv.c): Likewise.
14986 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14990 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14991 comparisons to determine direction to adjust input.
14993 2012-05-01 Roland McGrath <roland@hack.frob.com>
14995 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14996 output to the target.
14998 * scripts/localplt.awk: New file.
14999 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15000 (check-localplt-CFLAGS): Variable removed.
15001 ($(all-built-dso:=.jmprel)): New static pattern rule.
15002 (generated): Add those targets.
15003 (localplt-built-dso): New variable.
15004 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15006 * elf/check-localplt.c: File removed.
15008 * scripts/check-execstack.awk: New file.
15009 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15010 (check-execstack-CFLAGS): Variable removed.
15011 ($(objpfx)check-execstack.h): Target removed.
15012 ($(objpfx)execstack-default): New target.
15013 (generated): Add that instead of check-execstack.h.
15014 ($(all-built-dso:=.phdr)): New static pattern rule.
15015 (generated): Add those targets.
15016 * elf/check-execstack.c: File removed.
15018 * scripts/check-textrel.awk: New file.
15019 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15020 (check-textrel-CFLAGS): Variable removed.
15021 (all-built-dso): Use := to define.o
15022 ($(all-built-dso:=.dyn)): New static pattern rule.
15023 (generated): Add those targets.
15024 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15025 * config.make.in (READELF): New substituted variable.
15026 * elf/check-textrel.c: File removed.
15028 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15030 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15032 * conform/data/ctype.h-data [C99-based standards] (isblank):
15034 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15035 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15036 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15037 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15038 Specify type. Require positive value.
15039 (EILSEQ): Likewise.
15040 (ERANGE): Likewise.
15041 [ISO || POSIX] (EILSEQ): Do not expect.
15042 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15043 Specify type. Require positive value.
15044 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15045 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15046 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15047 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15048 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15049 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15050 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15051 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15052 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15053 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15054 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15055 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15056 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15057 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15058 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15059 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15060 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15061 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15062 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15063 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15064 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15065 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15066 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15067 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15068 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15069 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15070 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15071 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15072 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15073 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15074 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15075 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15076 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15077 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15078 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15079 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15080 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15081 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15082 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15083 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15084 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15085 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15086 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15087 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15088 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15089 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15090 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15091 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15092 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15093 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15094 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15095 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15096 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15097 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15098 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15099 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15100 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15101 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15102 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15103 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15104 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15105 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15106 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15107 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15108 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15109 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15110 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15111 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15112 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15113 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15114 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15115 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15116 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15117 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15118 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15119 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15120 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15122 (FLT_ROUNDS): Expect as macro, not constant.
15123 (FLT_MANT_DIG): Use macro-int-constant.
15124 (DBL_MANT_DIG): Likewise.
15125 (LDBL_MANT_DIG): Likewise.
15126 (FLT_DIG): Likewise.
15127 (DBL_DIG): Likewise.
15128 (LDBL_DIG): Likewise.
15129 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15130 (DBL_MIN_EXP): Likewise.
15131 (LDBL_MIN_EXP): Likewise.
15132 (FLT_MAX_EXP): Use macro-int-constant.
15133 (DBL_MAX_EXP): Likewise.
15134 (LDBL_MAX_EXP): Likewise.
15135 (FLT_MAX_10_EXP): Likewise.
15136 (DBL_MAX_10_EXP): Likewise.
15137 (LDBL_MAX_10_EXP): Likewise.
15138 (FLT_MAX): Use macro-constant.
15139 (DBL_MAX): Likewise.
15140 (LDBL_MAX): Likewise.
15141 (FLT_EPSILON): Use macro-constant. Give upper bound.
15142 (DBL_EPSILON): Likewise.
15143 (LDBL_EPSILON): Likewise.
15144 (FLT_MIN): Likewise.
15145 (DBL_MIN): Likewise.
15146 (LDBL_MIN): Likewise.
15147 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15148 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15149 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15150 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15151 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15152 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15153 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15154 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15155 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15156 [ISO11] (FLT_TRUE_MIN): Likewise.
15157 [ISO11] (LDBL_TRUE_MIN): Likewise.
15158 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15159 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15160 (SCHAR_MIN): Use macro-int-constant. Specify type.
15161 (SCHAR_MAX): Likewise.
15162 (UCHAR_MAX): Likewise.
15163 (CHAR_MIN): Likewise.
15164 (CHAR_MAX): Likewise.
15165 (MB_LEN_MAX): Use macro-int-constant.
15166 (SHRT_MIN): Use macro-int-constant. Specify type.
15167 (SHRT_MAX): Likewise.
15168 (USHRT_MAX): Likewise.
15169 (INT_MAX): Likewise.
15170 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15172 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15174 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15176 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15177 bound negative. Suffix upper bound with "L".
15178 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15180 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15182 [C99-based standards] (LLONG_MAX): Likewise.
15183 [C99-based standards] (ULLONG_MAX): Likewise.
15184 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15186 [ISO11] (max_align_t): Require type.
15187 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15189 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15190 from $CFLAGS, without defining away __attribute__ calls.
15191 (checknamespace): Use $CFLAGS_namespace.
15193 * conform/conformtest.pl (@keywords): Only include C99 keywords
15194 for standards based on C99 or C11.
15196 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15198 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15201 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15202 usability of symbols in #if.
15204 * conform/conformtest.pl: If macro or constant types start
15205 "promoted:", expect the symbol to be of the following type
15206 promoted by the integer promotions.
15208 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15209 in one place. Also handle "macro-constant".
15211 * conform/conformtest.pl: Only accept expected macro values with
15212 "==". Parse all "macro" lines in one place.
15213 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15215 * conform/conformtest.pl: Handle braced types on "constant" lines
15216 instead of handling "typed-constant".
15217 * conform/data/signal.h-data: Use "constant" instead of
15220 * conform/conformtest.pl: Handle "optional-" at start of lines in
15221 one place rather than duplicating several cases. Handle each
15222 format of "macro" line with initial "optional-".
15224 * conform/conformtest.pl: Only accept expected constant or
15225 optional-constant values with "==". Parse all "constant" lines in
15226 one place. Parse all "optional-constant" lines in one place.
15227 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15228 * conform/data/fmtmsg.h-data: Likewise.
15229 * conform/data/netinet/in.h-data: Likewise.
15230 * conform/data/tar.h-data: Likewise.
15231 * conform/data/limits.h-data: Use "==" form on "constant" and
15232 "optional-constant" lines.
15234 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15235 Use -std=c99 for XOPEN2K.
15236 (@knownproblems): Remove.
15237 (newtoken): Don't check %isknown.
15239 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15240 Do not expect macro.
15241 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15242 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15243 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15244 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15245 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15246 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15247 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15248 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15249 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15250 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15251 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15252 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15253 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15254 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15255 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15256 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15257 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15258 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15259 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15260 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15261 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15262 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15263 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15264 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15265 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15266 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15267 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15268 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15269 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15270 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15271 [XPG3] (acosh): Likewise.
15272 [XPG3] (asinh): Likewise.
15273 [XPG3] (atanh): Likewise.
15274 [XPG3] (cbrt): Likewise.
15275 [XPG3] (expm1): Likewise.
15276 [XPG3] (ilogb): Likewise.
15277 [XPG3] (log1p): Likewise.
15278 [XPG3] (logb): Likewise.
15279 [XPG3] (nextafter): Likewise.
15280 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15281 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15282 [XPG3] (remainder): Likewise.
15283 [XPG3] (rint): Likewise.
15284 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15285 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15286 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15287 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15288 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15289 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15290 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15291 [UNIX98 || XOPEN2K] (scalb): Expect.
15292 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15293 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15294 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15295 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15296 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15297 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15298 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15299 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15300 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15301 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15302 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15303 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15304 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15305 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15306 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15307 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15308 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15309 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15310 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15311 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15312 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15313 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15314 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15315 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15316 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15317 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15318 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15319 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15320 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15321 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15322 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15323 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15324 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15325 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15326 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15327 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15328 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15329 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15330 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15331 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15332 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15333 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15334 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15335 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15336 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15337 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15338 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15339 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15340 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15341 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15342 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15343 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15344 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15345 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15346 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15347 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15348 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15349 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15350 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15351 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15352 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15353 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15354 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15355 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15356 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15357 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15358 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15359 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15360 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15361 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15362 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15363 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15364 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15365 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15366 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15367 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15368 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15369 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15370 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15371 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15372 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15373 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15374 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15375 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15376 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15377 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15378 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15379 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15380 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15381 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15382 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15383 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15384 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15385 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15386 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15387 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15388 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15389 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15390 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15391 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15392 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15393 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15394 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15395 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15396 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15397 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15398 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15399 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15400 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15401 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15402 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15403 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15404 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15405 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15406 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15407 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15408 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15409 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15410 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15411 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15412 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15413 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15414 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15415 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15416 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15417 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15418 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15419 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15420 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15421 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15422 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15423 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15424 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15425 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15426 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15427 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15428 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15430 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15431 _XOPEN_SOURCE_EXTENDED for XPG4.
15433 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15435 * Makeconfig (localtime): Remove variable.
15436 (inst_localtime-file): Likewise.
15438 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15459 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15463 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15464 comparisons to determine direction to adjust input.
15465 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15466 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15467 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15469 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15471 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15473 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15474 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15476 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15478 * math/libm-test.inc (nexttoward_test): Add more tests.
15480 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15483 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15484 in version GLIBC_2.1, not GLIBC_2.0.
15485 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15488 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15491 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15493 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15494 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15495 * math/libm-test.inc (acos_test): Add more tests.
15496 (asin_test): Likewise.
15497 * sysdeps/i386/fpu/libm-test-ulps: Update.
15498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15501 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15503 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15504 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15505 * math/libm-test.inc (acos_test_tonearest): New function.
15506 (acos_test_towardzero): Likewise.
15507 (acos_test_downward): Likewise.
15508 (acos_test_upward): Likewise.
15509 (asin_test_tonearest): Likewise.
15510 (asin_test_towardzero): Likewise.
15511 (asin_test_downward): Likewise.
15512 (asin_test_upward): Likewise.
15513 (main): Call the new functions.
15514 * sysdeps/i386/fpu/libm-test-ulps: Update.
15515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15519 * math/e_exp10.c: Include <float.h>.
15520 (__ieee754_exp10): Handle underflow here rather than multiplying
15521 large negative argument by M_LN10.
15522 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15524 * math/e_exp10l.c: Include <float.h>.
15525 (__ieee754_exp10l): Handle underflow here rather than multiplying
15526 large negative argument by M_LN10l.
15527 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15528 spurious overflow exception on underflow.
15530 2012-04-29 Marek Polacek <polacek@redhat.com>
15532 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15533 (__fortify_function): New macro.
15534 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15535 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15536 __extern_always_inline.
15537 * libio/bits/stdio2.h: Likewise.
15538 * libio/bits/stdio.h: Likewise.
15539 * string/string.h: Likewise.
15540 * string/bits/string3.h: Likewise.
15541 * include/stdio.h: Likewise.
15542 * stdlib/bits/stdlib.h: Likewise.
15543 * stdlib/stdlib.h: Likewise.
15544 * rt/bits/mqueue2.h: Likewise.
15545 * rt/mqueue.h: Likewise.
15546 * posix/bits/unistd.h: Likewise.
15547 * posix/unistd.h: Likewise.
15548 * io/bits/poll2.h: Likewise.
15549 * io/bits/fcntl2.h: Likewise.
15550 * io/fcntl.h: Likewise.
15551 * io/sys/poll.h: Likewise.
15552 * misc/bits/syslog.h: Likewise.
15553 * misc/bits/syslog-ldbl.h: Likewise.
15554 * misc/sys/syslog.h: Likewise.
15555 * socket/bits/socket2.h: Likewise.
15556 * socket/sys/socket.h: Likewise.
15557 * debug/tst-chk1.c: Likewise.
15558 * wcsmbs/bits/wchar2.h: Likewise.
15559 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15560 * wcsmbs/wchar.h: Likewise.
15562 2012-04-29 Andreas Jaeger <aj@suse.de>
15564 * Makerules (tests): Remove enable-check-abi protection.
15565 (check-abi-warn): Remove.
15566 (check-abi-%): Remove check-abi-warn usage.
15568 * configure.in: Remove check-abi configure option.
15569 * configure: Regenerated.
15570 * config.make.in (enable-check-abi): Remove.
15572 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15575 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15576 double functions to double *_finite functions.
15579 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15580 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15582 * stdio-common/Makefile (tests): Add tst-sprintf3.
15583 * stdio-common/tst-sprintf3.c: New file.
15585 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15586 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15588 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15590 * conform/conformtest.pl: Remove duplicate typed-constant
15593 2012-04-28 David S. Miller <davem@davemloft.net>
15595 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15596 (check-abi-%): Remove AWK script prerequisite and explicit
15598 (check-abi): Rewrite to just diff the symlist with the abilist.
15599 (config-tls, config-abi-config): Delete, no longer used.
15600 (update-abi-%): Remove AWK script and explicit abilist directory.
15601 (update-abi): Rewrite to simply compare and conditionally copy the
15602 symlist and the sysdep abilist file. Remove update-abi-config
15604 * abilist/ld.abilist: Remove.
15605 * abilist/libBrokenLocale.abilist: Remove.
15606 * abilist/libanl.abilist: Remove.
15607 * abilist/libcrypt.abilist: Remove.
15608 * abilist/libdl.abilist: Remove.
15609 * abilist/librt.abilist: Remove.
15610 * abilist/libthread_db.abilist: Remove.
15611 * abilist/libutil.abilist: Remove.
15612 * scripts/extract-abilist.awk: Remove.
15613 * scripts/merge-abilist.awk: Remove.
15614 * sysdeps/generic/libcidn.abilist: New file.
15615 * sysdeps/generic/libnss_compat.abilist: New file.
15616 * sysdeps/generic/libnss_db.abilist: New file.
15617 * sysdeps/generic/libnss_dns.abilist: New file.
15618 * sysdeps/generic/libnss_files.abilist: New file.
15619 * sysdeps/generic/libnss_hesiod.abilist: New file.
15620 * sysdeps/generic/libnss_nis.abilist: New file.
15621 * sysdeps/generic/libnss_nisplus.abilist: New file.
15622 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15623 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15624 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15626 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15627 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15628 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15629 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15630 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15631 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15632 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15633 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15634 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15636 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15637 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15638 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15639 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15641 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15642 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15643 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15644 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15645 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15646 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15648 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15649 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15650 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15652 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15653 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15659 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15661 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15663 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15665 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15669 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15755 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15756 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15757 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15759 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15760 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15761 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15762 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15763 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15764 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15765 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15766 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15767 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15768 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15820 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15822 * conform/conformtest.pl: Fix typo in handling typed-constant from
15825 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15827 * README: Cut down references to pre-2.6 Linux kernels and
15828 Linuxthreads. Update lists of configurations in libc and ports
15829 and sort alphabetically. Say "or newer" with Linux kernel version
15832 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15834 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15837 * math/libm-test.inc (logb_test_downward): New test to expose
15838 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15841 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15844 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15846 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15847 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15849 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15851 * sysdeps/unix/i386/brk.S: Remove file.
15852 * sysdeps/unix/i386/dl-brk.S: Likewise.
15853 * sysdeps/unix/i386/pipe.S: Likewise.
15854 * sysdeps/unix/i386/sigreturn.S: Likewise.
15855 * sysdeps/unix/i386/syscall.S: Likewise.
15856 * sysdeps/unix/i386/vfork.S: Likewise.
15857 * sysdeps/unix/i386/wait.S: Likewise.
15859 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15860 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15862 * configure.in (arm*-none*): Do not allow without
15863 --enable-hacker-mode.
15864 (netbsd*): Remove case setting base_os.
15865 (386bsd*): Likewise.
15866 (freebsd*): Likewise.
15869 (sunos*): Likewise.
15870 (ultrix*): Likewise.
15871 (newsos*): Likewise.
15872 (dynix*): Likewise.
15878 (minix*): Likewise.
15879 (irix4*): Likewise.
15880 (irix6*): Likewise.
15881 (solaris[2-9]*): Likewise.
15883 * configure: Regenerated.
15885 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15888 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15889 overflow or cancellation in calculating denominator.
15890 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15891 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15892 down expression to avoid unexpected rounding in newer GCCs.
15893 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15895 2012-04-26 David S. Miller <davem@davemloft.net>
15897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15898 long-double compat symbols.
15899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15913 2012-04-25 David S. Miller <davem@davemloft.net>
15915 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15916 HWCAP_* values only after the memory barriers have been defined.
15917 (atomic_full_barrier): Define.
15918 (atomic_read_barrier): Define.
15919 (atomic_write_barrier): Define.
15921 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15923 * shlib-versions: Add libgcc_s version information.
15924 * sysdeps/generic/libgcc_s.h: Remove.
15925 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15927 * sysdeps/gnu/unwind-resume.c: Likewise.
15928 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15930 2012-04-25 David S. Miller <davem@davemloft.net>
15932 * sysdeps/unix/sparc/brk.S: Delete.
15933 * sysdeps/unix/sparc/dl-brk.S: Delete.
15934 * sysdeps/unix/sparc/pipe.S: Delete.
15935 * sysdeps/unix/sparc/sysdep.S: Delete.
15936 * sysdeps/unix/sparc/sysdep.h: Delete.
15937 * sysdeps/unix/sparc/vfork.S: Delete.
15938 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15939 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15940 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15941 ret_ERRVAL, r0, r1, MOVE): Define.
15942 (JUMPTARGET): Remove.
15943 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15944 sysdeps/unix/sparc/sysdep.h
15945 (ENTRY, END): Remove.
15946 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15948 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15950 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15951 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15954 * timezone/README: Update upstream location and email address for
15956 * timezone/zdump.c: Update from tzcode 2012b.
15957 * timezone/zic.c: Likewise.
15959 * configure.in (libc_cv_as_needed): Remove test.
15960 * configure: Regenerated.
15961 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15962 conditional definition.
15963 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15964 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15965 * config.make.in (have-as-needed): Remove variable.
15967 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15968 Paul Pluzhnikov <ppluzhnikov@google.com>
15970 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15973 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15975 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15976 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15977 * sysdeps/sh/strlen.S: Likewise.
15979 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15981 * sysdeps/unix/fork.S: Remove file.
15982 * sysdeps/unix/i386/fork.S: Likewise.
15983 * sysdeps/unix/sparc/fork.S: Likewise.
15985 * sysdeps/unix/system.c: Remove file.
15986 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15988 * sysdeps/unix/getegid.S: Remove file.
15989 * sysdeps/unix/geteuid.S: Likewise.
15991 2012-04-24 Roland McGrath <roland@hack.frob.com>
15993 * scripts/check-localplt.awk: New file.
15994 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15996 * scripts/data/localplt-generic.data: Add a comment.
15998 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15999 NODE when __dir_mkfile failed.
16000 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16001 Reported by Ludovic Courtès <ludo@gnu.org>.
16003 2012-04-24 Andreas Jaeger <aj@suse.de>
16005 * Makerules (common-clean): Also remove gen-as-const-headers
16008 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16010 * Makerules (native-compile): Do not change working directory for
16011 build. Use $(OUTPUT_OPTION) in command.
16012 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16014 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16017 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16018 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16019 * math/libm-test.inc (floor_test): Add more tests.
16020 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16022 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16024 * sysdeps/unix/getdents.c: Remove file.
16025 * sysdeps/unix/sysv/getdents.c: Likewise.
16026 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16028 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16029 sysdeps/unix/mman/syscalls.list.
16031 (mprotect): Likewise.
16033 (munmap): Likewise.
16034 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16035 * sysdeps/unix/mman/syscalls.list: Remove.
16036 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16038 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16039 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16040 * configure: Regenerated.
16041 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16042 $(libgcc_s_suffix).
16043 * config.make.in (libgcc_s_suffix): Remove variable.
16045 2012-04-23 Joseph Myers <joseph@codesourcery.com>
16047 * sysdeps/unix/sysv/gethostname.c: Move to ...
16048 * sysdeps/posix/gethostname.c: ... here.
16050 * sysdeps/unix/execve.S: Remove file.
16052 * sysdeps/unix/_exit.S: Remove file.
16054 2012-04-23 Andreas Jaeger <aj@suse.de>
16057 * manual/Makefile: Remove make dist support, there's no
16058 need for a stand-alone documentation tar ball.
16059 (TEXI2DVI): Define always, it's not in Makeconfig.
16062 (edition): Removed.
16063 (glibc-doc-$(edition).tar): Removed
16067 (ETAGS): Remove, it's in Makeconfig.
16068 (move-if-change): Remove, it's in Makeconfig.
16070 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
16073 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16074 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16075 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16076 (strtod_l, strtof_l, strtold_l): Remove __wur.
16077 It is not necessarily an error to ignore strtol's return value.
16078 One can reliably look at the stored endptr to decide whether
16079 the number had valid syntax.
16081 2012-04-21 Andreas Jaeger <aj@suse.de>
16084 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16086 2012-04-21 Joseph Myers <joseph@codesourcery.com>
16088 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16089 * sysdeps/unix/sysv/Versions: Remove file.
16091 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16096 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
16099 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16100 version from __vm86.
16102 2012-04-20 Joseph Myers <joseph@codesourcery.com>
16104 * sysdeps/unix/common/lxstat.c: Remove file.
16105 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16107 * sysdeps/unix/sysv/Makefile: Remove file.
16109 * sysdeps/unix/sysv/direct.h: Remove file.
16111 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16112 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16113 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16114 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16115 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16116 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16117 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16119 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16121 * sysdeps/unix/xmknod.c: Remove file.
16122 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16124 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16126 * sysdeps/unix/sysv/i386/time.S: Remove file.
16128 * sysdeps/unix/fxstat.c: Remove file.
16129 * sysdeps/unix/xstat.c: Likewise.
16130 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16132 * sysdeps/unix/sysv/sigaction.c: Remove file.
16134 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16135 (sysdep_headers): Remove variable.
16136 [termio.h not in sysdep_headers] (generated): Likewise.
16137 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16138 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16139 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16140 * sysdeps/unix/sysv/tcflow.c: Likewise.
16141 * sysdeps/unix/sysv/tcflush.c: Likewise.
16142 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16143 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16144 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16145 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16146 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16148 * sysdeps/unix/siglist.c: Remove file.
16150 * sysdeps/unix/getppid.S: Remove file.
16152 * sysdeps/unix/mkdir.c: Remove file.
16153 * sysdeps/unix/rmdir.c: Likewise.
16155 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16157 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16159 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16160 errlist-compat value.
16162 2012-04-18 David S. Miller <davem@davemloft.net>
16164 * sysdeps/generic/memcopy.h (reg_char): Delete.
16165 * debug/strcat_chk.c: Use char, not reg_char.
16166 * debug/strcpy_chk.c: Likewise.
16167 * debug/strncat_chk.c: Likewise.
16168 * debug/strncpy_chk.c: Likewise.
16169 * string/memchr.c: Likewise.
16170 * string/memrchr.c: Likewise.
16171 * string/rawmemchr.c: Likewise.
16172 * string/strcat.c: Likewise.
16173 * string/strchr.c: Likewise.
16174 * string/strchrnul.c: Likewise.
16175 * string/strcmp.c: Likewise.
16176 * string/strcpy.c: Likewise.
16177 * string/strncat.c: Likewise.
16178 * string/strncmp.c: Likewise.
16179 * string/strncpy.c: Likewise.
16181 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16183 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16184 __builtin_memcopy is called when src and dest ranges are known to not
16187 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16189 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16190 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16191 fwd_align_merge macro call.
16192 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16193 bwd_align_merge macro call.
16194 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16196 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16198 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16199 bwd_align_merge macros.
16200 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16201 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16202 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16204 2012-04-18 David S. Miller <davem@davemloft.net>
16206 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16208 2012-04-18 Andreas Jaeger <aj@suse.de>
16211 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16212 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16213 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16215 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16216 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16217 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16219 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16220 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16221 Adjust for changed ldbl-128 files.
16223 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16224 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16225 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16227 2012-04-17 David S. Miller <davem@davemloft.net>
16229 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16231 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16233 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16234 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16235 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16236 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16237 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16238 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16240 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16243 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16244 * math/libm-test.inc: Add ilogb errno and exception tests.
16245 * math/w_ilogb.c: New file: ilogb wrapper.
16246 * math/w_ilogbf.c: New file: ilogbf wrapper.
16247 * math/w_ilogbl.c: New file: ilogbl wrapper.
16248 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16249 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16250 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16251 exception being thrown with 0.0 as argument.
16252 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16253 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16254 exception being thrown with 0.0 as argument.
16255 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16256 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16257 exception being thrown with 0.0 as argument.
16258 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16259 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16260 exception being thrown with 0.0 as argument.
16261 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16262 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16263 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16264 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16265 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16266 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16267 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16268 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16269 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16271 2012-04-17 Petr Baudis <pasky@ucw.cz>
16273 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16276 2012-04-16 Marek Polacek <polacek@redhat.com>
16278 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16280 2012-04-16 Marek Polacek <polacek@redhat.com>
16282 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16283 operands of fdivp instruction.
16285 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16287 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16288 * elf/tst-auditmod3b.c: Likewise.
16289 * elf/tst-auditmod4b.c: Likewise.
16290 * elf/tst-auditmod5b.c: Likewise.
16291 * elf/tst-auditmod6b.c: Likewise.
16292 * elf/tst-auditmod6c.c: Likewise.
16293 * elf/tst-auditmod7b.c: Likewise.
16294 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16295 * sysdeps/x86_64/preconfigure.in: Likewise.
16296 * sysdeps/x86_64/preconfigure: Regenerated.
16298 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16300 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16303 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16305 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16306 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16308 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16311 * locale/iso-639.def: Fix gl language name. Spotted by
16314 2012-04-12 Roland McGrath <roland@hack.frob.com>
16317 * libio/libio.h (__io_write_fn): Update comment.
16319 2012-04-12 Petr Baudis <pasky@ucw.cz>
16322 * stdio.texi (Hook Functions): The user provided writer function
16323 is not allowed to return -1.
16325 2012-04-11 David S. Miller <davem@davemloft.net>
16327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16329 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16331 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16332 Add a leading slash to rtkaio.
16334 2012-04-11 Jim Meyering <meyering@redhat.com>
16337 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16338 It is not necessarily an error to ignore fwrite's return
16339 value. One can reliably use ferror to test for errors after
16342 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16344 * bits/types.h (__snseconds_t): New type.
16345 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16347 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16348 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16349 (__SNSECONDS_T_TYPE): Likewise.
16350 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16351 (__SNSECONDS_T_TYPE): Likewise.
16352 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16353 (__SNSECONDS_T_TYPE): Likewise.
16355 2012-04-10 Andreas Jaeger <aj@suse.de>
16358 * manual/time.texi (Processor Time): Return type of times is
16359 elapsed real time since an arbitrary point in the past.
16360 (CPU Time): Move CLK_TCK from here...
16361 (Processor Time): ...to here. Correct description.
16362 * manual/conf.texi (Constants for Sysconf): Correct description of
16365 2012-04-10 David S. Miller <davem@davemloft.net>
16368 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16369 where the is a gap between DT_REL(A) and DT_JMPREL.
16371 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16373 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16374 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16375 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16377 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16379 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16380 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16381 (dl_main): Handle --inhibit-cache.
16382 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16384 * elf/dl-load.c (_dl_map_object): Use it.
16385 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16387 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16390 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16391 (__ieee754_powl): Saturate large exponents rather than testing for
16392 overflow of y*log2(x).
16393 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16394 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16398 * math/s_ctan.c: Include <float.h>.
16399 (__ctan): Avoid internal overflow or cancellation in calculating
16401 * math/s_ctanf.c: Likewise.
16402 * math/s_ctanl.c: Likewise.
16403 * math/s_ctanh.c: Likewise.
16404 * math/s_ctanhf.c: Likewise.
16405 * math/s_ctanhl.c: Likewise.
16406 * math/libm-test.inc (ctan_test): Add more tests.
16407 (ctanh_test): Likewise.
16408 * sysdeps/i386/fpu/libm-test-ulps: Update.
16409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16411 2012-04-09 Andreas Jaeger <aj@suse.de>
16414 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16415 is an optional BSD extension.
16418 * manual/stdio.texi (Opening Streams): Document additional fopen
16421 2012-04-09 Roland McGrath <roland@hack.frob.com>
16423 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16424 %eax without telling the compiler.
16426 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16429 * manual/install.texi: Use sourceware.org.
16431 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16434 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16435 (__ieee754_pow): Generate overflow and underflow using huge*huge
16436 and tiny*tiny rather than just returning constant infinity or zero
16437 for large exponents.
16438 * math/libm-test.inc (pow_test): Require overflow exceptions for
16439 applicable cases of large exponents.
16442 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16443 (__ieee754_pow): Use iterative multiplication algorithm only for
16444 integer exponents with absolute value below 1024. Check for odd
16445 integer exponents when using algorithm for real exponents.
16446 * math/libm-test.inc (pow_test): Add more tests.
16447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16449 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16452 * math/libm-test.inc (exp_test): Do not allow overflow exception
16455 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16458 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16459 instead of __kernel_standard_f.
16461 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16463 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16464 * sysdeps/x86_64/memset_chk.S: Likewise.
16466 2012-04-08 Andreas Jaeger <aj@suse.de>
16469 * manual/startup.texi (Environment Access): Describe return value
16470 for putenv and setenv.
16473 * manual/filesys.texi (Directory Entries): Add description for
16477 * manual/filesys.texi (Directory Entries): Clarify that it's file
16478 system not operating system in the description of DT_UNKNOWN.
16481 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16483 2012-04-08 Stephen Compall <s11@member.fsf.org>
16486 * manual/llio.texi (Opening and Closing Files): Add cross
16487 reference to explain mode argument.
16489 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16491 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16492 * sysdeps/x86_64/memset_chk.S: Likewise.
16494 2012-04-07 David S. Miller <davem@davemloft.net>
16496 * elf/elf.h (R_SPARC_WDISP10): Define.
16497 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16499 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16500 R_SPARC_SIZE64 and R_SPARC_H34.
16502 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16504 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16505 conditions and remove no longer applicable assertion.
16507 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16509 * bits/byteswap.h: Include <features.h>.
16510 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16511 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16513 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16515 * bits/byteswap.h (__bswap_16): Removed.
16516 Include <bits/byteswap-16.h> to get __bswap_16.
16517 * sysdeps/i386/bits/byteswap.h: Likewise.
16518 * sysdeps/s390/bits/byteswap.h: Likewise.
16519 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16520 * bits/byteswap-16.h: New file.
16521 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16522 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16523 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16524 * string/Makefile (headers): Add bits/byteswap-16.h.
16526 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16529 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16531 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16532 * nss/tst-nss-static.c: New.
16534 2012-04-06 Robert Millan <rmh@gnu.org>
16537 * manual/llio.texi (File Position Primitive): lseek
16538 refers to WHENCE when it really means OFFSET.
16540 2012-04-06 Andreas Jaeger <aj@suse.de>
16542 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16543 strncmp declarations.
16545 * abilist/libc.abilist: Add __poll and __ppoll.
16547 2012-04-05 David S. Miller <davem@davemloft.net>
16549 * scripts/check-local-headers.sh: Accept a host triplet in the
16550 path matched by the exclude regexp.
16552 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16554 * sysdeps/powerpc/powerpc32/dl-machine.h
16555 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16556 * sysdeps/s390/s390-32/dl-machine.h
16557 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16558 * sysdeps/sparc/sparc32/dl-machine.h
16559 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16560 * sysdeps/sparc/sparc64/dl-machine.h
16561 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16563 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16565 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16566 undefined symbol errors.
16568 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16571 2012-04-05 Michael Matz <matz@suse.de>
16574 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16576 2012-04-05 Andreas Jaeger <aj@suse.de>
16579 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16582 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16584 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16585 which ROUND is no valid rounding mode.
16587 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16589 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16591 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16593 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16595 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16596 an exception using FPU order intentionally.
16598 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16600 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16601 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16602 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16603 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16605 2012-04-05 Simon Josefsson <simon@josefsson.org>
16608 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16609 EINVAL when BUFLEN is too smal.
16611 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16614 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16615 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16617 2012-04-03 Andreas Jaeger <aj@suse.de>
16620 * manual/setjmp.texi (System V contexts): Fix sentence.
16623 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16624 New macro for this case.
16625 [!__GNUC__] (__bswap_64): New inline function for this case.
16626 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16627 * bits/byteswap.h: Likewise.
16628 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16629 ull, guard with __GLIBC_HAVE_LONG_LONG.
16631 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16632 __GLIBC_HAVE_LONG_LONG.
16634 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16635 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16637 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16640 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16641 inptr and inend, rather than using last_ch.
16643 2012-04-02 David S. Miller <davem@davemloft.net>
16645 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16646 * stdio-common/printf-parse.h (read_int): Change return type to
16647 'int', return -1 on INT_MAX overflow.
16648 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16649 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16650 overflows INT_MAX. Check for overflow of in-format-string precision
16651 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16652 SIZE_MAX not INT_MAX for integer overflow test.
16653 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16654 skip the construct in the format string but do not record anything.
16655 * stdio-common/bug22.c: Adjust to test both width/prevision
16656 INT_MAX overflow as well as total length INT_MAX overflow. Check
16657 explicitly for proper errno values.
16659 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16661 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16663 * string/test-strcmp.c [! WIDE]: Likewise.
16664 * time/tst-mktime2.c: Likewise for INT_MAX.
16665 * string/test-string.h: #include <sys/param.h> for MIN.
16667 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16668 * sysdeps/i386/init-first.c (init): Likewise.
16669 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16670 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16671 * sysdeps/sh/init-first.c (init): Likewise.
16673 2012-04-01 Ulrich Drepper <drepper@gmail.com>
16675 * po/ru.po: Update from translation team.
16676 * po/vi.po: Likewise.
16678 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16680 * resolv/nss_dns/dns-host.c: Merge copyright years.
16682 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16684 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16685 Optimize memcpy with prefetch if
16686 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16687 src, dst pointers have unequal 16 byte alignments.
16689 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16692 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16693 from a CNAME entry and return the minimum ttl for the query.
16694 (gaih_getanswer_slice): Likewise.
16696 2012-03-30 Jeff Law <law@redhat.com>
16698 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16700 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16701 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16703 * resolv/nss_dns/dns-host.c: Update copyright year.
16705 2012-03-30 Ulrich Drepper <drepper@gmail.com>
16707 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16708 requests to save a system call. Fix check that all bytes are sent.
16710 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16711 comments for sendmmsg.
16713 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16716 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16717 with only 1 character between 0x0041 and 0x01b0.
16718 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16719 * wcsmbs/tst-mbsnrtowcs.c: New file.
16721 2012-03-29 David S. Miller <davem@davemloft.net>
16723 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16724 small copies by hand.
16726 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16729 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16730 _nss_compat_initgroups_dyn): Fall back to malloc/free
16731 for large group memberships.
16733 2012-03-28 David S. Miller <davem@davemloft.net>
16735 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16736 that branches into memcpy.
16737 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16738 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16739 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16740 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16741 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16743 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16744 implementation too.
16745 * sysdeps/sparc/mempcpy.S: New file.
16747 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16748 the IFUNC routine in the libc case.
16749 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16751 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16752 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16753 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16754 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16755 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16756 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16757 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16758 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16760 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16761 loop to 256 bytes instead of 64 bytes and fix test signedness.
16763 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16764 * sysdeps/sparc/sparc32/Makefile: rather than here...
16765 * sysdeps/sparc/sparc64/Makefile: and here.
16767 2012-03-28 Ulrich Drepper <drepper@gmail.com>
16769 * malloc/mallocbug.c: Avoid warnings about unused variables.
16771 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16774 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16775 in the right place. Discard and retry query if response is
16776 larger than input buffer size.
16778 2012-03-28 Joseph Myers <joseph@codesourcery.com>
16783 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16784 x for large integer exponent.
16785 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16786 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16787 sign of result as needed afterwards.
16788 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16789 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16790 result for underflowing pow the same as for overflow.
16791 (__kernel_standard_l): Handle powl overflow and underflow here
16792 rather than calling __kernel_standard.
16793 * math/libm-test.inc (pow_test): Add more tests.
16808 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16809 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16810 (__kernel_standard_l): New function.
16811 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16813 * math/w_acosl.c (__acosl): Likewise.
16814 * math/w_asinl.c (__asinl): Likewise.
16815 * math/w_atan2l.c (__atan2l): Likewise.
16816 * math/w_atanhl.c (__atanhl): Likewise.
16817 * math/w_coshl.c (__coshl): Likewise.
16818 * math/w_exp10l.c (__exp10l): Likewise.
16819 * math/w_exp2l.c (__exp2l): Likewise.
16820 * math/w_fmodl.c (__fmodl): Likewise.
16821 * math/w_hypotl.c (__hypotl): Likewise.
16822 * math/w_j0l.c (__j0l, __y0l): Likewise.
16823 * math/w_j1l.c (__j1l, __y1l): Likewise.
16824 * math/w_jnl.c (__jnl, __ynl): Likewise.
16825 * math/w_lgammal.c (__lgammal): Likewise.
16826 * math/w_log10l.c (__log10l): Likewise.
16827 * math/w_log2l.c (__log2l): Likewise.
16828 * math/w_logl.c (__logl): Likewise.
16829 * math/w_powl.c (__powl): Likewise.
16830 * math/w_remainderl.c (__remainderl): Likewise.
16831 * math/w_scalbl.c (sysv_scalbl): Likewise.
16832 * math/w_sinhl.c (__sinhl): Likewise.
16833 * math/w_sqrtl.c (__sqrtl): Likewise.
16834 * math/w_tgammal.c (__tgammal): Likewise.
16835 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16836 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16837 * math/libm-test.inc (acos_test): Add more tests.
16838 (acosh_test): Likewise.
16839 (asin_test): Likewise.
16840 (atanh_test): Likewise.
16841 (exp_test): Likewise.
16842 (exp10_test): Likewise.
16843 (exp2_test): Likewise.
16844 (expm1_test): Likewise.
16845 (lgamma_test): Likewise.
16846 (log_test): Likewise.
16847 (log10_test): Likewise.
16848 (log1p_test): Likewise.
16849 (log2_test): Likewise.
16850 (pow_test): Do not allow some spurious overflow exceptions.
16851 (sqrt_test): Add more tests.
16852 (tgamma_test): Likewise.
16853 (y0_test): Likewise.
16854 (y1_test): Likewise.
16855 (yn_test): Likewise.
16857 2012-03-27 Anton Blanchard <anton@samba.org>
16859 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16861 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16862 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16863 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16865 2012-03-27 David S. Miller <davem@davemloft.net>
16867 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16869 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16870 have-as-vis3 check.
16872 2012-03-27 Andreas Jaeger <aj@suse.de>
16874 * sysdeps/x86_64/elf/configure.in: Moved to ...
16875 * sysdeps/x86_64/configure.in: ... here.
16876 * sysdeps/x86_64/elf/start.S: Moved to ...
16877 * sysdeps/x86_64/start.S: ... here.
16878 * sysdeps/x86_64/elf/configure: Delete.
16880 * sysdeps/x86_64/configure.in: Merge contents from
16881 sysdeps/i386/configure.in (without i686 check).
16883 * sysdeps/i386/elf/Versions: Merge into ...
16884 * sysdeps/i386/Versions: ... this.
16885 * sysdeps/i386/elf/Versions: Delete file.
16886 * sysdeps/i386/elf/start.S: Moved to ...
16887 * sysdeps/i386/start.S: ...here.
16888 * sysdeps/i386/elf/configure.in: Merge into...
16889 * sysdeps/i386/configure.in: ...here.
16890 * sysdeps/i386/elf/configure.in: Delete file.
16891 * sysdeps/i386/elf/configure: Delete file.
16893 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16894 * debug/backtracesyms.c: ... here.
16895 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16896 * debug/backtracesymsfd.c: ... here.
16897 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16898 * sysdeps/generic/ifunc-sel.h: ... here.
16900 * sysdeps/unix/i386/start.c: Delete file.
16901 * sysdeps/unix/sparc/start.c: Delete file.
16902 * sysdeps/unix/start.c: Delete file.
16904 * sysdeps/sh/elf/configure.in: Moved to ...
16905 * sysdeps/sh/configure.in: ... here.
16906 * sysdeps/sh/elf/start.S: Moved to ...
16907 * sysdeps/sh/start.S: ... here.
16908 * sysdeps/sh/elf/configure: Delete file.
16910 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16911 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16912 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16913 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16914 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16915 * sysdeps/powerpc/powerpc64/start.S: here.
16916 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16917 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16918 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16919 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16920 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16922 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16923 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16924 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16925 * sysdeps/powerpc/powerpc32/start.S: ... here.
16926 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16927 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16928 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16930 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16931 * sysdeps/powerpc/ifunc-sel.h: ... here.
16932 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16933 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16935 * sysdeps/sparc/elf/configure.in: Moved to ...
16936 * sysdeps/sparc/configure.in: ... here.
16937 * sysdeps/sparc/elf/configure: Delete file.
16938 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16939 * sysdeps/sparc/sparc32/start.S: ... here.
16940 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16941 * sysdeps/sparc/sparc64/start.S: ... here.
16942 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16943 * sysdeps/sparc/sparc32/Makefile: ... this.
16944 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16945 * sysdeps/sparc/sparc64/Makefile: ... this.
16947 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16948 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16949 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16950 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16951 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16952 * sysdeps/s390/s390-32/setjmp.S: ... here.
16953 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16954 * sysdeps/s390/s390-32/configure.in: ... here.
16955 * sysdeps/s390/s390-32/elf/configure: Delete file.
16956 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16957 * sysdeps/s390/s390-32/start.S: ... here.
16959 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16960 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16961 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16962 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16963 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16964 * sysdeps/s390/s390-64/setjmp.S: ... here.
16965 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16966 * sysdeps/s390/s390-64/configure.in: ... here
16967 * sysdeps/s390/s390-64/elf/configure: Delete file.
16968 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16969 * sysdeps/s390/s390-64/start.S: ... here.
16970 * sysdeps/s390/s390-64/elf/configure: Delete.
16972 * configure.in: Remove support for elf directories in sysdeps.
16974 * configure: Regenerated.
16975 * sysdeps/i386/configure: Regenerated.
16976 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16977 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16978 * sysdeps/s390/s390-32/configure: Regenerated.
16979 * sysdeps/s390/s390-64/configure: Regenerated.
16980 * sysdeps/sh/configure: Regenerated.
16981 * sysdeps/sparc/configure: Regenerated.
16982 * sysdeps/x86_64/configure: Regenerated.
16984 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16988 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16989 denormal result into account.
16991 2012-03-25 Roland McGrath <roland@hack.frob.com>
16993 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16994 Reported by Allan McRae <allan@archlinux.org>.
16996 2012-03-23 Jeff Law <law@redhat.com>
16998 * nss/getnssent.c (__nss_getent): Fix typo.
17000 2012-03-23 David S. Miller <davem@davemloft.net>
17002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17004 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17006 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17007 to pad to uint64_t for each field.
17008 (dl_tls_index): Replace unsigned long with uint64_t.
17010 2012-03-23 Daniel Jacobowitz <dmj@google.com>
17011 Paul Pluzhnikov <ppluzhnikov@google.com>
17014 * grp/Makefile (otherlibs): Don't set it.
17015 * inet/Makefile (otherlibs): Likewise.
17016 * login/Makefile (otherlibs): Likewise.
17017 * nscd/Makefile (otherlibs): Likewise.
17018 * posix/Makefile (otherlibs): Likewise.
17019 * pwd/Makefile (otherlibs): Likewise.
17020 * rt/Makefile (otherlibs): Likewise.
17021 * sunrpc/Makefile (otherlibs): Likewise.
17022 * nss/Makefile (otherlibs): Likewise.
17023 Add libnss_files to routines and static-only-routines.
17024 ($(objpfx)getent): Remove rule.
17025 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17026 static-only-routines.
17028 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17031 * math/s_cexp.c: Include <float.h>.
17032 (__cexp): Handle exp result overflowing not necessarily
17033 overflowing both real and imaginary parts of result.
17034 * math/s_cexpf.c: Likewise.
17035 * math/s_cexpl.c: Likewise.
17036 * math/libm-test.inc (cexp_test): Add more tests.
17037 * sysdeps/i386/fpu/libm-test-ulps: Update.
17038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17040 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17042 * include/link.h (ELFW): New macro.
17043 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17044 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17046 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17048 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17051 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17053 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17055 (struct La_x32_retval): Likewise.
17057 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17059 * sysdeps/x86_64/preconfigure.in: New file.
17060 * sysdeps/x86_64/preconfigure: New generated file.
17062 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17065 * math/e_exp2l.c: Include <float.h>.
17066 (__ieee754_exp2l): Handle overflow and underflow cases
17067 separately. Only pass fractional part of argument to
17069 * math/libm-test.inc (exp2_test): Add more tests.
17071 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17072 negating x to take absolute value.
17073 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17075 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17076 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17078 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17079 computing low part if x was negated.
17080 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17082 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17084 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17085 la_x32_gnu_pltexit.
17086 (pltexit): Cast int_retval to ptrdiff_t.
17087 * elf/tst-auditmod3b.c: Likewise.
17088 * elf/tst-auditmod4b.c: Likewise.
17089 * elf/tst-auditmod5b.c: Likewise.
17090 * elf/tst-auditmod6b.c: Likewise.
17091 * elf/tst-auditmod6c.c: Likewise.
17092 * elf/tst-auditmod7b.c: Likewise.
17094 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17095 and x32_gnu_pltexit.
17097 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17098 __ELF_NATIVE_CLASS.
17099 (La_x32_regs): New macro.
17100 (La_x32_retval): Likewise.
17101 (la_x32_gnu_pltenter): New function prototype.
17102 (la_x32_gnu_pltexit): Likewise.
17104 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17106 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17111 * configure.in (libc_cv_cc_nofma): Check for option to disable
17112 generation of FMA instructions.
17113 * configure: Regenerate.
17114 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17115 * sysdeps/ieee754/dbl-64/Makefile: New file.
17116 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17117 Remove brandred-fma4.
17118 (CFLAGS-brandred-fma4.c): Remove.
17119 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17120 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17122 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17125 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17127 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17128 LLONG_MAX != LONG_MAX.
17129 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17130 (_fitoa_word): Likewise.
17131 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17132 LLONG_MAX != LONG_MAX.
17133 * stdio-common/_itowa.h: Include <_itoa.h>.
17134 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17135 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17136 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17137 only if not defined.
17138 (_ITOA_WORD_TYPE): Likewise.
17139 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17140 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17142 2012-03-21 David S. Miller <davem@davemloft.net>
17144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17146 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17148 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17149 of x86_64 when setting libc_cv_slibdir, libdir and
17151 * sysdeps/unix/sysv/linux/configure: Regenerated.
17153 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17155 * manual/lang.texi (Old Varargs): Remove section.
17156 (How Variadic): Update menu.
17157 (va_start): Do not mention varargs.h.
17159 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17160 Joseph Myers <joseph@codesourcery.com>
17162 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17164 * configure: Regenerated.
17166 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17168 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17169 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17172 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17175 * Makefile (files-for-dist): Remove NOTES.
17176 (NOTES): Remove rule.
17177 * README: Don't refer to NOTES.
17178 * manual/creature.texi: Don't include macros.texi.
17179 * manual/intro.texi (creature.texi): Remove comment referring to
17182 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17183 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17184 * configure: Regenerated.
17185 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17186 LIBC_TRY_CC_OPTION.
17187 (libc_cv_as_i686): Likewise.
17188 (libc_cv_cc_avx): Likewise.
17189 (libc_cv_cc_sse2avx): Likewise.
17190 (libc_cv_cc_fma4): Likewise.
17191 (libc_cv_cc_novzeroupper): Likewise.
17192 * sysdeps/i386/configure: Regenerated.
17195 * sysdeps/i386/fpu/s_cexp.S: Remove.
17196 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17197 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17198 * math/libm-test.inc (cexp_test): Add more tests.
17199 * sysdeps/i386/fpu/libm-test-ulps: Update.
17200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17202 2012-03-21 Allan McRae <allan@archlinux.org>
17204 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17206 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17209 * math/w_exp2.c: Do not include <float.h>.
17210 (o_threshold, u_threshold): Remove.
17211 (__exp2): Calculate result before checking finiteness and calling
17213 * math/w_exp2f.c: Likewise.
17214 * math/w_exp2l.c: Likewise.
17215 * math/libm-test.inc (exp2_test): Require overflow exception for
17219 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17220 range of signed 64-bit integers before using fistpll. Remove
17221 checks for whether integers fit in mantissa bits.
17222 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17223 the range of signed 32-bit integers before using fistpl. Remove
17224 checks for whether integers fit in mantissa bits.
17225 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17226 (__ieee754_powl): Test for y outside the range of signed 64-bit
17227 integers before using fistpll. Reduce 64-bit values to 63-bit
17229 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17230 divide-by-zero is raised for zero to large negative powers.
17231 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17232 (__ieee754_powl): Test for y outside the range of signed 64-bit
17233 integers before using fistpll. Reduce 64-bit values to 63-bit
17235 * math/libm-test.inc (pow_test): Add more tests.
17237 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17239 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17240 <stdio-common/_itoa.h>.
17241 * debug/segfault.c: Likewise.
17242 * elf/dl-cache.c: Likewise.
17243 * elf/dl-minimal.c: Likewise.
17244 * elf/dl-misc.c: Likewise.
17245 * elf/dl-sysdep.c: Likewise.
17246 * elf/dl-version.c: Likewise.
17247 * elf/rtld.c: Likewise.
17248 * hurd/hurdsock.c: Likewise.
17249 * hurd/lookup-retry.c: Likewise.
17250 * malloc/malloc.c: Likewise.
17251 * malloc/mtrace.c: Likewise.
17252 * nscd/nscd_getgr_r.c: Likewise.
17253 * nscd/nscd_getpw_r.c: Likewise.
17254 * nscd/nscd_getserv_r.c: Likewise.
17255 * posix/getopt_init.c: Likewise.
17256 * posix/wordexp.c: Likewise.
17257 * stdio-common/_itoa.c: Likewise.
17258 * stdio-common/printf_fphex.c: Likewise.
17259 * stdio-common/vfprintf.c: Likewise.
17260 * string/_strerror.c: Likewise.
17261 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17262 * sysdeps/i386/i686/hp-timing.h: Likewise.
17263 * sysdeps/mach/_strerror.c: Likewise.
17264 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17265 * sysdeps/mach/hurd/sethostid.c: Likewise.
17266 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17267 * sysdeps/mach/xpg-strerror.c: Likewise.
17268 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17269 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17270 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17271 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17272 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17273 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17274 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17275 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17276 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17277 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17278 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17279 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17280 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17281 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17282 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17283 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17284 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17285 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17286 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17287 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17288 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17290 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17292 * stdio-common/_itoa.h: Moved to ...
17293 * sysdeps/generic/_itoa.h: Here.
17295 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17297 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17298 instead of "_itoa.h" and "_itowa.h".
17299 * stdio-common/vfprintf.: Likewise.
17301 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17303 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17305 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17306 (__signbit): Likwise.
17307 (llrintf): Likwise.
17310 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17312 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17315 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17317 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17318 OVERFLOW_EXCEPTION_OK.
17319 * math/libm-test.inc ("Philosophy"): Update comment about
17321 (OVERFLOW_EXCEPTION): Define.
17322 (OVERFLOW_EXCEPTION_OK): Likewise.
17323 (INVALID_EXCEPTION_OK): Renumber.
17324 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17325 (IGNORE_ZERO_INF_SIGN): Likewise.
17326 (test_exceptions): Handle FE_OVERFLOW.
17327 (exp10_test): Expect overflow exceptions.
17328 (exp2_test): Likewise.
17329 (expm1_test): Likewise.
17330 (nextafter_test): Likewise.
17331 (pow_test): Likewise.
17332 (scalbn_test): Likewise.
17333 (scalbln_test): Likewise.
17335 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17337 * sysdeps/x86_64/bits/atomic.h
17338 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17340 (atomic_exchange_acq): Likewise.
17341 (__arch_exchange_and_add_body): Likewise.
17342 (__arch_add_body): Likewise.
17343 (atomic_add_negative): Likewise.
17344 (atomic_add_zero): Likewise.
17346 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17348 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17349 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17351 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17353 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17354 Check __x86_64__ instead of __WORDSIZE.
17356 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17358 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17360 2012-03-19 David S. Miller <davem@davemloft.net>
17362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17364 * sysdeps/sparc/fpu/fenv_private.h: New file.
17365 * sysdeps/sparc/fpu/math_private.h: Use it.
17366 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17368 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17369 (libc_feholdexcept_setroundl): Remove.
17370 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17372 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17373 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17375 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17377 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17378 int64_t instead of long int.
17379 (INSERT_WORDS64): Likwise.
17381 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17383 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17384 _Unwind_GetCFA return to _Unwind_Ptr first.
17386 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17389 * math/s_clog.c: Include <float.h>.
17390 (__clog): Scale large or subnormal inputs.
17391 * math/s_clogf.c: Likewise.
17392 * math/s_clogl.c: Likewise.
17393 * math/s_clog10.c: Include <float.h>.
17394 (M_LOG10_2): Define.
17395 (__clog10): Scale large or subnormal inputs.
17396 * math/s_clog10f.c: Likewise.
17397 * math/s_clog10l.c: Likewise.
17398 * math/libm-test.inc (clog_test): Add more tests.
17399 (clog10_test): Likewise.
17400 * sysdeps/i386/fpu/libm-test-ulps: Update.
17401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17404 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17406 * math/libm-test.inc (atan2_test): Add another test.
17408 * Makerules (common-objdir-compile): Remove.
17409 * sysdeps/unix/Makefile (config-generated): Do not add
17410 $(unix-generated) to variable.
17411 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17412 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17414 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17416 [generic bits/local_lim.h] (before-compile): Do not append to
17418 [generic bits/local_lim.h] (common-generated): Likewise.
17419 [generic sys/param.h] (before-compile): Do not append to variable.
17420 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17421 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17422 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17423 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17425 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17426 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17427 [generic sys/param.h] ($(addprefix
17428 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17429 [generic sys/param.h] (common-generated): Do not append to
17431 [generic sys/param.h] (sysdep_headers): Likewise.
17432 [generic bits/errno.h] (before-compile): Do not append to
17434 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17436 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17437 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17438 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17439 [generic bits/errno.h] (common-generated): Do not append to
17441 [generic bits/ioctls.h] (before-compile): Do not append to
17443 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17445 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17446 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17447 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17449 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17450 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17451 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17452 [generic bits/ioctls.h] (common-generated): Do not append to
17454 [generic sys/syscall.h] (syscall.h): Remove variable.
17455 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17457 [generic sys/syscall.h] (before-compile): Do not append to
17459 [generic sys/syscall.h] (common-generated): Likewise.
17460 * sysdeps/unix/errnos-tmpl.c: Remove file.
17461 * sysdeps/unix/errnos.awk: Likewise.
17462 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17463 * sysdeps/unix/ioctls.awk: Likewise.
17464 * sysdeps/unix/mk-local_lim.c: Likewise.
17465 * sysdeps/unix/snarf-ioctls: Likewise.
17467 2012-03-19 Richard Henderson <rth@twiddle.net>
17469 * sysdeps/i386/fpu/fenv_private.h: New file.
17470 * sysdeps/i386/fpu/math_private.h: Use it.
17471 (math_opt_barrier, math_force_eval): Remove.
17472 (libc_feholdexcept_setround_53bit): Remove.
17473 (libc_feupdateenv_53bit): Remove.
17474 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17475 (math_opt_barrier, math_force_eval): Remove.
17476 (libc_feholdexcept): Remove.
17477 (libc_feholdexcept_setround): Remove.
17478 (libc_fetestexcept, libc_fesetenv): Remove.
17479 (libc_feupdateenv_test): Remove.
17480 (libc_feupdateenv, libc_feholdsetround): Remove.
17481 (libc_feresetround): Remove.
17483 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17484 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17486 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17487 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17488 (libc_feupdateenv_testl): New.
17489 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17490 (libc_feupdateenv_testf): New.
17491 (libc_feupdateenv): Use libc_feupdateenv_test.
17492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17493 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17495 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17496 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17497 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17498 (libc_feresetround_noex): New.
17499 (libc_feresetround_noexf): New.
17500 (libc_feresetround_noexl): New.
17501 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17502 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17503 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17504 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17506 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17507 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17509 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17510 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17511 SET_RESTORE_ROUND_NOEX.
17512 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17513 SET_RESTORE_ROUND_NOEXF.
17514 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17515 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17516 (libc_feholdsetroundf): New.
17517 (libc_feresetround, libc_feresetroundf): New.
17519 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17520 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17521 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17523 * sysdeps/generic/math_private.h: Include <fenv.h>.
17524 (default_libc_feholdexcept): New.
17525 (default_libc_feholdexcept_setround): New.
17526 (default_libc_fesetenv, default_libc_feupdateenv): New.
17527 (libc_feholdexcept): Only define if undefined.
17528 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17529 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17530 (libc_feholdexcept_setroundl): Likewise.
17531 (libc_feholdexcept_setround_53bit): Likewise.
17532 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17533 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17534 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17535 (libc_feupdateenv_53bit): Likewise.
17536 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17537 (libc_feholdexcept): Convert from macro to inline function.
17538 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17539 (libc_fesetenv, libc_feupdateenv): Likewise.
17541 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17542 not previously defined.
17543 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17544 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17545 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17546 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17547 * sysdeps/ieee754/flt-32/math_private.h: New file.
17548 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17549 math_private.h below SET_FLOAT_WORD.
17550 (__isnan, __isinf_ns, __finite): Remove.
17551 (__isnanf, __isinf_nsf, __finitef): Remove.
17553 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17557 2012-03-17 David S. Miller <davem@davemloft.net>
17560 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17563 2012-03-16 David S. Miller <davem@davemloft.net>
17565 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17569 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17571 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17572 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17573 sysdep_routines when subdir is sysvipc.
17574 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17575 __getshmlba helper.
17577 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17579 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17581 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17584 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17586 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17587 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17588 (__lround): Renamed to ...
17589 (__llround): This. Replace long int with long long int.
17590 Define lround functions as aliases of llround functions.
17591 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17593 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17595 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17596 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17597 adresses to uintptr_t. Replace "long int" and "unsigned long
17598 int" with "greg_t" on va_arg.
17600 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17602 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17603 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17605 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17606 Move e_machine check before EI_CLASS check. Handle x32
17607 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17608 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17609 SKIP_EM_IA_64 and include
17610 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17612 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17613 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17614 (add_system_dir): New macro.
17616 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17617 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17619 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17630 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17632 * math/w_j0f.c (j0f): Likewise.
17634 * math/w_j0l.c (__j0l): Likewise.
17636 * math/w_j1.c (j1): Likewise.
17638 * math/w_j1f.c (j1f): Likewise.
17640 * math/w_j1l.c (__j1l): Likewise.
17642 * math/w_jn.c (jn): Likewise.
17644 * math/w_jnf.c (jnf): Likewise.
17646 * math/w_jnl.c (__jnl): Likewise.
17648 * math/libm-test.inc (j0_test): Add more tests.
17649 (j1_test): Likewise.
17650 (jn_test): Likewise. Add trailing semicolon to existing test.
17651 (y0_test): Likewise.
17652 (y1_test): Likewise.
17653 * sysdeps/i386/fpu/libm-test-ulps: Update.
17654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17658 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17659 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17660 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17661 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17662 (__tanl): Set errno for infinite argument.
17663 * sysdeps/i386/fpu/mptan.c: Remove.
17664 * sysdeps/i386/fpu/s_tan.S: Likewise.
17665 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17666 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17667 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17668 * math/libm-test.inc (tan_test): Add more tests and enable more
17669 tests for double and long double.
17670 * sysdeps/i386/fpu/libm-test-ulps: Update.
17671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17673 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17675 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17676 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17678 2012-03-16 Roland McGrath <roland@hack.frob.com>
17680 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17681 * configure.in: Use it for both main tree and add-ons.
17682 * configure: Regenerated.
17684 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17686 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17688 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17690 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17694 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17695 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17696 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17697 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17698 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17700 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17701 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17702 != 0 for prec == 2.
17703 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17704 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17705 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17706 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17707 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17708 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17709 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17710 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17711 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17712 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17713 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17714 * math/libm-test.inc (cos_test): Add more tests and enable more
17715 tests for long double.
17716 (sin_test): Likewise.
17717 (sincos_test): Likewise.
17718 * sysdeps/i386/fpu/libm-test-ulps: Update.
17719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17721 2012-03-16 David S. Miller <davem@davemloft.net>
17723 * sysdeps/sparc/fpu/math_private.h: New file.
17725 2012-03-15 David S. Miller <davem@davemloft.net>
17727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17737 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17741 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17742 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17744 * sysdeps/sparc/sparc-ifunc.h: New file.
17745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17769 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17771 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17772 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17783 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17784 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17785 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17786 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17788 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17790 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17792 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17796 2012-03-15 Andreas Jaeger <aj@suse.de>
17799 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17800 ieee754/flt-32 implementation for sin, cos and sincos.
17801 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17802 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17803 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17804 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17805 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17806 ieee754/flt-32 implementation for tan.
17808 * math/libm-test.inc (cos_test): Enable some large input tests for
17810 (sin_test): Likewise.
17811 (sincos_test): Likewise.
17812 (tan_test): Add tests for large input.
17814 * sysdeps/i386/fpu/libm-test-ulps: Update.
17816 2012-03-15 Andreas Jaeger <aj@suse.de>
17819 * math/libm-test.inc (cos_test): Add more test cases.
17820 (sin_test): Likewise.
17821 (sincos_test): Likewise.
17823 2012-03-15 Andreas Jaeger <aj@suse.de>
17826 * math/libm-test.inc (cos_test): Add a test case for large input
17828 (sin_test): Likewise.
17829 (sincos_test): Likewise.
17831 2012-03-15 Andreas Jaeger <aj@suse.de>,
17832 Joseph Myers <joseph@codesourcery.com>
17835 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17836 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17837 * sysdeps/i386/fpu/branred.c: Likewise.
17838 * sysdeps/i386/fpu/dosincos.c: Likewise.
17839 * sysdeps/i386/fpu/mpa.c: Likewise.
17840 * sysdeps/i386/fpu/s_cos.S: Likewise.
17841 * sysdeps/i386/fpu/s_sin.S: Likewise.
17842 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17843 * sysdeps/i386/fpu/sincos32.c: Likewise.
17845 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17847 (libc_feupdateenv_53bit): Define.
17848 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17850 (libc_feupdateenv_53bit): Define.
17852 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17853 53 bit (without extend i386 double precision).
17855 * math/libm-test.inc (sincos_test): Add tests for large input.
17859 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17861 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17865 2012-03-15 David S. Miller <davem@davemloft.net>
17867 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17868 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17869 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17870 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17894 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17895 fmin/fmax sysdep routines.
17896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17898 2012-03-14 David S. Miller <davem@davemloft.net>
17900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17904 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17905 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17906 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17907 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17919 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17920 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17921 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17922 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17923 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17924 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17925 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17927 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17928 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17972 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17977 * sysdeps/sparc/configure.in: New file.
17978 * sysdeps/sparc/configure: Generate.
17979 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17980 * configure: Regenerate.
17981 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17982 * config.make.in (have-as-vis3): New.
17983 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17984 available use -Av9d instead of -Av9a.
17985 * sysdeps/sparc/sparc64/Makefile: Likewise.
17986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17995 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17996 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17997 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17998 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17999 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18001 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18002 fzeros/fnegs to load 0x80000000 into a float register instead of
18004 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18006 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18010 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18011 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18012 ($(inst_includedir)/bits/syscall.h): Remove rule.
18013 ($(objpfx)bits/syscall.d): Include instead of
18014 $(objpfx)syscall-list.d.
18015 (generated): Change syscall-list.h and syscall-list.d to
18016 bits/syscall.h and bits/syscall.d.
18018 2012-03-14 Roland McGrath <roland@hack.frob.com>
18021 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18023 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18026 * math/s_csqrt.c: Include <float.h>.
18027 (__csqrt): Scale large or subnormal inputs.
18028 * math/s_csqrtf.c: Likewise.
18029 * math/s_csqrtl.c: Likewise.
18030 * math/libm-test.inc (csqrt_test): Add more tests.
18031 * sysdeps/i386/fpu/libm-test-ulps: Update.
18032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18035 * math/libm-test.inc (hypot_test): Add more tests.
18037 2012-03-13 David S. Miller <davem@davemloft.net>
18040 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18041 double-precision for the calculation instead of scaling.
18043 2012-03-13 Joseph Myers <joseph@codesourcery.com>
18045 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18046 manipulate bits before adding and subtracting TWO52[sx].
18047 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18048 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18050 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18052 2012-03-13 David S. Miller <davem@davemloft.net>
18054 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18055 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18057 rtld-global-offsets.h
18058 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18060 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18063 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18065 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18066 'err' in the ifdef scope in which it is actually used.
18068 * nss/nss_db/db-init.c: Include string.h
18070 2012-03-12 David S. Miller <davem@davemloft.net>
18072 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18073 masking out of the most significant byte of random value used.
18074 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18075 Fix coding style in previous change.
18077 * sysdeps/unix/sysv/linux/kernel-features.h
18078 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18079 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18081 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18084 2012-03-11 David S. Miller <davem@davemloft.net>
18086 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18087 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18088 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18089 for 'resultvar' otherwise things get truncated on 64-bit.
18091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18092 Fix masking out of the most significant byte of random value used.
18094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18096 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18100 2012-03-09 David S. Miller <davem@davemloft.net>
18102 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18103 variables with appropriate CPP guards.
18104 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18105 frame pointer, not the stack pointer. Correct layout comments. Fix test
18106 on resulting framesize and the management of the outregs buffer for pltexit.
18107 Preserve floating point return values across _dl_call_pltexit call.
18108 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18109 framesize and the management of the outregs buffer for pltexit.
18110 Preserve floating point return values across _dl_call_pltexit
18112 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18113 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18114 (print_exit): Fix format string for return register value.
18116 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18118 * sunrpc/Makefile (others): Add rpcgen.
18119 ($(objpfx)rpcgen): Remove special build rule and dependency on
18121 * sunrpc/rpcgen.c: New file.
18123 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18126 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18127 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18128 * sysdeps/i386/crti.S: Likewise.
18129 * sysdeps/i386/crtn.S: Likewise.
18130 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18131 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18132 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18133 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18134 * sysdeps/sh/crti.S: Likewise.
18135 * sysdeps/sh/crtn.S: Likewise.
18136 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18139 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18141 * locale/programs/locfile-kw.gperf: Likewise.
18142 * locale/programs/charmap-kw.h: Regenerated.
18143 * locale/programs/locfile-kw.h: Likewise.
18146 * intl/plural.y: Replace FSF snail mail address with URL.
18147 * intl/plural.c: Regenerated.
18149 2012-03-09 Richard Henderson <rth@twiddle.net>
18151 * include/math_private.h: Remove file.
18152 * math/math_private.h: Move file ...
18153 * sysdeps/generic/math_private.h: ... here.
18155 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18156 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18157 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18159 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18160 and <math_private.h>.
18161 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18162 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18163 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18164 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18165 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18166 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18167 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18168 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18169 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18170 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18171 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18172 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18173 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18174 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18175 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18176 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18177 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18178 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18179 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18180 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18181 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18182 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18183 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18184 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18185 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18186 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18187 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18188 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18189 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18190 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18191 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18192 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18193 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18194 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18195 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18196 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18197 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18198 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18199 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18200 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18201 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18202 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18203 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18204 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18205 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18206 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18207 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18208 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18209 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18210 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18211 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18212 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18213 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18214 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18215 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18216 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18217 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18218 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18219 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18220 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18221 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18222 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18223 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18224 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18225 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18226 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18227 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18228 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18229 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18230 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18231 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18232 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18233 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18234 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18235 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18236 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18237 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18238 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18239 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18240 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18241 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18242 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18243 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18244 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18245 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18246 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18247 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18248 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18249 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18250 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18251 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18252 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18253 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18254 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18255 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18256 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18257 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18258 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18259 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18260 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18261 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18262 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18263 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18264 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18265 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18266 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18267 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18268 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18269 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18270 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18271 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18272 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18273 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18274 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18275 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18276 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18277 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18278 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18279 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18280 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18281 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18282 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18283 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18284 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18285 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18286 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18287 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18288 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18289 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18290 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18291 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18292 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18293 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18294 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18295 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18296 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18297 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18298 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18299 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18300 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18301 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18302 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18303 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18304 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18305 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18306 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18307 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18308 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18309 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18310 * sysdeps/ieee754/k_standard.c: Likewise.
18311 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18320 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18321 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18323 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18324 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18325 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18328 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18331 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18332 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18333 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18334 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18335 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18336 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18337 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18338 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18339 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18340 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18341 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18342 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18343 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18344 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18346 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18347 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18348 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18349 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18351 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18352 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18354 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18355 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18356 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18357 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18358 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18359 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18360 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18361 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18362 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18363 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18364 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18365 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18366 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18367 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18368 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18369 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18370 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18371 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18372 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18373 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18374 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18375 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18376 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18377 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18378 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18379 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18380 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18381 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18383 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18384 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18385 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18386 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18387 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18388 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18389 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18390 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18391 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18392 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18393 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18394 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18395 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18396 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18397 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18398 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18399 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18400 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18401 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18402 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18403 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18404 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18405 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18406 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18407 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18408 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18409 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18410 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18411 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18412 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18413 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18414 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18415 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18416 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18417 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18418 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18419 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18420 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18421 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18422 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18423 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18424 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18425 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18426 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18427 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18428 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18429 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18430 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18431 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18432 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18433 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18434 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18435 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18436 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18437 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18438 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18439 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18440 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18441 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18442 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18443 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18444 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18445 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18446 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18447 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18448 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18449 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18450 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18451 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18452 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18453 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18454 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18455 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18456 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18457 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18458 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18459 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18460 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18461 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18462 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18463 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18464 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18465 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18466 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18467 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18468 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18469 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18470 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18471 * sysdeps/ieee754/s_lib_version.c: Likewise.
18472 * sysdeps/ieee754/s_matherr.c: Likewise.
18473 * sysdeps/ieee754/s_signgam.c: Likewise.
18474 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18475 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18476 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18477 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18478 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18479 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18480 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18481 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18482 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18483 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18484 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18485 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18486 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18487 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18488 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18489 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18490 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18491 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18492 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18493 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18494 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18496 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18498 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18499 * sunrpc/rpc_main.c: Likewise.
18500 * sunrpc/rpc_svcout.c: Likewise.
18502 2012-03-09 David S. Miller <davem@davemloft.net>
18504 * include/math_private.h: New file.
18506 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18508 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18509 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18510 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18511 from <bits/socket_type.h>.
18512 (enum __socket_type): Don't define here.
18513 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18514 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18515 bits/socket_type.h.
18518 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18519 checking __USE_GNU.
18521 * Makerules ($(inst_includedir)/%.h): New rule.
18522 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18523 (install-others): Remove variable setting.
18524 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18526 2012-03-08 Richard Henderson <rth@twiddle.net>
18528 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18529 from macro to inline function; merge with the
18530 !__LIBC_INTERNAL_MATH_INLINES version.
18531 (__ieee754_sqrtf): Likewise.
18533 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18534 to inline function.
18535 (__rintf, __floor, __floorf): Likewise.
18537 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18538 macro to inline function.
18539 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18541 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18542 not <math/math_private.h>.
18544 2012-03-08 David S. Miller <davem@davemloft.net>
18546 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18548 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18550 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18552 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18554 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18555 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18557 2012-03-08 Ulrich Drepper <drepper@gmail.com>
18559 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18560 be defined individually, they must be defined as a block. Define
18561 S for printing a string instead of hidint the different by using a
18562 macro for adding the 'l'.
18563 * stdio-common/tst-fphex-wide.c: Adjust.
18565 2012-03-07 Marek Polacek <polacek@redhat.com>
18567 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18569 2012-03-08 Marek Polacek <polacek@redhat.com>
18572 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18573 * stdio-common/tst-fphex.c: Define a few macros to make the
18574 test reusable. Use them.
18575 * stdio-common/tst-fphex-wide.c: New file.
18577 2012-03-08 Joseph Myers <joseph@codesourcery.com>
18580 * manual/macros.texi (gnusystems): New macro.
18581 (nongnusystems): Likewise.
18582 (gnulinuxhurdsystems): Likewise.
18583 (gnuhurdsystems): Likewise..
18584 (gnulinuxsystems): Likewise.
18585 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18586 variants of the GNU system, not "GNU system".
18587 * manual/conf.texi: Likewise.
18588 * manual/errno.texi: Likewise. Update example of errno macro
18590 * manual/filesys.texi: Likewise.
18591 (getumask): Document as specific to GNU/Hurd.
18592 * manual/install.texi: Likewise. Reword some references to
18594 * manual/intro.texi: Likewise.
18595 * manual/io.texi: Likewise.
18596 (File Name Portability): Detail which constraints are inapplicable
18597 to all GNU systems and which are only inapplicable to GNU/Hurd.
18598 * manual/job.texi: Likewise.
18599 * manual/llio.texi: Likewise.
18600 (O_NOCTTY): Document as present on GNU/Linux.
18601 * manual/maint.texi: Likewise.
18602 * manual/memory.texi: Likewise.
18603 * manual/pattern.texi: Likewise.
18604 * manual/pipe.texi: Likewise.
18605 * manual/process.texi: Likewise.
18606 * manual/resource.texi: Likewise.
18607 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18609 * manual/setjmp.texi: Likewise.
18610 * manual/signal.texi: Likewise.
18611 * manual/startup.texi: Likewise.
18612 * manual/stdio.texi: Likewise.
18613 * manual/terminal.texi: Likewise.
18614 (ONLCR): Document as POSIX.
18615 (OXTABS): Document availability on GNU/Linux as XTABS.
18616 (ONOEOT): Document availability separately from other bits.
18617 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18618 * manual/time.texi: Likewise.
18619 * manual/users.texi: Likewise.
18620 * INSTALL: Regenerated.
18621 * sysdeps/gnu/errlist.c: Regenerated.
18623 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18624 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18625 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18627 * configure: Regenerated.
18629 2012-03-07 Joseph Myers <joseph@codesourcery.com>
18631 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18632 default includes instead of AC_HEADER_CHECK.
18633 * sysdeps/i386/configure: Regenerated.
18636 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18637 * math/s_cacoshf.c (__cacoshf): Likewise.
18638 * math/s_cacoshl.c (__cacoshl): Likewise.
18639 * math/s_casinh.c (__casinh): Set signs of result from argument.
18640 * math/s_casinhf.c (__casinhf): Likewise.
18641 * math/s_casinhl.c (__casinhl): Likewise.
18642 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18643 (casinh_test): Add more tests.
18644 * sysdeps/i386/fpu/libm-test-ulps: Update.
18645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18647 2012-03-07 Ulrich Drepper <drepper@gmail.com>
18649 * po/zh_TW.po: Update from translation team.
18651 * login/Makefile (distribute): Remove variable.
18652 * catgets/Makefile: Likewise.
18653 * mach/Makefile: Likewise.
18654 * malloc/Makefile: Likewise.
18655 * misc/Makefile: Likewise.
18656 * iconv/Makefile: Likewise.
18657 * nscd/Makefile: Likewise.
18658 * hurd/Makefile: Likewise.
18659 * manual/Makefile: Likewise.
18660 * locale/Makefile: Likewise.
18661 * intl/Makefile: Likewise.
18662 * conform/Makefile: Likewise.
18663 * nss/Makefile: Likewise.
18664 * time/Makefile: Likewise.
18665 * soft-fp/Makefile: Likewise.
18666 * dirent/Makefile: Likewise.
18667 * gmon/Makefile: Likewise.
18668 * po/Makefile: Likewise.
18669 * rt/Makefile: Likewise.
18670 * socket/Makefile: Likewise.
18671 * math/Makefile: Likewise.
18672 * signal/Makefile: Likewise.
18673 * debug/Makefile: Likewise.
18674 * elf/Makefile: Likewise.
18675 * timezone/Makefile: Likewise.
18676 * stdlib/Makefile: Likewise.
18677 * iconvdata/Makefile: Likewise.
18678 * sunrpc/Makefile: Likewise.
18679 * io/Makefile: Likewise.
18680 * argp/Makefile: Likewise.
18681 * inet/Makefile: Likewise.
18682 * hesiod/Makefile: Likewise.
18683 * grp/Makefile: Likewise.
18684 * csu/Makefile: Likewise.
18685 * wctype/Makefile: Likewise.
18686 * crypt/Makefile: Likewise.
18687 * libio/Makefile: Likewise.
18688 * string/Makefile: Likewise.
18689 * nis/Makefile: Likewise.
18690 * resolv/Makefile: Likewise.
18691 * stdio-common/Makefile: Likewise.
18692 * wcsmbs/Makefile: Likewise.
18693 * dlfcn/Makefile: Likewise.
18694 * posix/Makefile: Likewise.
18697 * timezone/Makefile: Don't install timezone files, just the programs
18700 2012-03-06 Ulrich Drepper <drepper@gmail.com>
18702 * nss/databases.def: Add missing gshadow entry.
18704 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18706 2012-03-06 Marek Polacek <polacek@redhat.com>
18709 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18710 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18711 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18712 * stdio-common/tst-long-dbl-fphex.c: New file.
18714 2012-03-06 David S. Miller <davem@davemloft.net>
18716 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18717 (set_obp_int): New function.
18718 (get_obp_int): New function.
18719 (__get_clockfreq_via_dev_openprom): Likewise.
18720 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18721 Avoid unused variable warnings on 'val' and use builtin_expect.
18722 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18724 (INLINE_CLONE_SYSCALL): Likewise.
18726 2012-03-05 David S. Miller <davem@davemloft.net>
18728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18730 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18734 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18735 only for |x| >= 40.
18736 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18738 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
18740 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18741 Replace gettimeofday with __vdso_gettimeofday.
18743 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18744 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18745 __vdso_clock_gettime and __vdso_getcpu.
18747 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18748 time with __vdso_time.
18750 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18752 * manual/lang.texi (size_t): Note types to which size_t may be
18753 equivalent with the GNU C Library, but do not describe when
18754 differences between them are significant.
18756 2012-03-05 Andreas Jaeger <aj@suse.de>
18758 * sysdeps/i386/fpu/libm-test-ulps: Update.
18760 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18763 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18764 (__ieee754_pow): Save and restore rounding mode and use
18765 round-to-nearest for main computations.
18766 * math/libm-test.inc (pow_test_tonearest): New function.
18767 (pow_test_towardzero): Likewise.
18768 (pow_test_downward): Likewise.
18769 (pow_test_upward): Likewise.
18770 (main): Call the new functions.
18771 * sysdeps/i386/fpu/libm-test-ulps: Update.
18772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18775 * math/libm-test.inc (cosh_test_tonearest): New function.
18776 (cosh_test_towardzero): Likewise.
18777 (cosh_test_downward): Likewise.
18778 (cosh_test_upward): Likewise.
18779 (sinh_test_tonearest): Likewise.
18780 (sinh_test_towardzero): Likewise.
18781 (sinh_test_downward): Likewise.
18782 (sinh_test_upward): Likewise.
18783 (main): Call the new functions.
18784 * sysdeps/i386/fpu/libm-test-ulps: Update.
18785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18787 2012-03-05 Tom de Vries <tom@codesourcery.com>
18789 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18790 default stack guard is set in last bytes.
18791 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18793 2012-03-05 Kees Cook <keescook@chromium.org>
18795 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18798 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18799 possibly allocate from heap instead of stack.
18800 * stdio-common/bug-vfprintf-nargs.c: New file.
18801 * stdio-common/Makefile (tests): Add nargs overflow test.
18803 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18807 2012-03-03 Marek Polacek <polacek@redhat.com>
18809 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18810 * math/math_private.h: Likewise.
18811 * stdlib/tst-strtod.c: Likewise.
18812 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18813 * sysdeps/x86_64/bits/atomic.h: Likewise.
18815 2012-03-02 David S. Miller <davem@davemloft.net>
18817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18821 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18822 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18823 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18824 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18826 2012-03-02 Roland McGrath <roland@hack.frob.com>
18829 * manual/examples/README: New file, says the example source files
18830 can be used under GPL>=2.
18831 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18832 line containing just "*/".
18833 * manual/examples/add.c: Add copyright header (GPL>=2).
18834 * manual/examples/argp-ex1.c: Likewise.
18835 * manual/examples/argp-ex2.c: Likewise.
18836 * manual/examples/argp-ex3.c: Likewise.
18837 * manual/examples/argp-ex4.c: Likewise.
18838 * manual/examples/atexit.c: Likewise.
18839 * manual/examples/db.c: Likewise.
18840 * manual/examples/dir.c: Likewise.
18841 * manual/examples/dir2.c: Likewise.
18842 * manual/examples/execinfo.c: Likewise.
18843 * manual/examples/filecli.c: Likewise.
18844 * manual/examples/filesrv.c: Likewise.
18845 * manual/examples/fmtmsgexpl.c: Likewise.
18846 * manual/examples/genpass.c: Likewise.
18847 * manual/examples/inetcli.c: Likewise.
18848 * manual/examples/inetsrv.c: Likewise.
18849 * manual/examples/isockad.c: Likewise.
18850 * manual/examples/longopt.c: Likewise.
18851 * manual/examples/memopen.c: Likewise.
18852 * manual/examples/memstrm.c: Likewise.
18853 * manual/examples/mkfsock.c: Likewise.
18854 * manual/examples/mkisock.c: Likewise.
18855 * manual/examples/mygetpass.c: Likewise.
18856 * manual/examples/pipe.c: Likewise.
18857 * manual/examples/popen.c: Likewise.
18858 * manual/examples/rprintf.c: Likewise.
18859 * manual/examples/search.c: Likewise.
18860 * manual/examples/select.c: Likewise.
18861 * manual/examples/setjmp.c: Likewise.
18862 * manual/examples/sigh1.c: Likewise.
18863 * manual/examples/sigusr.c: Likewise.
18864 * manual/examples/stpcpy.c: Likewise.
18865 * manual/examples/strdupa.c: Likewise.
18866 * manual/examples/strftim.c: Likewise.
18867 * manual/examples/strncat.c: Likewise.
18868 * manual/examples/subopt.c: Likewise.
18869 * manual/examples/swapcontext.c: Likewise.
18870 * manual/examples/termios.c: Likewise.
18871 * manual/examples/testopt.c: Likewise.
18872 * manual/examples/testpass.c: Likewise.
18873 * manual/examples/timeval_subtract.c: Likewise.
18876 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18878 * manual/timeval_subtract.c.texi: ... here, new file.
18880 2012-03-02 David S. Miller <davem@davemloft.net>
18882 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18884 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18887 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18888 (__sin): Save and restore rounding mode and use round-to-nearest
18889 for all computations.
18890 (__cos): Save and restore rounding mode and use round-to-nearest
18891 for all computations.
18892 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18894 (tan): Save and restore rounding mode and use round-to-nearest for
18896 * math/libm-test.inc (cos_test_tonearest): New function.
18897 (cos_test_towardzero): Likewise.
18898 (cos_test_downward): Likewise.
18899 (cos_test_upward): Likewise.
18900 (sin_test_tonearest): Likewise.
18901 (sin_test_towardzero): Likewise.
18902 (sin_test_downward): Likewise.
18903 (sin_test_upward): Likewise.
18904 (tan_test_tonearest): Likewise.
18905 (tan_test_towardzero): Likewise.
18906 (tan_test_downward): Likewise.
18907 (tan_test_upward): Likewise.
18908 (main): Call the new functions.
18909 * sysdeps/i386/fpu/libm-test-ulps: Update.
18910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18913 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18914 small n, then large n, before computing and testing k+n.
18915 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18916 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18918 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18920 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18921 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18922 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18923 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18924 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18925 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18926 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18927 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18928 * math/libm-test.inc (scalbn_test): Add more tests.
18929 (scalbln_test): Likewise.
18931 * manual/filesys.texi (mode_t): Describe constraints on size and
18932 signedness, not exact equivalence to a particular type.
18934 (ino64_t): Likewise.
18936 (nlink_t): Likewise.
18937 (blkcnt_t): Likewise.
18938 (blkcnt64_t): Likewise.
18939 * manual/llio.texi (off_t): Likewise.
18942 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18943 (__ieee754_exp): Save and restore rounding mode and use
18944 round-to-nearest for all computations.
18945 * math/libm-test.inc (exp_test_tonearest): New function.
18946 (exp_test_towardzero): Likewise.
18947 (exp_test_downward): Likewise.
18948 (exp_test_upward): Likewise.
18949 (main): Call the new functions.
18950 * sysdeps/i386/fpu/libm-test-ulps: Update.
18951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18953 2012-03-01 Chris Demetriou <cgd@google.com>
18955 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18956 have predictable order.
18958 2012-03-01 David S. Miller <davem@davemloft.net>
18960 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18962 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18963 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18964 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18965 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18967 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18968 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18969 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18971 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18972 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18973 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18974 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18975 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18979 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18980 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18981 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18983 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18984 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18985 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18986 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18987 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18989 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18990 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18991 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18992 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18993 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18994 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18995 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18996 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18997 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18998 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18999 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19000 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19001 * sysdeps/sparc/elf/configure: Regenerated.
19003 2012-03-01 Joseph Myers <joseph@codesourcery.com>
19005 * configure.in (AS, LD): Require binutils 2.20 or later.
19006 * configure: Regenerated.
19007 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19008 as required minimum version.
19009 * INSTALL: Regenerated.
19013 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19014 before squaring exponent.
19015 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19016 bottom long double and 27 bits of top long double before squaring
19018 * math/libm-test.inc (erfc_test): Add more tests.
19019 * sysdeps/i386/fpu/libm-test-ulps: Update.
19020 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19023 2012-03-01 Kai Tietz <ktietz@redhat.com>
19025 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19026 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19027 containing bit-fields.
19028 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19029 * soft-fp/single.h (_FP_UNION_S): Likewise.
19030 * soft-fp/double.h (_FP_UNION_D): Likewise.
19032 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19035 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19036 not include ../strcmp.S.
19037 [USE_AS_STRNCASECMP_L]: Likewise.
19038 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19039 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19040 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19041 (__strncasecmp_l_ia32): Define as alias to
19042 __strncasecmp_l_nonascii.
19045 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19046 * sysdeps/i386/fpu/libm-test-ulps: Update.
19047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19049 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19052 2012-02-29 Jeff Law <law@redhat.com>
19054 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19055 out of bounds read.
19057 2012-02-29 Marek Polacek <polacek@redhat.com>
19060 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19061 * elf/Makefile: Add rules to run tst-unused-dep.out.
19063 2012-02-28 David S. Miller <davem@davemloft.net>
19065 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19066 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19067 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19068 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19069 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19070 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19072 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19074 * math/libm-test.inc (llround_test): Move one test from
19075 lround_test. Use TEST_f_L in moved test.
19076 (lround_test): Move misplaced test to llround_test. Add testcase
19079 2012-02-28 Ulrich Drepper <drepper@gmail.com>
19081 * sysdeps/x86_64/fpu/e_expf.S: New file.
19082 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19084 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19087 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19088 of remain_len that may cause incomplete multi-byte character and
19090 * posix/bug-regex33.c: New file.
19091 * posix/Makefile (tests): Add bug-regex33.
19093 2012-02-28 Joseph Myers <joseph@codesourcery.com>
19095 * manual/macros.texi: New file.
19096 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19097 * manual/libc.texinfo: Include macros.texi.
19098 * manual/creatute.texi: Likewise.
19099 * manual/install.texi: Likewise.
19100 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19101 @glibcadj{} in references to the GNU C Library.
19102 * manual/charset.texi: Likewise.
19103 * manual/conf.texi: Likewise.
19104 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19105 when not using those macros.
19106 * manual/creature.texi: Likewise.
19107 * manual/crypt.texi: Likewise.
19108 * manual/errno.texi: Likewise.
19109 * manual/filesys.texi: Likewise.
19110 * manual/header.texi: Likewise.
19111 * manual/install.texi: Likewise.
19112 * manual/intro.texi: Likewise.
19113 * manual/io.texi: Likewise.
19114 * manual/job.texi: Likewise.
19115 * manual/lang.texi: Likewise.
19116 * manual/libc.texiinfo: Likewise.
19117 * manual/llio.texi: Likewise.
19118 * manual/locale.texi: Likewise.
19119 * manual/maint.texi: Likewise.
19120 * manual/math.texi: Likewise.
19121 * manual/memory.texi: Likewise.
19122 * manual/message.texi: Likewise.
19123 * manual/nss.texi: Likewise.
19124 * manual/pattern.texi: Likewise.
19125 * manual/process.texi: Likewise.
19126 * manual/resource.texi: Likewise.
19127 * manual/search.texi: Likewise.
19128 * manual/setjmp.texi: Likewise.
19129 * manual/signal.texi: Likewise.
19130 * manual/socket.texi: Likewise.
19131 * manual/startup.texi: Likewise.
19132 * manual/stdio.texi: Likewise.
19133 * manual/string.texi: Likewise.
19134 * manual/sysinfo.texi: Likewise.
19135 * manual/syslog.texi: Likewise.
19136 * manual/terminal.texi: Likewise.
19137 * manual/time.texi: Likewise.
19138 * manual/users.texi: Likewise.
19139 * INSTALL: Regenerated.
19140 * NOTES: Regenerated.
19141 * sysdeps/gnu/errlist.c: Regenerated.
19143 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19145 * include/dirent.h: Include <dirstream.h> before
19148 2012-02-28 David S. Miller <davem@davemloft.net>
19150 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19151 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19152 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19153 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19155 2012-02-27 David S. Miller <davem@davemloft.net>
19157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19159 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19160 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19163 frame pointer instead of stack pointer relative arg slot.
19164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19165 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19166 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19168 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19171 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19173 2012-02-27 David S. Miller <davem@davemloft.net>
19175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19179 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19180 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19181 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19182 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19184 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19186 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19187 later. Allow versions 5-9.
19188 * configure: Regenerated.
19189 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19190 required minimum version and 4.6 as recommended version. Do not
19191 mention bugs in GCC 2.7 and 2.8.
19192 * INSTALL: Regenerated.
19194 2012-02-27 David S. Miller <davem@davemloft.net>
19196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19200 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19201 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19202 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19203 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19205 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19206 manipulate bits before adding and subtracting TWO112[sx].
19207 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19209 2012-02-27 Roland McGrath <roland@hack.frob.com>
19212 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19213 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19214 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19215 being in POSIX, because they are in 1003.1-2008.
19217 * rt/tst-aio.c: Include <fcntl.h>.
19218 * rt/tst-aio7.c: Likewise.
19219 * rt/tst-aio64.c: Likewise.
19221 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19223 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19225 * manual/install.texi (--with-headers): Describe headers as
19226 interface headers, not private headers.
19227 (Specific advice for GNU/Linux systems): Describe use of headers
19228 from "make headers_install", not private headers from older
19230 * INSTALL: Regenerated.
19231 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19233 * sysdeps/unix/sysv/linux/configure: Regenerated.
19235 * manual/llio.texi (fclean): Remove documentation.
19237 * manual/Makefile (libc-texi-generated): New variable. Include
19239 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19240 $(libc-texi-generated), not duplicated list of files.
19241 (version.texi, stamp-version): New rules.
19242 (realclean): Remove $(libc-texi-generated), not individual files
19243 from that list. Do not remove dir-add.texinfo.
19244 * manual/libc.texinfo: Comment out uses of edition numbers and
19245 references to printed manual. Remove last-updated dates.
19246 (EDITION): Comment out.
19248 (VERSION, UPDATED): Remove.
19249 (version.texi): Include.
19251 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19253 * sysdeps/posix/spawni.c: Include <signal.h>.
19254 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19255 * sysdeps/pthread/aio_fsync.c: Likewise.
19257 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19259 * conform/Makefile (tests): Run only when not cross-compiling and
19260 when fast-check is not defined.
19262 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19263 * conform/data/limits.h-data: Fixes for POSIX2008.
19264 * conform/run-conformtest.sh: Run all tests.
19265 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19267 * include/bits/dlfcn.h: Likewise.
19268 * include/langinfo.h: Likewise.
19269 * include/monetary.h: Likewise.
19270 * include/sys/poll.h: Likewise.
19272 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19274 * posix/spawn.h: Define __need_sigset_t.
19275 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19276 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19277 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19278 to get sigevent_t only.
19279 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19280 only for __USE_GNU.
19281 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19282 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19283 process_vm_writev only for __USE_GNU.
19284 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19286 * conform/Makefile: For now ignore errors from run-conformtest.
19287 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19288 POSIX to avoid namespace pollution. Don't prepend headers.
19289 * conform/data/aio.h-data: Fixes for POSIX testing.
19290 * conform/data/fcntl.h-data: Likewise.
19291 * conform/data/glob.h-data: Likewise.
19292 * conform/data/grp.h-data: Likewise.
19293 * conform/data/pthread.h-data: Likewise.
19294 * conform/data/pwd.h-data: Likewise.
19295 * conform/data/signal.h-data: Likewise.
19296 * conform/data/spawn.h-data: Likewise.
19297 * conform/data/stdio.h-data: Likewise.
19298 * conform/data/stdlib.h-data: Likewise.
19299 * conform/data/stropts.h-data: Likewise.
19300 * conform/data/sys/mman.h-data: Likewise.
19301 * conform/data/sys/stat.h-data: Likewise.
19302 * conform/data/sys/types.h-data: Likewise.
19303 * conform/data/sys/wait.h-data: Likewise.
19304 * conform/data/time.h-data: Likewise.
19305 * conform/data/unistd.h-data: Likewise.
19306 * conform/data/utime.h-data: Likewise.
19308 * io/sys/stat.h: fchmod was always in POSIX.
19309 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19310 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19311 * rt/aio.h: Define __need_timespec before including <time.h>.
19312 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19313 struct. Add forward declaration of pthread_attr_t and use it in
19315 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19316 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19317 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19318 always remove CLK_TCK definition.
19320 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19322 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19324 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19326 * conform/run-conformtest.sh: New file.
19327 * conform/Makefile: Run run-conformtest for tests.
19328 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19331 * conform/data/uchar.h-data: New file.
19332 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19333 * conform/data/arpa/inet.h-data: Likewise.
19334 * conform/data/assert.h-data: Likewise.
19335 * conform/data/complex.h-data: Likewise.
19336 * conform/data/cpio.h-data: Likewise.
19337 * conform/data/ctype.h-data: Likewise.
19338 * conform/data/dirent.h-data: Likewise.
19339 * conform/data/dlfcn.h-data: Likewise.
19340 * conform/data/errno.h-data: Likewise.
19341 * conform/data/fcntl.h-data: Likewise.
19342 * conform/data/float.h-data: Likewise.
19343 * conform/data/fmtmsg.h-data: Likewise.
19344 * conform/data/fnmatch.h-data: Likewise.
19345 * conform/data/ftw.h-data: Likewise.
19346 * conform/data/glob.h-data: Likewise.
19347 * conform/data/grp.h-data: Likewise.
19348 * conform/data/iconv.h-data: Likewise.
19349 * conform/data/inttypes.h-data: Likewise.
19350 * conform/data/langinfo.h-data: Likewise.
19351 * conform/data/libgen.h-data: Likewise.
19352 * conform/data/limits.h-data: Likewise.
19353 * conform/data/locale.h-data: Likewise.
19354 * conform/data/math.h-data: Likewise.
19355 * conform/data/monetary.h-data: Likewise.
19356 * conform/data/mqueue.h-data: Likewise.
19357 * conform/data/ndbm.h-data: Likewise.
19358 * conform/data/net/if.h-data: Likewise.
19359 * conform/data/netdb.h-data: Likewise.
19360 * conform/data/netinet/in.h-data: Likewise.
19361 * conform/data/nl_types.h-data: Likewise.
19362 * conform/data/poll.h-data: Likewise.
19363 * conform/data/pthread.h-data: Likewise.
19364 * conform/data/pwd.h-data: Likewise.
19365 * conform/data/regex.h-data: Likewise.
19366 * conform/data/sched.h-data: Likewise.
19367 * conform/data/search.h-data: Likewise.
19368 * conform/data/semaphore.h-data: Likewise.
19369 * conform/data/setjmp.h-data: Likewise.
19370 * conform/data/signal.h-data: Likewise.
19371 * conform/data/spawn.h-data: Likewise.
19372 * conform/data/stdarg.h-data: Likewise.
19373 * conform/data/stdio.h-data: Likewise.
19374 * conform/data/stdlib.h-data: Likewise.
19375 * conform/data/string.h-data: Likewise.
19376 * conform/data/strings.h-data: Likewise.
19377 * conform/data/stropts.h-data: Likewise.
19378 * conform/data/sys/ipc.h-data: Likewise.
19379 * conform/data/sys/mman.h-data: Likewise.
19380 * conform/data/sys/msg.h-data: Likewise.
19381 * conform/data/sys/resource.h-data: Likewise.
19382 * conform/data/sys/select.h-data: Likewise.
19383 * conform/data/sys/sem.h-data: Likewise.
19384 * conform/data/sys/shm.h-data: Likewise.
19385 * conform/data/sys/socket.h-data: Likewise.
19386 * conform/data/sys/stat.h-data: Likewise.
19387 * conform/data/sys/statvfs.h-data: Likewise.
19388 * conform/data/sys/time.h-data: Likewise.
19389 * conform/data/sys/timeb.h-data: Likewise.
19390 * conform/data/sys/times.h-data: Likewise.
19391 * conform/data/sys/types.h-data: Likewise.
19392 * conform/data/sys/uio.h-data: Likewise.
19393 * conform/data/sys/un.h-data: Likewise.
19394 * conform/data/sys/utsname.h-data: Likewise.
19395 * conform/data/sys/wait.h-data: Likewise.
19396 * conform/data/syslog.h-data: Likewise.
19397 * conform/data/tar.h-data: Likewise.
19398 * conform/data/termios.h-data: Likewise.
19399 * conform/data/utime.h-data: Likewise.
19400 * conform/data/utmpx.h-data: Likewise.
19401 * conform/data/varargs.h-data: Likewise.
19402 * conform/data/wchar.h-data: Likewise.
19403 * conform/data/wctype.h-data: Likewise.
19404 * conform/data/wordexp.h-data: Likewise.
19406 * include/stropts.h: New file.
19407 * include/uchar.h: New file.
19408 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19409 * include/assert.h: Likewise.
19410 * include/ctype.h: Likewise.
19411 * include/dirent.h: Likewise.
19412 * include/dlfcn.h: Likewise.
19413 * include/fcntl.h: Likewise.
19414 * include/fnmatch.h: Likewise.
19415 * include/glob.h: Likewise.
19416 * include/grp.h: Likewise.
19417 * include/libio.h: Likewise.
19418 * include/locale.h: Likewise.
19419 * include/math.h: Likewise.
19420 * include/net/if.h: Likewise.
19421 * include/netdb.h: Likewise.
19422 * include/netinet/in.h: Likewise.
19423 * include/pthread.h: Likewise.
19424 * include/pwd.h: Likewise.
19425 * include/regex.h: Likewise.
19426 * include/sched.h: Likewise.
19427 * include/search.h: Likewise.
19428 * include/setjmp.h: Likewise.
19429 * include/signal.h: Likewise.
19430 * include/stdio.h: Likewise.
19431 * include/stdlib.h: Likewise.
19432 * include/string.h: Likewise.
19433 * include/sys/cdefs.h: Likewise.
19434 * include/sys/mman.h: Likewise.
19435 * include/sys/msg.h: Likewise.
19436 * include/sys/resource.h: Likewise.
19437 * include/sys/select.h: Likewise.
19438 * include/sys/socket.h: Likewise.
19439 * include/sys/stat.h: Likewise.
19440 * include/sys/statvfs.h: Likewise.
19441 * include/sys/time.h: Likewise.
19442 * include/sys/times.h: Likewise.
19443 * include/sys/uio.h: Likewise.
19444 * include/sys/utsname.h: Likewise.
19445 * include/sys/wait.h: Likewise.
19446 * include/termios.h: Likewise.
19447 * include/time.h: Likewise.
19448 * include/ulimit.h: Likewise.
19449 * include/unistd.h: Likewise.
19450 * include/utime.h: Likewise.
19451 * include/wchar.h: Likewise.
19452 * include/wctype.h: Likewise.
19453 * include/wordexp.h: Likewise.
19455 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19457 * time/time.h: TIME_UTC must be a macro.
19458 Make timespec_get available for ISO C11 only as well.
19460 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19462 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19463 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19465 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19467 * configure.in: Use -o not -a in test for unsupported multi-arch.
19469 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19471 * manual/texinfo.tex: Update to version 2012-01-19.16.
19473 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19475 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19477 2012-02-24 Roland McGrath <roland@hack.frob.com>
19480 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19481 * manual/fdl-1.3.texi: New file.
19482 * manual/fdl-1.1.texi: File removed.
19485 * manual/libc.texinfo (FDL_VERSION): New @set.
19486 Use it for mention of FDL in cover text.
19487 (Documentation License): Use it in @include file name.
19489 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19490 Roland McGrath <roland@hack.frob.com>
19493 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19494 not LONG_LONG_MAX and LONG_LONG_MIN.
19495 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19496 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19498 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19500 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19504 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19505 manipulate bits before adding and subtracting TWO23[sx].
19506 * math/libm-test.inc (nearbyint_test): Add more tests.
19508 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19511 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19512 bits before adding and subtracting TWO23[sx].
19513 * math/libm-test.inc (rint_test): Add more tests.
19514 (rint_test_tonearest): Likewise.
19515 (rint_test_towardzero): Likewise.
19516 (rint_test_downward): Likewise.
19517 (rint_test_upward: Likewise.
19519 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19522 * include/stdc-predef.h: New file. Extracted from features.h.
19523 * include/features.h: Include stdc-predef.h.
19524 * Makefile (headers): Add stdc-predef.h.
19525 * CONFORMANCE (Compiler limitations): Update.
19527 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19529 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19531 2012-02-21 David S. Miller <davem@davemloft.net>
19533 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19534 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19536 2012-02-20 David S. Miller <davem@davemloft.net>
19538 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19539 using a normal save/restore sequence, rather than allocating a
19540 dummy stack frame just to store a frame pointer and restore.
19541 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19543 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19545 * manual/install.texi: Fix stray word in line-wrapped comment.
19547 2012-02-20 David S. Miller <davem@davemloft.net>
19549 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19550 both binutils and gcc support GOTDATA.
19552 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19553 "rd %pc" in the PIC register setup sequences.
19555 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19556 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19557 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19558 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19559 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19561 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19562 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19563 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19564 (SYSCALL_ERROR_HANDLER): Likewise.
19565 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19566 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19567 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19568 (SYSCALL_ERROR_HANDLER): Likewise.
19570 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19571 (HAVE_GCC_GOTDATA): New.
19572 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19573 relocation support in both binutils and gcc.
19574 * sysdeps/sparc/elf/configure: Regenerate.
19576 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19577 * sysdeps/sparc/sparc32/elf/configure: Delete.
19578 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19579 * sysdeps/sparc/sparc64/elf/configure: Delete.
19580 * sysdeps/sparc/elf/configure.in: New file.
19581 * sysdeps/sparc/elf/configure: Generate.
19583 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19584 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19585 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19586 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19587 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19589 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19591 * manual/install.texi: Do not mention specific glibc version
19593 * manual/libc.texinfo (VERSION, UPDATED): Update.
19594 (@copying): Use @copyright{} and range of years.
19596 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19599 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19600 [crti.S not in sysdirs] (generated): Do not append.
19601 [crti.S not in sysdirs] (omit-deps): Likewise.
19602 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19603 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19604 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19605 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19606 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19608 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19609 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19610 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19611 * csu/defs.awk: Remove file.
19612 * sysdeps/generic/initfini.c: Likewise.
19613 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19615 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19618 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19620 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19621 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19622 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19623 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19624 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19625 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19627 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19628 (__EPOLL_PACKED): Define to empty if not defined by
19630 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19634 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19636 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19637 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19638 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19639 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19641 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19645 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19647 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19649 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19650 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19651 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19654 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19656 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19657 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19659 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19661 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19662 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19664 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19666 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19669 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19671 * math/w_acos.c: Use non-signaling floating-point comparisons.
19672 * math/w_acosf.c: Likewise.
19673 * math/w_acosh.c: Likewise.
19674 * math/w_acoshf.c: Likewise.
19675 * math/w_acoshl.c: Likewise.
19676 * math/w_acosl.c: Likewise.
19677 * math/w_asin.c: Likewise.
19678 * math/w_asinf.c: Likewise.
19679 * math/w_asinl.c: Likewise.
19680 * math/w_atanh.c: Likewise.
19681 * math/w_atanhf.c: Likewise.
19682 * math/w_atanhl.c: Likewise.
19683 * math/w_exp2.c: Likewise.
19684 * math/w_exp2f.c: Likewise.
19685 * math/w_exp2l.c: Likewise.
19686 * math/w_j0.c: Likewise.
19687 * math/w_j0f.c: Likewise.
19688 * math/w_j0l.c: Likewise.
19689 * math/w_j1.c: Likewise.
19690 * math/w_j1f.c: Likewise.
19691 * math/w_j1l.c: Likewise.
19692 * math/w_jn.c: Likewise.
19693 * math/w_jnf.c: Likewise.
19694 * math/w_log.c: Likewise.
19695 * math/w_log10.c: Likewise.
19696 * math/w_log10f.c: Likewise.
19697 * math/w_log10l.c: Likewise.
19698 * math/w_log2.c: Likewise.
19699 * math/w_log2f.c: Likewise.
19700 * math/w_log2l.c: Likewise.
19701 * math/w_logf.c: Likewise.
19702 * math/w_logl.c: Likewise.
19703 * math/w_sqrt.c: Likewise.
19704 * math/w_sqrtf.c: Likewise.
19705 * math/w_sqrtl.c: Likewise.
19706 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19707 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19708 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19709 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19710 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19712 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19715 * manual/string.texi (strnlen): Use correct parameter name in
19716 equivalent expression.
19718 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19721 * manual/users.texi (seteuid): Consistently use neweuid for
19724 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19727 * manual/nss.texi (Services in the NSS configuration): Correct
19728 list of services in example configuration file.
19730 2012-02-19 Nick Bowler <nbowler@draconx.ca>
19733 * manual/arith.texi: Remove statements about negative zero
19734 behaving identically to zero.
19736 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19739 * manual/install.texi: Do not document upgrading from libc5.
19741 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19744 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19746 2012-02-18 David S. Miller <davem@davemloft.net>
19748 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19749 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19750 %o7 across the call.
19751 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19753 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19754 SETUP_PIC_REG_LEAF.
19755 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19756 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19757 * sysdeps/sparc/crtn.S: Likewise.
19759 2012-02-17 Ulrich Drepper <drepper@gmail.com>
19761 * aout/Makefile: Remove.
19763 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19766 * manual/examples/argp-ex1.c (main): Format definition in GNU
19768 * manual/examples/argp-ex2.c (main): Likewise.
19769 * manual/examples/argp-ex3.c (main): Likewise.
19770 * manual/examples/argp-ex4.c (main): Likewise.
19771 * manual/examples/longopt.c (main): Use new-style prototype
19773 * manual/examples/strncat.c (main): Specify return type and use
19774 (void) for arguments.
19775 * manual/examples/subopt.c (main): Use char **argv argument.
19777 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19780 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19783 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19786 * manual/string.texi (strchr): Change when strchrnul is
19789 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19792 * manual/locale.texi (setlocale): Document LOCPATH.
19794 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19797 * manual/process.texi (execle): Move @dots{} before last argument.
19799 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
19802 * manual/charset.texi (Generic Charset Conversion): Fix typo
19803 (LC_TYPE -> LC_CTYPE).
19805 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19808 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19809 (scalbnf): Likewise.
19810 (scalbnl): Likewise.
19811 (scalbln): Likewise.
19812 (scalblnf): Likewise.
19813 (scalblnl): Likewise.
19814 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19815 (vwarnx): Likewise.
19818 * manual/filesys.texi (telldir): Use braces around return type.
19819 * manual/llio.texi (mmap): Add space after comma.
19820 (mmap64): Likewise.
19821 * manual/math.texi (jn): Use @var{} on parameter names.
19827 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19829 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19831 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19832 (sched_get_priority_max): Likewise.
19833 * manual/signal.texi (sigvec): Add space after comma.
19834 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19836 (if_indextoname): Likewise.
19837 (if_freenameindex): Likewise.
19838 (sendto): Use ',' instead of '.' in prototype.
19839 * manual/startup.texi (syscall): Use @dots{} instead of literal
19841 * manual/stdio.texi (__fpending): Separate initial words of
19842 paragraph from @deftypefun line.
19843 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19845 (vsyslog): Use @var{} on parameter names.
19846 * manual/terminal.texi (stty): Use @var{} on parameter names.
19847 * manual/users.texi (getutmp): Use @var{} on parameter names.
19848 (getutmpx): Likewise.
19850 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19853 * manual/stdio.texi (fopen): Fix typos in description of
19856 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19859 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19860 get clock_id definition.
19862 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19865 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19866 (madvise): Cast every argument to void on its own.
19868 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19871 * manual/startup.texi (Exit Status): Fix typo.
19873 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19876 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19877 * manual/examples/argp-ex2.c: Likewise.
19878 * manual/examples/argp-ex3.c: Likewise.
19880 2012-02-16 Richard Henderson <rth@redhat.com>
19882 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19883 * sysdeps/s390/s390-32/initfini.c: Remove.
19884 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19885 * sysdeps/s390/s390-64/initfini.c: Remove.
19887 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19889 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19890 compiler output for sysdeps/generic/initfini.c.
19891 * sysdeps/sh/elf/initfini.c: Remove file.
19893 2012-02-16 David S. Miller <davem@davemloft.net>
19896 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19898 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19899 * sysdeps/sparc/crti.S: New file.
19900 * sysdeps/sparc/crtn.S: New file.
19901 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19902 * sysdeps/sparc/sparc64/Makefile: Likewise.
19904 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19907 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19909 2012-02-15 Roland McGrath <roland@hack.frob.com>
19912 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19914 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19915 (write, read, close): Likewise.
19916 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19918 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19920 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19921 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19922 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19923 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19925 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19926 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19929 2012-02-14 Marek Polacek <polacek@redhat.com>
19931 * sysdeps/x86_64/crti.S: New file.
19932 * sysdeps/x86_64/crtn.S: New file.
19933 * sysdeps/x86_64/elf/initfini.c: Remove file.
19935 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19937 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19938 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19939 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19940 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19942 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19946 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19948 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19949 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19950 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19951 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19953 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19957 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19959 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19960 __feraiseexcept instead of feraiseexcept.
19962 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19963 nanosleep invocations.
19964 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19965 strings, and add error checking for a nanosleep invocations.
19967 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19969 Replace FSF snail mail address with URLs, as per GNU coding standards.
19970 Most of the snail mail addresses were wrong anyway, and omitting
19971 them makes the source code easier to maintain. Almost all of the
19972 changes are to license notices and to locale LC_IDENTIFICATION
19973 addresses, except for this one:
19974 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19975 not its snail mail address.
19977 2012-02-09 Richard Henderson <rth@twiddle.net>
19979 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19980 of kernel-features.h.
19982 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19984 2012-02-08 Marek Polacek <polacek@redhat.com>
19986 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19987 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19988 * sysdeps/gnu/_G_config.h: Likewise.
19989 * sysdeps/generic/_G_config.h: Likewise.
19991 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19993 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19997 * sysdeps/powerpc/powerpc32/crti.S: New file.
19998 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19999 * sysdeps/powerpc/powerpc64/crti.S: New file.
20000 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20002 * Makeconfig (have-initfini): Don't set.
20003 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20004 * configure.in (nopic_initfini): Don't substitute.
20005 * config.h.in (HAVE_INITFINI): Don't #undef.
20006 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20007 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20009 2012-02-08 Joseph Myers <joseph@codesourcery.com>
20011 Support crti.S and crtn.S provided directly by architectures.
20012 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20013 [crti.S in sysdirs] (omit-deps): Likewise.
20014 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20015 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20016 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20017 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20018 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20019 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20020 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20021 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20022 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20023 compiler output for sysdeps/generic/initfini.c.
20024 * sysdeps/i386/elf/Makefile: Remove file.
20025 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20027 2012-02-07 Marek Polacek <polacek@redhat.com>
20029 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20030 * sysdeps/gnu/_G_config.h: Likewise.
20031 * sysdeps/mach/hurd/_G_config.h: Likewise.
20033 2012-02-07 Marek Polacek <polacek@redhat.com>
20035 * math/Makefile (tests): Add tst-CMPLX2.
20036 * math/tst-CMPLX2.c: New file.
20038 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20040 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20042 * math/libm-test.inc (jn_test): Add missing L suffix.
20044 2012-02-06 Marek Polacek <polacek@redhat.com>
20046 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20047 * sysdeps/i386/fpu/e_powf.S: Likewise.
20048 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20049 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20050 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20051 * sysdeps/i386/fpu/e_pow.S: Likewise.
20052 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20053 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20054 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20055 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20056 * sysdeps/i386/fpu/e_log2.S: Likewise.
20057 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20058 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20059 * sysdeps/i386/fpu/e_powl.S: Likewise.
20060 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20061 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20062 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20063 * sysdeps/i386/fpu/e_logl.S: Likewise.
20064 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20065 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20066 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20067 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20068 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20069 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20070 * sysdeps/i386/fpu/e_log.S: Likewise.
20071 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20072 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20073 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20074 * sysdeps/i386/fpu/e_logf.S: Likewise.
20075 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20076 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20077 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20078 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20079 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20080 * sysdeps/i386/fpu/e_log10.S: Likewise.
20081 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20082 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20083 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20084 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20085 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20086 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20087 * sysdeps/i386/asm-syntax.h: Likewise.
20088 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20089 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20090 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20091 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20092 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20093 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20094 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20095 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20096 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20097 * sysdeps/powerpc/sysdep.h: Likewise.
20098 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20099 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20101 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20104 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20106 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20108 * sysdeps/i386/sysdep.h: Include <features.h>.
20109 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20112 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20114 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20116 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20119 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20121 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20122 (SETUP_PIC_REG): Use GET_PC_THUNK.
20123 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20126 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20128 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20129 for non-PIC compilation.
20130 (SETUP_PIC_REG): Add .p2align directive.
20131 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20132 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20133 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20134 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20135 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20136 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20137 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20138 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20139 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20140 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20141 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20142 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20143 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20144 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20145 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20146 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20147 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20148 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20149 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20150 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20151 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20152 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20153 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20154 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20155 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20156 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20157 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20158 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20159 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20160 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20161 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20162 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20163 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20164 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20165 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20166 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20167 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20168 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20169 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20170 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20171 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20173 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20175 * math/tst-CMPLX.c: Include <stdio.h>.
20177 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20179 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20181 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20182 * sysdeps/sparc/bits/mathdef.h: Likewise.
20184 2012-01-31 Marek Polacek <polacek@redhat.com>
20186 * libio/libio.h: Don't define _PARAMS.
20187 * locale/programs/config.h: Don't define PARAMS.
20188 * stdlib/strtol_l.c: Likewise.
20189 (__strtol_l): Remove PARAMS from the prototype.
20191 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20193 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20194 names. Just use the correct names. Remove unnecessary wrapper
20196 * malloc/arena.c: Likewise.
20197 * malloc/hooks.c: Likewise.
20199 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20200 ARENA_TEST says not to. Simplify test for creation of a new arena.
20201 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20203 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20205 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20207 (update_get_addr): New function.
20208 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20209 GET_ADDR_MODULE parameter.
20211 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20213 * crypt/cert.c: Remove __STDC__ conditionals.
20214 * crypt/crypt-entry.c: Likewise.
20215 * crypt/crypt_util.c: Likewise.
20216 * libio/filedoalloc.c: Likewise.
20217 * libio/fileops.c: Likewise.
20218 * libio/genops.c: Likewise.
20219 * libio/iofclose.c: Likewise.
20220 * libio/iofdopen.c: Likewise.
20221 * libio/iofopen.c: Likewise.
20222 * libio/iofopen64.c: Likewise.
20223 * libio/iogetdelim.c: Likewise.
20224 * libio/iopopen.c: Likewise.
20225 * libio/obprintf.c: Likewise.
20226 * libio/oldfileops.c: Likewise.
20227 * libio/oldiofclose.c: Likewise.
20228 * libio/oldiofdopen.c: Likewise.
20229 * libio/oldiofopen.c: Likewise.
20230 * libio/oldiopopen.c: Likewise.
20231 * libio/wfiledoalloc.c: Likewise.
20232 * libio/wgenops.c: Likewise.
20233 * locale/programs/xmalloc.c: Likewise.
20234 * misc/syslog.c: Likewise.
20235 * stdio-common/xbug.c: Likewise.
20236 * string/memchr.c: Likewise.
20237 * string/memcmp.c: Likewise.
20238 * string/memrchr.c: Likewise.
20239 * string/rawmemchr.c: Likewise.
20240 * sysdeps/posix/getcwd.c: Likewise.
20241 * time/strftime_l.c: Likewise.
20243 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20245 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20246 * config.make.in (config-cflags-sse2avx): Define.
20247 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20250 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20252 * scripts/config.guess: Update from upstream config git repository.
20253 * scripts/config.sub: Likewise.
20255 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20257 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20259 (R_TILEPRO_*, R_TILEGX_*): New macros.
20261 * scripts/firstversions.awk: Fix bug in version range handling.
20263 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20265 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20267 * include/sys/epoll.h: New file.
20268 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20271 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20273 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20274 Avoid unnecessary __WORDSIZE == 64 test.
20275 (fmaxf): Use VEX format if possible.
20280 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20281 * math/math_private.h: Remove libc_fegetround* and
20283 * sysdeps/i386/configure.in: Check for -msse2avx.
20284 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20285 also if SSE2AVX is defined.
20286 Remove libc_fegetround* and libc_fesetround*.
20287 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20288 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20289 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20291 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20292 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20293 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20294 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20295 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20297 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20299 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20301 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20303 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20305 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20308 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20310 * Makeconfig (libm): Define.
20311 * elf/Makefile: Add rules to build and run tst-relsort1.
20312 * elf/tst-relsort1.c: New file.
20313 * elf/tst-relsort1mod1.c: New file.
20314 * elf/tst-relsort1mod2.c: New file.
20316 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20318 * math/s_ldexp.c: Remove __STDC__ conditionals.
20319 * math/s_ldexpf.c: Likewise.
20320 * math/s_ldexpl.c: Likewise.
20321 * math/s_nextafter.c: Likewise.
20322 * math/s_nexttowardf.c: Likewise.
20323 * math/s_significand.c: Likewise.
20324 * math/s_significandf.c: Likewise.
20325 * math/s_significandl.c: Likewise.
20326 * math/w_jnl.c: Likewise.
20327 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20328 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20329 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20330 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20331 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20332 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20333 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20334 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20335 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20336 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20337 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20338 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20339 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20340 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20341 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20342 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20343 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20344 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20345 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20346 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20347 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20348 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20349 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20350 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20351 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20352 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20353 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20354 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20355 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20356 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20357 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20358 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20359 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20360 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20361 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20362 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20363 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20364 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20365 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20366 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20367 * sysdeps/ieee754/k_standard.c: Likewise.
20368 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20369 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20370 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20371 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20372 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20373 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20374 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20375 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20376 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20377 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20378 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20379 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20380 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20381 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20382 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20383 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20384 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20385 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20386 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20387 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20388 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20389 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20390 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20391 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20392 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20393 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20394 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20395 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20396 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20397 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20398 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20399 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20400 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20401 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20402 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20403 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20404 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20405 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20406 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20407 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20408 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20409 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20410 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20411 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20412 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20413 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20414 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20415 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20416 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20417 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20418 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20419 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20420 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20421 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20422 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20423 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20424 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20425 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20426 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20427 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20428 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20429 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20430 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20431 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20432 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20433 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20434 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20435 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20436 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20437 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20438 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20439 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20440 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20441 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20442 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20443 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20444 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20445 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20446 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20447 * sysdeps/ieee754/s_matherr.c: Likewise.
20448 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20449 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20450 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20451 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20453 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20455 * crypt/md5.h: Remove __STDC__ conditionals.
20456 * libio/libioP.h: Likewise.
20457 * locale/programs/config.h: Likewise.
20458 * sysdeps/generic/sysdep.h: Likewise.
20459 * sysdeps/i386/asm-syntax.h: Likewise.
20460 * sysdeps/s390/asm-syntax.h: Likewise.
20461 * sysdeps/unix/sysdep.h: Likewise.
20462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20465 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20467 * libio/libio.h: Remove __STDC__ conditionals.
20468 * malloc/obstack.h: Likewise.
20469 * math/complex.h: Likewise.
20470 * math/math.h: Likewise.
20471 * sysdeps/generic/_G_config.h: Likewise.
20472 * sysdeps/gnu/_G_config.h: Likewise.
20473 * sysdeps/mach/hurd/_G_config.h: Likewise.
20474 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20475 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20476 * sysdeps/sparc/bits/mathdef.h: Likewise.
20478 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20481 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20482 Clean up HAS_* macros.
20483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20484 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20486 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20488 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20489 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20490 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20491 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20492 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20494 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20496 * elf/tst-unique3.cc (gets): Remove declaration.
20497 * elf/tst-unique3lib.cc (gets): Likewise.
20498 * elf/tst-unique3lib2.cc (gets): Likewise.
20499 * elf/tst-unique4.cc (gets): Likewise.
20501 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20503 * include/stdio.h: Add C++ protection. Add gets declarations and
20505 * debug/tst-chk1.c: Don't declare gets here.
20506 * stdio-common/tst-gets.c: Likewise.
20508 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20510 * posix/glob: Remove directory.
20512 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20514 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20516 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20518 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20519 of the non-standard EPFNOSUPPORT.
20521 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20523 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20524 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20525 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20527 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20529 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20531 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20533 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20535 * nscd/grpcache.c (cache_addgr): Likewise.
20536 * nscd/hstcache.c (cache_addhst): Likewise.
20537 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20538 * nscd/pwdcache.c (cache_addpw): Likewise.
20539 * nscd/servicescache.c (cache_addserv): Likewise.
20541 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20543 * malloc/malloc.c: Various cleanups.
20544 * malloc/hooks.c: Likewise.
20546 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20547 * stdlib/bug-fmtmsg1.c: New file.
20549 * stdlib/fmtmsg.c (init): Add missing unlock.
20550 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20552 2012-01-12 Marek Polacek <polacek@redhat.com>
20554 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20557 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20559 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20560 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20561 macro to ensure uniqueness of label name.
20562 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20563 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20565 2012-01-11 Ulrich Drepper <drepper@gmail.com>
20567 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20569 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20570 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20571 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20572 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20574 2012-01-10 Ulrich Drepper <drepper@gmail.com>
20576 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20578 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20579 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20580 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20582 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20584 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20585 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20586 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20587 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20589 * math/bits/math-finite.h: Add ldexp support.
20591 2012-01-10 Marek Polacek <polacek@redhat.com>
20593 * locale/programs/localedef.h (show_archive_content): Add noreturn
20596 2012-01-09 Ulrich Drepper <drepper@gmail.com>
20598 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20600 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20602 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20604 * io/Makefile (headers): Add bits/poll2.h.
20606 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20609 typo #include statement.
20611 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20613 * include/sys/cdefs.h: Define __attribute_alloc_size.
20614 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20615 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20616 * elf/pldd.c: Likewise.
20617 * iconv/iconv_charmap.c: Likewise.
20618 * iconv/iconvconfig.c: Likewise.
20619 * iconv/strtab.c: Likewise.
20620 * locale/programs/locale.c: Likewise.
20621 * locale/programs/localedef.h: Likewise.
20622 * locale/programs/simple-hash.c: Likewise.
20623 * nscd/nscd.h: Likewise.
20624 * nss/makedb.c: Likewise.
20625 * sysdeps/generic/ldconfig.h: Likewise.
20626 * locale/programs/localedef.c: Remove xmalloc prototype.
20627 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20629 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20631 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20634 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20636 * math/Makefile (tests): Add tst-CMPLX.
20637 * math/tst-CMPLX.c: New file.
20639 * math/complex.h (CMPLXL): Fix typo.
20641 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20642 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20644 * debug/tst-chk1.c: Add poll and ppoll tests.
20645 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20646 * include/sys/poll.h: Add hidden proto for ppoll.
20647 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20648 * sysdeps/mach/hurd/ppoll.c: Likewise.
20649 * io/ppoll.c: Likewise.
20650 * debug/poll_chk.c: New file.
20651 * debug/ppoll_chk.c: New file.
20652 * include/bits/poll2.h: New file.
20653 * io/bits/poll2.h: New file.
20656 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20658 * configure.in: static is always set to yes. Remove.
20659 * config.make.in: Don't set build-static.
20660 * Makeconfig: Remove use of build-static.
20661 * dlfcn/Makefile: Likewise.
20662 * elf/Makefile: Likewise.
20663 * math/Makefile: Likewise.
20664 * misc/Makefile: Likewise.
20665 * nptl/Makefile: Likewise.
20666 * sysdeps/mach/hurd/Makefile: Likewise.
20668 * configure.in: PWD_P is not used anymore.
20669 * config.make.in: Remove PWD_P entry.
20671 * configure.in: Remove last remnants of RANLIB.
20672 No need to check for signed size_t anymore.
20673 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20675 Remove __builtin_expect test because we require at least gcc 3.4.
20676 * aclocal.m4: Likewise.
20678 * wcsmbs/mbrtoc16.c: Implement using towc function.
20679 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20680 * wcsmbs/wcsmbsload.c: Likewise.
20681 * iconv/gconv_simple.c: Likewise.
20682 * iconv/gconv_int.h: Likewise.
20683 * iconv/gconv_builtin.h: Likewise.
20684 * iconv/iconv_prog.c: Remove CHAR16 handling.
20686 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20688 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20690 * configure.in: Remove --with-elf and --enable-bounded options.
20691 Dont set base_machine for ia64. More non-ELF conditions removed.
20692 Remove testing and setting of leading underscore information.
20693 * config.make.in (build-bounded): Set to no.
20694 * config.h.in: Remove NO_UNDERSCORES entry.
20695 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20697 * csu/start.c: Remove !NO_UNDERSCORE code.
20698 * locale/localeinfo.h: Likewise.
20699 * sysdeps/generic/machine-gmon.h: Likewise.
20700 * sysdeps/generic/sysdep.h: Likewise.
20701 * sysdeps/i386/sysdep.h: Likewise.
20702 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20703 * sysdeps/mach/sysdep.h: Likewise.
20704 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20705 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20706 * sysdeps/sh/sysdep.h: Likewise.
20707 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20708 * sysdeps/unix/i386/sysdep.S: Likewise.
20709 * sysdeps/unix/sparc/start.c: Likewise.
20710 * sysdeps/unix/sparc/sysdep.S: Likewise.
20711 * sysdeps/unix/sparc/sysdep.h: Likewise.
20712 * sysdeps/unix/start.c: Likewise.
20713 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20714 * sysdeps/x86_64/sysdep.h: Likewise.
20716 2012-01-07 Ulrich Drepper <drepper@gmail.com>
20719 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20721 * argp/argp-fmtstream.h: Use const instead __const.
20722 * argp/argp.h: Likewise.
20723 * assert/assert.h: Likewise.
20724 * bits/fenv.h: Likewise.
20725 * bits/sched.h: Likewise.
20726 * bits/sigset.h: Likewise.
20727 * bits/sigthread.h: Likewise.
20728 * catgets/nl_types.h: Likewise.
20729 * conform/data/pthread.h-data: Likewise.
20730 * crypt/crypt-private.h: Likewise.
20731 * crypt/crypt.h: Likewise.
20732 * crypt/crypt_util.c: Likewise.
20733 * ctype/ctype.h: Likewise.
20734 * debug/execinfo.h: Likewise.
20735 * debug/mbsnrtowcs_chk.c: Likewise.
20736 * debug/mbsrtowcs_chk.c: Likewise.
20737 * debug/wcsnrtombs_chk.c: Likewise.
20738 * debug/wcsrtombs_chk.c: Likewise.
20739 * debug/wcstombs_chk.c: Likewise.
20740 * dirent/dirent.h: Likewise.
20741 * dlfcn/dlfcn.h: Likewise.
20742 * elf/neededtest4.c: Likewise.
20743 * grp/grp.h: Likewise.
20744 * gshadow/gshadow.h: Likewise.
20745 * iconv/gconv.h: Likewise.
20746 * iconv/gconv_int.h: Likewise.
20747 * iconv/gconv_simple.c: Likewise.
20748 * iconv/iconv.h: Likewise.
20749 * iconv/loop.c: Likewise.
20750 * iconv/skeleton.c: Likewise.
20751 * include/aio.h: Likewise.
20752 * include/aliases.h: Likewise.
20753 * include/argz.h: Likewise.
20754 * include/arpa/inet.h: Likewise.
20755 * include/assert.h: Likewise.
20756 * include/dirent.h: Likewise.
20757 * include/dlfcn.h: Likewise.
20758 * include/execinfo.h: Likewise.
20759 * include/fcntl.h: Likewise.
20760 * include/fenv.h: Likewise.
20761 * include/glob.h: Likewise.
20762 * include/grp.h: Likewise.
20763 * include/libintl.h: Likewise.
20764 * include/mntent.h: Likewise.
20765 * include/netdb.h: Likewise.
20766 * include/pwd.h: Likewise.
20767 * include/rpc/netdb.h: Likewise.
20768 * include/sched.h: Likewise.
20769 * include/search.h: Likewise.
20770 * include/shadow.h: Likewise.
20771 * include/signal.h: Likewise.
20772 * include/stdio.h: Likewise.
20773 * include/stdlib.h: Likewise.
20774 * include/string.h: Likewise.
20775 * include/sys/socket.h: Likewise.
20776 * include/sys/stat.h: Likewise.
20777 * include/sys/statfs.h: Likewise.
20778 * include/sys/statvfs.h: Likewise.
20779 * include/sys/syslog.h: Likewise.
20780 * include/sys/time.h: Likewise.
20781 * include/sys/uio.h: Likewise.
20782 * include/time.h: Likewise.
20783 * include/unistd.h: Likewise.
20784 * include/utmp.h: Likewise.
20785 * include/wchar.h: Likewise.
20786 * include/wctype.h: Likewise.
20787 * inet/aliases.h: Likewise.
20788 * inet/arpa/inet.h: Likewise.
20789 * inet/netinet/ether.h: Likewise.
20790 * inet/netinet/in.h: Likewise.
20791 * intl/libintl.h: Likewise.
20792 * io/bits/fcntl2.h: Likewise.
20793 * io/fcntl.h: Likewise.
20794 * io/ftw.h: Likewise.
20795 * io/sys/poll.h: Likewise.
20796 * io/sys/stat.h: Likewise.
20797 * io/sys/statfs.h: Likewise.
20798 * io/sys/statvfs.h: Likewise.
20799 * io/utime.h: Likewise.
20800 * libio/bits/stdio.h: Likewise.
20801 * libio/bits/stdio2.h: Likewise.
20802 * libio/libio.h: Likewise.
20803 * libio/libioP.h: Likewise.
20804 * libio/stdio.h: Likewise.
20805 * locale/lc-ctype.c: Likewise.
20806 * locale/locale.h: Likewise.
20807 * login/utmp.h: Likewise.
20808 * malloc/arena.c: Likewise.
20809 * malloc/malloc.c: Likewise.
20810 * malloc/malloc.h: Likewise.
20811 * malloc/mcheck.c: Likewise.
20812 * malloc/mtrace.c: Likewise.
20813 * math/bits/mathcalls.h: Likewise.
20814 * math/fenv.h: Likewise.
20815 * math/math_private.h: Likewise.
20816 * misc/bits/error.h: Likewise.
20817 * misc/bits/syslog.h: Likewise.
20818 * misc/err.h: Likewise.
20819 * misc/error.h: Likewise.
20820 * misc/fstab.h: Likewise.
20821 * misc/mntent.h: Likewise.
20822 * misc/regexp.h: Likewise.
20823 * misc/search.h: Likewise.
20824 * misc/sgtty.h: Likewise.
20825 * misc/sys/mman.h: Likewise.
20826 * misc/sys/syslog.h: Likewise.
20827 * misc/sys/uio.h: Likewise.
20828 * misc/sys/xattr.h: Likewise.
20829 * misc/ttyent.h: Likewise.
20830 * nis/rpcsvc/ypclnt.h: Likewise.
20831 * nss/nss.h: Likewise.
20832 * posix/bits/unistd.h: Likewise.
20833 * posix/fnmatch.h: Likewise.
20834 * posix/glob.h: Likewise.
20835 * posix/sched.h: Likewise.
20836 * posix/spawn.h: Likewise.
20837 * posix/sys/wait.h: Likewise.
20838 * posix/unistd.h: Likewise.
20839 * posix/wordexp.h: Likewise.
20840 * pwd/pwd.h: Likewise.
20841 * resolv/netdb.h: Likewise.
20842 * resource/sys/resource.h: Likewise.
20843 * rt/aio.h: Likewise.
20844 * rt/bits/mqueue2.h: Likewise.
20845 * rt/mqueue.h: Likewise.
20846 * shadow/shadow.h: Likewise.
20847 * signal/signal.h: Likewise.
20848 * socket/send.c: Likewise.
20849 * socket/sendto.c: Likewise.
20850 * socket/sys/socket.h: Likewise.
20851 * stdio-common/printf.h: Likewise.
20852 * stdlib/bits/stdlib.h: Likewise.
20853 * stdlib/fmtmsg.h: Likewise.
20854 * stdlib/monetary.h: Likewise.
20855 * stdlib/stdlib.h: Likewise.
20856 * stdlib/ucontext.h: Likewise.
20857 * streams/stropts.h: Likewise.
20858 * string/argz.h: Likewise.
20859 * string/bits/string2.h: Likewise.
20860 * string/string.h: Likewise.
20861 * string/strings.h: Likewise.
20862 * sunrpc/rpc/auth.h: Likewise.
20863 * sunrpc/rpc/auth_des.h: Likewise.
20864 * sunrpc/rpc/clnt.h: Likewise.
20865 * sunrpc/rpc/netdb.h: Likewise.
20866 * sunrpc/rpc/pmap_clnt.h: Likewise.
20867 * sunrpc/rpc/xdr.h: Likewise.
20868 * sysdeps/generic/inttypes.h: Likewise.
20869 * sysdeps/generic/net/if.h: Likewise.
20870 * sysdeps/generic/sys/swap.h: Likewise.
20871 * sysdeps/gnu/net/if.h: Likewise.
20872 * sysdeps/gnu/utmpx.h: Likewise.
20873 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20874 * sysdeps/i386/i486/bits/string.h: Likewise.
20875 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20876 * sysdeps/s390/bits/string.h: Likewise.
20877 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20878 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20879 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20880 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20881 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20882 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20883 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20884 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20885 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20886 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20887 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20888 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20889 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20890 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20891 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20892 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20893 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20895 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20896 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20897 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20898 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20899 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20900 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20901 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20902 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20903 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20904 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20905 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20906 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20907 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20908 * sysvipc/sys/ipc.h: Likewise.
20909 * sysvipc/sys/msg.h: Likewise.
20910 * sysvipc/sys/sem.h: Likewise.
20911 * sysvipc/sys/shm.h: Likewise.
20912 * termios/termios.h: Likewise.
20913 * time/sys/time.h: Likewise.
20914 * time/time.h: Likewise.
20915 * wcsmbs/bits/wchar2.h: Likewise.
20916 * wcsmbs/uchar.h: Likewise.
20917 * wcsmbs/wchar.h: Likewise.
20918 * wctype/wctype.h: Likewise.
20921 * Makeconfig: Remove all but ELF support including AIX support.
20922 * Makerules: Likewise.
20923 * config.h.in: Likewise.
20924 * config.make.in: Likewise.
20925 * configure: Likewise.
20926 * configure.in: Likewise.
20927 * csu/Makefile: Likewise.
20928 * csu/version.c: Likewise.
20929 * debug/Makefile: Likewise.
20930 * dlfcn/Makefile: Likewise.
20931 * elf/Makefile: Likewise.
20932 * extra-lib.mk: Likewise.
20933 * iconv/Makefile: Likewise.
20934 * include/libc-symbols.h: Likewise.
20935 * include/shlib-compat.h: Likewise.
20936 * resolv/Makefile: Likewise.
20937 * resolv/res_libc.c: Likewise.
20938 * rt/Makefile: Likewise.
20939 * sysdeps/i386/asm-syntax.h: Likewise.
20940 * sysdeps/i386/sysdep.h: Likewise.
20941 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20942 * sysdeps/mach/sysdep.h: Likewise.
20943 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20944 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20945 * sysdeps/s390/asm-syntax.h: Likewise.
20946 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20947 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20948 * sysdeps/sh/sysdep.h: Likewise.
20949 * sysdeps/unix/sparc/sysdep.h: Likewise.
20950 * sysdeps/wordsize-32/divdi3.c: Likewise.
20951 * sysdeps/x86_64/sysdep.h: Likewise.
20953 * argp/Versions: Remove _argp_unlock_xxx.
20956 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20957 * abilist/libBrokenLocale.abilist: Likewise.
20958 * abilist/libanl.abilist: Likewise.
20959 * abilist/libc.abilist: Likewise.
20960 * abilist/libcrypt.abilist: Likewise.
20961 * abilist/libdl.abilist: Likewise.
20962 * abilist/libm.abilist: Likewise.
20963 * abilist/libnsl.abilist: Likewise.
20964 * abilist/libpthread.abilist: Likewise.
20965 * abilist/libresolv.abilist: Likewise.
20966 * abilist/librt.abilist: Likewise.
20967 * abilist/libthread_db.abilist: Likewise.
20968 * abilist/libutil.abilist: Likewise.
20969 * abilist/libnss_db.abilist: New file.
20971 * scripts/abilist.awk: Add support for indirect functions.
20973 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20975 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20977 * shlib-versions: Remove entries for ports architectures.
20979 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20981 * elf/stackguard-macros.h: Remove support for IA-64.
20982 * elf/tst-auditmod1.c: Likewise.
20983 * sysdeps/generic/ldsodefs.h: Likewise.
20985 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20986 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20990 * configure.in: Remove --enable-omitfp support.
20992 * config.make.in: Likewise.
20993 * Makeconfig: Likewise.
20994 * manual/install.texi: Likewise.
20996 In case anyone cares, the IA-64 architecture could move to ports.
20997 * sysdeps/ia64/*: Removed.
20998 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20999 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21002 * configure.in: Remove entries for unsupported architectures.
21005 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21006 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21008 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21009 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21010 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21011 fall back to using wcrtomb.
21012 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21013 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21015 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21016 * wcsmbs/tst-c16c32-1.c: New file.
21018 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21021 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21023 * elf/tst-unique3.cc: Add explicit declaration of gets.
21024 * elf/tst-unique3lib.cc: Likewise.
21025 * elf/tst-unique3lib2.cc: Likewise.
21026 * elf/tst-unique4.cc: Likewise.
21028 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21030 2012-01-06 Joseph Myers <joseph@codesourcery.com>
21033 * assert/assert.h (static_assert): Don't define for C++.
21034 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21035 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21037 2012-01-03 Ulrich Drepper <drepper@gmail.com>
21039 * iconv/loop.c (single loop): Fix assertion in storing of
21042 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21044 2012-01-01 Ulrich Drepper <drepper@gmail.com>
21046 * posix/getconf.c: Update copyright year.
21047 * nss/getent.c: Likewise.
21048 * nss/makedb.c: Likewise.
21049 * iconv/iconvconfig.c: Likewise.
21050 * iconv/iconv_prog.c: Likewise.
21051 * elf/ldconfig.c: Likewise.
21052 * elf/pldd.c: Likewise.
21053 * elf/sotruss.ksh: Likewise.
21054 * catgets/gencat.c: Likewise.
21055 * csu/version.c: Likewise.
21056 * elf/ldd.bash.in: Likewise.
21057 * elf/sprof.c (print_version): Likewise.
21058 * locale/programs/locale.c: Likewise.
21059 * locale/programs/localedef.c: Likewise.
21060 * login/programs/pt_chown.c: Likewise.
21061 * nscd/nscd.c (print_version): Likewise.
21062 * debug/xtrace.sh: Likewise.
21063 * malloc/memusage.sh: Likewise.
21064 * malloc/mtrace.pl: Likewise.
21065 * debug/catchsegv.sh: Likewise.
21067 2011-12-30 Jakub Jelinek <jakub@redhat.com>
21069 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21072 2011-12-24 Ulrich Drepper <drepper@gmail.com>
21075 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21076 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21078 * iconv/gconv_int.h: Likewise.
21079 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21080 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21081 from libc for GLIBC_2.16.
21082 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21083 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21084 * wcsmbs/uchar.h: Really define mbstate_t.
21085 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21086 * wcsmbs/c16rtomb.c: New file.
21087 * wcsmbs/mbrtoc16.c: New file.
21088 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21089 for C/POSIX locale.
21090 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21091 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21093 * wcsmbs/wchar.h: Add missing __restrict.
21095 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21098 * time/Makefile (routines): Add timespec_get.
21099 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21100 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21101 timespec for ISO C11.
21102 * time/timespec_get.c: New file.
21103 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21104 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21107 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21108 * stdlib/stdlib.h: Declare aligned_alloc.
21109 * Versions.def: Add GLIBC_2.16 for libc.
21110 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21113 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21116 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21120 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21123 * assert/assert.h (static_assert): Define.
21125 * version.h: Update for 2.16 development version.
21128 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21131 * version.h (RELEASE): Bump for 2.15 release.
21132 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21134 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21135 Patch by Marek Polacek <mpolacek@redhat.com>.
21137 * bits/byteswap.h: Protect long long constants with __extension__.
21138 * sysdeps/i386/bits/byteswap.h: Likewise.
21139 * sysdeps/ia64/bits/byteswap.h: Likewise.
21140 * sysdeps/s390/bits/byteswap.h: Likewise.
21141 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21143 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21146 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21147 destination buffer.
21148 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21150 2011-12-23 Marek Polacek <polacek@redhat.com>
21152 * elf/dl-addr.c (determine_info): Add inline keyword.
21153 * elf/tst-auditmod4b.c (check_avx): Likewise.
21154 * elf/tst-auditmod6b.c (check_avx): Likewise.
21155 * elf/tst-auditmod6c.c (check_avx): Likewise.
21156 * elf/tst-auditmod7b.c (check_avx): Likewise.
21158 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21160 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21163 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21166 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21167 processing for last bytes.
21169 2011-08-06 Bruno Haible <bruno@clisp.org>
21172 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21173 U+0385, not to U+1FEE.
21176 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21177 entry for U+00A5 U+0301.
21179 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21182 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21183 buffer for the output is too small.
21185 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21189 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21190 SSE flags if possible.
21192 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21195 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21196 processing for last bytes.
21198 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21200 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21201 (syscall-list-default-options, syscall-list-default-condition)
21202 (syscall-list-includes): Define.
21203 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21204 list of ABIs and options and #if conditions for each ABI. Do not
21205 handle common syscalls between ABIs specially.
21206 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21208 (syscall-list-variants, syscall-list-32bit-options)
21209 (syscall-list-32bit-condition, syscall-list-64bit-options)
21210 (syscall-list-64bit-condition): Define.
21211 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21212 (syscall-list-variants, syscall-list-32bit-options)
21213 (syscall-list-32bit-condition, syscall-list-64bit-options)
21214 (syscall-list-64bit-condition): Define.
21215 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21217 (syscall-list-variants, syscall-list-32bit-options)
21218 (syscall-list-32bit-condition, syscall-list-64bit-options)
21219 (syscall-list-64bit-condition): Define.
21220 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21222 (syscall-list-variants, syscall-list-32bit-options)
21223 (syscall-list-32bit-condition, syscall-list-64bit-options)
21224 (syscall-list-64bit-condition): Define.
21226 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21228 * locale/iso-639.def: Add brx entry.
21231 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21232 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21234 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21235 __feraiseexcept_renamed.
21237 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21240 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21241 EPOLLET with unsigned values.
21242 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21243 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21245 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21246 to large cancellation.
21247 * math/s_cacoshf.c: Likewise.
21248 * math/s_cacoshl.c: Likewise.
21250 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21254 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21255 * math/s_cacoshf.c: Likewise.
21256 * math/s_cacoshl.c: Likewise.
21258 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21261 * iconv/gconv.h: Define __GCONV_SWAP.
21262 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21263 * iconvdata/utf-16.c: Likewise.
21264 * iconvdata/utf-32.c: Likewise.
21266 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21269 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21270 numerator after shifting it by one limb.
21272 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21274 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21275 under [__USE_EXTERN_INLINES].
21277 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21280 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21282 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21284 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21285 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21287 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21288 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21289 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21290 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21291 for strncasecmp/strncasecmp_l compilation.
21292 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21293 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21295 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21298 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21301 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21304 * time/tzfile.c (__tzfile_read): Check values from file header.
21306 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21308 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21309 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21310 * powerpc/powerpc32/dl-start.S: Likewise.
21311 * powerpc/powerpc32/elf/start.S: Likewise.
21312 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21313 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21314 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21315 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21316 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21317 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21318 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21319 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21320 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21321 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21322 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21323 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21324 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21325 * powerpc/powerpc32/memset.S: Likewise.
21326 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21327 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21328 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21329 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21330 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21331 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21332 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21333 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21334 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21335 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21336 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21337 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21338 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21340 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21342 * math/libm-test.inc: Added more nearbyint tests.
21343 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21344 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21345 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21346 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21348 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21350 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21353 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21355 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21356 Add wcscpy-ssse3 wcscpy-c.
21357 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21358 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21359 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21360 * sysdeps/x86_64/wcschr.S: New file.
21361 * sysdeps/x86_64/wcsrchr.S: New file.
21362 * string/test-strcmp.c: Remove checking of wcscmp function for
21364 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21365 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21366 wcsrchr-sse2 wcsrchr-c.
21367 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21368 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21369 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21370 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21371 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21372 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21373 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21374 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21375 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21376 * wcsmbc/wcschr.c (WCSCHR): New macro.
21378 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21380 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21381 * wcsmbs/test-wcsrchr.c: New file.
21382 * string/test-strrchr.c: Add wcsrchr support.
21384 * wcsmbs/test-wcscpy.c: New file.
21385 * string/test-strcpy.c: Add wcscpy support.
21388 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21390 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21393 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21396 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21398 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21400 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21401 Minor optimizations.
21403 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21404 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21405 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21407 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21409 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21410 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21411 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21412 for gcc to avoid warnings.
21413 * inet/Makefile (tests): Add tst-checks.
21414 * inet/tst-checks.c: New file.
21416 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21419 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21422 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21423 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21425 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21427 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21429 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21432 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21434 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21436 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21437 conditional on GCC version.
21438 (__arch_compare_and_exchange_val_8_acq)
21439 (__arch_compare_and_exchange_val_16_acq)
21440 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21441 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21442 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21444 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21446 * sysdeps/sh/backtrace.c: New file.
21448 2011-12-02 Andreas Schwab <schwab@redhat.com>
21450 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21453 2011-12-01 Andreas Schwab <schwab@redhat.com>
21455 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21456 falling back to utime.
21458 2011-11-30 Andreas Schwab <schwab@redhat.com>
21460 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21461 expectations for float.
21463 2011-11-29 Andreas Schwab <schwab@redhat.com>
21465 * locale/weight.h (findidx): Add parameter len.
21466 * locale/weightwc.h (findidx): Likewise.
21467 * posix/fnmatch_loop.c (FCT): Adjust caller.
21468 * posix/regcomp.c (build_equiv_class): Likewise.
21469 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21470 * posix/regexec.c (check_node_accept_bytes): Likewise.
21471 * string/strcoll_l.c (STRCOLL): Likewise.
21472 * string/strxfrm_l.c (STRXFRM): Likewise.
21474 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21476 * Makefile.in: Remove CVSOPT handling.
21477 * configure.in: Remove use of AC_REVISION.
21478 * iconvdata/Makefile (distribute): No need to filter out CVS.
21479 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21482 2011-11-16 Andreas Schwab <schwab@redhat.com>
21484 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21485 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21486 [USE_AS_STRNCASECMP_L]: Likewise.
21487 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21488 NO_TLS_DIRECT_SEG_REFS.
21489 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21490 Fix argument offsets for non-PIC.
21491 [USE_AS_STRNCASECMP_L]: Likewise.
21492 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21493 NO_TLS_DIRECT_SEG_REFS.
21495 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21497 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21499 * locale/loadlocale.c (_nl_load_locale): Likewise.
21501 2011-11-15 Andreas Schwab <schwab@redhat.com>
21503 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21504 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21505 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21506 (SYSCALL_GETTIME): Set errno on error.
21508 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21509 count references to noai6ai_cached.
21511 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21513 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21515 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21516 FD_CLOEXEC for /proc/self/maps.
21518 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21519 FD_CLOEXEC for /proc/meminfo.
21521 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21524 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21525 FD_CLOEXEC for given file.
21527 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21529 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21530 FD_CLOEXEC for /etc/hosts.
21531 (_gethtent): Likewise.
21533 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21535 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21536 cancellation and set FD_CLOEXEC for /etc/netgroup.
21538 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21539 reading /etc/publickey.
21541 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21542 allow cancellation when reading /etc/group.
21544 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21546 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21548 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21549 when using data file.
21551 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21553 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21554 (write_nis_obj): Use "c" and "e" in fopen.
21556 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21558 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21560 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21562 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21564 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21567 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21569 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21571 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21573 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21574 file parsing and set FD_CLOEXEC.
21576 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21578 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21580 2011-11-14 Andreas Schwab <schwab@redhat.com>
21582 * malloc/arena.c (arena_get2): Don't call reused_arena when
21583 _int_new_arena failed.
21585 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21587 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21588 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21589 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21590 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21591 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21592 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21593 to compile strcasecmp and strncasecmp.
21594 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21595 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21597 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21599 2011-11-13 Ulrich Drepper <drepper@gmail.com>
21601 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21602 locale-defines.sym to gen-as-const-headers.
21603 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21604 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21605 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21606 to compile strcasecmp and strncasecmp.
21607 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21608 strcasecmp_l and strncasecmp_l.
21609 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21610 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21611 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21612 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21613 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21614 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21615 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21616 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21617 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21618 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21619 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21621 2011-11-12 Ulrich Drepper <drepper@gmail.com>
21623 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21624 result of SYSDEP_GETTIME_CPU to retval.
21625 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21626 parameter list to macro. Remove trailing semicolon. Adjust users.
21628 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21631 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21633 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21635 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21636 from unused variable.
21638 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21640 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21643 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21646 * sunrpc/rpc_prot.c (rejected): Fix case value.
21648 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21649 unsigned long long int to avoid warnings in shift.
21651 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21653 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21656 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21657 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21658 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21660 * nis/nis_table.c (nis_list): Use variable of correct type for
21661 result of __follow_path call.
21663 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21665 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21666 of math functions ceil, trunc, floor, round, and sqrt, when
21667 avaliable on the platform.
21668 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21670 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21671 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21672 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21674 2011-10-30 Marek Polacek <mpolacek@redhat.com>
21676 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21677 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21679 2011-11-11 Roland McGrath <roland@hack.frob.com>
21681 * include/unistd.h: Fix __readlink return type.
21682 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21684 2011-11-11 Ulrich Drepper <drepper@gmail.com>
21686 * stdlib/ucontext.h: Undo last change for makecontext.
21688 2011-11-11 Andreas Schwab <schwab@redhat.com>
21690 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21692 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21693 * setjmp/setjmp.h: Mark functions as non-leaf.
21694 * setjmp/bits/setjmp2.h: Likewise.
21695 * stdlib/ucontext.h: Likewise.
21697 2011-11-10 Andreas Schwab <schwab@redhat.com>
21699 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21700 (reused_arena): Don't check arena limit.
21701 (arena_get2): Atomically check arena limit.
21703 2011-11-08 Ulrich Drepper <drepper@gmail.com>
21705 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21706 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21708 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21711 2011-11-07 Andreas Schwab <schwab@redhat.com>
21713 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21714 handler when locking.
21716 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21717 Fix size of allocated buffer.
21719 2011-11-04 Andreas Schwab <schwab@redhat.com>
21722 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21723 declarations for long double functions.
21724 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21726 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21728 2011-11-03 Andreas Schwab <schwab@redhat.com>
21730 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21733 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21736 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21738 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21740 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21742 * include/alloca.h (stackinfo_alloca_round): Define.
21743 (extend_alloca): Use it.
21744 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21745 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21748 * scripts/check-local-headers.sh: Ignore libaudit.h.
21750 * nscd/Makefile (extra-objs): Make recursively expanded.
21752 2011-11-01 Ulrich Drepper <drepper@gmail.com>
21754 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21755 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21757 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21758 * posix/tst-rfc3484-2.c: Likewise.
21759 * posix/tst-rfc3484-3.c: Likewise.
21761 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21763 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21765 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21766 process_vm_writev from libc using GLIBC_2.15 version.
21768 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21770 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21772 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21775 2011-10-31 Ulrich Drepper <drepper@gmail.com>
21778 * nss/getent.c (initgroups_keys): Show error message in case no group
21781 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21782 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21783 __bump_nl_timestamp.
21784 * nscd/connections (nscd_init): When host database is served open
21785 netlink socket and request notification about configuration changes.
21786 (main_loop_poll): Track netlink file descriptor and bump timestamp
21787 in case data becomes available.
21788 (main_loop_epoll): Likewise.
21789 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21790 (database_pers_head): Add extra_data fileds.
21791 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21792 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21793 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21795 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21796 in6ai data, call __free_in6ai.
21797 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21798 Add -DHAVE_NETLINK.
21799 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21800 interface information. Reuse previous data if netlink timestamp
21802 (__bump_nl_timestamp): New function.
21803 (__free_in6ai): New function.
21805 2011-10-30 Ulrich Drepper <drepper@gmail.com>
21807 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21808 close_not_cancel_no_status here.
21809 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21811 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21814 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21817 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21818 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21819 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21821 2011-07-03 Andreas Jaeger <aj@suse.de>
21824 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21825 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21826 * math/libm-test.inc (sin_test): Add test case.
21828 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21831 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21832 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21834 * elf/chroot_canon.c (chroot_canon): Cleanups.
21836 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21839 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21840 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21842 * string/test-strchr.c: Make usable for strchrnul testing.
21843 * string/test-strchrnul.c: New file.
21844 * string/Makefile (strop-tests): Add strchrnul.
21846 * po/it.po: Update from translation team.
21847 * po/es.po: Likewise.
21849 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21851 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21852 the three constants needed as parameters. Drop the others.
21853 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21854 __m128i_strloadu_tolower.
21855 Create and initialize variable zero and use it in all the places
21856 where _mm_setzero_si128 was used.
21858 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21859 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21860 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21861 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21863 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21864 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21865 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21866 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21867 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21868 __mpranred, __mptan.
21869 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21870 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21871 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21872 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21873 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21874 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21875 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21876 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21877 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21879 2011-10-28 Andreas Schwab <schwab@redhat.com>
21881 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21882 redefine if SHARED.
21883 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21886 wide char related routines to wcsmbs subdir.
21888 2011-10-27 Andreas Schwab <schwab@redhat.com>
21891 * misc/sys/cdefs.h (__THROWNL): Define.
21892 * posix/unistd.h: Use __THREADNL instead of __THREAD
21893 for memory synchronization functions.
21895 2011-10-26 Roland McGrath <roland@hack.frob.com>
21898 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21900 * manual/stdio.texi (Obstack Streams): Node removed.
21902 2011-10-26 Andreas Schwab <schwab@redhat.com>
21904 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21905 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21906 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21908 * math/math_private.h (math_force_eval): Allow non-addressable
21910 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21912 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21914 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21915 file is not needed.
21917 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21918 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21919 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21920 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21921 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21922 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21923 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21924 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21926 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21927 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21928 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21929 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21930 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21931 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21932 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21933 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21934 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21935 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21936 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21937 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21938 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21939 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21940 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21941 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21942 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21943 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21944 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21946 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21947 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21949 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21950 place. Use VEX encoding when compiling for AVX.
21952 2011-10-25 Andreas Schwab <schwab@redhat.com>
21954 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21955 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21957 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21959 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21961 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21962 useless if() expression.
21963 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21964 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21965 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21966 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21967 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21968 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21969 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21970 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21971 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21972 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21973 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21974 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21975 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21976 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21977 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21978 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21979 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21980 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21981 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21983 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21985 2011-10-25 Andreas Schwab <schwab@redhat.com>
21987 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21989 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21991 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21993 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21994 .text section. Avoid duplicate constants.
21995 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21996 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21997 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21999 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22000 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22001 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22002 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22003 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22004 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22005 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22006 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22007 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22008 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22009 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22010 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22011 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22012 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22013 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22014 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22015 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22018 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22019 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22020 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22021 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22022 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22023 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22024 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22025 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22026 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22027 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22028 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22029 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22030 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22031 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22032 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22033 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22034 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22035 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22036 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22037 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22038 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22039 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22041 2011-10-24 Ulrich Drepper <drepper@gmail.com>
22043 * sysdeps/x86_64/dla.h: Move to ...
22044 * sysdeps/x86_64/fpu/dla.h: ...here.
22045 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22046 situations. Use __builtin_fma only for gcc 4.6 and up.
22048 * config.make.in: Add have-mfma4 entry.
22049 * configure.in: Substitute libc_cv_cc_fma4.
22050 * math/Makefile (dbl-only-routines): Add sincostab.
22051 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22052 Use __sincostab not sincos.
22053 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22055 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22058 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22060 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22061 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22062 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22063 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22065 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22066 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22068 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22069 define aliases when function name is a macro.
22070 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22071 sysdeps/ieee754/dbl-64/sincos.tbl.
22072 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22073 fma4-enabled routines.
22074 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22075 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22076 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22077 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22078 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22079 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22081 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22082 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22083 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22084 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22085 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22086 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22087 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22088 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22089 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22090 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22091 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22092 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22093 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22094 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22095 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22096 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22097 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22098 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22099 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22100 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22101 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22102 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22103 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22105 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22107 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22109 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22110 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22111 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22112 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22113 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22114 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22116 2011-10-24 Andreas Schwab <schwab@redhat.com>
22118 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22120 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22122 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22124 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22126 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22128 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22129 Remove unused variable magic_bits.
22130 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22132 * string/strnlen.c: Define and use STRNLEN macro.
22133 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22134 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22135 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22136 * wcsmbs/wcslen.c: Define and use WCSLEN.
22137 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22138 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22139 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22140 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22141 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22142 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22143 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22145 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22148 strnlen-sse2-no-bsf.
22149 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22150 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22151 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22152 Add strnlen support.
22153 (USE_AS_STRNLEN): New macro.
22154 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22155 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22156 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22157 * sysdeps/x86_64/wcslen.S: New file.
22159 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22161 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22162 XMM-moves are used for copying on small sizes.
22164 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22166 * wcsmbs/Makefile (strop-tests): Add wcschr.
22167 * wcsmbs/test-wcschr.c: New file.
22168 * string/test-strchr.c: Update.
22169 Add wcschr support.
22172 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22174 * wcsmbs/Makefile (strop-tests): Add wcslen.
22175 * wcsmbs/test-wcslen.c: New file.
22176 * string/test-strlen.c: Update.
22177 Add wcslen support.
22180 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22182 * po/it.po: Update from translation team.
22184 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22186 * sysdeps/x86_64/wcscmp.S: Update.
22187 Fix wrong comparison semantics.
22188 wcscmp shall use signed comparison not unsigned.
22189 Don't use substraction to avoid overflow bug.
22190 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22191 * wcsmbc/wcscmp.c: Likewise.
22192 * string/test-strcmp.c: Likewise.
22193 Add new tests to check cases with negative values.
22195 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22197 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22198 * sysdeps/x86_64/dla.h: ...here. New file.
22199 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22200 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22201 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22202 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22203 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22204 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22205 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22206 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22207 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22209 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22212 __ynl_finite aliases.
22214 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22218 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22220 [DLA_FMA] (EMULV): Use DLA_FMA.
22221 [DLA_FMA] (MUL12): Use EMULV.
22222 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22223 that are not needed.
22224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22225 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22226 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22227 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22228 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22229 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22230 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22232 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22234 * math/s_nan.c: Undef __nan.
22235 * math/s_nanf.c: Undef __nanf.
22236 * math/s_nanl.c: Undef __nanl.
22237 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22240 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22242 * math/s_catan.c: Add branch predictions.
22243 * math/s_catanf.c: Likewise.
22244 * math/s_catanh.c: Likewise.
22245 * math/s_catanhf.c: Likewise.
22246 * math/s_catanhl.c: Likewise.
22247 * math/s_catanl.c: Likewise.
22248 * math/s_cexp.c: Likewise.
22249 * math/s_cexpf.c: Likewise.
22250 * math/s_cexpl.c: Likewise.
22251 * math/s_clog.c: Likewise.
22252 * math/s_clog10.c: Likewise.
22253 * math/s_clog10f.c: Likewise.
22254 * math/s_clog10l.c: Likewise.
22255 * math/s_clogf.c: Likewise.
22256 * math/s_clogl.c: Likewise.
22257 * math/s_csqrt.c: Likewise.
22258 * math/s_csqrtf.c: Likewise.
22259 * math/s_csqrtl.c: Likewise.
22260 * math/s_ctanf.c: Likewise.
22261 * math/s_ctanh.c: Likewise.
22262 * math/s_ctanhf.c: Likewise.
22263 * math/s_ctanhl.c: Likewise.
22264 * math/s_ctanl.c: Likewise.
22266 * math/math_private.h: Define __nan, __nanf, __nanl.
22267 * math/s_cacosh.c: Include <math_private.h>.
22268 * math/s_cacoshl.c: Likewise.
22269 * math/s_casinh.c: Likewise.
22270 * math/s_casinhf.c: Likewise.
22271 * math/s_casinhl.c: Likewise.
22272 * math/s_ccos.c: Rely entire on ccosh.
22273 * math/s_ccosf.c: Rely entire on ccoshf.
22274 * math/s_ccosl.c: Rely entirely on ccoshl.
22275 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22276 Remove tests for FE_INVALID.
22277 * math/s_ccoshf.c: Likewise.
22278 * math/s_ccoshl.c: Likewise.
22279 * math/s_csin.c: Likewise.
22280 * math/s_csinf.c: Likewise.
22281 * math/s_csinh.c Likewise.
22282 * math/s_csinhf.c: Likewise.
22283 * math/s_csinhl.c: Likewise.
22284 * math/s_csinl.c: Likewise.
22285 * math/s_ctan.c: Likewise.
22286 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22287 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22288 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22290 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22293 compilation problems.
22295 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22298 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22300 * sysdeps/i386/configure.in: Test for -mfma4 option.
22301 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22302 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22303 COMMON_CPUID_INDEX_80000001.
22304 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22305 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22306 use it if FMA3 is not supported.
22307 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22309 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22310 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22312 2011-10-20 Andreas Schwab <schwab@redhat.com>
22315 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22316 it would create a cycle with a link time dependency.
22318 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22320 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22322 * string/Makefile (strop-tests): Add rawmemchr.
22323 * string/test-rawmemchr.c: New file.
22325 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22326 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22327 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22328 when compiling str{,n}casecmp and when AVX is available. Hook up
22329 new optimized code in initializers.
22331 2011-10-19 Andreas Schwab <schwab@redhat.com>
22333 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22334 __feraiseexcept instead of feraiseexcept.
22336 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22338 * math/math_private.h: Define defaults for libc_fetestexcept and
22340 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22341 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22342 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22343 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22344 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22345 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22346 libc_fetestexcept and libc_feupdateenv.
22348 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22349 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22350 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22351 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22352 libc_feholdexcept_setround.
22354 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22355 Add s_nearbyint-c and s_nearbyintf-c.
22356 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22357 nearbyintf inlines.
22358 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22359 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22360 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22361 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22363 * math/math_private.h: Define defaults for libc_fegetround,
22364 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22365 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22366 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22367 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22368 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22369 standard functions.
22370 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22371 Remove comments and hacks for old compiler versions.
22372 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22373 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22374 libc_feholdexceptl.
22376 2011-10-18 Andreas Schwab <schwab@redhat.com>
22378 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22379 (__feraiseexcept_renamed): Add __NTH.
22380 (feraiseexcept): Add __NTH. Rename local variables to fix
22381 namespace violations.
22383 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22385 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22387 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22389 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22390 recently added interfaces.
22391 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22393 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22394 about macro parameter expansion.
22396 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22397 __NO_MATH_INLINES is defined. Cleanups.
22399 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22400 and __floorf is target has SSE4.1.
22401 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22402 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22403 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22404 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22406 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22408 (floorf): Likewise.
22410 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22412 2011-10-17 Andreas Schwab <schwab@redhat.com>
22414 * misc/sys/cdefs.h: Fix last change.
22416 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22419 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22421 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22423 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22424 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22425 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22426 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22427 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22428 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22429 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22430 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22431 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22432 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22433 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22434 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22435 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22436 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22437 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22438 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22439 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22440 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22441 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22442 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22443 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22444 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22446 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22447 ceil, ceilf, floor, floorf.
22449 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22450 Perform IRELATIVE relocations last.
22452 * elf/do-rel.h: Add another parameter nrelative, replacing the
22453 local variable with the same name. Change name of the function
22454 to end in Rel or Rela (uppercase).
22455 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22456 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22457 elf_dynamic_do_##reloc function.
22459 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22461 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22462 is sufficient, at least on modern CPUs.
22464 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22466 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22467 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22469 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22471 * math/bits/math-finite.h: Add entries for exp.
22472 * math/e_expl.c: Add __*_finite alias.
22473 * sysdeps/i386/fpu/e_exp.S: Likewise.
22474 * sysdeps/i386/fpu/e_expf.S: Likewise.
22475 * sysdeps/i386/fpu/e_expl.c: Likewise.
22476 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22477 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22478 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22479 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22480 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22481 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22482 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22484 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22485 is sufficient, at least on modern CPUs.
22487 * ctype/ctype-info.c (__ctype_init): Define.
22488 * include/ctype.h (__ctype_init): Declare.
22489 (__ctype_b_loc): The variable is always initialized.
22490 (__ctype_toupper_loc): Likewise.
22491 (__ctype_tolower_loc): Likewise.
22492 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22493 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22495 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22497 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22499 * configure.in: Also look in $cxxmachine/include for C++ system
22502 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22504 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22505 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22506 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22507 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22508 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22509 (USE_AS_WMEMCMP): New macro.
22511 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22512 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22513 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22514 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22516 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22517 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22518 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22519 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22520 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22521 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22522 (USE_AS_WMEMCMP): New macro.
22523 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22524 * sysdeps/string/test-memcmp.c: Update.
22525 Fix simple_wmemcmp.
22527 * wcsmbs/wmemcmp.c: Update.
22528 (WMEMCMP): New macro.
22531 2011-10-12 Andreas Jaeger <aj@suse.de>
22534 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22536 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22538 * libio/iofwide.c (do_length): Avoid warning.
22540 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22542 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22544 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22546 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22547 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22548 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22549 * sysdeps/i386/i686/fpu/e_log.S: New file.
22550 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22551 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22553 * ctype/ctype.h: Add support for inlined isXXX functions when
22554 compiling C++ code.
22556 2011-10-14 Andreas Schwab <schwab@redhat.com>
22558 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22560 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22562 2011-10-13 Roland McGrath <roland@hack.frob.com>
22565 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22567 2011-10-13 Andreas Schwab <schwab@redhat.com>
22569 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22570 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22573 * sysdeps/x86_64/memrchr.S: Check for zero size.
22575 * string/stratcliff.c: Add memrchr tests.
22577 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22579 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22580 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22581 rawmemchr-sse2 rawmemchr-sse2-bsf.
22582 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22583 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22584 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22585 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22586 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22587 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22588 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22589 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22590 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22591 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22592 * string/memrchr.c (MEMRCHR): New macro.
22594 2011-10-12 Ulrich Drepper <drepper@gmail.com>
22596 Add integration with gcc's -ffinite-math-only and optimize wrapper
22598 * Versions.def: Define GLIBC_2.15 version for libm.
22599 * math/Makefile (headers): Add bits/math-finite.h.
22600 * math/bits/math-finite.h: New file.
22601 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22602 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22603 * math/e_acoshl.c: Add __*_finite alias.
22604 * math/e_acosl.c: Likewise.
22605 * math/e_asinl.c: Likewise.
22606 * math/e_atan2l.c: Likewise.
22607 * math/e_atanhl.c: Likewise.
22608 * math/e_coshl.c: Likewise.
22609 * math/e_exp10.c: Likewise.
22610 * math/e_exp10f.c: Likewise.
22611 * math/e_exp10l.c: Likewise.
22612 * math/e_exp2l.c: Likewise.
22613 * math/e_fmodl.c: Likewise.
22614 * math/e_gammal_r.c: Likewise.
22615 * math/e_hypotl.c: Likewise.
22616 * math/e_j0l.c: Likewise.
22617 * math/e_j1l.c: Likewise.
22618 * math/e_jnl.c: Likewise.
22619 * math/e_lgammal_r.c: Likewise.
22620 * math/e_log10l.c: Likewise.
22621 * math/e_log2l.c: Likewise.
22622 * math/e_logl.c: Likewise.
22623 * math/e_powl.c: Likewise.
22624 * math/e_sinhl.c: Likewise.
22625 * math/e_sqrtl.c: Likewise.
22626 * math/e_scalb.c: Completely rewritten and optimized.
22627 * math/e_scalbf.c: Likewise.
22628 * math/e_scalbl.c: Likewise.
22629 * math/w_acos.c: Likewise.
22630 * math/w_acosf.c: Likewise.
22631 * math/w_acosl.c: Likewise.
22632 * math/w_acosh.c: Likewise.
22633 * math/w_acoshf.c: Likewise.
22634 * math/w_acoshl.c: Likewise.
22635 * math/w_asin.c: Likewise.
22636 * math/w_asinf.c: Likewise.
22637 * math/w_asinl.c: Likewise.
22638 * math/w_atan2.c: Likewise.
22639 * math/w_atan2f.c: Likewise.
22640 * math/w_atan2l.c: Likewise.
22641 * math/w_atanh.c: Likewise.
22642 * math/w_atanhf.c: Likewise.
22643 * math/w_atanhl.c: Likewise.
22644 * math/w_exp10.c: Likewise.
22645 * math/w_exp10f.c: Likewise.
22646 * math/w_exp10l.c: Likewise.
22647 * math/w_fmod.c: Likewise.
22648 * math/w_fmodf.c: Likewise.
22649 * math/w_fmodl.c: Likewise.
22650 * math/w_j0.c: Likewise.
22651 * math/w_j0f.c: Likewise.
22652 * math/w_j0l.c: Likewise.
22653 * math/w_j1.c: Likewise.
22654 * math/w_j1f.c: Likewise.
22655 * math/w_j1l.c: Likewise.
22656 * math/w_jn.c: Likewise.
22657 * math/w_jnf.c: Likewise.
22658 * math/w_log.c: Likewise.
22659 * math/w_logf.c: Likewise.
22660 * math/w_logl.c: Likewise.
22661 * math/w_log10.c: Likewise.
22662 * math/w_log10f.c: Likewise.
22663 * math/w_log10l.c: Likewise.
22664 * math/w_log2.c: Likewise.
22665 * math/w_log2f.c: Likewise.
22666 * math/w_log2l.c: Likewise.
22667 * math/w_pow.c: Likewise.
22668 * math/w_powf.c: Likewise.
22669 * math/w_powl.c: Likewise.
22670 * math/w_remainder.c: Likewise.
22671 * math/w_remainderf.c: Likewise.
22672 * math/w_remainderl.c: Likewise.
22673 * math/w_scalb.c: Likewise.
22674 * math/w_scalbf.c: Likewise.
22675 * math/w_scalbl.c: Likewise.
22676 * math/w_sqrt.c: Likewise.
22677 * math/w_sqrtf.c: Likewise.
22678 * math/w_sqrtl.c: Likewise.
22679 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22680 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22682 * math/math_private.h: Declare __kernel_standard_f.
22683 * math/w_cosh.c: Remove cruft and optimize a bit.
22684 * math/w_coshf.c: Likewise.
22685 * math/w_coshl.c: Likewise.
22686 * math/w_exp2.c: Likewise.
22687 * math/w_exp2f.c: Likewise.
22688 * math/w_exp2l.c: Likewise.
22689 * math/w_hypot.c: Likewise.
22690 * math/w_hypotf.c: Likewise.
22691 * math/w_hypotl.c: Likewise.
22692 * math/w_lgamma.c: Likewise.
22693 * math/w_lgamma_r.c: Likewise.
22694 * math/w_lgammaf.c: Likewise.
22695 * math/w_lgammaf_r.c: Likewise.
22696 * math/w_lgammal.c: Likewise.
22697 * math/w_lgammal_r.c: Likewise.
22698 * math/w_sinh.c: Likewise.
22699 * math/w_sinhf.c: Likewise.
22700 * math/w_sinhl.c: Likewise.
22701 * math/w_tgamma.c: Likewise.
22702 * math/w_tgammaf.c: Likewise.
22703 * math/w_tgammal.c: Likewise.
22704 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22705 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22706 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22707 Minor optimizations. Pretty printing. Remove cruft.
22708 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22709 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22710 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22711 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22712 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22713 * sysdeps/i386/fpu/e_asin.S: Likewise.
22714 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22715 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22716 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22717 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22718 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22719 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22720 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22721 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22722 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22723 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22724 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22725 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22726 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22727 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22728 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22729 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22730 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22731 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22732 * sysdeps/i386/fpu/e_log.S: Likewise.
22733 * sysdeps/i386/fpu/e_log10.S: Likewise.
22734 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22735 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22736 * sysdeps/i386/fpu/e_log2.S: Likewise.
22737 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22738 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22739 * sysdeps/i386/fpu/e_logf.S: Likewise.
22740 * sysdeps/i386/fpu/e_logl.S: Likewise.
22741 * sysdeps/i386/fpu/e_pow.S: Likewise.
22742 * sysdeps/i386/fpu/e_powf.S: Likewise.
22743 * sysdeps/i386/fpu/e_powl.S: Likewise.
22744 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22745 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22746 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22747 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22748 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22749 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22750 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22751 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22752 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22753 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22754 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22755 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22756 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22757 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22758 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22759 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22760 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22761 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22762 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22763 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22764 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22765 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22766 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22767 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22768 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22769 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22770 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22771 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22772 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22773 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22774 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22775 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22776 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22777 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22778 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22779 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22780 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22781 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22782 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22783 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22784 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22785 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22786 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22787 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22788 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22789 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22790 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22791 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22792 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22793 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22794 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22795 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22796 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22797 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22798 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22799 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22804 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22805 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22806 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22807 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22808 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22809 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22810 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22811 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22812 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22813 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22814 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22815 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22817 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22818 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22819 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22820 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22821 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22822 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22823 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22824 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22825 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22826 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22827 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22828 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22829 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22830 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22831 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22832 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22833 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22834 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22835 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22836 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22837 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22838 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22839 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22840 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22841 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22842 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22843 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22844 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22845 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22846 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22847 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22848 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22849 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22850 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22851 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22852 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22853 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22854 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22855 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22856 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22857 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22858 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22859 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22860 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22861 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22862 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22863 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22864 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22865 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22866 (__isnanf): Likewise.
22867 (__isinf_ns): Likewise.
22868 (__isinf_nsf): Likewise.
22869 (__finite): Likewise.
22870 (__finitef): Likewise.
22871 (__ieee754_sqrt): Define as macro.
22872 (__ieee754_sqrtf): Define as macro.
22873 (__ieee754_sqrtl): Define as macro.
22874 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22876 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22877 __FINITE_MATH_ONLY__ consistent.
22878 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22880 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22882 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22885 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22887 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22889 * po/ja.po: Update from translation team.
22891 2011-10-08 Roland McGrath <roland@hack.frob.com>
22893 * locale/programs/locarchive.c (prepare_address_space): New function.
22894 (create_archive, enlarge_archive, open_archive): Use it.
22896 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22897 inside [SHARED], where it is used.
22899 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22901 * nss/getent.c (netgroup_keys): Remove unused variable.
22902 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22904 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22906 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22907 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22908 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22909 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22910 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22911 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22912 * math/Makefile (libm-calls): Add s_isinf_ns.
22913 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22914 * math/multc3.c: Likewise.
22915 * math/s_casin.c: Likewise.
22916 * math/s_casinf.c: Likewise.
22917 * math/s_casinl.c: Likewise.
22918 * math/s_ccos.c: Likewise.
22919 * math/s_ccosf.c: Likewise.
22920 * math/s_ccosl.c: Likewise.
22921 * math/s_ctan.c: Likewise.
22922 * math/s_ctanf.c: Likewise.
22923 * math/s_ctanh.c: Likewise.
22924 * math/s_ctanhf.c: Likewise.
22925 * math/s_ctanhl.c: Likewise.
22926 * math/s_ctanl.c: Likewise.
22927 * math/w_fmod.c: Likewise.
22928 * math/w_fmodf.c: Likewise.
22929 * math/w_fmodl.c: Likewise.
22930 * math/w_remainder.c: Likewise.
22931 * math/w_remainderf.c: Likewise.
22932 * math/w_remainderl.c: Likewise.
22933 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22934 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22935 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22936 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22937 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22938 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22939 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22940 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22942 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22944 * stdio-common/printf_fphex.c: Likewise.
22945 * stdio-common/printf_size.c: Likewise.
22947 * math/e_exp10.c: Include math_private.h using <...> not "...".
22948 * math/e_exp10f.c: Likewise.
22949 * math/e_exp10l.c: Likewise.
22950 * math/e_exp2l.c: Likewise.
22951 * math/e_j0l.c: Likewise.
22952 * math/e_j1l.c: Likewise.
22953 * math/e_jnl.c: Likewise.
22954 * math/e_lgammal_r.c: Likewise.
22955 * math/e_rem_pio2l.c: Likewise.
22956 * math/e_scalb.c: Likewise.
22957 * math/e_scalbf.c: Likewise.
22958 * math/e_scalbl.c: Likewise.
22959 * math/k_cosl.c: Likewise.
22960 * math/k_sinl.c: Likewise.
22961 * math/k_tanl.c: Likewise.
22962 * math/s_cacoshf.c: Likewise.
22963 * math/s_catan.c: Likewise.
22964 * math/s_catanf.c: Likewise.
22965 * math/s_catanh.c: Likewise.
22966 * math/s_catanhf.c: Likewise.
22967 * math/s_catanhl.c: Likewise.
22968 * math/s_catanl.c: Likewise.
22969 * math/s_ccosh.c: Likewise.
22970 * math/s_ccoshf.c: Likewise.
22971 * math/s_ccoshl.c: Likewise.
22972 * math/s_cexp.c: Likewise.
22973 * math/s_cexpf.c: Likewise.
22974 * math/s_cexpl.c: Likewise.
22975 * math/s_clog.c: Likewise.
22976 * math/s_clog10.c: Likewise.
22977 * math/s_clog10f.c: Likewise.
22978 * math/s_clog10l.c: Likewise.
22979 * math/s_clogf.c: Likewise.
22980 * math/s_clogl.c: Likewise.
22981 * math/s_csin.c: Likewise.
22982 * math/s_csinf.c: Likewise.
22983 * math/s_csinh.c: Likewise.
22984 * math/s_csinhf.c: Likewise.
22985 * math/s_csinhl.c: Likewise.
22986 * math/s_csinl.c: Likewise.
22987 * math/s_csqrt.c: Likewise.
22988 * math/s_csqrtf.c: Likewise.
22989 * math/s_csqrtl.c: Likewise.
22990 * math/s_ctan.c: Likewise.
22991 * math/s_ctanf.c: Likewise.
22992 * math/s_ctanh.c: Likewise.
22993 * math/s_ctanhf.c: Likewise.
22994 * math/s_ctanhl.c: Likewise.
22995 * math/s_ctanl.c: Likewise.
22996 * math/s_ldexp.c: Likewise.
22997 * math/s_ldexpf.c: Likewise.
22998 * math/s_ldexpl.c: Likewise.
22999 * math/s_significand.c: Likewise.
23000 * math/s_significandf.c: Likewise.
23001 * math/s_significandl.c: Likewise.
23002 * math/w_acos.c: Likewise.
23003 * math/w_acosf.c: Likewise.
23004 * math/w_acosh.c: Likewise.
23005 * math/w_acoshf.c: Likewise.
23006 * math/w_acoshl.c: Likewise.
23007 * math/w_acosl.c: Likewise.
23008 * math/w_asin.c: Likewise.
23009 * math/w_asinf.c: Likewise.
23010 * math/w_asinl.c: Likewise.
23011 * math/w_atan2.c: Likewise.
23012 * math/w_atan2f.c: Likewise.
23013 * math/w_atan2l.c: Likewise.
23014 * math/w_atanh.c: Likewise.
23015 * math/w_atanhf.c: Likewise.
23016 * math/w_atanhl.c: Likewise.
23017 * math/w_cosh.c: Likewise.
23018 * math/w_coshf.c: Likewise.
23019 * math/w_coshl.c: Likewise.
23020 * math/w_dremf.c: Likewise.
23021 * math/w_exp10.c: Likewise.
23022 * math/w_exp10f.c: Likewise.
23023 * math/w_exp10l.c: Likewise.
23024 * math/w_exp2.c: Likewise.
23025 * math/w_exp2f.c: Likewise.
23026 * math/w_fmod.c: Likewise.
23027 * math/w_fmodf.c: Likewise.
23028 * math/w_fmodl.c: Likewise.
23029 * math/w_hypot.c: Likewise.
23030 * math/w_hypotf.c: Likewise.
23031 * math/w_hypotl.c: Likewise.
23032 * math/w_j0.c: Likewise.
23033 * math/w_j0f.c: Likewise.
23034 * math/w_j0l.c: Likewise.
23035 * math/w_j1.c: Likewise.
23036 * math/w_j1f.c: Likewise.
23037 * math/w_j1l.c: Likewise.
23038 * math/w_jn.c: Likewise.
23039 * math/w_jnf.c: Likewise.
23040 * math/w_jnl.c: Likewise.
23041 * math/w_lgamma.c: Likewise.
23042 * math/w_lgamma_r.c: Likewise.
23043 * math/w_lgammaf.c: Likewise.
23044 * math/w_lgammaf_r.c: Likewise.
23045 * math/w_lgammal.c: Likewise.
23046 * math/w_lgammal_r.c: Likewise.
23047 * math/w_log.c: Likewise.
23048 * math/w_log10.c: Likewise.
23049 * math/w_log10f.c: Likewise.
23050 * math/w_log10l.c: Likewise.
23051 * math/w_log2.c: Likewise.
23052 * math/w_log2f.c: Likewise.
23053 * math/w_log2l.c: Likewise.
23054 * math/w_logf.c: Likewise.
23055 * math/w_logl.c: Likewise.
23056 * math/w_pow.c: Likewise.
23057 * math/w_powf.c: Likewise.
23058 * math/w_powl.c: Likewise.
23059 * math/w_remainder.c: Likewise.
23060 * math/w_remainderf.c: Likewise.
23061 * math/w_remainderl.c: Likewise.
23062 * math/w_scalb.c: Likewise.
23063 * math/w_scalbf.c: Likewise.
23064 * math/w_scalbl.c: Likewise.
23065 * math/w_sinh.c: Likewise.
23066 * math/w_sinhf.c: Likewise.
23067 * math/w_sinhl.c: Likewise.
23068 * math/w_sqrt.c: Likewise.
23069 * math/w_sqrtf.c: Likewise.
23070 * math/w_sqrtl.c: Likewise.
23071 * math/w_tgamma.c: Likewise.
23072 * math/w_tgammaf.c: Likewise.
23073 * math/w_tgammal.c: Likewise.
23075 * po/ja.po: Update from translation team.
23077 2011-09-29 Andreas Jaeger <aj@suse.de>
23080 * sunrpc/netname.c (netname2host): Fix logic.
23084 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23086 * math/w_remainder.c (__remainder): Likewise.
23087 * math/w_remainderf.c (__remainderf): Likewise.
23088 * math/libm-test.inc (remainder_test): Add test cases.
23090 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23092 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23095 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23097 * string/test-memcmp.c: Avoid unncessary #defines.
23098 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23100 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23102 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23103 Use new sse2 version for core i3 - i7 as it's faster
23104 than sse42 version.
23105 (bit_Prefer_PMINUB_for_stringop): New.
23106 * sysdeps/x86_64/rawmemchr.S: Update.
23107 Replace with faster SSE2 version.
23108 * sysdeps/x86_64/memrchr.S: New file.
23109 * sysdeps/x86_64/memchr.S: Update.
23110 Replace with faster SSE2 version.
23112 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23114 * elf/dl-load.c (lose): Add cast to avoid warning.
23116 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23118 * po/ca.po: Update from translation team.
23120 * inet/getnetgrent_r.c: Hook up nscd.
23121 * nscd/Makefile (routines): Add nscd_netgroup.
23122 (nscd-modules): Add netgroupcache.
23123 (CFLAGS-netgroupcache.c): Define.
23124 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23125 (cache_search): Add const to second parameter.
23126 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23128 (dbs): Add netgrdb entry.
23129 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23130 (verify_persistent_db): Handle netgrdb.
23131 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23132 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23134 (netgroup_response_header): Define.
23135 (innetgroup_response_header): Define.
23136 (datahead): Add netgroup_response_header and innetgroup_response_header
23138 * nscd/nscd.conf: Add entries for netgroup cache.
23139 * nscd/nscd.h (dbtype): Add netgrdb.
23140 (_PATH_NSCD_NETGROUP_DB): Define.
23141 (netgroup_iov_disabled): Declare.
23142 (xmalloc, xcalloc, xrealloc): Move declarations here.
23143 (cache_search): Adjust prototype.
23144 Add netgroup-related prototypes.
23145 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23146 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23147 (__nscd_innetgr): Declare.
23148 * nscd/selinux.c (perms): Use access_vector_t as element type and
23149 add netgroup-related initializers.
23150 * nscd/netgroupcache.c: New file.
23151 * nscd/nscd_netgroup.c: New file.
23152 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23153 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23154 For four parameters use innetgr.
23155 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23156 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23157 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23158 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23160 * nscd/connections.c (register_traced_file): Don't register file
23161 for disabled databases.
23163 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23165 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23167 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23168 from tree and freeing node.
23170 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23172 * nss/nsswitch.c (__nss_database_lookup): Handle
23173 nss_parse_service_list out of memory case.
23175 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23177 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23178 out of memory case.
23180 2011-10-04 Andreas Schwab <schwab@redhat.com>
23182 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23183 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23185 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23186 elf_machine_rela, elf_machine_lazy_rel.
23187 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23188 (ELF_DYNAMIC_DO_REL): Likewise.
23189 (ELF_DYNAMIC_DO_RELA): Likewise.
23190 (ELF_DYNAMIC_RELOCATE): Likewise.
23191 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23192 to ELF_DYNAMIC_DO_REL.
23193 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23194 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23195 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23197 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23198 skip_ifunc, don't call ifunc function if non-zero.
23199 (elf_machine_rela): Likewise.
23200 (elf_machine_lazy_rel): Likewise.
23201 (elf_machine_lazy_rela): Likewise.
23202 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23203 (elf_machine_lazy_rel): Likewise.
23204 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23206 (elf_machine_lazy_rel): Likewise.
23207 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23209 (elf_machine_lazy_rel): Likewise.
23210 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23211 (elf_machine_lazy_rel): Likewise.
23212 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23213 (elf_machine_lazy_rel): Likewise.
23214 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23215 (elf_machine_lazy_rel): Likewise.
23216 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23217 (elf_machine_lazy_rel): Likewise.
23218 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23219 (elf_machine_lazy_rel): Likewise.
23220 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23221 (elf_machine_lazy_rel): Likewise.
23223 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23225 * nss/nss_files/files-init.c (_nss_files_init): Use static
23226 initialization for all the *_traced_file variables.
23228 2011-09-28 Andreas Schwab <schwab@redhat.com>
23230 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23232 2011-09-27 Roland McGrath <roland@hack.frob.com>
23235 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23237 2011-09-27 Andreas Schwab <schwab@redhat.com>
23239 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23240 Reread the line before reparsing it.
23242 2011-09-26 Andreas Schwab <schwab@redhat.com>
23244 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23246 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23247 Maxim Kuvyrkov <maxim@codesourcery.com>
23248 Joseph Myers <joseph@codesourcery.com>
23250 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23251 if needed for __stack_chk_guard.
23253 2011-09-19 Roland McGrath <roland@hack.frob.com>
23255 * sysdeps/posix/spawni.c (script_execute): Always define it.
23256 It will be optimized away if unused.
23257 (maybe_script_execute): New function.
23258 (__spawni): Call it.
23260 * Makerules: Don't include tls.make.
23261 (config-tls): Always set to thread.
23262 * tls.make.c: File removed.
23264 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23266 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23267 * config.make.in (CPPFLAGS-config): New substituted variable.
23269 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23271 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23274 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23275 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23277 2011-09-15 Roland McGrath <roland@hack.frob.com>
23279 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23280 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23281 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23282 (CALL_FAIL): Likewise.
23283 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23284 (CALL_FAIL): Macro removed.
23285 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23287 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23289 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23290 for __FINITE_MATH_ONLY__ == 1.
23292 2011-09-15 Andreas Schwab <schwab@redhat.com>
23294 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23295 __ieee754_sqrt instead of sqrt.
23296 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23297 __ieee754_sqrtf instead of sqrtf.
23298 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23299 __floorf instead of floorf.
23300 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23301 __floorf, __truncf instead of floorf, truncf.
23303 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23305 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23307 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23308 __extern_always_inline.
23309 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23312 2011-09-14 Andreas Schwab <schwab@redhat.com>
23314 * elf/rtld.c (dl_main): Also relocate in dependency order when
23315 doing symbol dependency testing.
23317 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23319 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23320 Always define `refsym'.
23322 2011-09-13 Andreas Schwab <schwab@redhat.com>
23324 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23325 (__FD_ELT): Renamed from __FDELT.
23326 * misc/bits/select2.h (__FD_ELT): Likewise.
23327 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23328 __FD_MASK instead of __FDELT, __FDMASK.
23329 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23331 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23334 * elf/Makefile (gen-ldd): Fix pattern.
23336 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23337 (init_tls): Likewise.
23339 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23341 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23343 2011-09-12 Andreas Schwab <schwab@redhat.com>
23345 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23346 `struct cmsghdr *' instead of `void *'.
23347 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23350 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23352 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23354 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23355 ldd_rewrite_script.
23357 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23359 * configure.in: Remove --with-tls option.
23360 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23361 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23362 out in case it is missing.
23363 * sysdeps/ia64/elf/configure.in: Likewise.
23364 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23365 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23366 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23367 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23368 * sysdeps/sh/elf/configure.in: Likewise.
23369 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23370 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23371 * sysdeps/x86_64/elf/configure.in: Likewise.
23372 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23373 * sysdeps/mach/hurd/tls.h: Likewise.
23376 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23379 * configure.in: Fix use of AC_INIT.
23381 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23383 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23385 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23387 * malloc/hooks.c: Likewise.
23390 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23391 variables statically.
23392 (narenas): Initialize.
23393 (list_lock): Initialize.
23394 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23395 initializtion of main_arena and list_lock. Small cleanups.
23396 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23397 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23398 Add initializers to main_arena and mp_.
23399 (malloc_state): Remove pagesize member. Change all users to use
23402 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23403 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23404 is always initialized.
23406 * malloc/malloc.c: Removed unused configurations and dead code.
23407 * malloc/arena.c: Likewise.
23408 * malloc/hooks.c: Likewise.
23409 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23411 * include/tls.h: Removed. USE___THREAD must always be defined.
23412 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23413 * elf/dl-libc.c: Likewise.
23414 * elf/dl-tsd.c: Likewise.
23415 * include/errno.h: Likewise.
23416 * include/netdb.h: Likewise.
23417 * include/resolv.h: Likewise.
23418 * inet/herrno-loc.c: Likewise.
23419 * inet/herrno.c: Likewise.
23420 * malloc/arena.c: Likewise.
23421 * malloc/hooks.c: Likewise.
23422 * malloc/malloc.c: Likewise.
23423 * resolv/res-state.c: Likewise.
23424 * resolv/res_libc.c: Likewise.
23425 * sysdeps/i386/dl-machine.h: Likewise.
23426 * sysdeps/ia64/dl-machine.h: Likewise.
23427 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23428 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23429 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23430 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23431 * sysdeps/sh/dl-machine.h: Likewise.
23432 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23433 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23434 * sysdeps/unix/i386/sysdep.S: Likewise.
23435 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23436 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23437 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23438 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23439 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23440 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23441 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23442 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23443 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23444 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23445 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23446 * sysdeps/x86_64/dl-machine.h: Likewise.
23447 * tls.make.c: Likewise.
23449 * configure.in: Remove --with-__thread option. Make tests for
23450 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23451 tls_model attribute fail if no support is available. Remove
23453 * Makeconfig: Adjust for dropped configure option. All features are
23455 * Makerules: Likewise.
23456 * Versions.def: Likewise.
23457 * argp/argp-fmtstream.c: Likewise.
23458 * argp/argp-fmtstream.h: Likewise.
23459 * argp/argp-help.c: Likewise.
23460 * assert/assert.c: Likewise.
23461 * config.h.in: Likewise.
23462 * config.make.in: Likewise.
23463 * configure: Likewise.
23464 * configure.in: Likewise.
23465 * csu/Versions: Likewise.
23466 * csu/init.c: Likewise.
23467 * elf/tst-audit2.c: Likewise.
23468 * elf/tst-tls10.c: Likewise.
23469 * elf/tst-tls10.h: Likewise.
23470 * elf/tst-tls11.c: Likewise.
23471 * elf/tst-tls12.c: Likewise.
23472 * elf/tst-tls14.c: Likewise.
23473 * elf/tst-tlsmod11.c: Likewise.
23474 * elf/tst-tlsmod12.c: Likewise.
23475 * elf/tst-tlsmod13.c: Likewise.
23476 * elf/tst-tlsmod13a.c: Likewise.
23477 * elf/tst-tlsmod14a.c: Likewise.
23478 * elf/tst-tlsmod15b.c: Likewise.
23479 * elf/tst-tlsmod16a.c: Likewise.
23480 * elf/tst-tlsmod16b.c: Likewise.
23481 * elf/tst-tlsmod7.c: Likewise.
23482 * elf/tst-tlsmod8.c: Likewise.
23483 * elf/tst-tlsmod9.c: Likewise.
23484 * gmon/gmon.c: Likewise.
23485 * grp/fgetgrent_r.c: Likewise.
23486 * grp/putgrent.c: Likewise.
23487 * hurd/fopenport.c: Likewise.
23488 * include/libc-symbols.h: Likewise.
23489 * include/tls.h: Likewise.
23490 * intl/gettextP.h: Likewise.
23491 * intl/loadinfo.h: Likewise.
23492 * locale/global-locale.c: Likewise.
23493 * locale/localeinfo.h: Likewise.
23494 * mach/devstream.c: Likewise.
23495 * malloc/arena.c: Likewise.
23496 * malloc/set-freeres.c: Likewise.
23497 * misc/err.c: Likewise.
23498 * misc/getttyent.c: Likewise.
23499 * misc/mntent_r.c: Likewise.
23500 * posix/getopt.c: Likewise.
23501 * posix/wordexp.c: Likewise.
23502 * pwd/fgetpwent_r.c: Likewise.
23503 * resolv/Versions: Likewise.
23504 * resolv/res_hconf.c: Likewise.
23505 * shadow/fgetspent_r.c: Likewise.
23506 * shadow/putspent.c: Likewise.
23507 * stdio-common/printf_fphex.c: Likewise.
23508 * stdio-common/tmpfile.c: Likewise.
23509 * stdlib/abort.c: Likewise.
23510 * stdlib/fmtmsg.c: Likewise.
23511 * sunrpc/auth_unix.c: Likewise.
23512 * sunrpc/clnt_perr.c: Likewise.
23513 * sunrpc/clnt_tcp.c: Likewise.
23514 * sunrpc/clnt_udp.c: Likewise.
23515 * sunrpc/clnt_unix.c: Likewise.
23516 * sunrpc/openchild.c: Likewise.
23517 * sunrpc/svc_simple.c: Likewise.
23518 * sunrpc/svc_tcp.c: Likewise.
23519 * sunrpc/svc_udp.c: Likewise.
23520 * sunrpc/svc_unix.c: Likewise.
23521 * sunrpc/xdr.c: Likewise.
23522 * sunrpc/xdr_array.c: Likewise.
23523 * sunrpc/xdr_rec.c: Likewise.
23524 * sunrpc/xdr_ref.c: Likewise.
23525 * sunrpc/xdr_stdio.c: Likewise.
23527 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23529 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23531 2011-07-03 Andreas Jaeger <aj@suse.de>
23533 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23534 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23535 regenerate with gen-libm-tests.pl.
23537 2010-05-12 Petr Baudis <pasky@suse.cz>
23540 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23541 around j0() zero points by switching to j1().
23542 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23543 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23545 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23547 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23549 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23551 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23554 Patch in part by Pavel Roskin <proski@gnu.org>.
23557 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23559 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23560 Free memory block if necessary.
23563 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23564 be NULL. Don't lock in this case.
23566 2011-09-09 Roland McGrath <roland@hack.frob.com>
23568 * elf/elf.h (ELFOSABI_GNU): New macro.
23569 (ELFOSABI_LINUX): Define to that.
23571 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23573 * string/strncat.c (strncat): Undef the symbol in case it has been
23574 defined in bits/string.h.
23576 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23578 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23580 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23583 2011-08-17 Andreas Jaeger <aj@suse.de>
23585 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23587 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23588 Ian Lance Taylor <iant@google.com>
23590 * math/libm-test.inc (lround_test): New testcase.
23591 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23593 2011-09-08 Ulrich Drepper <drepper@gmail.com>
23595 * Makefile: Remove support for automatic cvs check-ins.
23596 * Makerules: Likewise.
23597 * config.make.in: Likewise.
23598 * configure.in: Likewise.
23599 * intl/Makefile: Likewise.
23600 * locale/Makefile: Likewise.
23601 * po/Makefile: Likewise.
23602 * posix/Makefile: Likewise.
23603 * sysdeps/gnu/Makefile: Likewise.
23604 * sysdeps/mach/hurd/Makefile: Likewise.
23605 * sysdeps/sparc/sparc32/Makefile: Likewise.
23608 * posix/Makefile (bug-regex32-ENV): Define.
23609 Patch by John Stanley <jpsinthemix@verizon.net>.
23611 * misc/Makefile (headers): Add bits/select2.h.
23612 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23613 * misc/bits/select2.h: New file.
23614 * include/bits/select2.h: New file.
23615 * debug/Makefile (routines): Add fdelt_chk.
23616 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23617 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23619 * debug/fdelt_chk.c: New file.
23621 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23622 * wcsmbs/test-wmemcmp.c: Likewise.
23623 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23624 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23626 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23628 * string/Makefile (strop-tests): Add memcmp.
23629 * string/test-wmemcmp.c: New file.
23630 * string/test-memcmp.c: Add wmemcmp support.
23632 2011-09-08 Roland McGrath <roland@hack.frob.com>
23635 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23638 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23639 garbage value in a __mach_port_mod_refs call in the cases of the
23640 task-self and thread-self ports.
23642 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23644 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23646 2011-09-08 Andreas Schwab <schwab@redhat.com>
23648 * elf/dl-load.c (lose): Check for non-null L.
23650 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23652 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23654 * elf/dl-libc.c (dlerror_run): Pass back error code from
23658 * elf/dl-load.c (lose): Free l_origin if it is valid.
23660 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23662 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23663 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23664 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23665 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23666 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23667 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23669 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23671 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23672 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23673 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23674 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23675 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23676 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23677 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23678 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23679 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23680 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23682 2011-08-15 Alan Modra <amodra@gmail.com>
23685 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23686 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23687 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23688 ppc_mcount to static-only-routines.
23689 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23691 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23692 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23694 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23696 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23697 for finite and infinity parameters.
23699 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23701 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23702 and add nop instructions for throughput optimization.
23703 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23705 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23707 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23708 aligned copy for power7 with vector-scalar instructions.
23709 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23711 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23713 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23716 2011-09-07 Andreas Schwab <schwab@redhat.com>
23719 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23722 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23724 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23725 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23726 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23727 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23730 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23732 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23733 Forgot to demangle the pointer.
23735 * sysdeps/i386/sysdep.h: Define atom_text_section.
23736 * sysdeps/x86_64/sysdep.h: Likewise.
23737 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23738 section with atom_text_section.
23739 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23740 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23741 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23742 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23743 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23745 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23746 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23747 already be defined. Change to take two parameters and don't assign
23748 result to variable. Adjust all users.
23749 Define INTERNAL_GETTIME if not already defined.
23750 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23752 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23753 HAVE_CLOCK_GETTIME_VSYSCALL.
23754 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23756 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23757 gettimeofday vsyscall, just use time.
23759 2011-09-06 Andreas Schwab <schwab@redhat.com>
23761 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23764 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23766 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23768 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23770 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23771 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23772 syscall if possible.
23774 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23776 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23777 e_ident. Don't pass to find_mapsXX.
23778 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23780 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23783 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23784 * sysdeps/x86_64/multiarch/strchr.S: Update.
23785 Check bit_slow_BSF bit.
23786 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23787 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23788 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23790 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23793 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23795 (tryshell): Define.
23796 (__spawni): Change last parameter to be flag. Test
23797 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23798 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23799 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23800 * posix/spawni.c: Likewise.
23801 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23802 * posix/spawnp.c: Likewise. Change normal version to use
23803 SPAWN_XFLAGS_USE_PATH.
23804 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23805 SPAWN_XFLAGS_TRY_SHELL.
23808 * posix/glob.h: Remove gcc 1.x support.
23811 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23813 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23815 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23816 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23818 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23819 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23820 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23821 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23822 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23823 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23825 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23827 * sysdeps/x86_64/wcscmp.S: New file.
23829 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23830 wcscmp-c wcscmp-sse2
23831 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23832 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23833 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23834 * wcsmbs/wcscmp.c: Allow renaming.
23836 2011-09-05 David S. Miller <davem@davemloft.net>
23838 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23839 stack slot, rather than the struct return pointer slot.
23840 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23841 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23843 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23845 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23847 * po/ja.po: Update from translation team.
23850 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23851 kernel in 64-bit binaries.
23853 2011-09-01 David S. Miller <davem@davemloft.net>
23855 * elf/elf.h (HWCAP_SPARC_*): Move to..
23856 * sysdeps/sparc/sysdep.h: this new file and add new values.
23857 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23858 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23859 _DL_HWCAP_COUNT to 24.
23860 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23862 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23863 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23864 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23865 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23866 instead of magic constants.
23867 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23869 2011-08-31 David S. Miller <davem@davemloft.net>
23871 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23872 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23873 Reimplement to do errno handling inline.
23874 (SYSCALL_ERROR_HANDLER): New macro.
23875 (__SYSCALL_STRING): Do not do errno handling in asm.
23876 (__CLONE_SYSCALL_STRING): Delete.
23877 (__INTERNAL_SYSCALL_STRING): Delete.
23878 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23879 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23880 (PSEUDO): Reimplement to do errno handling inline.
23881 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23882 (SYSCALL_ERROR_HANDLER): New macro.
23883 (__SYSCALL_STRING): Do not do errno handling in asm.
23884 (__CLONE_SYSCALL_STRING): Delete.
23885 (__INTERNAL_SYSCALL_STRING): Delete.
23886 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23887 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23889 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23890 (inline_syscall*): Add 'err' argument.
23891 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23892 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23893 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23894 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23896 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23897 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23899 2011-08-30 Andreas Schwab <schwab@redhat.com>
23901 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23903 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23905 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23908 2011-08-24 David S. Miller <davem@davemloft.net>
23910 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23912 2011-08-24 Andreas Schwab <schwab@redhat.com>
23914 * elf/Makefile: Add rules to build and run unload8 test.
23915 * elf/unload8.c: New file.
23916 * elf/unload8mod1.c: New file.
23917 * elf/unload8mod1x.c: New file.
23918 * elf/unload8mod2.c: New file.
23919 * elf/unload8mod3.c: New file.
23921 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23924 2011-08-23 David S. Miller <davem@davemloft.net>
23926 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23927 subtract stack bias.
23928 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23929 %sp not %fp in calculations.
23930 (_JMPBUF_UNWINDS_ADJ): Likewise.
23932 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23933 (aio_suspend): Call it to force an exception region around the
23934 AIO_MISC_WAIT() invocation.
23936 2011-08-23 Andreas Schwab <schwab@redhat.com>
23938 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23941 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23943 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23945 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23946 and <dl-machine.h>.
23947 (Elf64_FuncDesc): Remove.
23949 2011-08-22 David S. Miller <davem@davemloft.net>
23951 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23952 sigaltstack check, add missing cfi directives.
23953 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23954 missing cfi directives, and sigaltstack handling.
23956 2011-08-16 Andreas Schwab <schwab@redhat.com>
23959 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23960 object is seen twice.
23961 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23963 * elf/Makefile (distribute): Add tst-initorder2.c.
23964 (tests): Add tst-initorder2.
23965 (modules-names): Add tst-initorder2a tst-initorder2b
23966 tst-initorder2c tst-initorder2d. Add rules to build them.
23967 ($(objpfx)tst-initorder2.out): New rule.
23968 * elf/tst-initorder2.c: New file.
23969 * elf/tst-initorder2.exp: New file.
23971 2011-08-22 Andreas Schwab <schwab@redhat.com>
23973 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23975 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23976 dependencies back to end of function.
23978 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23979 $(elfobjdir)/ld.so.
23981 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23983 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23984 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23985 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23986 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23987 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23988 of __vdso_gettimeofday.
23989 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23990 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23992 (_libc_vdso_platform_setup): Remove initialization of
23993 __vdso_gettimeofday and __vdso_time.
23995 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23997 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23998 and fgetc_unlocked.
23999 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24002 * elf/dl-open.c (add_to_global): Report additions to the global scope
24003 for LD_DEBUG=scopes.
24004 (dl_open_worker): Also print scope of newly loaded dependencies.
24005 (_dl_show_scope): Indicate if there is no scope.
24008 * stdio-common/Makefile (tests): Add bug24.
24009 * stdio-common/bug24.c: New file.
24011 2011-08-19 Andreas Jaeger <aj@suse.de>
24014 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24015 non-existant file when using close-on-exec mode.
24017 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24019 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24020 the very first instruction.
24022 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24023 the CFI state in the end.
24024 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24025 inclusion of dl-trampoline.h.
24026 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24028 2011-08-19 Andreas Schwab <schwab@redhat.com>
24030 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24031 expectations for long double.
24033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24034 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24036 2011-08-14 David S. Miller <davem@davemloft.net>
24038 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24039 artificual limit depends upon the system page size.
24041 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24043 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24044 * resolv/Makefile: Define CFLAGS-libresolv.
24046 2011-08-17 Andreas Schwab <schwab@redhat.com>
24048 * nss/makedb.c (compute_tables): Make variables used in nested
24051 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24053 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24054 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24055 if buffer was too small.
24057 * elf/pldd.c (main): Attach to all threads in the process.
24058 Rewrite /proc handling to use *at functions.
24060 2011-08-16 Ulrich Drepper <drepper@gmail.com>
24062 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24063 specifies first scope to show.
24064 (dl_open_worker): Update callers. Move printing scope of new
24065 object to before the relocation.
24066 * elf/rtld.c (dl_main): Update _dl_show_scope call.
24067 * sysdeps/generic/ldsodefs.h: Update declaration.
24069 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24070 string for the scope number.
24072 2011-08-14 Ulrich Drepper <drepper@gmail.com>
24074 * nscd/servicescache.c (cache_addserv): Make sure written is always
24077 2011-08-14 Roland McGrath <roland@hack.frob.com>
24079 * sysdeps/i386/i486/bits/atomic.h
24080 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24081 statement expression, so as to suppress "set but not used" warning.
24082 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24084 * string/strncat.c (STRNCAT): Use prototype definition.
24086 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24087 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24089 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24090 (localedef-modules): Add localedef.
24091 (locale-modules): Add locale.
24093 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24094 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24095 to avoid a warning.
24097 2011-08-14 David S. Miller <davem@davemloft.net>
24099 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24100 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24102 2011-08-13 Ulrich Drepper <drepper@gmail.com>
24104 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24105 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24106 * elf/rtld.c (dl_main): Set l_name of vDSO.
24107 Call _dl_show_scope when DL_DEBUG_SCOPES.
24108 (process_dl_debug): Recognize scopes flag and also set it for all.
24109 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24110 Declare _dl_show_scope.
24112 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24113 (do_dlopen): Pass caller_dlopen to dl_open.
24114 (__libc_dlopen_mode): Initialize caller_dlopen.
24116 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24117 of libc. Make tolower call locale-independent. Optimize a bit by
24118 using isdigit instead of isalnum.
24119 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24121 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24123 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24124 was a dependency or dynamically loaded.
24126 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24128 * intl/l10nflist.c: Allow architecture-specific pop function.
24129 * sysdeps/x86_64/l10nflist.c: New file.
24131 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24134 2011-08-10 Andreas Schwab <schwab@redhat.com>
24136 * include/dirent.h: Add libc_hidden_proto for scandirat and
24137 scandirat64. Don't declare __scandirat64.
24138 * dirent/scandirat.c: Add libc_hidden_def.
24139 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24140 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24142 2011-08-10 David S. Miller <davem@davemloft.net>
24144 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24146 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24147 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24148 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24150 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24152 * Versions.def [libc]: Add GLIBC_2.15.
24153 * dirent/Makefile (routines): Add scandirat and scandirat64.
24154 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24156 * dirent/dirent.h: Declare scandirat and scandirat64.
24157 * dirent/scandirat.c: New file.
24158 * dirent/scandirat64.c: New file.
24159 * sysdeps/wordsize-64/scandirat.c: New file.
24160 * sysdeps/wordsize-64/scandirat64.c: New file.
24161 * dirent/opendir.c: Define opendirat.
24162 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24164 * dirent/scandir64.c: Adjust for scandir.c change.
24165 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24166 __scandirat64, and __scandir_cancel_handler.
24167 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24168 additional parameter and use openat instead of open (outside of ld.so).
24169 Add new __opendir as wrapper around __opendirat.
24170 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24171 here without requiring old scandirat implementation.
24173 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24175 * dirent/scandir.c (cancel_handler): Renamed to
24176 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24177 defined. Adjust users.
24178 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24179 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24181 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24183 * string/test-string.h (IMPL): Use __STRING to expand name and then
24186 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24189 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24191 * string/Makefile: Update.
24192 (strop-tests): Append strncat.
24193 * string/test-wcscmp.c: New file.
24194 New comprehensive test for wcscmp.
24195 * string/test-strcmp.c: Update.
24196 (WIDE): New define.
24198 2011-07-22 Andreas Schwab <schwab@redhat.com>
24200 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24203 2011-07-26 Andreas Schwab <schwab@redhat.com>
24205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24206 encoding to ACE if AI_IDN.
24208 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24210 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24211 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24213 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24215 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24216 Fix overflow bug in strncat.
24217 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24219 * string/test-strncat.c: Update.
24220 Add new tests for checking overflow bugs.
24222 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24225 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24226 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24227 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24228 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24229 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24230 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24231 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24232 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24234 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24235 (USE_AS_STRCAT): Define.
24236 Add strcat and strncat support.
24237 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24239 2011-07-25 Andreas Schwab <schwab@redhat.com>
24241 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24242 __n bigger than INT_MAX+1.
24243 (__strncmp_g): Likewise.
24245 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24247 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24248 * libio/stido.h: Likewise.
24250 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24252 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24255 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24256 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24257 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24258 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24259 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24262 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24265 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24267 (_dl_x86_64_save_sse): Likewise.
24269 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24271 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24273 (_dl_x86_64_save_sse): Likewise.
24275 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24277 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24279 2011-07-21 Andreas Schwab <schwab@redhat.com>
24281 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24283 (_dl_x86_64_save_sse): Use correct AVX check.
24285 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24287 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24288 bug in strncpy/strncat.
24289 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24291 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24293 * string/tester.c (test_strcat): Add tests for different alignments
24294 of source and destination.
24295 (test_strncat): Likewise.
24297 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24300 * posix/glob.c (glob): Check passed in values before using them in
24301 expressions to avoid some overflows.
24302 (glob_in_dir): Likewise.
24305 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24306 check for AVX enablement so that we don't crash with old kernels and
24308 * elf/tst-audit4.c: Add same checks here.
24309 * elf/tst-audit6.c: Likewise.
24311 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24313 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24315 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24317 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24319 * po/cs.po: Update from translation team.
24320 * po/bg.po: Likewise.
24322 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24324 * misc/sys/cdefs.h: Add support for const attribute.
24325 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24326 to gnu_dev_{major,minor,makedev} functions.
24328 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24330 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24332 2011-07-20 Andreas Schwab <schwab@redhat.com>
24334 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24337 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24339 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24340 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24341 register in order to avoid conflicts with the soft frame pointer
24342 being held in r11 when necessary.
24343 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24344 (INTERNAL_VSYSCALL_NCS): Likewise.
24346 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24348 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24349 * elf/dl-fini.c (_dl_fini): Adjust caller.
24350 * elf/dl-close.c (_dl_close_worker): Likewise.
24351 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24353 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24355 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24356 "aux_cache->nlibs < 0".
24358 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24359 in the reload-count case.
24361 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24364 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24365 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24366 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24367 * sysdeps/x86_64/multiarch/strcat.S: New file.
24368 * sysdeps/x86_64/multiarch/strncat.S: New file.
24369 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24370 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24371 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24372 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24373 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24374 (USE_AS_STRCAT): Define.
24375 Add strcat and strncat support.
24376 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24377 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24378 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24379 * string/strncat.c: Update.
24380 (USE_AS_STRNCAT): Define.
24381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24382 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24384 * sysdeps/x86_64/multiarch/init-arch.h
24385 (bit_Prefer_PMINUB_for_stringop): New.
24386 (index_Prefer_PMINUB_for_stringop): Likewise.
24387 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24388 bit_Prefer_PMINUB_for_stringop.
24390 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24392 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24394 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24395 of casting of buffer.
24396 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24397 buffer32 and buffer64.
24398 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24399 writes instead of casting of buffer.
24400 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24402 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24405 2011-07-19 Andreas Schwab <schwab@redhat.com>
24407 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24409 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24411 * nscd/nscd.c (termination_handler): Don't do anything for a database
24412 if it has not yet been initialized.
24414 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24416 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24418 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24420 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24422 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24424 * po/nl.po: Update from translation team.
24425 * po/sv.po: Likewise.
24427 2011-07-16 Roland McGrath <roland@hack.frob.com>
24429 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24430 now disallowed by GCC.
24432 * configure.in (use-default-link): Default to yes if a test -shared
24433 link meets our qualifications.
24434 * configure: Regenerated.
24436 * config.make.in (output-format): New variable.
24437 * configure.in: Check for ld --print-output-format support.
24438 * configure: Regenerated.
24439 * Makerules ($(common-objpfx)format.lds)
24440 [$(output-format) != unknown]: Just use $(output-format),
24441 instead of the linker-script munging.
24443 2011-07-14 Roland McGrath <roland@hack.frob.com>
24445 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24446 of $(common-objpfx)shlib.lds.
24447 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24449 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24450 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24452 * configure.in (-z relro check): Adjust test code to add a large
24453 writable data section after it.
24454 * configure: Regenerated.
24456 2011-07-11 Roland McGrath <roland@hack.frob.com>
24458 * configure.in (-z relro check): Fix test code to make the variable
24460 * configure: Regenerated.
24462 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24464 * nscd/nscd.h (struct traced_file): Define.
24465 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24466 elements. Add traced_files.
24467 (inotify_fd): Declare.
24468 (register_traced_file): Declare.
24469 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24470 (inotify_fd): Export.
24471 (resolv_conf_descr): Remove.
24472 (nscd_init): Move inotify descriptor creation to main.
24473 Don't register files for notification here.
24474 (register_traced_file): New function.
24475 (invalidate_cache): Don't use reset_res to determine whether to call
24476 res_init, go through the list of registered files.
24477 (main_loop_poll): The inotify descriptors are now stored in the
24478 structures for the traced files.
24479 (main_loop_epoll): Likewise
24480 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24481 to __nss_disable_nscd.
24482 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24483 for a database anymore. Check the records for all the registered
24485 * nss/Makefile (libnss_files-routines): Add files-init.
24486 (libnss_db-routines): Add db-init.
24487 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24488 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24489 * nss/nss_db/db-init.c: New file.
24490 * nss/nss_files/files-init.c: New file.
24491 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24492 __nss_lookup_function.
24493 (__nss_lookup_function): Call nss_load_library.
24494 (nss_load_all_libraries): New function.
24495 (__nss_disable_nscd): Take parameter with callback function for files
24496 to register. Set is_nscd. Load all the DSOs for the NSS modules
24497 used for the cached services.
24498 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24499 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24500 options for features to all the files in nscd.
24502 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24504 2011-07-10 Roland McGrath <roland@hack.frob.com>
24506 * csu/elf-init.c (__libc_csu_init): Comment typo.
24508 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24510 * po/pl.po: Update from translation team.
24511 * po/ja.po: Likewise.
24512 * po/ru.po: Likewise.
24513 * po/ko.po: Likewise.
24514 * po/fr.po: Likewise.
24516 2011-07-09 Roland McGrath <roland@hack.frob.com>
24518 * configure.in (.ctors/.dtors header and trailer check):
24519 Use an empirical test on a built program.
24520 * configure: Regenerated.
24522 * configure.in (-z relro check): Use an empirical test on a built DSO.
24523 Detect, but do not require, on ia64.
24524 * configure: Regenerated.
24526 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24527 Update tests that use readelf to use $READELF instead.
24528 * configure: Regenerated.
24530 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24532 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24533 if the result is not used.
24535 2011-07-05 Andreas Jaeger <aj@suse.de>
24538 * stdlib/tst-strtod.c: Add testcase.
24540 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24542 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24543 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24544 The latter has a higher limit. Take additional parameter to pass to
24546 (__pathconf): Pass file to __statfs_link_max.
24547 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24549 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24553 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24554 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24556 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24557 (__statfs_filesize_max): Likewise.
24558 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24560 2011-07-05 Andreas Jaeger <aj@suse.de>
24562 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24564 2011-07-06 Marek Polacek <mpolacek@redhat.com>
24566 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24568 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24571 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24573 * Makefile (strop-tests): Add strncat.
24574 * string/test-strncat.c: New file.
24576 2011-06-30 Marek Polacek <mpolacek@redhat.com>
24578 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24580 2011-06-21 Andreas Jaeger <aj@suse.de>
24582 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24583 Copy rule from iconvdata/Makefile.
24585 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24588 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24589 but no long options are defined, just return 'W'.
24591 2011-06-22 Marek Polacek <mpolacek@redhat.com>
24594 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24596 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24598 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24600 (innetgr): Likewise.
24602 2011-07-05 Roland McGrath <roland@hack.frob.com>
24604 * config.make.in (install_root): Default to $(DESTDIR).
24606 2011-07-05 Ulrich Drepper <drepper@gmail.com>
24608 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24610 2011-07-02 Roland McGrath <roland@hack.frob.com>
24612 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24614 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24615 containing directory rather than embedding absolute directory names.
24617 * scripts/check-local-headers.sh: Rewritten using awk.
24618 Match by word, not by line. Print error messages for matches.
24619 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24621 * Makerules [shlib-lds-flags empty]:
24622 ($(common-objpfx)libc_pic.opts): New target.
24623 ($(common-objpfx)libc_pic.os.clean): New target.
24624 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24626 * config.make.in (OBJCOPY): New variable.
24627 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24628 * configure: Regenerated.
24630 * config.make.in (use-default-link): New variable.
24631 * configure.in (use_default_link): Grok --with-default-link to set it.
24632 * configure: Regenerated.
24633 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24634 (shlib-lds, shlib-lds-flags): Define to empty.
24636 * Makerules (shlib-lds): New variable.
24637 (shlib-lds-flags): New variable.
24638 (build-shlib, build-moduile, build-module-asneeded): Use it.
24639 ($(common-objpfx)libc.so): Use $(shlib-lds).
24640 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24641 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24643 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24644 DT_FLAGS/DT_FLAGS_1 with zero flags.
24646 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24647 linker script munging.
24649 2011-07-02 Ulrich Drepper <drepper@gmail.com>
24651 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24653 * crypt/sha512.c (sha512_process_block): Perform total addition using
24654 128-bit if possible.
24655 (__sha512_finish_ctx): Likewise.
24656 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24658 * crypt/sha256.c (SWAP64): Define.
24659 (sha256_process_block): Perform total addition using 64-bit if
24661 (__sha256_finish_ctx): Likewise.
24663 2011-07-01 Ulrich Drepper <drepper@gmail.com>
24665 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24666 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24667 * nscd/hstcache.c (cache_addhst): Likewise.
24668 * nscd/grpcache.c (cache_addgr): Likewise.
24669 * nscd/aicache.c (addhstaiX): Likewise
24670 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24672 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
24674 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24675 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24676 * nscd/hstcache.c (cache_addhst): Likewise.
24677 * nscd/grpcache.c (cache_addgr): Likewise.
24678 * nscd/aicache.c (addhstaiX): Likewise
24680 2011-07-01 Andreas Schwab <schwab@redhat.com>
24682 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24683 domain only when needed.
24685 2011-06-30 Andreas Schwab <schwab@redhat.com>
24687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24688 is always restored.
24690 2011-06-29 Ulrich Drepper <drepper@gmail.com>
24692 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24693 are re-adding the entry.
24694 * nscd/servicescache.c (cache_addserv): Likewise.
24696 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24698 * sysdeps/generic/dl-irel.h: fix protection against multiple
24700 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24702 2011-06-28 Ulrich Drepper <drepper@gmail.com>
24705 * malloc/memusage.sh: Fix quoting in message.
24706 * debug/xtrace.sh: Likewise.
24708 * configure.in: Remove support for --experimental-malloc option, make
24710 * config.make.in: Likewise.
24711 * malloc/Makefile: Likewise.
24713 2011-06-27 Andreas Schwab <schwab@redhat.com>
24715 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24716 two-byte characters.
24718 2011-06-27 Roland McGrath <roland@hack.frob.com>
24720 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24721 AC_CACHE_CHECK invocation.
24722 * configure: Regenerated.
24724 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24726 2011-06-27 Ulrich Drepper <drepper@gmail.com>
24729 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24730 bit from old_res_options.
24732 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24734 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24735 value type for setfct.
24737 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24739 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24740 __gettimeofday instead of gettimeofday.
24742 2011-06-26 Ulrich Drepper <drepper@gmail.com>
24744 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24746 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24748 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24750 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24753 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24756 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24757 strcpy-sse2-unaligned strncpy-sse2-unaligned
24758 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24759 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24760 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24761 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24762 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24763 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24764 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24765 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24766 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24767 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24768 (STRCPY): Support SSE2 and SSSE3 versions.
24770 2011-06-24 Ulrich Drepper <drepper@gmail.com>
24773 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24774 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24775 kernels which artificially limit size of requests.
24777 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24779 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24780 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24781 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24782 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24783 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24784 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24785 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24786 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24787 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24788 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24789 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24790 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24791 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24792 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24793 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24795 Enable unaligned load optimization for Intel Core i3, i5 and i7
24797 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24799 (index_Fast_Unaligned_Load): Define.
24800 (HAS_FAST_UNALIGNED_LOAD): Define.
24802 2011-06-23 Marek Polacek <mpolacek@redhat.com>
24804 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24806 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24809 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24810 until it is clear that the information is realy needed.
24811 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24813 2011-06-22 Andreas Schwab <schwab@redhat.com>
24815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24817 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24819 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24820 /sys/devices/system/cpu/online if it is usable.
24822 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24823 reading the information from the /proc filesystem to once a second.
24825 2011-06-21 Andreas Jaeger <aj@suse.de>
24827 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24828 NULL after inclusion of kernel headers.
24830 2011-06-21 Ulrich Drepper <drepper@gmail.com>
24832 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24833 calls to internal_setent.
24836 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24837 addresses using gethostbyname4_r ignore IPv4 addresses.
24839 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24840 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24842 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24844 2011-06-20 David S. Miller <davem@davemloft.net>
24846 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24848 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24850 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24851 (elf_irel): Use it.
24852 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24853 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24854 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24855 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24856 * sysdeps/x86_64/dl-irel.h: Likewise.
24858 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24859 * elf/dl-sym.c: Likewise.
24861 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24863 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24864 need to dereference resplen2.
24866 2011-06-14 Andreas Schwab <schwab@redhat.com>
24868 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24870 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24872 * Makeconfig: Define vardbdir and inst_vardbdir.
24873 * nss/Makefile: Add rules to install db-Makefile.
24875 * nss/nss_db/db-XXX.c: Cleanup.
24877 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24878 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24880 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24881 * nss/makedb.c: Implement -g option to specify that value strings
24882 are generated and should not be added to table iterated over for
24884 * nss/nss_db/db-initgroups.c: New file.
24886 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24889 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24890 (internal_getgrouplist): Adjust to name change.
24891 Update use_initgroups_entry if this is not the first call.
24892 * nss/databases.def: Add initgroups entry.
24894 * nss/makedb.c (compute_tables): Check result of multiple hash table
24895 sizes to minimize maximum chain length.
24897 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24899 * Versions.def: Add entry for libnss_db.
24900 * shlib-versions: Likewise.
24901 * nss/Makefile: Add rules to build libnss_db.
24902 * nss/Versions: Add libnss_db information. Organize libnss_files
24904 * nss/db-Makefile: Add gshadow support. Change rules for the new
24905 makedb progra. Some minor improvements to generate smaller files.
24906 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24908 * nss/makedb.c: ...here.
24909 Improve database format to be smaller and require less memory at
24911 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24913 * nss/nss_db/db-netgrp.c: Likewise.
24914 * nss/nss_db/db-open.c: Likewise.
24915 * nss/nss_files/flies-XXX.x: Adjust comments.
24916 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24917 * nss/nss_files/files-grp.c: Likewise.
24918 * nss/nss_files/files-hosts.c: Likewise.
24919 * nss/nss_files/files-network.c: Likewise.
24920 * nss/nss_files/files-proto.c: Likewise.
24921 * nss/nss_files/files-pwd.c: Likewise.
24922 * nss/nss_files/files-rpc.c: Likewise.
24923 * nss/nss_files/files-service.c: Likewise.
24924 * nss/nss_files/files-sgrp.c: Likewise.
24925 * nss/nss_files/files-spwd.c: Likewise.
24926 * nss/nss_db/db-alias.c: Removed.
24927 * nss/nss_db/dummy-db.h: Removed.
24929 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24931 * nss/makedb.c: Rewritten to not use database library.
24932 * nss/Makefile: Update to build new makedb program.
24934 2011-06-14 Andreas Jaeger <aj@suse.de>
24936 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24937 memset declaration.
24939 2011-06-10 Andreas Schwab <schwab@redhat.com>
24941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24944 2011-06-10 Roland McGrath <roland@hack.frob.com>
24946 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24947 * elf/Makefile ($(objpfx)ld.so): Likewise.
24949 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24950 Don't list ld.so twice in dependencies.
24952 * posix/bug-regex31.c: Include <stdlib.h>.
24954 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24956 * nis/nss_compat/compat-spwd.c
24957 (getspent_next_nss_netgr): Remove unused variable.
24958 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24960 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24961 nonmembers" output to use the right array.
24963 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24965 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24967 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24968 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24969 * catgets/gencat.c (read_input_file): Likewise.
24970 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24972 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24973 variable definition inside #if's controlling its use.
24975 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24977 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24979 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24981 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24984 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24986 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24987 * configure: Regenerated.
24989 * Makerules: Revert last change.
24990 * elf/Makefile: Likewise.
24992 2011-06-09 Roland McGrath <roland@hack.frob.com>
24994 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24995 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24996 (reloc-link): Likewise.
24998 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25000 * elf/Makefile: Add rules to build pldd.
25001 * elf/pldd.c: New file.
25002 * elf/pldd-xx.c: New file.
25004 2011-06-07 Ulrich Drepper <drepper@gmail.com>
25006 * version.h: Update for 2.15 development version.
25008 2011-06-07 David S. Miller <davem@davemloft.net>
25010 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25012 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25013 elf_machine_lazy_rel): Likewise.
25014 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25015 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25016 elf_machine_lazy_rel): Likewise.
25017 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25018 dl_hwcap via passed in argument.
25019 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25022 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25024 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25026 2011-06-06 Roland McGrath <roland@hack.frob.com>
25029 * manual/fdl-1.1.texi: New file, verbatim from:
25030 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25031 * manual/lgpl-2.1.texi: New file, verbatim from:
25032 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25033 * manual/Makefile (licenses): New variable, list those new file names.
25035 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25037 * manual/fdl.texi: File removed.
25038 * manual/lesser.texi: File removed.
25039 * manual/libc.texinfo (Copying, Documentation License):
25040 Use new @include file names, put @appendix directive before @include.
25042 2011-06-04 Jakub Jelinek <jakub@redhat.com>
25045 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25046 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25047 (mq_open): Add __NTH.
25049 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25052 Assume Intel Core i3/i5/i7 processor if AVX is available.
25054 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25056 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25059 2011-05-31 Andreas Schwab <schwab@redhat.com>
25061 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25062 memory. Use alloca_account. Fix memory leak when retrying.
25064 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25066 * version.h (RELEASE): Bump for 2.14 release.
25067 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25069 * config.make.in (RANLIB): Remove entry.
25071 2011-05-30 Ulrich Drepper <drepper@gmail.com>
25073 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25074 (libc.pot): Work around missing support for .ksh extension in xgettext.
25077 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25078 if both request failed.
25079 (send_dg): In case of server errors clear resplen or *resplen2.
25082 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25083 when there are multiple maps.
25084 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25085 (_dl_fini): Remove test here.
25087 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25089 2011-05-29 Ulrich Drepper <drepper@gmail.com>
25092 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25093 bit from old_res_options.
25094 (gaih_inet): Likewise.
25097 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25100 * resolv/res_init.c (res_setoptions): Make the code more compact.
25103 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25107 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25109 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25112 * malloc/malloc.h: Declare malloc hook variables as volatile.
25114 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25118 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25119 raise in the comment.
25120 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25121 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25122 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25124 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25127 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25128 grow the buffers more if it already has to be sufficient.
25129 (build_wcs_upper_buffer): Likewise.
25130 * posix/regexec.c (check_matching): Likewise.
25131 (clean_state_log_if_needed): Likewise.
25132 (extend_buffers): Don't enlarge buffers beyond size of the input
25134 Patches mostly by Emil Wojak <emil@wojak.eu>.
25135 * posix/bug-regex32.c: New file.
25136 * posix/Makefile (tests): Add bug-regex32.
25138 * locale/findlocale.c (_nl_find_locale): Return right away if
25139 _nl_explode_name failed.
25140 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25142 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25144 * debug/xtrace.sh: Unify messages.
25145 * malloc/memusage.sh: Likewise.
25148 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25149 time symbol from vDSO. Substitute with vsyscall if not available.
25150 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25153 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25154 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25155 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25156 Add sendmmsg and internal_sendmmsg.
25157 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25158 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25159 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25161 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25162 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25163 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25165 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25168 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25169 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25171 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25175 * iconvdata/Makefile (tests): Add bug-iconv9.
25176 * iconvdata/bug-iconv9.c: New file.
25178 2011-05-27 Andreas Schwab <schwab@redhat.com>
25181 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25183 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25185 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25186 (struct user_regs_struct): Change intcs field back to cs.
25188 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25190 * po/ja.po: Update from translation team.
25192 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25195 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25196 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25198 2011-05-20 Andreas Schwab <schwab@redhat.com>
25200 * stdlib/longlong.h: Update from GCC.
25202 2011-05-23 Andreas Schwab <schwab@redhat.com>
25204 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25206 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25207 Add parameter name.
25208 (__sysconf): Pass it down.
25210 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25213 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25215 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25216 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25217 add in in __libc_use_alloca calls. Adjust callers.
25218 (glob): Use malloc in some situations.
25220 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25221 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25224 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25226 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25227 and CLOCK_BOOTTIME_ALARM.
25230 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25233 * string/_strerror.c (__strerror_r): Print negative errors as signed
25237 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25238 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25239 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25241 * configure.in: Fix typo in redirection and correct removal of test
25242 files in two cases.
25245 * locale/setlocale.c (new_composite_name): Fix test to check for
25246 identical name of all categories.
25249 * libio/filedoalloc.c (local_isatty): New function.
25250 (_IO_file_doallocate): Use local_isatty.
25251 * stdio-common/perror.c (perror): In case a new stream is used
25252 forward the stream error.
25253 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25256 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25261 * include/alloca.h (extend_alloca_account): Define.
25264 * posix/regex.h: Fix comments with documentation of user-accessible
25265 fields after compilation and describe correct free'ing of pattern
25266 after re_compile_pattern.
25267 Patch by Reuben Thomas <rrt@sc3d.org>.
25269 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25271 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25272 and -mno-altivec to prevent the compiler from using Altivec and/or
25273 VSX instructions when the corresponding registers are not available.
25275 2011-05-19 Andreas Schwab <schwab@redhat.com>
25277 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25279 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25281 * libio/freopen.c (freopen): Use __dup2, not dup2.
25282 * libio/freopen64.c (freopen64): Likewise.
25284 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25287 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25288 * math/Makefile (tests): Add test-powl.
25289 (CFLAGS-test-powl.c): Define.
25290 * math/test-powl.c: New file.
25292 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25294 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25296 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25299 * iconvdata/gb18030.c: Update to GB18020-2005.
25301 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25303 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25304 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25305 Patch by Aharon Robbins <arnold@skeeve.com>.
25308 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25312 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25313 through underflows.
25316 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25317 point to strings before performing equality test for error_one_per_line
25321 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25324 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25325 (struct user_fpregs_struct): Avoid __uint*_t types.
25328 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25329 symbol info. Use it instead of calling _dl_addr locally.
25330 (lock_and_info): New function.
25331 (tr_freehook): Call lock_and_info and pass symbol info as additional
25332 parameter to tr_where.
25333 (tr_mallochook): Likewise.
25334 (tr_reallochook): Likewise.
25335 (tr_memalignhook): Likewise.
25337 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25338 used and couldn't be at all thread-safe.
25340 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25342 * libio/freopen.c (freopen): Don't close old file descriptor
25343 before the new one is opened. Instead dup the new file descriptor
25344 to the old one after the new stream is created.
25345 * libio/freopen64.c (freopen64): Likewise.
25346 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25347 * libio/fileops.c (_IO_new_file_close_it): Handle new
25348 _IO_FLAGS2_NOCLOSE flag.
25349 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25350 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25351 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25352 _IO_FLAGS2_NOCLOSE flag.
25353 * include/unistd.h: Add hidden_proto for dup3.
25354 Define __have_dup3.
25355 * io/dup3.c: Define hidden symbol.
25356 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25359 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25360 when an incomplete long option is used.
25361 * posix/tst-getopt_long1.c: New file.
25362 * posix/Makefile (tests): Add tst-getopt_long1.
25365 * scripts/config.guess: Update from autoconf-2.68.
25366 * scripts/config.sub: Likewise.
25369 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25371 (has_cpuclock): ...this. New function.
25372 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25373 macro here based on has_cpuclock code.
25376 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25377 First byte (not low byte) is now always NUL.
25378 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25380 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25381 Use non-cancelable interfaces.
25384 * locale/iso-639.def: Add entry for Sorani.
25387 * include/stdlib.h: Move include protection to the right place.
25388 Define abort_msg_s. Declare __abort_msg with it.
25389 * stdlib/abort.c (__abort_msg): Adjust type.
25390 * assert/assert.c (__assert_fail_base): New function. Majority
25391 of code from __assert_fail. Allocate memory for __abort_msg with
25393 (__assert_fail): Now call __assert_fail_base.
25394 * assert/assert-perr.c: Remove bulk of implementation. Use
25395 __assert_fail_base.
25396 * include/assert.hL Declare __assert_fail_base.
25397 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25399 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25401 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25405 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25406 until all modules are registered in the DTV.
25407 * elf/Makefile: Add rules to build and run tst-tls19.
25408 * elf/tst-tls19.c: New file.
25409 * elf/tst-tls19mod1.c: New file.
25410 * elf/tst-tls19mod2.c: New file.
25411 * elf/tst-tls19mod3.c: New file.
25412 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25415 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25419 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25420 two-byte sequence errors.
25421 * iconvdata/Makefile (tests): Add bug-iconv8.
25422 * iconvdata/bug-iconv8.c: New file.
25425 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25428 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25431 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25432 (dummy_getcfa): New function.
25433 (init): Get _Unwind_GetCFA address, use dummy if not found.
25434 (backtrace_helper): In recursion check, also check whether CFA changes.
25435 (__backtrace): Completely initialize arg.
25437 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25438 storing incomplete byte sequence in state object. Avoid testing for
25439 guaranteed too small input if we know there is enough data available.
25441 2011-05-11 Andreas Schwab <schwab@redhat.com>
25443 * Makeconfig (+link-pie): Indent.
25444 * Rules (binaries-pie): Define if $(have-fpie) and
25446 (binaries-shared): Also filter out $(binaries-pie).
25447 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25448 * nscd/Makefile (others-pie): Add nscd.
25449 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25450 ($(objpfx)nscd): Remove command override.
25451 * login/Makefile (others-pie): Add pt_chown.
25452 ($(objpfx)pt_chown): Remove command override.
25453 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25454 remove command overrides.
25456 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25458 * libio/tst_putwc.c: Fix error messages.
25461 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25462 currently writing and seek to current position when not.
25463 * libio/Makefile (tests): Add bug-fclose1.
25464 * libio/bug-fclose1.c: New file.
25466 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25469 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25470 don't set DF_1_NODELETE here.
25471 (do_lookup_x): When entering new entry test for copy relocation
25472 and if necessary set DF_1_NODELETE flag.
25473 * elf/tst-unique4.cc: New file.
25474 * elf/tst-unique4.h: New file.
25475 * elf/tst-unique4lib.cc: New file.
25476 * elf/Makefile: Add rules to build and run tst-unique4.
25477 Patch by Piotr Bury <pbury@goahead.com>.
25479 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25482 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25485 * misc/mntent_r.c (addmntent): Flush the stream after the output
25488 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25489 (is_trusted_path_normalize): Skip initial colon. Append slash
25490 to empty buffer. Duplicate is_trusted_path code but allow
25491 constructed patch to be prefix.
25492 (is_dst): Allow $ORIGIN followed by /.
25493 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25494 Correct testing of result of is_trusted_path_normalize
25495 (decompose_rpath): Fix warning.
25497 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25500 * grp/initgroups.c (internal_getgrouplist): When we found the service
25501 list through the initgroups entry in nsswitch.conf do not always
25502 continue on a successful lookup. Don't always use the
25503 __nss_group_database value if it is set.
25504 * nss/nsswitch.conf (initgroups): Change action for successful db
25505 lookup to continue for compatibility.
25507 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25510 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25512 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25514 * iconvdata/tst-tables.sh: Likewise.
25515 * iconvdata/cp770.c: New file.
25516 * iconvdata/cp771.c: New file.
25517 * iconvdata/cp772.c: New file.
25518 * iconvdata/cp773.c: New file.
25519 * iconvdata/cp774.c: New file.
25520 * iconvdata/testdata/CP770: New file.
25521 * iconvdata/testdata/CP770..UTF8: New file.
25522 * iconvdata/testdata/CP771: New file.
25523 * iconvdata/testdata/CP771..UTF8: New file.
25524 * iconvdata/testdata/CP772: New file.
25525 * iconvdata/testdata/CP772..UTF8: New file.
25526 * iconvdata/testdata/CP773: New file.
25527 * iconvdata/testdata/CP773..UTF8: New file.
25528 * iconvdata/testdata/CP774: New file.
25529 * iconvdata/testdata/CP774..UTF8: New file.
25531 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25533 * iconvdata/gen-8bit-gap.sh: Likewise.
25534 * iconvdata/gen-8bit.sh: Likewise.
25536 * locale/iso-639.def: Add ary entry.
25539 * locale/C-translit.h.in: Add U20A1 transliteration.
25542 * locale/iso-639.def: Add wae entry.
25543 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25546 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25550 * locale/C-translit.h.in: Add entry for U20B9.
25551 Patch by pravin.d.s@gmail.com.
25553 2011-05-08 Ulrich Drepper <drepper@gmail.com>
25556 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25557 ENAMETOOLONG use generic getcwd.
25558 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25559 in rtld. Use *stat64.
25560 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25561 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25562 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25563 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25564 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25565 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25566 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25567 __fstatat64 macros.
25568 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25569 * dirent/rewinddir.c: Add libc_hidden_def.
25570 * sysdeps/mach/hurd/rewinddir.c: Likewise.
25571 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
25573 * include/dirent.h (__alloc_dir): Add flags parameter.
25574 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25575 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25577 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25578 from fdopendir if O_CLOEXEC is already set.
25580 2011-03-15 Alan Modra <amodra@gmail.com>
25582 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25583 l_tls_firstbyte_offset non-zero. Save padding offset in
25584 l_tls_firstbyte_offset for later use.
25585 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25586 freeing static tls block.
25588 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25590 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25591 where #ifdef was intended. The intent is to prevent ARG_MAX from
25592 being defined by the kernel headers.
25594 2011-05-07 Ulrich Drepper <drepper@gmail.com>
25597 * resolv/resolv.h: Define RES_NOTLDQUERY.
25598 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25599 no-tld-query and set RES_NOTLDQUERY.
25600 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25601 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25602 modern BIND to search name as TLD unless forbidden.
25604 2011-05-07 Petr Baudis <pasky@suse.cz>
25605 Ulrich Drepper <drepper@gmail.com>
25608 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25609 (is_trusted_path): ...to here.
25610 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25611 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25612 using is_trusted_path_normalize() in setuid scripts.
25614 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25616 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25617 __BEGIN/__END_DECLS.
25619 2011-05-06 Ulrich Drepper <drepper@gmail.com>
25621 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25622 NSS_STATUS_NOTFOUND if no record was found.
25624 2011-05-05 Andreas Schwab <schwab@redhat.com>
25626 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25627 (headers-not-in-tirpc): Remove rpc/netdb.h
25628 * resolv/netdb.h: Revert last change.
25630 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25632 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25633 circular dependency between libgcc.a and libc.a.
25635 2011-05-05 Andreas Schwab <schwab@redhat.com>
25637 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25638 * nis/Makefile: Don't install rpcsvc/*.
25639 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25640 instead of <rpc/types.h>.
25641 (MAXHOSTNAMELEN): Define.
25643 2011-05-03 Andreas Schwab <schwab@redhat.com>
25645 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25647 2011-04-28 Maciej Babinski <mbabinski@google.com>
25650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25651 gethostbyname4_r when IPv6 results are possible.
25653 2011-05-02 Ulrich Drepper <drepper@gmail.com>
25656 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25657 _PC_PIPE_BUF handling.
25659 2011-04-30 Bruno Haible <bruno@clisp.org>
25662 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25663 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25665 * inet/getnameinfo.c (getnameinfo): Likewise.
25667 2011-04-29 Ulrich Drepper <drepper@gmail.com>
25669 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25670 to groups setting in database lookup.
25671 * nss/nsswitch.conf: Add initgroups entry.
25673 2011-04-22 Ulrich Drepper <drepper@gmail.com>
25676 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25678 Patch by Eric Blake <eblake@redhat.com>.
25680 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25682 * sunrpc/Makefile (need-export-routines): Add svc_run.
25683 (routines): Remove svc_run.
25684 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25685 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25686 * sunrpc/svc_run.c (svc_run): Likewise.
25687 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25689 2011-04-21 Ulrich Drepper <drepper@gmail.com>
25691 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25692 problem in reallocation in last patch.
25694 2011-04-20 Ulrich Drepper <drepper@gmail.com>
25696 * sunrpc/Makefile: Move inclusion of Rules.
25698 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25700 * nss/nss_files/files-initgroups.c: New file.
25701 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25702 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25703 _nss_files_initgroups_dyn.
25705 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25707 * elf/elf.h (R_ARM_IRELATIVE): Define.
25709 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25711 * po/ru.po: Update from translation team.
25713 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25715 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25718 2011-02-06 Mike Frysinger <vapier@gentoo.org>
25721 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25722 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25723 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25724 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25725 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25727 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25729 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25731 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25732 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25733 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25735 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25738 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25740 * stdlib/bug-getcontext.c: New file.
25741 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25743 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25745 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25746 instructions into .machine "z9-109".
25747 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25748 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25750 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25752 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25753 between environment variables and auxiliary vector.
25755 2011-04-16 Ulrich Drepper <drepper@gmail.com>
25757 * Makefile: Add rules to build linkobj/libc.so.
25758 * include/libc-symbols.h: Define libc_hidden_nolink.
25759 * include/rpc/auth.h: Mark functions which are to be hidden.
25760 * include/rpc/auth_des.h: Likewise.
25761 * include/rpc/auth_unix.h: Likewise.
25762 * include/rpc/clnt.h: Likewise.
25763 * include/rpc/des_crypt.h: Likewise.
25764 * include/rpc/key_prot.h: Likewise.
25765 * include/rpc/pmap_clnt.h: Likewise.
25766 * include/rpc/pmap_prot.h: Likewise.
25767 * include/rpc/pmap_rmt.h: Likewise.
25768 * include/rpc/rpc_msg.h: Likewise.
25769 * include/rpc/svc.h: Likewise.
25770 * include/rpc/svc_auth.h: Likewise.
25771 * include/rpc/xdr.h: Likewise.
25772 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25773 * nss/Makefile: Likewise.
25774 * sunrpc/Makefile: Don't install headers. Build library with normal
25775 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25776 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25777 for the compat linking library. Remove use of INTDEF/INTUSE.
25778 * sunrpc/auth_none.c: Likewise.
25779 * sunrpc/auth_unix.c: Likewise.
25780 * sunrpc/authdes_prot.c: Likewise.
25781 * sunrpc/authuxprot.c: Likewise.
25782 * sunrpc/clnt_gen.c: Likewise.
25783 * sunrpc/clnt_perr.c: Likewise.
25784 * sunrpc/clnt_raw.c: Likewise.
25785 * sunrpc/clnt_simp.c: Likewise.
25786 * sunrpc/clnt_tcp.c: Likewise.
25787 * sunrpc/clnt_udp.c: Likewise.
25788 * sunrpc/clnt_unix.c: Likewise.
25789 * sunrpc/des_crypt.c: Likewise.
25790 * sunrpc/des_soft.c: Likewise.
25791 * sunrpc/get_myaddr.c: Likewise.
25792 * sunrpc/key_call.c: Likewise.
25793 * sunrpc/key_prot.c: Likewise.
25794 * sunrpc/netname.c: Likewise.
25795 * sunrpc/pm_getmaps.c: Likewise.
25796 * sunrpc/pm_getport.c: Likewise.
25797 * sunrpc/pmap_clnt.c: Likewise.
25798 * sunrpc/pmap_prot.c: Likewise.
25799 * sunrpc/pmap_prot2.c: Likewise.
25800 * sunrpc/pmap_rmt.c: Likewise.
25801 * sunrpc/publickey.c: Likewise.
25802 * sunrpc/rpc_cmsg.c: Likewise.
25803 * sunrpc/rpc_common.c: Likewise.
25804 * sunrpc/rpc_dtable.c: Likewise.
25805 * sunrpc/rpc_prot.c: Likewise.
25806 * sunrpc/rpc_thread.c: Likewise.
25807 * sunrpc/rtime.c: Likewise.
25808 * sunrpc/svc.c: Likewise.
25809 * sunrpc/svc_auth.c: Likewise.
25810 * sunrpc/svc_authux.c: Likewise.
25811 * sunrpc/svc_raw.c: Likewise.
25812 * sunrpc/svc_run.c: Likewise.
25813 * sunrpc/svc_simple.c: Likewise.
25814 * sunrpc/svc_tcp.c: Likewise.
25815 * sunrpc/svc_udp.c: Likewise.
25816 * sunrpc/svc_unix.c: Likewise.
25817 * sunrpc/svcauth_des.c: Likewise.
25818 * sunrpc/xcrypt.c: Likewise.
25819 * sunrpc/xdr.c: Likewise.
25820 * sunrpc/xdr_array.c: Likewise.
25821 * sunrpc/xdr_float.c: Likewise.
25822 * sunrpc/xdr_intXX_t.c: Likewise.
25823 * sunrpc/xdr_mem.c: Likewise.
25824 * sunrpc/xdr_rec.c: Likewise.
25825 * sunrpc/xdr_ref.c: Likewise.
25826 * sunrpc/xdr_sizeof.c: Likewise.
25827 * sunrpc/xdr_stdio.c: Likewise.
25829 2011-04-10 Ulrich Drepper <drepper@gmail.com>
25832 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25833 * sysdeps/ia64/dl-tls.h: Likewise.
25834 * sysdeps/powerpc/dl-tls.h: Likewise.
25835 * sysdeps/s390/dl-tls.h: Likewise.
25836 * sysdeps/sh/dl-tls.h: Likewise.
25837 * sysdeps/sparc/dl-tls.h: Likewise.
25838 * sysdeps/x86_64/dl-tls.h: Likewise.
25839 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25841 2011-03-14 Andreas Schwab <schwab@redhat.com>
25843 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25844 rpath element also skip the following colon.
25845 (expand_dynamic_string_token): Add is_path parameter and pass
25846 down to DL_DST_REQUIRED and _dl_dst_substitute.
25847 (decompose_rpath): Call expand_dynamic_string_token with
25848 non-zero is_path. Ignore empty rpaths.
25849 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25852 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25857 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25860 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25861 Patch by Filipe David Manana <fdmanana@apache.org>.
25863 2011-04-07 Andreas Schwab <schwab@redhat.com>
25865 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25866 Maintain aligned stack.
25867 (CHECK_RSP): Remove unused macro.
25869 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25871 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25872 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25874 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25876 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25878 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25880 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25883 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25884 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25885 * sysdeps/x86_64/memmove.c: New file.
25886 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25887 (memcpy): Renamed to ...
25888 (__new_memcpy): This.
25889 (memcpy): Provide GLIBC_2_14 memcpy.
25890 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25891 (memcpy): Provide GLIBC_2_2_5 memcpy.
25893 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25896 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25898 2011-03-30 Andreas Schwab <schwab@redhat.com>
25900 * misc/syncfs.c: New file.
25901 * misc/Makefile (routines): Add syncfs.
25902 * posix/unistd.h: Declare syncfs.
25903 * sysdeps/unix/syscalls.list: Add syncfs.
25905 2011-04-01 Andreas Schwab <schwab@redhat.com>
25907 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25909 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25910 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25911 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25912 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25914 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25917 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25919 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25920 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25921 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25922 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25923 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25925 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25927 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25928 sync_file_range.c with -fexceptions.
25929 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25930 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25931 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25932 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25933 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25934 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25936 sync_file_range as cancellation point
25937 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25938 now a wrapper around __call_sync_file_range with cancellation handling.
25939 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25940 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25941 function name to __call_sync_file_range.
25942 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25943 Add call_sync_file_range.
25945 2011-04-01 Andreas Schwab <schwab@redhat.com>
25947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25950 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25952 * iconv/iconv.h: Fix typo in comment.
25953 * io/fcntl.h: Likewise.
25954 * libio/stdio.h: Likewise.
25955 * posix/spawn.h: Likewise.
25956 * posix/unistd.h: Likewise.
25957 * stdlib/stdlib.h: Likewise.
25958 * time/time.h: Likewise.
25959 * wcsmbs/wchar.h: Likewise.
25961 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25962 open_by_handle): Add.
25963 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25964 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25965 Augment a few comments.
25966 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25967 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25968 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25969 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25970 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25971 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25974 * io/fcntl.h (AT_EMPTY_PATH): Define.
25976 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25978 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25979 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25980 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25982 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25983 * Versions.def: Add GLIBC_2.14.
25984 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25987 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25989 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25991 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25993 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25996 * string/test-strncmp.c (do_page_test): New function.
25997 (check2): Likewise.
25998 (test_main): Call check2.
25999 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26001 2011-03-20 Ulrich Drepper <drepper@gmail.com>
26004 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26005 Handle cache information in CPU leaf 4.
26006 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26008 2011-03-18 Ulrich Drepper <drepper@gmail.com>
26011 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26012 character representation.
26013 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26015 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26017 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26018 END(__isnan) to END(__isnanf) to match function entry point/label
26019 EALIGN(__isnanf,...).
26021 2011-03-10 Jakub Jelinek <jakub@redhat.com>
26023 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26025 2011-03-10 Ulrich Drepper <drepper@gmail.com>
26028 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26029 copy from the symbol referenced in the relocation to initialize the
26031 Patch by Piotr Bury <pbury@goahead.com>.
26032 * elf/Makefile: Add rules to build and tst-unique3.
26033 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26034 * elf/tst-unique3.cc: New file.
26035 * elf/tst-unique3.h: New file.
26036 * elf/tst-unique3lib.cc: New file.
26037 * elf/tst-unique3lib2.cc: New file.
26039 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26041 2011-03-10 Mike Frysinger <vapier@gentoo.org>
26043 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26044 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26047 2011-03-06 Ulrich Drepper <drepper@gmail.com>
26049 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26050 to-be-loaded object along a path to loader is ld.so.
26052 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26053 Ulrich Drepper <drepper@gmail.com>
26055 * sysdeps/x86_64/memset.S: After aligning destination, code
26056 branches to different locations depending on the value of
26057 misalignment, when multiarch is enabled. Fix this.
26059 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26061 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26062 Set _x86_64_preferred_memory_instruction for AMD processsors.
26063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26064 Set bit_Prefer_SSE_for_memop for AMD processors.
26066 2011-03-04 Ulrich Drepper <drepper@gmail.com>
26068 * libio/fmemopen.c (fmemopen): Optimize a bit.
26070 2011-03-03 Andreas Schwab <schwab@redhat.com>
26072 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26074 2011-03-03 Roland McGrath <roland@redhat.com>
26076 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26078 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26080 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26081 __bzero_ultra1 instead of __memset_ultra1.
26083 2011-02-23 Andreas Schwab <schwab@redhat.com>
26084 Ulrich Drepper <drepper@gmail.com>
26087 * include/link.h (struct link_map): Add l_orig_initfini.
26088 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26089 returning unsuccessfully.
26090 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26091 close of a file loaded at startup, restore the original l_initfini
26093 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26094 list, store the pointer.
26095 * elf/Makefile ($(objpfx)noload-mem): New rule.
26096 (noload-ENV): Define.
26097 (tests): Add $(objpfx)noload-mem.
26098 * elf/noload.c: Include <memcheck.h>.
26099 (main): Call mtrace. Close all opened handles.
26101 2011-02-17 Andreas Schwab <schwab@redhat.com>
26104 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26105 dependencies are missing.
26107 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26109 Fix __if_freereq crash: Unlike the generic version which uses free,
26111 * sysdeps/mach/hurd/ifreq.h: New file.
26113 2011-01-27 Petr Baudis <pasky@suse.cz>
26114 Ulrich Drepper <drepper@gmail.com>
26117 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26118 to extend_alloca().
26119 * stdio-common/bug23.c: New file.
26120 * stdio-common/Makefile (tests): Add bug23.
26122 2010-09-28 Andreas Schwab <schwab@redhat.com>
26123 Ulrich Drepper <drepper@gmail.com>
26126 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26127 before performing relro protection. At old place add assertion
26128 to make sure nothing changed.
26130 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26131 Glauber de Oliveira Costa <glommer@gmail.com>
26133 * elf/elf.h: Add new ARM TLS relocs.
26135 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26138 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26140 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26142 * sysdeps/wordsize-64/tst-writev.c: New file.
26144 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26146 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26147 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26148 insns in _dl_start to prevent a TOC reference before relocs are
26151 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26154 * Makeconfig: Remove RANLIB definition.
26155 * Makerules: Don't use RANLIB.
26156 * aclocal.m4: Remove ranlib test.
26157 * configure.in: No need to check for ranlib.
26158 * elf/rtld-Rules: Don't use RANLIB.
26160 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26162 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26164 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26165 inclusion protection macro.
26167 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26168 SIGRTMIN and SIGRTMAX and print information in that case only when
26169 SIGRTMIN is defined.
26171 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26173 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26174 arginfo fn returning -1.
26176 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26177 and thousands string is zero terminated.
26179 2011-02-03 Andreas Schwab <schwab@redhat.com>
26181 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26182 sysdeps/unix/sysv/linux/bits/socket.h.
26184 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26186 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26187 (__CPU_COUNT): Remove old macros.
26188 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26189 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26190 (__CPU_ALLOC, __CPU_FREE): Add macros.
26191 (__sched_cpualloc, __sched_cpufree): Add declarations.
26193 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26195 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26196 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26197 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26198 (readdhstai): Return value of addhstaiX call.
26199 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26200 (addgrbyX): Return value returned by cache_addgr.
26201 (readdgrbyname): Return value returned by addgrbyX.
26202 (readdgrbygid): Likewise.
26203 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26204 (addpwbyX): Return value returned by cache_addpw.
26205 (readdpwbyname): Return value returned by addhstbyX.
26206 (readdpwbyuid): Likewise.
26207 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26208 (addservbyX): Return value returned by cache_addserv.
26209 (readdservbyname): Return value returned by addservbyX:
26210 (readdservbyport): Likewise.
26211 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26212 (addhstbyX): Return value returned by cache_addhst.
26213 (readdhstbyname): Return value returned by addhstbyX.
26214 (readdhstbyaddr): Likewise.
26215 (readdhstbynamev6): Likewise.
26216 (readdhstbyaddrv6): Likewise.
26217 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26218 (readdinitgroups): Return value returned by addinitgroupsX.
26219 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26220 (prune_cache): Keep track of timeout value of re-added entries.
26221 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26222 * nscd/nscd.h: Adjust prototypes of readd* functions.
26224 2011-02-04 Roland McGrath <roland@redhat.com>
26226 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26227 (nis_stats): Likewise.
26228 * nis/nis_modify.c (nis_modify): Likewise.
26229 * nis/nis_remove.c (nis_remove): Likewise.
26230 * nis/nis_add.c (nis_add): Likewise.
26232 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26234 * posix/fnmatch_loop.c: Add some consts.
26236 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26238 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26241 * config.make.in (config-cflags-novzeroupper): Define.
26242 * configure.in: Substitute libc_cv_cc_novzeroupper.
26243 * elf/Makefile (AVX-CFLAGS): Define.
26244 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26245 (CFLAGS-tst-auditmod4a.c): Likewise.
26246 (CFLAGS-tst-auditmod4b.c): Likewise.
26247 (CFLAGS-tst-auditmod6b.c): Likewise.
26248 (CFLAGS-tst-auditmod6c.c): Likewise.
26249 (CFLAGS-tst-auditmod7b.c): Likewise.
26250 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26252 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26254 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26255 function to the callback.
26256 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26258 2011-02-02 Andreas Schwab <schwab@redhat.com>
26260 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26263 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26266 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26268 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26270 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26273 * elf/Makefile: Add rules to build and run new test.
26274 * elf/tst-initorder.c: New file.
26275 * elf/tst-initorder.exp: New file.
26276 * elf/tst-initordera1.c: New file.
26277 * elf/tst-initordera2.c: New file.
26278 * elf/tst-initordera3.c: New file.
26279 * elf/tst-initordera4.c: New file.
26280 * elf/tst-initorderb1.c: New file.
26281 * elf/tst-initorderb2.c: New file.
26282 * elf/tst-order-a1.c: New file.
26283 * elf/tst-order-a2.c: New file.
26284 * elf/tst-order-a3.c: New file.
26285 * elf/tst-order-a4.c: New file.
26286 * elf/tst-order-b1.c: New file.
26287 * elf/tst-order-b2.c: New file.
26288 * elf/tst-order-main.c: New file.
26289 New test case by George Gensure <werkt0@gmail.com>.
26291 2010-10-01 Andreas Schwab <schwab@redhat.com>
26293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26294 decoding ACE if AI_CANONIDN.
26296 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26298 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26300 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26302 * version.h (RELEASE): Bump for 2.13 release.
26303 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26305 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26307 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26309 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26310 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26311 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26312 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26313 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26314 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26316 * posix/getconf.c: Update copyright year.
26317 * catgets/gencat.c: Likewise.
26318 * csu/version.c: Likewise.
26319 * debug/catchsegv.sh: Likewise.
26320 * debug/xtrace.sh: Likewise.
26321 * elf/ldconfig.c: Likewise.
26322 * elf/ldd.bash.in: Likewise.
26323 * elf/sprof.c (print_version): Likewise.
26324 * iconv/iconv_prog.c: Likewise.
26325 * iconv/iconvconfig.c: Likewise.
26326 * locale/programs/locale.c: Likewise.
26327 * locale/programs/localedef.c: Likewise.
26328 * malloc/memusage.sh: Likewise.
26329 * malloc/mtrace.pl: Likewise.
26330 * nscd/nscd.c (print_version): Likewise.
26331 * nss/getent.c: Likewise.
26333 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26334 PF_CAIF, and PF_ALG.
26335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26337 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26339 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26340 (modules-names): Use them.
26341 (ifunc-test-modules, ifunc-pie-tests): Define.
26342 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26343 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26344 (test-extras): Likewise.
26345 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26346 $(compile-command.c).
26347 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26348 (all-built-dso): Define.
26349 (check-textrel.out, check-execstack.out): Depend on it.
26351 * configure.in: Don't override --enable-multi-arch.
26353 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26356 * nscd/hstcache.c (tryagain): Define.
26357 (cache_addhst): Return tryagain not notfound for temporary errors.
26358 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26361 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26364 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26365 to make the syscall.
26366 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26369 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26370 and fall back to matching as normal character if the string ends before
26371 the matching ']' is found. This is what POSIX requires.
26372 * posix/testfnm.c: Adjust test result.
26373 * posix/globtest.sh: Adjust test result. Add new test.
26374 * posix/tst-fnmatch.input: Likewise.
26375 * posix/tst-fnmatch2.c: Add new test.
26377 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26379 * elf/Makefile (check-execstack): Revert last change. Depend on
26381 (check-execstack.h): New target.
26382 (generated): Add check-execstack.h.
26383 * elf/check-execstack.c: Include "check-execstack.h".
26384 (main): Revert last change.
26385 (handle_file): Return zero if GNU_STACK is absent and
26386 DEFAULT_STACK_PERMS doesn't include PF_X.
26388 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26390 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26391 in child fails because the descriptor is already closed.
26392 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26393 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26394 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26397 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26401 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26402 temporary buffer used to handle multi lookups locally.
26403 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26405 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26407 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26410 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26412 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26413 alignment for SSE2.
26415 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26418 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26419 characters. When rounding increased number of integer digits recompute
26421 * stdio-common/tst-grouping.c: New file.
26422 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26424 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26426 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26427 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26429 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26431 * bits/select.h: Likewise.
26433 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26435 * po/ja.po: Update from translation team.
26437 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26440 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26441 implementation just like for lxstat, fxstatat, et al.
26443 2010-12-27 Jim Meyering <meyering@redhat.com>
26446 * posix/regexec.c (build_trtable): Return failure indication upon
26447 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26449 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26452 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26453 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26454 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26455 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26458 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26461 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26462 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26464 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26466 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26467 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26468 script has SORT_BY_INIT_PRIORITY.
26469 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26470 NO_CTORS_DTORS_SECTIONS is defined.
26471 * elf/soinit.c: Likewise.
26472 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26473 NO_CTORS_DTORS_SECTIONS is defined.
26474 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26475 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26476 * sysdeps/sh/init-first.c: Likewise.
26477 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26479 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26481 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26482 always use the slow path.
26484 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26486 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26487 similar rule which adds the sysdep directories to the header search in
26488 order to pick up the correct platform stackinfo.h.
26489 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26490 perform test if it is, otherwise return successfully without testing.
26491 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26492 DEFAULT_STACK_PERMS define in stackinfo.h.
26493 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26494 defined in stackinfo.h.
26495 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26496 DEFAULT_STACK_PERMS defined in stackinfo.h.
26497 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26498 * sysdeps/ia64/stackinfo.h: Likewise.
26499 * sysdeps/s390/stackinfo.h: Likewise.
26500 * sysdeps/sh/stackinfo.h: Likewise.
26501 * sysdeps/sparc/stackinfo.h: Likewise.
26502 * sysdeps/x86_64/stackinfo.h: Likewise.
26503 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26504 PF_X for powerpc64. Retain PF_X for powerpc32.
26506 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26508 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26510 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26511 GETDENTS_64BIT_ALIGNED.
26513 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26515 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26517 2010-12-10 Andreas Schwab <schwab@redhat.com>
26519 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26522 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26523 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26525 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26526 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26528 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26531 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26534 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26536 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26538 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26540 * po/it.po: Update from translation team.
26542 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26544 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26547 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26549 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26551 2010-11-24 Andreas Schwab <schwab@redhat.com>
26553 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26555 (gaih_getanswer_slice): Likewise.
26557 2010-10-20 Jakub Jelinek <jakub@redhat.com>
26559 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26561 2010-05-31 Petr Baudis <pasky@suse.cz>
26564 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26565 silently even in the chroot mode.
26567 2010-11-22 Ulrich Drepper <drepper@gmail.com>
26569 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26570 last patch a bit. Pretty printing
26572 2010-05-31 Petr Baudis <pasky@suse.cz>
26575 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26576 initialization of skip_initgroups_dyn.
26578 2010-11-19 Ulrich Drepper <drepper@gmail.com>
26580 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26581 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26583 2010-11-16 Ulrich Drepper <drepper@gmail.com>
26585 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26587 2010-11-11 Andreas Schwab <schwab@redhat.com>
26589 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26590 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26591 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26592 ($(objpfx)tst-fnmatch-mem): New rule.
26593 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26594 * posix/tst-fnmatch.c (main): Call mtrace.
26596 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26599 Support Intel processor model 6 and model 0x2c.
26601 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
26603 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26606 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26609 * string/test-strncasecmp.c (check_result): New function.
26610 (do_one_test): Use it.
26611 (check1): New function.
26612 (test_main): Use it.
26613 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26614 Support strcasecmp and strncasecmp.
26616 2010-11-08 Ulrich Drepper <drepper@gmail.com>
26619 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26620 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26622 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26624 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26628 * sysdeps/x86_64/multiarch/bzero.S: New file.
26629 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26630 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26631 * sysdeps/x86_64/multiarch/memset.S: New file.
26632 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26634 Set bit_Prefer_SSE_for_memop for Intel processors.
26635 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26637 (index_Prefer_SSE_for_memop): Define.
26638 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26640 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
26642 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26643 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26645 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26648 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26649 (__x86_64_raw_data_cache_size_half): Likewise.
26650 (__x86_64_raw_shared_cache_size): Likewise.
26651 (__x86_64_raw_shared_cache_size_half): Likewise.
26653 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26654 (__x86_64_raw_data_cache_size_half): Likewise.
26655 (__x86_64_raw_shared_cache_size): Likewise.
26656 (__x86_64_raw_shared_cache_size_half): Likewise.
26657 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26658 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26659 and __x86_64_raw_shared_cache_size_half. Round
26660 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26661 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26662 to multiple of 256 bytes.
26664 2010-11-03 Ulrich Drepper <drepper@gmail.com>
26667 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26668 of inacessible symlinks. Verify result of symlink before returning it.
26669 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26670 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26672 2010-10-28 Erich Ritz <erichritz@gmail.com>
26674 * math/math.h (isinf): Fix typo in comment.
26676 2010-11-01 Ulrich Drepper <drepper@gmail.com>
26678 * po/da.po: Update from translation team.
26680 2010-10-26 Ulrich Drepper <drepper@gmail.com>
26682 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26683 is added to the list.
26685 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26686 Ulrich Drepper <drepper@gmail.com>
26688 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26689 the global list here. Move code to...
26690 (_dl_add_to_namespace_list): ...here. New function.
26691 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26692 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26693 * elf/dl-load.c (lose): Don't remove the element from the list.
26694 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26695 (_dl_map_object): Likewise.
26697 2010-10-25 Ulrich Drepper <drepper@gmail.com>
26700 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26701 into all bytes of SSE register.
26702 Patch by Richard Li <richardpku@gmail.com>.
26704 2010-10-24 Ulrich Drepper <drepper@gmail.com>
26707 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26710 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26712 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26713 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26714 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26715 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26720 2010-10-22 Andreas Schwab <schwab@redhat.com>
26722 * include/dlfcn.h (__RTLD_SECURE): Define.
26723 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26724 mode & __RTLD_SECURE instead.
26725 (open_path): Rename preloaded parameter to secure.
26726 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26727 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26728 * elf/dl-deps.c (openaux): Likewise.
26729 * elf/rtld.c (struct map_args): Remove is_preloaded.
26730 (map_doit): Don't use it.
26731 (dl_main): Likewise.
26732 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26733 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26735 2010-09-09 Andreas Schwab <schwab@redhat.com>
26737 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26738 (sysd-rules-targets): Remove duplicates.
26739 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26740 rtld-%.$o dependency.
26742 2010-10-18 Andreas Schwab <schwab@redhat.com>
26744 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26745 _dl_map_object do it.
26747 2010-10-19 Ulrich Drepper <drepper@gmail.com>
26749 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26750 fast fma builtins, define the macros in the C99 standard.
26751 (FP_FAST_FMAF): Likewise.
26752 (FP_FAST_FMAL): Likewise.
26753 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26755 * bits/mathdef.h: Update copyright year.
26756 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26758 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26760 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26761 builtins, define the macros in the C99 standard.
26762 (FP_FAST_FMAF): Likewise.
26763 (FP_FAST_FMAL): Likewise.
26764 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26766 (FP_FAST_FMAF): Likewise.
26768 2010-10-15 Jakub Jelinek <jakub@redhat.com>
26771 * math/libm-test.inc (fma_test): Some new testcases.
26772 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26773 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26774 y and infinite z. Do multiplication by C already in long double.
26775 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26777 y and infinite z. Do bitwise or of inexact bit into u.d.
26778 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26779 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26780 * sysdeps/i386/fpu/s_fma.S: Removed.
26781 * sysdeps/i386/fpu/s_fmal.S: Removed.
26783 2010-10-16 Jakub Jelinek <jakub@redhat.com>
26786 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26787 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26788 computation is not scheduled after fetestexcept. Fix value
26789 of minimum denormal long double.
26791 2010-10-14 Jakub Jelinek <jakub@redhat.com>
26794 * math/libm-test.inc (fma_test): Add some more tests.
26795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26798 2010-10-15 Andreas Schwab <schwab@redhat.com>
26800 * scripts/data/localplt-s390-linux-gnu.data: New file.
26801 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26803 2010-10-13 Jakub Jelinek <jakub@redhat.com>
26806 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26807 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26809 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26811 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26812 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26813 if one of x and y is very large and the other is subnormal.
26814 * sysdeps/s390/fpu/s_fmaf.c: New file.
26815 * sysdeps/s390/fpu/s_fma.c: New file.
26816 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26817 * sysdeps/powerpc/fpu/s_fma.S: New file.
26818 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26819 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26820 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26822 2010-10-12 Jakub Jelinek <jakub@redhat.com>
26825 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26827 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26828 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26829 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26830 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26831 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26832 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26833 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26835 2010-10-12 Ulrich Drepper <drepper@redhat.com>
26838 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26839 * posix/bug-regex31.input: Add test case.
26841 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26843 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26844 * posix/bug-regex31.input: New file.
26847 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26848 (parse_sub_exp): Fix last change, use postorder.
26850 * posix/bug-regex31.c: New file.
26851 * posix/Makefile: Add rules to build and run bug-regex31.
26853 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26856 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26859 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26860 to have entries in sys_siglist.
26863 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26866 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26869 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26870 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26871 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26872 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26873 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26874 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26875 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26876 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26877 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26878 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26879 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26880 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26881 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26882 * math/ftestexcept.c (fetestexcept): Likewise.
26883 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26884 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26885 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26886 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26887 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26888 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26889 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26891 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26894 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26897 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26899 * string/bug-strstr1.c: New file.
26900 * string/Makefile: Add rules to build and run bug-strstr1.
26902 2010-10-05 Eric Blake <eblake@redhat.com>
26905 * string/str-two-way.h (two_way_long_needle): Always clear memory
26906 when skipping input due to the shift table.
26908 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26911 * malloc/mcheck.c: Handle large requests.
26914 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26915 for strncmp and strncasecmp.
26916 * string/stratcliff.c: Add tests for strcmp and strncmp.
26917 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26919 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26921 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26924 2010-09-30 Andreas Jaeger <aj@suse.de>
26926 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26927 (CGROUP_SUPER_MAGIC): Define.
26928 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26929 Handle btrfs and cgroup file systems.
26930 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26933 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26935 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26936 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26938 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26941 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26942 trying to locate the ELF header.
26944 2010-09-27 Andreas Schwab <schwab@redhat.com>
26947 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26948 Mask out sign-bit copies when constructing f_fsid.
26950 2010-09-24 Petr Baudis <pasky@suse.cz>
26952 * debug/stack_chk_fail_local.c: Add missing licence exception.
26953 * debug/warning-nop.c: Likewise.
26955 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26957 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26958 implementing getdents64 using getdents syscall, set d_type if
26959 __ASSUME_GETDENTS32_D_TYPE.
26961 2010-09-16 Andreas Schwab <schwab@redhat.com>
26963 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26964 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26966 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26969 * posix/unistd.h: Undo change of feature selection for ftruncate from
26972 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26974 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26977 2010-09-20 Andreas Schwab <schwab@redhat.com>
26979 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26981 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26983 2010-09-14 Andreas Schwab <schwab@redhat.com>
26985 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26986 variables after CHECK_SP call.
26987 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26989 2010-09-13 Andreas Schwab <schwab@redhat.com>
26990 Ulrich Drepper <drepper@redhat.com>
26992 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26993 re-relocationg ld.so.
26994 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26995 _dl_init_paths call.
26996 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26999 2010-09-14 Ulrich Drepper <drepper@redhat.com>
27001 * resolv/res_init.c (__res_vinit): Count the default server we added.
27003 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27004 Ulrich Drepper <drepper@redhat.com>
27007 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27008 (____longjmp_chk): Use %ebx for saving value across system call.
27011 2010-09-06 Andreas Schwab <schwab@redhat.com>
27013 * manual/Makefile: Don't mix pattern rules with normal rules.
27015 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27017 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27019 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27020 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27021 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27022 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27023 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27026 2010-09-04 Ulrich Drepper <drepper@redhat.com>
27029 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27030 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27032 2010-09-02 Ulrich Drepper <drepper@redhat.com>
27034 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27035 * sysdeps/x86_64/addmul_1.S: Likewise.
27036 * sysdeps/x86_64/lshift.S: Likewise.
27037 * sysdeps/x86_64/mul_1.S: Likewise.
27038 * sysdeps/x86_64/rshift.S: Likewise.
27039 * sysdeps/x86_64/sub_n.S: Likewise.
27040 * sysdeps/x86_64/submul_1.S: Likewise.
27042 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27044 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27045 Define __sched_param instead of SCHED_* and sched_param when
27046 <bits/sched.h> is included with __need_schedparam defined.
27047 * bits/sched.h [__need_schedparam]
27048 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27049 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27050 (__defined_schedparam): Define to 1.
27051 (__sched_param): New structure, identical to sched_param.
27052 (__need_schedparam): Undefine.
27054 2010-08-31 Mike Frysinger <vapier@gentoo.org>
27056 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27057 (epoll_create1): Declare.
27059 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27061 2010-08-31 Andreas Schwab <schwab@redhat.com>
27064 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27065 shifting retval into place.
27067 2010-09-01 Ulrich Drepper <drepper@redhat.com>
27069 * nis/rpcsvc/nis.h: Update copyright notice.
27070 * nis/rpcsvc/nis.x: Likewise.
27071 * nis/rpcsvc/nis_callback.h: Likewise.
27072 * nis/rpcsvc/nis_callback.x: Likewise.
27073 * nis/rpcsvc/nis_object.x: Likewise.
27074 * nis/rpcsvc/nis_tags.h: Likewise.
27075 * nis/rpcsvc/yp.h: Likewise.
27076 * nis/rpcsvc/yp.x: Likewise.
27077 * nis/rpcsvc/ypupd.h: Likewise.
27078 * nis/yp_xdr.c: Likewise.
27079 * nis/ypupdate_xdr.c: Likewise.
27081 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27082 mainly the body of pmap_getport. Add parameters to specify timeouts.
27083 (pmap_getport): Use __libc_rpc_getport.
27084 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27085 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27086 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27088 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27093 2010-08-27 Roland McGrath <roland@redhat.com>
27095 * sysdeps/i386/i686/multiarch/Makefile
27096 (CFLAGS-varshift.c): New variable.
27098 2010-08-27 Ulrich Drepper <drepper@redhat.com>
27100 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27101 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27103 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27105 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27107 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27109 * sysdeps/x86_64/strlen.S: Unroll the loop.
27110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27111 strlen-sse2 strlen-sse2-bsf.
27112 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27113 __strlen_no_bsf if bit_Slow_BSF is set.
27114 (__strlen_sse42): Removed.
27115 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27116 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27118 2010-08-25 Roland McGrath <roland@redhat.com>
27120 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27121 * sysdeps/x86_64/multiarch/varshift.c: New file.
27122 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27123 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27124 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27125 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27127 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27130 strlen-sse2 strlen-sse2-bsf.
27131 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27132 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27133 (__strlen_sse2): Removed.
27134 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27135 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27137 bit_Slow_BSF for Atom.
27138 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27139 (index_Slow_BSF): Define.
27140 (HAS_SLOW_BSF): Define.
27142 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27145 * resolv/res_init.c (__res_vinit): When no server address at all
27146 is given default to loopback.
27148 2010-08-24 Roland McGrath <roland@redhat.com>
27150 * configure.in: Remove config-name.h generation.
27151 * configure: Regenerated.
27152 * config-name.in: File removed.
27153 * scripts/config-uname.sh: New file.
27154 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27155 ($(objdir)config-name.h): New target.
27157 * sunrpc/rpc_parse.h: Avoid nested comment.
27159 2010-08-24 Richard Henderson <rth@redhat.com>
27160 Ulrich Drepper <drepper@redhat.com>
27161 H.J. Lu <hongjiu.lu@intel.com>
27163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27165 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27166 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27167 _mm_alignr_epi8 with _mm_loadu_si128.
27168 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27169 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27170 (__m128i_shift_right): Removed.
27171 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27172 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27173 * sysdeps/x86_64/multiarch/varshift.h: New file.
27174 * sysdeps/x86_64/multiarch/varshift.S: New file.
27176 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27178 * configure.in: Move assembler checks to before sysdep dir checking.
27180 2010-08-20 Petr Baudis <pasky@suse.cz>
27182 * LICENSES: Sync the sunrpc license.
27184 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27186 * sunrpc/auth_des.c: Update copyright notice once again.
27187 * sunrpc/auth_none.c: Likewise.
27188 * sunrpc/auth_unix.c: Likewise.
27189 * sunrpc/authdes_prot.c: Likewise.
27190 * sunrpc/authuxprot.c: Likewise.
27191 * sunrpc/bindrsvprt.c: Likewise.
27192 * sunrpc/clnt_gen.c: Likewise.
27193 * sunrpc/clnt_perr.c: Likewise.
27194 * sunrpc/clnt_raw.c: Likewise.
27195 * sunrpc/clnt_simp.c: Likewise.
27196 * sunrpc/clnt_tcp.c: Likewise.
27197 * sunrpc/clnt_udp.c: Likewise.
27198 * sunrpc/clnt_unix.c: Likewise.
27199 * sunrpc/des_crypt.c: Likewise.
27200 * sunrpc/des_soft.c: Likewise.
27201 * sunrpc/get_myaddr.c: Likewise.
27202 * sunrpc/getrpcport.c: Likewise.
27203 * sunrpc/key_call.c: Likewise.
27204 * sunrpc/key_prot.c: Likewise.
27205 * sunrpc/openchild.c: Likewise.
27206 * sunrpc/pm_getmaps.c: Likewise.
27207 * sunrpc/pm_getport.c: Likewise.
27208 * sunrpc/pmap_clnt.c: Likewise.
27209 * sunrpc/pmap_prot.c: Likewise.
27210 * sunrpc/pmap_prot2.c: Likewise.
27211 * sunrpc/pmap_rmt.c: Likewise.
27212 * sunrpc/rpc/auth.h: Likewise.
27213 * sunrpc/rpc/auth_unix.h: Likewise.
27214 * sunrpc/rpc/clnt.h: Likewise.
27215 * sunrpc/rpc/des_crypt.h: Likewise.
27216 * sunrpc/rpc/key_prot.h: Likewise.
27217 * sunrpc/rpc/netdb.h: Likewise.
27218 * sunrpc/rpc/pmap_clnt.h: Likewise.
27219 * sunrpc/rpc/pmap_prot.h: Likewise.
27220 * sunrpc/rpc/pmap_rmt.h: Likewise.
27221 * sunrpc/rpc/rpc.h: Likewise.
27222 * sunrpc/rpc/rpc_des.h: Likewise.
27223 * sunrpc/rpc/rpc_msg.h: Likewise.
27224 * sunrpc/rpc/svc.h: Likewise.
27225 * sunrpc/rpc/svc_auth.h: Likewise.
27226 * sunrpc/rpc/types.h: Likewise.
27227 * sunrpc/rpc/xdr.h: Likewise.
27228 * sunrpc/rpc_clntout.c: Likewise.
27229 * sunrpc/rpc_cmsg.c: Likewise.
27230 * sunrpc/rpc_common.c: Likewise.
27231 * sunrpc/rpc_cout.c: Likewise.
27232 * sunrpc/rpc_dtable.c: Likewise.
27233 * sunrpc/rpc_hout.c: Likewise.
27234 * sunrpc/rpc_main.c: Likewise.
27235 * sunrpc/rpc_parse.c: Likewise.
27236 * sunrpc/rpc_parse.h: Likewise.
27237 * sunrpc/rpc_prot.c: Likewise.
27238 * sunrpc/rpc_sample.c: Likewise.
27239 * sunrpc/rpc_scan.c: Likewise.
27240 * sunrpc/rpc_scan.h: Likewise.
27241 * sunrpc/rpc_svcout.c: Likewise.
27242 * sunrpc/rpc_tblout.c: Likewise.
27243 * sunrpc/rpc_util.c: Likewise.
27244 * sunrpc/rpc_util.h: Likewise.
27245 * sunrpc/rpcinfo.c: Likewise.
27246 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27247 * sunrpc/rpcsvc/key_prot.x: Likewise.
27248 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27249 * sunrpc/rpcsvc/mount.x: Likewise.
27250 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27251 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27252 * sunrpc/rpcsvc/rex.x: Likewise.
27253 * sunrpc/rpcsvc/rstat.x: Likewise.
27254 * sunrpc/rpcsvc/rusers.x: Likewise.
27255 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27256 * sunrpc/rpcsvc/spray.x: Likewise.
27257 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27258 * sunrpc/rtime.c: Likewise.
27259 * sunrpc/svc.c: Likewise.
27260 * sunrpc/svc_auth.c: Likewise.
27261 * sunrpc/svc_authux.c: Likewise.
27262 * sunrpc/svc_raw.c: Likewise.
27263 * sunrpc/svc_run.c: Likewise.
27264 * sunrpc/svc_simple.c: Likewise.
27265 * sunrpc/svc_tcp.c: Likewise.
27266 * sunrpc/svc_udp.c: Likewise.
27267 * sunrpc/svc_unix.c: Likewise.
27268 * sunrpc/svcauth_des.c: Likewise.
27269 * sunrpc/xcrypt.c: Likewise.
27270 * sunrpc/xdr.c: Likewise.
27271 * sunrpc/xdr_array.c: Likewise.
27272 * sunrpc/xdr_float.c: Likewise.
27273 * sunrpc/xdr_mem.c: Likewise.
27274 * sunrpc/xdr_rec.c: Likewise.
27275 * sunrpc/xdr_ref.c: Likewise.
27276 * sunrpc/xdr_sizeof.c: Likewise.
27277 * sunrpc/xdr_stdio.c: Likewise.
27279 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27282 2010-08-19 Andreas Schwab <schwab@redhat.com>
27284 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27286 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27288 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27289 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27290 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27291 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27292 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27293 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27294 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27295 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27296 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27297 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27298 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27299 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27300 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27301 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27303 2010-07-26 Anton Blanchard <anton@samba.org>
27305 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27306 * malloc/arena.c (heap_trim): Likewise.
27308 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27310 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27312 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27313 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27315 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27317 * sysdeps/i386/elf/Makefile: New file.
27319 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27321 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27322 from fanotify_init.
27323 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27324 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27326 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27328 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27330 * sysdeps/multiarch/strcmp.S: Likewise.
27332 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27334 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27335 strncase_l-nonascii.
27336 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27337 Add strncase_l-ssse3.
27338 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27339 * sysdeps/x86_64/strcmp.S: Likewise.
27340 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27341 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27342 * sysdeps/x86_64/strncase.S: New file.
27343 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27344 * sysdeps/x86_64/strncase_l.S: New file.
27345 * string/Makefile (strop-tests): Add strncasecmp.
27346 * string/test-strncasecmp.c: New file.
27348 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27351 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27352 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27354 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27356 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27358 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27360 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27361 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27362 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27364 2010-05-01 Alan Modra <amodra@gmail.com>
27366 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27367 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27368 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27369 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27370 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27371 tidying. Don't tail-call __sigjmp_save for static lib.
27372 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27374 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27375 (CALL_MCOUNT): Add eh info, and nop after bl.
27376 (TAIL_CALL_SYSCALL_ERROR): New macro.
27377 (PSEUDO_RET): Use it.
27378 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27379 Correct save location of integer regs and cr.
27380 (_dl_profile_resolve): Correct cr save location. Delete nops
27381 after bl when SHARED. Reduce cfi size a little by better
27382 placement of cfi directives.
27383 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27384 make a stack frame. Instead use parm save area as a temp.
27385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27386 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27388 Don't make a stack frame for parent, use parm save area.
27389 Increase child stack frame to 112 bytes. Don't save unused reg,
27390 and adjust reg usage. Set up cfi on error recovery and
27391 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27393 (__makecontext): Add dummy nop after jump to exit.
27394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27395 Use correct parm save area and cr save, reduce stack frame.
27396 Correct cfi for possible PSEUDO_RET frame setup.
27397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27398 Branch to local label emitted by PSEUDO_RET rather than
27401 2010-08-12 Andreas Schwab <schwab@redhat.com>
27404 * locale/programs/locale.c (print_assignment): New function.
27405 (show_locale_vars): Use it.
27407 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27409 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27411 (struct statfs64): Likewise.
27412 (_STATFS_F_FLAGS): Define.
27413 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27414 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27415 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27416 (ST_VALID): Define locally.
27417 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27418 __statvfs_getflags, use the provided value.
27419 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27420 __ASSUME_STATFS_F_FLAGS.
27422 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27424 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27425 Add sys/fanotify.h.
27426 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27427 fanotify_mask for GLIBC_2.13.
27428 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27429 fanotify_init and fanotify_mark.
27430 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27431 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27433 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27435 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27436 prlimit64 for GLIBC_2.13.
27437 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27439 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27442 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27443 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27444 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27445 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27447 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27450 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27451 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27453 * nss/Makefile: Add rules to build and run tst-nss-test1.
27454 * shlib-versions: Add entry for libnss_test1.
27455 * nss/nss_test1.c: New file.
27456 * nss/tst-nss-test1.c: New file.
27458 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27459 (__nss_configure_lookup): Set appropriate entry in
27460 __nss_configure_lookup to true.
27461 * nss/nsswitch.h: Define enum with indeces of databases in
27462 databases and __nss_database_custom arrays. Declare
27463 __nss_database_custom.
27464 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27465 to avoid using nscd when custom rules are installed.
27466 * nss/getXXbyYY_r.c: Likewise.
27467 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27469 * nss/nss_files/files-parse.c: Whitespace fixes.
27471 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27474 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27475 * posix/fnmatch_loop.c: Likewise.
27477 2010-07-17 Andi Kleen <ak@linux.intel.com>
27479 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27480 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27481 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27482 * Versions.def [GLIBC_2.13]: Add.
27484 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27486 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27487 Also fail if tpwd after pwuid call is NULL.
27489 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27491 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27492 when converting to ms.
27494 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27496 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27497 EOPNOTSUPP errors with ENOTTY.
27498 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27499 EOPNOTSUPP errors with ENOTTY.
27501 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27503 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27504 Add strcasecmp_l-ssse3.
27505 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27507 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27508 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27509 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27511 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27513 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27515 * string/Makefile (strop-tests): Add strcasecmp.
27516 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27517 strcasecmp_l-nonascii.
27518 (gen-as-const-headers): Add locale-defines.sym.
27519 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27520 * sysdeps/x86_64/strcasecmp.S: New file.
27521 * sysdeps/x86_64/strcasecmp_l.S: New file.
27522 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27523 * sysdeps/x86_64/locale-defines.sym: New file.
27524 * string/test-strcasecmp.c: New file.
27526 * string/test-strcasestr.c: Test both ends of the range of characters.
27527 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27529 2010-07-29 Roland McGrath <roland@redhat.com>
27532 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27534 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27536 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27539 2010-07-27 Andreas Schwab <schwab@redhat.com>
27541 * manual/memory.texi (Malloc Tunable Parameters): Document
27544 2010-07-26 Roland McGrath <roland@redhat.com>
27547 * configure.in (-fgnu89-inline check): Set and substitute
27548 gnu89_inline, not libc_cv_gnu89_inline.
27549 * configure: Regenerated.
27550 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27552 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27554 * string/test-strnlen.c: New file.
27555 * string/Makefile (strop-tests): Add strnlen.
27556 * string/tester.c (test_strnlen): Add a few more test cases.
27557 * string/tst-strlen.c: Better error reporting.
27559 * sysdeps/x86_64/strnlen.S: New file.
27561 2010-07-24 Ulrich Drepper <drepper@redhat.com>
27563 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27564 lower-latency instructions.
27566 2010-07-23 Ulrich Drepper <drepper@redhat.com>
27568 * string/test-strcasestr.c: New file.
27569 * string/test-strstr.c: New file.
27570 * string/Makefile (strop-tests): Add strstr and strcasestr.
27571 * string/str-two-way.h: Don't undefine MAX.
27572 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27574 2010-07-21 Andreas Schwab <schwab@redhat.com>
27576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27577 strcasestr-nonascii.
27578 (CFLAGS-strcasestr-nonascii.c): Define.
27579 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27580 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27581 Remove unused attribute.
27583 2010-07-20 Roland McGrath <roland@redhat.com>
27585 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27586 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27587 ld.so.cache was broken. With it, there is no way to disable dsocaps
27588 like LD_HWCAP_MASK can disable hwcaps.
27590 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27592 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27594 2010-07-16 Ulrich Drepper <drepper@redhat.com>
27596 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27597 call in strcasestr.
27598 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27599 __strcasestr_sse42_nonascii.
27600 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27601 strcasestr-nonascii.c.
27602 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27604 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
27606 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27607 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27608 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27609 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27611 2010-07-09 Ulrich Drepper <drepper@redhat.com>
27613 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27616 2010-07-06 Andreas Schwab <schwab@redhat.com>
27619 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27622 2010-07-06 Ulrich Drepper <drepper@redhat.com>
27624 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27625 _PC_PIPE_BUF using F_GETPIPE_SZ.
27627 2010-07-05 Roland McGrath <roland@redhat.com>
27629 * manual/arith.texi (Rounding Functions): Fix rint description
27630 implicit in round description.
27632 2010-07-02 Ulrich Drepper <drepper@redhat.com>
27634 * elf/Makefile: Fix linking for a few tests to make recent linker
27637 2010-06-30 Andreas Schwab <schwab@redhat.com>
27639 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27640 $(common-objpfx)libc_nonshared.a.
27642 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
27644 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27645 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27646 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27647 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27648 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27649 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27650 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27651 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27666 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27667 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27668 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27669 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27670 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27671 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27672 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27673 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27674 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27675 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27676 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27677 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27693 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27695 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27696 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27697 * string/memmove.c (memmove): Renamed to ...
27698 (MEMMOVE): ...this. Default to memmove.
27699 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27700 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27703 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27704 mempcpy-ssse3-back memmove-ssse3-back.
27705 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27706 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27707 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27708 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27709 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27710 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27711 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27712 * sysdeps/x86_64/multiarch/memmove.c: New file.
27713 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27714 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27715 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27716 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27717 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27718 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27720 (index_Fast_Copy_Backward): Define.
27721 (HAS_ARCH_FEATURE): Define.
27722 (HAS_FAST_REP_STRING): Define.
27723 (HAS_FAST_COPY_BACKWARD): Define.
27725 2010-06-21 Andreas Schwab <schwab@redhat.com>
27727 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27728 Restore proper fallback handling.
27730 2010-06-19 Ulrich Drepper <drepper@redhat.com>
27733 * posix/group_member.c (__group_member): Correct checking loop.
27735 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27736 OOM in getpwuid_r correctly. Return error number when the caller
27737 should return, otherwise -1.
27738 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27739 call returning > 0 value.
27740 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27742 2010-06-07 Andreas Schwab <schwab@redhat.com>
27744 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27745 libc_nonshared.a from targets in modules-names.
27747 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27749 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27752 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
27754 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27755 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27756 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27757 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27759 2010-06-02 Andreas Schwab <schwab@redhat.com>
27761 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27763 2010-06-14 Ulrich Drepper <drepper@redhat.com>
27765 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27767 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27768 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27769 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27770 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27771 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27772 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27774 2010-06-14 Roland McGrath <roland@redhat.com>
27776 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27778 2010-06-07 Jakub Jelinek <jakub@redhat.com>
27780 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27781 __REDIRECT followed by __THROW.
27782 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27783 * posix/getopt.h (getopt): Likewise.
27785 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27787 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27788 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27789 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27791 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27792 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27794 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
27796 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27798 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27802 Properly check family and model.
27804 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27806 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27808 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
27810 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27812 2010-05-21 Ulrich Drepper <drepper@redhat.com>
27814 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27817 2010-05-19 Andreas Schwab <schwab@redhat.com>
27819 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27822 2010-05-21 Andreas Schwab <schwab@redhat.com>
27824 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27825 and internal_recvmmsg.
27826 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27827 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27828 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27829 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27831 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27832 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27833 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27835 2010-05-20 Andreas Schwab <schwab@redhat.com>
27837 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27839 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
27841 POWER7 optimizations.
27842 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27843 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27845 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27847 * version.h: Update for 2.13 development version.
27849 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27851 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27852 exceptions. Return 0.
27854 2010-05-07 Roland McGrath <roland@redhat.com>
27856 * elf/ldconfig.c (main): Add a const.
27858 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27860 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27861 (args_options): Add no-idn option.
27862 (ahosts_keys_int): Add idn_flags to ai_flags.
27863 (parse_option): Handle 'i' option to clear idn_flags.
27865 * malloc/malloc.c (_int_free): Possible race in the most recently
27866 added check. Only act on the data if no current modification
27869 See ChangeLog.17 for earlier changes.