1 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * benchtests/Makefile (bench): Write all output to
4 bench-out.tmp together.
6 2013-04-15 Andreas Schwab <schwab@suse.de>
8 * nscd/nscd.c (main): Don't fork again after closing files.
10 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14 * benchtests/Rules (bench-deps): Collect dependencies into a
15 single variable. Add Makefile to dependencies.
16 ($(objpfx)bench-%.c): Depend on bench-deps.
18 2013-04-12 Roland McGrath <roland@hack.frob.com>
19 Xavier Roche <roche+kml2@exalead.com>
22 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23 just that it's a file descriptor.
24 * manual/llio.texi (Synchronizing AIO Operations): Update description
25 for EBADF error from aio_fsync.
27 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29 * Rules (bench): Move target definition...
30 * benchtests/Makefile: ... here.
32 2013-04-11 Carlos O'Donell <carlos@redhat.com>
34 * math/libm-test.inc (cos_test): Fix PI/2 test.
35 (sincos_test): Likewise.
36 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
39 2013-04-11 Andreas Schwab <schwab@suse.de>
42 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
43 accept exponent character only when digits were seen.
44 * stdio-common/Makefile (tests): Add bug26.
45 * stdio-common/bug26.c: New file.
48 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
51 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53 * Makeconfig (rtld-prefix): Define built linker prefix.
54 * Rules (run-bench): Use it.
55 * math/Makefile (run-regen-ulps): Likewise.
57 * Rules (bench): Remove eval.
59 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
60 Roland McGrath <roland@hack.frob.com>
61 Ondrej Bilka <neleai@seznam.cz>
64 * time/getdate.c: Include ctype.h and alloca.h.
65 (__getdate_r): Trim leading and trailing spaces of input.
66 * time/tst-getdate.c (tests): Add tests with leading and
69 2013-04-08 Roland McGrath <roland@hack.frob.com>
72 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
75 2013-04-06 Carlos O'Donell <carlos@redhat.com>
77 * math/README.libm-test (How can I generate "libm-test-ulps"?):
78 Use testrun.sh to run libm tests.
81 * elf/dl-open.c (dl_open_worker): memset all of seen array.
83 2013-04-06 Marko Myllynen <myllynen@redhat.com>
86 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
88 2013-04-06 Carlos O'Donell <carlos@redhat.com>
90 * Makefile.in (regen-ulps): New target.
91 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
92 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
93 [ifneq (no,$(PERL)] (regen-ulps): New target.
94 [ifeq (no,$(PERL)] (regen-ulps): New target.
95 * math/libm-test.inc (ulps_file_name): Define.
96 (output_dir): New variable.
97 (options): Add "output-dir" option.
98 (parse_opt): Handle 'o' case.
99 (main): If output_dir is non-NULL use it as a prefix
101 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
103 2013-04-06 Carlos O'Donell <carlos@redhat.com>
106 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
107 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
108 fail configure if __sync_val_compare_and_swap is not inlined.
109 * sysdeps/i386/configure: Regenerate.
110 * configure.in: Build for i686 when configured for i386.
111 * configure: Regenerate.
112 * README: Remove i386 reference.
114 2013-04-06 Carlos O'Donell <carlos@redhat.com>
116 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
117 * sysdeps/s390/s390-64/sysdep.h: Likewise.
119 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
121 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
122 (lmsnanval): New variables.
123 (F): Add conversion tests.
124 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
125 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
127 * stdio-common/tstdiomisc.c (F): Properly collect individual
131 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
132 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
133 Instead, use input NaN values or generate a qNaN by arithmetic
134 operation. Also fix bugs to comply with the standard.
135 * math/libm-test.inc (remainder_test): Add more tests.
138 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
140 input NaN values or generate a qNaN by arithmetic operation.
142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
145 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
148 2013-04-03 Joseph Myers <joseph@codesourcery.com>
151 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
153 * math/s_cexpf.c (__cexpf): Likewise.
154 * math/s_cexpl.c (__cexpl): Likewise.
155 * math/libm-test.inc (cexp_test): Add more tests.
157 2013-04-03 Andreas Schwab <schwab@suse.de>
160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
161 order arrays from heap if bigger than alloca cutoff.
163 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
165 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
166 (SNAN_TESTS_double): Refer to GCC PR56831.
167 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
170 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
172 * Rules (bench): Move bench.out after the run is complete.
174 * Rules (bench): Echo currently running benchmark.
176 * benchtests/Makefile (bench): Add atan and slowatan.
177 * benchtests/atan-inputs: New file.
178 * benchtests/slowatan-inputs: New file.
179 * benchtests/slowatan.c: New file.
181 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
182 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
186 * sysdeps/unix/sysv/linux/kernel-features.h
187 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
188 __ASSUME_XFS_RESTRICTED_CHOWN.
189 * sysdeps/unix/sysv/linux/pathconf.c
190 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
191 Save and restore errno.
193 2013-04-02 Joseph Myers <joseph@codesourcery.com>
196 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
197 arguments using __kernel_casinh.
198 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
199 arguments using __kernel_casinhf.
200 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
201 arguments using __kernel_casinhl.
202 * math/libm-test.inc (cacosh_test): Add more tests.
203 * sysdeps/i386/fpu/libm-test-ulps: Update.
204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
206 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
208 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
209 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
211 * bench/Makefile (bench): Add sin and slowsin.
212 * benchtests/sin-inputs: New file.
213 * benchtests/slowsin-inputs: New file.
214 * benchtests/slowsin.c: New file.
216 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
217 (bench): Add slowexp and slowpow.
218 (exp-ITER): Increase iterations.
219 (pow-ITER): Likewise.
220 * benchtests/exp-inputs: Change input.
221 * benchtests/pow-inputs: Likewise.
222 * benchtests/slowexp-inputs: New file.
223 * benchtests/slowexp.c: New file.
224 * benchtests/slowpow-inputs: New file.
225 * benchtests/slowpow.c: New file.
227 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
229 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
231 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
232 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
233 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
234 * benchtests/Makefile: Add rint benchtest.
235 * benchtests/rint-inputs: Input for rint benchtest.
237 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
239 * Versions.def (libm): Add GLIBC_2.18.
240 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
241 hidden libm prototypes.
242 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
243 * math/Makefile (libm-calls): Add s_issignaling.
244 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
245 __issignalingf, __issignalingl. Adjust all libm.abilist files.
246 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
248 * math/math.h [__USE_GNU] (issignaling): New macro.
249 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
250 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
251 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
252 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
253 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
254 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
255 * manual/arith.texi (issignaling): New section.
256 * manual/libm-err-tab.pl (@all_functions): Update comment.
257 * math/gen-libm-test.pl (parse_args): Apply special handling for
259 * math/libm-test.inc (print_float, issignaling_test): New
261 (check_float_internal): Add issignaling checks.
262 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
264 * sysdeps/powerpc/math-tests.h: New file.
265 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
267 * math/test-snan.c (TEST_FUNC): Likewise.
269 2013-03-30 David S. Miller <davem@davemloft.net>
271 * po/de.po: Update from translation team.
273 2013-03-30 Joseph Myers <joseph@codesourcery.com>
276 * math/k_casinh.c (__kernel_casinh): Handle arguments with
277 imaginary part less than 1.0 and real part less than 0.5
279 * math/k_casinhf.c (__kernel_casinhf): Likewise.
280 * math/k_casinhl.c (__kernel_casinhl): Likewise.
281 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
282 (cacos_test): Add more tests.
283 (casin_test): Likewise.
284 (casinh_test): Likewise.
285 * sysdeps/i386/fpu/libm-test-ulps: Update.
286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
288 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
290 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
293 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
294 (__pow_mp): Replace ONE and MONE with their values.
295 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
296 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
297 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
298 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
299 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
300 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
302 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
304 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
305 (__pow_mp): Replace ZERO and MZERO with their values.
306 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
307 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
308 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
310 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
311 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
314 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
316 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
318 2013-03-28 Roland McGrath <roland@hack.frob.com>
320 * include/stdlib.h [!SHARED] (__call_tls_dtors):
321 Declare with __attribute__ ((weak)).
322 * stdlib/exit.c (__libc_atexit) [!SHARED]:
323 Call __call_tls_dtors only if it's not NULL.
325 2013-03-28 Roland McGrath <roland@hack.frob.com>
327 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
328 didn't do it already, then set _dl_phdr and _dl_phnum based on the
329 magic __ehdr_start linker symbol if it's defined.
330 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
331 them up here if it was already done.
333 * elf/dl-support.c (_dl_phdr): Make pointer to const.
334 (_dl_aux_init): Use const in cast when setting it.
335 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
336 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
337 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
339 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
341 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
342 * csu/libc-tls.c: Nor here.
343 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
345 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
346 (__libc_message): Never call vsyslog.
348 2013-03-28 Alan Modra <amodra@gmail.com>
350 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
352 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
355 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
358 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
362 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
365 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
366 Don't add gid passed as argument.
368 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
370 2013-03-27 Joseph Myers <joseph@codesourcery.com>
373 * math/k_casinh.c (__kernel_casinh): Handle arguments with
374 imaginary part between 1.0 and 1.5 and real part less than 0.5
376 * math/k_casinhf.c (__kernel_casinhf): Likewise.
377 * math/k_casinhl.c (__kernel_casinhl): Likewise.
378 * math/libm-test.inc (cacos_test): Add more tests.
379 (casin_test): Likewise.
380 (casinh_test): Likewise.
381 * sysdeps/i386/fpu/libm-test-ulps: Update.
382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
384 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
386 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
390 (__dbl_mp): Likewise.
391 (add_magnitudes): Likewise.
392 (sub_magnitudes): Likewise.
400 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
402 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
403 (__dubcos): Likewise.
404 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
405 (__ieee754_acos): Likewise.
406 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
407 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
409 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
410 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
413 (checkint): Likewise.
414 * sysdeps/ieee754/dbl-64/e_remainder.c
415 (__ieee754_remainder): Likewise.
416 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
417 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
419 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
421 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
422 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
423 MANTISSA_STORE_T to store computations on mantissa. Use
424 macros for rounding and division.
426 (__dbl_mp): Likewise.
427 (add_magnitudes): Likewise.
428 (sub_magnitudes): Likewise.
431 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
432 powers of two in terms of TWOPOW macro.
433 (mp_no): Make type of mantissa as MANTISSA_T.
434 [!RADIXI]: Define RADIXI.
435 [!TWO52]: Define TWO52.
436 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
438 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
440 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
441 llroundl symbol when building for PPC32.
443 2013-03-24 Mark H Weaver <mhw@netris.org>
445 * manual/arith.texi (Normalization Functions): Fix prototypes for
446 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
448 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
451 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
452 high value to check if expl overflow.
453 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
454 to check for underflow and overflow.
455 * math/libm-test.inc: Add exp test.
457 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
460 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
463 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
465 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
468 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
470 * math/gen-libm-test.pl (parse_args, special_functions): Properly
471 wrap blocks consisting of several statements.
473 * sysdeps/generic/math-tests.h: New file.
474 * sysdeps/i386/fpu/math-tests.h: Likewise.
475 * math/test-snan.c: Include it.
476 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
478 2013-03-21 Joseph Myers <joseph@codesourcery.com>
481 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
482 (__ieee754_j0l): Do not improve calculations using cos of twice
483 input for inputs above LDBL_MAX / 2.0L.
484 (__ieee754_y0l): Likewise.
485 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
486 (__ieee754_j1l): Do not improve calculations using cos of twice
487 input for inputs above LDBL_MAX / 2.0L.
488 (__ieee754_y1l): Likewise.
489 * math/libm-test.inc (j0_test): Add another test.
493 * sysdeps/i386/fpu/libm-test-ulps: Update.
495 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
497 * Rules ($(objpfx)bench-%.c): Include code from a C source
500 2013-03-21 Joseph Myers <joseph@codesourcery.com>
503 * math/k_casinh.c (__kernel_casinh): Handle arguments with
504 imaginary part 1.0 and real part less than 0.5 specially.
505 * math/k_casinhf.c (__kernel_casinhf): Likewise.
506 * math/k_casinhl.c (__kernel_casinhl): Likewise.
507 * math/libm-test.inc (cacos_test): Add more tests.
508 (casin_test): Likewise.
509 (casinh_test): Likewise.
510 * sysdeps/i386/fpu/libm-test-ulps: Update.
511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
513 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
515 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
516 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
518 2013-03-20 Joseph Myers <joseph@codesourcery.com>
520 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
521 * config.make.in (config-cflags-sse4): Remove variable.
522 (config-cflags-avx): Likewise.
523 (config-cflags-sse2avx): Likewise.
524 (config-cflags-novzeroupper): Likewise.
525 (config-asflags-i686): Likewise.
526 (have-mfma4): Likewise.
527 (have-as-vis3): Likewise.
529 * configure.in (MIG): Do not AC_SUBST.
530 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
531 (libc_cv_cc_sse4): Do not AC_SUBST.
532 (libc_cv_cc_avx): Likewise.
533 (libc_cv_cc_sse2avx): Likewise.
534 (libc_cv_cc_novzeroupper): Likewise.
535 (libc_cv_cc_fma4): Likewise.
536 (libc_cv_as_i686): Likewise.
537 (libc_cv_sparc_as_vis3): Likewise.
538 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
540 (config-asflags-i686): Likewise.
541 (config-cflags-avx): Likewise.
542 (config-cflags-sse2avx): Likewise.
543 (have-mfma4): Likewise.
544 (config-cflags-novzeroupper): Likewise.
545 * sysdeps/mach/configure.in (MIG): Likewise.
546 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
547 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
549 (config-cflags-avx): Likewise.
550 (config-cflags-sse2avx): Likewise.
551 (have-mfma4): Likewise.
552 (config-cflags-novzeroupper): Likewise.
553 * configure: Regenerated.
554 * sysdeps/i386/configure: Likewise.
555 * sysdeps/mach/configure: Likewise.
556 * sysdeps/sparc/configure: Likewise.
557 * sysdeps/x86_64/configure: Likewise.
559 2013-03-20 Roland McGrath <roland@hack.frob.com>
562 * locale/programs/localedef.c (options): Put N_ translation marker
563 on argument names, not just descriptions.
565 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
567 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
569 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
572 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
574 2013-03-19 Roland McGrath <roland@hack.frob.com>
576 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
577 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
578 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
579 [!BEFORE_ABORT] (before_abort): New function.
580 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
581 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
582 (writev_for_fatal): New function.
583 (WRITEV_FOR_FATAL): New macro; call that.
584 (backtrace_and_maps): New function.
585 (BEFORE_ABORT): New macro; call that.
586 (struct str_list): Type removed.
587 (__libc_message, __libc_fatal): Functions removed.
588 Include <sysdeps/posix/libc_fatal.c> instead.
590 2013-03-19 Joseph Myers <joseph@codesourcery.com>
592 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
594 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
597 2013-03-19 Andreas Schwab <schwab@suse.de>
599 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
600 * sysdeps/gnu/configure: Regenerate.
602 * configure.in: Substitute libc_cv_rtlddir.
603 * configure: Regenerate.
604 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
605 * Makeconfig (rtlddir, inst_rtlddir): New variables.
606 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
607 * elf/Makefile (install-others, CFLAGS-interp.c)
608 (ldso_install, common-ldd-rewrite): Likewise.
609 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
610 $(inst_slibdir)/$(rtld-installed-name).
611 * scripts/rellns-sh: Add -p option.
612 * Makerules (make-shlib-link): Use rellns-sh to get relative name
615 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
617 * manual/nptl.texi: Renamed to ...
618 * manual/threads.texi: ... this.
619 * manual/Makefile (chapters): Update.
621 2013-03-18 Roland McGrath <roland@hack.frob.com>
624 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
625 on argument names, not just descriptions.
626 * malloc/memusagestat.c (options): Likewise.
627 * nss/getent.c (options): Likewise.
629 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
632 * iconv/iconv_prog.c (options): Put N_ translation marker
633 on argument names, not just descriptions.
634 * iconv/iconvconfig.c (options): Likewise.
636 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
638 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
639 implementation which is faster on all x86_64 architectures.
640 Tested on AMD, Intel Nehalem, SNB, IVB.
641 * sysdeps/x86_64/strnlen.S: Likewise.
643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
644 Remove all multiarch strlen and strnlen versions.
645 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
646 Remove strlen and strnlen related parts.
648 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
650 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
652 * sysdeps/x86_64/multiarch/strlen.S: Remove.
653 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
654 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
655 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
656 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
657 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
659 2013-03-17 Carlos O'Donell <carlos@redhat.com>
661 * manual/memory.texi (Malloc Tunable Parameters):
662 Sort parameters alphabetically. Add comments for missing entries.
664 2013-03-17 David S. Miller <davem@davemloft.net>
666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
668 2013-03-16 Joseph Myers <joseph@codesourcery.com>
671 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
672 for arguments at most half maximum finite value.
673 * math/libm-test.inc (j0_test): Add more tests.
677 * sysdeps/i386/fpu/libm-test-ulps: Update.
678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
681 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
682 1 / x and functions P and Q for arguments above 0x1p256L.
683 (__ieee754_y0l): Likewise.
684 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
685 (__ieee754_y1l): Likewise.
686 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
691 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
693 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
696 2013-03-15 Roland McGrath <roland@hack.frob.com>
698 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
699 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
700 zero since it's initialized to EXEC_PAGESIZE.
702 * sysdeps/unix/sysv/linux/ldsodefs.h
703 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
704 * sysdeps/generic/ldsodefs.h: ... here.
706 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
708 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
710 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
712 * math/test-snan.c: Renamed from
713 sysdeps/powerpc/fpu/test-powerpc-snan.c.
714 * math/Makefile (tests): Add test-snan.
715 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
718 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
719 SUFFIX. Initialize qNaN_var with __builtin_nan family of
721 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
722 __builtin_nan family of functions.
723 * math/libm-test.inc (initialize): Initialize qnan_value with
724 __builtin_nan family of functions.
725 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
727 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
729 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
730 storage class. Initialize qNaN_var and sNaN_var with
731 __builtin_nan and __builtin_nans families of functions,
734 * math/libm-test.inc (acosh_test): Also test with qNaN input.
735 (sqrt_test): Remove duplicate test with qNaN input.
736 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
737 (round_test, signbit_test, significand_test): Note missing +/-Inf
738 as well as qNaN tests.
740 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
741 qNaN_var. Fix a few strings, too.
742 * math/libm-test.inc (nan_value): Rename to qnan_value.
743 * math/gen-libm-test.pl (%beautify): Adjust to that.
744 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
745 * math/test-misc.c (main): Likewise.
746 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
747 to __qnan_bytes, and __qnan_union, respectively.
748 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
750 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
751 and lqnanval, respectively.
752 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
753 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
754 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
755 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
757 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
758 * math/test-misc.c (main) [__x86_64__]: Enable test for long
761 * math/test-misc.c (main): Fix copy'n'pastos.
762 * misc/tst-efgcvt.c (special): Likewise.
764 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
767 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
769 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
770 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
771 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
772 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
774 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
776 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
777 macro to return vdso values correctly in IFUNC implementations.
778 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
779 Optimization by using IFUNC.
781 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
782 Richard Henderson <rth@redhat.com>
783 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
785 * Makefile.in (bench): New target.
786 * NEWS: Mention the benchmark framework.
787 * Rules (bench): Likewise.
788 (binaries-bench): Generate binaries for functions to
790 * benchtests/Makefile: New makefile for benchmark tests.
791 * benchtests/bench-skeleton.c: New skeleton file for benchmark
793 * benchtests/exp-inputs: New input file for EXP function.
794 * benchtests/pow-inputs: New input file for POW function.
795 * scripts/bench.pl: New script to generate source files for
798 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
800 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
801 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
802 computations on mantissa. Use macros for rounding and
805 (__dbl_mp): Likewise.
806 (add_magnitudes): Likewise.
807 (sub_magnitudes): Likewise.
810 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
811 powers of two in terms of TWOPOW macro.
812 (mp_no): Make type of mantissa as MANTISSA_T.
813 [!RADIXI]: Define RADIXI.
814 [!TWO52]: Define TWO52.
815 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
817 * manual/nptl.texi (cindex): Modify threads to pthreads.
819 2013-03-15 Joseph Myers <joseph@codesourcery.com>
821 * sysdeps/x86_64/preconfigure: Regenerated.
823 2013-03-14 Joseph Myers <joseph@codesourcery.com>
826 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
828 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
829 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
831 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
832 * math/libm-test.inc (j0_test): Do not allow one spurious
836 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
838 * manual/Makefile (chapters): Add nptl.
839 * manual/debug.texi (Debugging Support): Add link to Threads
841 * manual/nptl.texi: New file.
843 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
845 2013-03-14 Petr Baudis <pasky@ucw.cz>
847 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
848 for non-NULL pointer before the memory validity test. Pointed
849 out by Holger Brunck <holger.brunck@keymile.com>.
851 2013-03-13 Andreas Schwab <schwab@suse.de>
853 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
856 2013-03-13 Joseph Myers <joseph@codesourcery.com>
858 * timezone/zic.c: Update from tzcode 2013b.
860 2013-03-12 Carlos O'Donell <carlos@redhat.com>
862 * manual/install.texi (Configuring and compiling):
863 Mention i686 and i586.
864 * INSTALL: Regenerate.
866 2013-03-12 Roland McGrath <roland@hack.frob.com>
868 * sysdeps/init_array/elf-init.c: New file.
870 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
871 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
873 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
874 __gmon_start__ as global, but as static with a .preinit_array pointer.
875 * sysdeps/init_array/gmon-start.c: New file. Use that.
876 * sysdeps/init_array/crti.S: New file, empty except for comments.
877 * sysdeps/init_array/crtn.S: Likewise.
879 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
881 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
884 Remove Prefer_SSE_for_memop.
885 * sysdeps/x86_64/multiarch/init-arch.h: Remove
886 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
887 HAS_PREFER_SSE_FOR_MEMOP.
888 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
891 Remove bzero, memset ifunc support.
892 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
893 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
894 * sysdeps/x86_64/multiarch/memset.S: Likewise.
895 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
897 2013-03-11 Andreas Schwab <schwab@suse.de>
900 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
903 (GLIBC_2.16): Remove pthread_atfork.
905 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
907 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
908 (ptestcases.h): Likewise.
910 2013-03-08 Roland McGrath <roland@hack.frob.com>
912 * Makeconfig ($(common-objpfx)config.status): Depend on
913 sysdeps/*/preconfigure{,.in} too.
915 2013-03-08 Joseph Myers <joseph@codesourcery.com>
917 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
918 (__free_hook): Use void * instead of __malloc_ptr_t.
919 (__malloc_hook): Likewise.
920 (__realloc_hook): Likewise.
921 (__memalign_hook): Likewise.
922 (__after_morecore_hook): Likewise.
923 * malloc/arena.c (save_malloc_hook): Likewise.
924 (save_free_hook): Likewise.
925 * malloc/hooks.c (malloc_hook_ini): Likewise.
926 (realloc_hook_ini): Likewise.
927 (memalign_hook_ini): Likewise.
928 * malloc/malloc.c (malloc_hook_ini): Likewise.
929 (realloc_hook_ini): Likewise.
930 (memalign_hook_ini): Likewise.
931 (__free_hook): Likewise.
932 (__malloc_hook): Likewise.
933 (__realloc_hook): Likewise.
934 (__memalign_hook): Likewise.
935 (__libc_malloc): Likewise.
936 (__libc_free): Likewise.
937 (__libc_realloc): Likewise.
938 (__libc_memalign): Likewise.
939 (__libc_valloc): Likewise.
940 (__libc_pvalloc): Likewise.
941 (__libc_calloc): Likewise.
942 (__posix_memalign): Likewise.
943 * malloc/morecore.c (__sbrk): Likewise.
944 (__default_morecore): Likewise.
946 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
948 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
949 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
952 * malloc/malloc.h (__malloc_size_t): Remove macro.
953 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
955 (old_memalign_hook): Likewise.
956 (old_realloc_hook): Likewise.
957 (struct hdr): Likewise.
959 (mallochook): Likewise.
960 (memalignhook): Likewise.
961 (reallochook): Likewise.
962 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
963 (tr_old_realloc_hook): Likewise.
964 (tr_old_memalign_hook): Likewise.
965 (tr_mallochook): Likewise.
966 (tr_reallochook): Likewise.
967 (tr_memalignhook): Likewise.
969 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
971 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
972 default_ldbl_pack and using as default implementation.
973 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
975 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
976 redundant definition.
977 (ldbl_insert_mantissa): Likewise.
978 (ldbl_canonicalize): Likewise.
979 (ldbl_nearbyint): Likewise.
980 (ldbl_pack): Rename to ldbl_pack_ppc.
981 (ldbl_unpack): Rename to ldbl_unpack_ppc.
982 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
983 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
985 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
988 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
989 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
990 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
992 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
993 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
994 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
996 2013-03-07 Andreas Jaeger <aj@suse.de>
998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1001 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1003 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1004 Include mpa.h and declare __MPEXP.
1005 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1006 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1007 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1008 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1009 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1010 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1011 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1013 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1014 (__slowpow): Use long double EXPL and LOGL functions to
1016 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1017 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1018 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1019 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1020 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1021 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1024 intermediate variable to calculate exponent.
1026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1030 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1031 [!NO__SQR]: Define __sqr.
1032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1033 and NO__SQR. Remove all code except __mul and __sqr. Include
1034 sysdeps/ieee754/dbl-64/mpa.c.
1035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1038 * posix/Makefile (tests): Add tst-pathconf.
1039 * posix/tst-pathconf.c: New test case.
1040 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1042 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1044 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
1046 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1048 2013-03-06 Andreas Jaeger <aj@suse.de>
1050 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1051 definition via __MAP_ANONYMOUS.
1053 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1054 it's not part of Linux headers.
1056 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1057 (MAP_HUGE_MASK): Define.
1059 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1061 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1062 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1064 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1065 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1067 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1068 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1070 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1072 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1073 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1074 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1075 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1076 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1077 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1079 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1082 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1083 Handle f2fs and efivarfs.
1085 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1088 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1089 (EFIVARFS_MAGIC): Add.
1090 (F2FS_LINK_MAX): Add.
1092 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1094 * stdio-common/vfprintf.c: Replace __builtin_expect with
1097 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1100 * sysdeps/generic/bp-sym.h: Remove file.
1101 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1102 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1103 <bp-sym.h> and <bp-asm.h>.
1104 (__longjmp): Don't use BP_SYM.
1105 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1107 (memcpy): Don't use BP_SYM.
1108 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1109 <bp-sym.h> and <bp-asm.h>.
1110 (memcpy): Don't use BP_SYM.
1111 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1113 (memcpy): Don't use BP_SYM.
1114 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1116 (memset): Don't use BP_SYM.
1117 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1118 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1119 (__bzero): Don't use BP_SYM.
1120 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1121 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1122 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1123 <bp-sym.h> and <bp-asm.h>.
1124 (memcmp): Don't use BP_SYM. Remove comment about bounded
1126 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1127 <bp-sym.h> and <bp-asm.h>.
1128 (memcpy): Don't use BP_SYM.
1129 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1130 <bp-sym.h> and <bp-asm.h>.
1131 (memset): Don't use BP_SYM.
1132 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1133 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1134 (__bzero): Don't use BP_SYM.
1135 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1136 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1137 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1138 <bp-sym.h> and <bp-asm.h>.
1139 (strncmp): Don't use BP_SYM. Remove comment about bounded
1141 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1142 <bp-sym.h> and <bp-asm.h>.
1143 (memcpy): Don't use BP_SYM.
1144 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1145 <bp-sym.h> and <bp-asm.h>.
1146 (memset): Don't use BP_SYM.
1147 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1148 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1149 (__bzero): Don't use BP_SYM.
1150 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1151 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1152 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1153 <bp-sym.h> and <bp-asm.h>.
1154 (__memchr): Don't use BP_SYM.
1155 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1156 <bp-sym.h> and <bp-asm.h>.
1157 (memcmp): Don't use BP_SYM. Remove comment about bounded
1159 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1160 <bp-sym.h> and <bp-asm.h>.
1161 (memcpy): Don't use BP_SYM.
1162 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1163 <bp-sym.h> and <bp-asm.h>.
1164 (__mempcpy): Don't use BP_SYM.
1165 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1166 <bp-sym.h> and <bp-asm.h>.
1167 (__memrchr): Don't use BP_SYM.
1168 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1169 <bp-sym.h> and <bp-asm.h>.
1170 (memset): Don't use BP_SYM.
1171 (__bzero): Likewise.
1172 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1173 <bp-sym.h> and <bp-asm.h>.
1174 (__rawmemchr): Don't use BP_SYM.
1175 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1176 <bp-sym.h> and <bp-asm.h>.
1177 (__STRCMP): Don't use BP_SYM.
1178 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1179 <bp-sym.h> and <bp-asm.h>.
1180 (strchr): Don't use BP_SYM.
1181 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1182 <bp-sym.h> and <bp-asm.h>.
1183 (__strchrnul): Don't use BP_SYM.
1184 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1185 <bp-sym.h> and <bp-asm.h>.
1186 (strlen): Don't use BP_SYM.
1187 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1188 <bp-sym.h> and <bp-asm.h>.
1189 (strncmp): Don't use BP_SYM. Remove comment about bounded
1191 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1192 <bp-sym.h> and <bp-asm.h>.
1193 (__strnlen): Don't use BP_SYM.
1194 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1195 <bp-sym.h> and <bp-asm.h>.
1196 (__GI__setjmp): Don't use BP_SYM.
1197 (_setjmp): Likewise.
1198 (__sigsetjmp): Likewise.
1199 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1200 (L(start_addresses)): Don't use BP_SYM.
1202 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1204 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1205 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1206 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1207 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1208 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1210 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1211 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1212 about bounded pointers.
1213 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1214 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1215 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1217 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1218 about bounded pointers. Remove GKM FIXME comments.
1219 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1220 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1222 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1223 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1224 Remove GKM FIXME comments.
1225 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1226 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1227 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1229 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1230 about bounded pointers. Remove GKM FIXME comment.
1231 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1233 (strncmp): Don't use BP_SYM. Remove comment about bounded
1235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1236 <bp-sym.h> and <bp-asm.h>.
1237 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1239 <bp-sym.h> and <bp-asm.h>.
1240 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1243 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1245 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1248 2013-03-05 David S. Miller <davem@davemloft.net>
1250 * po/es.po: Update from translation team.
1252 2013-03-05 Andreas Jaeger <aj@suse.de>
1254 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1255 <bits/mman-linux.h>.
1256 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1258 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1259 <bits/mman-linux.h> to end of file.
1260 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1262 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1263 <bits/mman-linux.h> to end of file.
1264 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1266 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1267 <bits/mman-linux.h> to end of file.
1269 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1270 (MCL_CURRENT, MCL_FUTURE): Define here.
1272 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1275 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1277 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1279 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1281 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1282 fourth parameter needed for rt_sigprocmask syscall.
1283 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1284 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1285 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1286 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1287 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1288 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1290 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1293 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1294 comment about bounded pointers.
1295 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1296 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1298 2013-03-04 Andreas Jaeger <aj@suse.de>
1300 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1303 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1304 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1305 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1306 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1307 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1308 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1310 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1313 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1314 __ieee754_sqrl instead of __sqrl.
1316 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1318 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1319 * sysdeps/powerpc/fpu_control.h: ... here.
1320 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1321 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1322 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1323 * sysdeps/powerpc/bits/mathinline.h: ... here.
1325 2013-03-01 Roland McGrath <roland@hack.frob.com>
1327 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1328 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1329 to just [NEED_DL_SYSINFO_DSO].
1330 * elf/dl-support.c: Likewise.
1331 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1332 * elf/rtld.c (dl_main): Likewise.
1333 * elf/setup-vdso.h (setup_vdso): Likewise.
1334 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1335 * sysdeps/unix/sysv/linux/dl-sysdep.c
1336 (_dl_discover_osversion): Likewise.
1338 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1340 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1341 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1343 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1345 * NEWS: Mention libm performance improvements and non-x86 PI
1348 * csu/libc-start.c (__pthread_initialize_minimal): Change
1350 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1352 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1355 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1356 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1357 <bp-sym.h> and <bp-asm.h>.
1358 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1359 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1361 (memcpy): Don't use BP_SYM.
1362 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1364 (__mpn_add_n): Don't use BP_SYM.
1365 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1366 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1368 (__mpn_addmul_1): Don't use BP_SYM.
1369 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1370 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1372 (_setjmp): Don't use BP_SYM.
1373 (__novmx_setjmp): Likewise.
1374 (__GI__setjmp): Likewise.
1375 (__vmx_setjmp): Likewise.
1376 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1378 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1379 (__bzero): Don't use BP_SYM.
1380 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1381 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1382 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1383 <bp-sym.h> and <bp-asm.h>.
1384 (memcpy): Don't use BP_SYM.
1385 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1386 <bp-sym.h> and <bp-asm.h>.
1387 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1388 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1389 <bp-sym.h> and <bp-asm.h>.
1390 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1391 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1393 (__mpn_lshift): Don't use BP_SYM.
1394 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1395 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1397 (memset): Don't use BP_SYM.
1398 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1399 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1400 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1402 (__mpn_mul_1): Don't use BP_SYM.
1403 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1404 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1405 <bp-sym.h> and <bp-asm.h>.
1406 (memcmp): Don't use BP_SYM.
1407 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1408 <bp-sym.h> and <bp-asm.h>.
1409 (memcpy): Don't use BP_SYM.
1410 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1411 <bp-sym.h> and <bp-asm.h>.
1412 (memset): Don't use BP_SYM.
1413 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1414 <bp-sym.h> and <bp-asm.h>.
1415 (strncmp): Don't use BP_SYM.
1416 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1417 <bp-sym.h> and <bp-asm.h>.
1418 (memcpy): Don't use BP_SYM.
1419 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1420 <bp-sym.h> and <bp-asm.h>.
1421 (memset): Don't use BP_SYM.
1422 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1423 <bp-sym.h> and <bp-asm.h>.
1424 (__memchr): Don't use BP_SYM.
1425 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1426 <bp-sym.h> and <bp-asm.h>.
1427 (memcmp): Don't use BP_SYM.
1428 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1429 <bp-sym.h> and <bp-asm.h>.
1430 (memcpy): Don't use BP_SYM.
1431 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1432 <bp-sym.h> and <bp-asm.h>.
1433 (__mempcpy): Don't use BP_SYM.
1434 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1435 <bp-sym.h> and <bp-asm.h>.
1436 (__memrchr): Don't use BP_SYM.
1437 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1438 <bp-sym.h> and <bp-asm.h>.
1439 (memset): Don't use BP_SYM.
1440 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1441 <bp-sym.h> and <bp-asm.h>.
1442 (__rawmemchr): Don't use BP_SYM.
1443 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1444 <bp-sym.h> and <bp-asm.h>.
1445 (__STRCMP): Don't use BP_SYM.
1446 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1447 <bp-sym.h> and <bp-asm.h>.
1448 (strchr): Don't use BP_SYM.
1449 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1450 <bp-sym.h> and <bp-asm.h>.
1451 (__strchrnul): Don't use BP_SYM.
1452 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1453 <bp-sym.h> and <bp-asm.h>.
1454 (strlen): Don't use BP_SYM.
1455 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1456 <bp-sym.h> and <bp-asm.h>.
1457 (strncmp): Don't use BP_SYM.
1458 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1459 <bp-sym.h> and <bp-asm.h>.
1460 (__strnlen): Don't use BP_SYM.
1461 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1463 (__mpn_rshift): Don't use BP_SYM.
1464 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1465 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1466 <bp-sym.h> and <bp-asm.h>.
1467 (__sigsetjmp): Don't use BP_SYM.
1468 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1469 (L(start_addresses)): Don't use BP_SYM.
1471 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1473 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1474 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1475 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1476 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1478 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1479 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1480 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1481 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1483 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1485 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1486 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1488 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1490 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1491 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1492 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1494 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1496 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1498 (strncmp): Don't use BP_SYM,
1499 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1501 (__mpn_sub_n): Don't use BP_SYM.
1502 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1503 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1505 (__mpn_submul_1): Don't use BP_SYM.
1506 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1508 <bp-sym.h> and <bp-asm.h>.
1509 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1511 <bp-sym.h> and <bp-asm.h>.
1512 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1515 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1518 Use ZK to minimize writes to Z.
1519 (sub_magnitudes): Simplify code a bit.
1520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1521 Use ZK to minimize writes to Z.
1522 (sub_magnitudes): Simplify code a bit.
1524 2013-02-27 Roland McGrath <roland@hack.frob.com>
1526 * csu/gmon-start.c: Add special exception to license text.
1528 2013-02-27 Richard Henderson <rth@redhat.com>
1530 * scripts/config.guess: Update from config.git.
1531 * scripts/config.sub: Likewise.
1533 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1535 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1537 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1539 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1541 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1543 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1545 2013-02-26 Roland McGrath <roland@hack.frob.com>
1547 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1548 [$(build-shared = yes].
1550 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1552 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1553 (__mul): Reduce iterations for calculating mantissa.
1555 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1557 (__mpranred): Likewise.
1560 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1561 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1563 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1565 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1566 Define __attribute__.
1568 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1570 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1572 * posix/regex_internal.h (__attribute): Remove.
1573 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1574 (re_string_context_at): Likewise.
1575 (bitset_not): Use __attribute__ and mark function as possibly
1577 (bitset_merge): Likewise.
1578 (bitset_mask): Likewise.
1579 (re_string_char_size_at): Likewise.
1580 (re_string_wchar_at): Likewise.
1581 (re_string_elem_size_at): Likewise.
1583 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1585 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1589 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1594 (__dbl_mp): Likewise.
1595 (add_magnitudes): Likewise.
1596 (sub_magnitudes): Likewise.
1600 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1603 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1606 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1610 up changes with default code.
1611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1614 2013-02-24 Allan McRae <allan@archlinux.org>
1616 * manual/socket.texi (The Internet Namespace): Order menu items
1617 to match that in the file.
1619 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1620 node listing of the info page menu.
1622 2013-02-21 Joseph Myers <joseph@codesourcery.com>
1625 * sysdeps/i386/bp-asm.h: Remove file.
1626 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1627 (PARMS): Do not use macros from bp-asm.h.
1631 (__mpn_add_n): Do not use BP_SYM
1632 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1634 (PARMS): Do not use macros from bp-asm.h.
1637 (__mpn_addmul_1): Do not use BP_SYM
1638 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1640 (PARMS): Do not use macros from bp-asm.h.
1642 (_setjmp): Likewise. Do not use BP_SYM.
1643 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1645 (PARMS): Do not use macros from bp-asm.h.
1647 (setjmp): Likewise. Do not use BP_SYM.
1648 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1650 (PARMS): Do not use macros from bp-asm.h.
1651 (__frexp): Do not use BP_SYM.
1653 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1655 (PARMS): Do not use macros from bp-asm.h.
1656 (__frexpf): Do not use BP_SYM.
1658 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1660 (PARMS): Do not use macros from bp-asm.h.
1661 (__frexpl): Do not use BP_SYM.
1663 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1665 (PARMS): Do not use macros from bp-asm.h.
1666 (__remquo): Do not use BP_SYM.
1668 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1670 (PARMS): Do not use macros from bp-asm.h.
1671 (__remquof): Do not use BP_SYM.
1672 (remquof): Likewise.
1673 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1675 (PARMS): Do not use macros from bp-asm.h.
1676 (__remquol): Do not use BP_SYM.
1677 (remquol): Likewise.
1678 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1680 (PARMS): Do not use macros from bp-asm.h.
1683 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1684 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1686 (PARMS): Do not use macros from bp-asm.h.
1687 (strlen): Do not use BP_SYM.
1688 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1690 (PARMS): Do not use macros from bp-asm.h.
1694 (__mpn_add_n): Do not use BP_SYM.
1695 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1697 (PARMS): Do not use macros from bp-asm.h.
1700 (__mpn_addmul_1): Do not use BP_SYM.
1701 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1704 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1706 (PARMS): Do not use macros from bp-asm.h.
1709 (__mpn_lshift): Do not use BP_SYM.
1710 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1712 (PARMS): Do not use macros from bp-asm.h.
1716 (memcpy): Likewise. Do not use BP_SYM.
1717 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1718 libc_hidden_def and weak_alias.
1719 (mempcpy): Do not use BP_SYM in weak_alias.
1720 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1722 (PARMS): Do not use macros from bp-asm.h.
1725 [!BZERO_P] (CHR): Likewise.
1726 (memset): Likewise. Do not use BP_SYM.
1727 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1729 (PARMS): Do not use macros from bp-asm.h.
1732 (__mpn_mul_1): Do not use BP_SYM.
1733 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1735 (PARMS): Do not use macros from bp-asm.h.
1738 (__mpn_rshift): Do not use BP_SYM.
1739 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1741 (PARMS): Do not use macros from bp-asm.h.
1744 (strchr): Likewise. Do not use BP_SYM.
1745 (index): Do not use BP_SYM in weak_alias.
1746 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1748 (PARMS): Do not use macros from bp-asm.h.
1751 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1752 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1754 (PARMS): Do not use macros from bp-asm.h.
1755 (strlen): Do not use BP_SYM.
1756 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1758 (PARMS): Do not use macros from bp-asm.h.
1762 (__mpn_sub_n): Do not use BP_SYM.
1763 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1765 (PARMS): Do not use macros from bp-asm.h.
1768 (__mpn_submul_1): Do not use BP_SYM.
1769 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1771 (PARMS): Do not use macros from bp-asm.h.
1775 (__mpn_add_n): Do not use BP_SYM.
1776 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1779 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1781 (PARMS): Do not use macros from bp-asm.h.
1784 (memcmp): Do not use BP_SYM.
1785 (bcmp): Do not use BP_SYM in weak_alias.
1786 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1788 (PARMS): Do not use macros from bp-asm.h.
1792 (memcpy): Likewise. Do not use BP_SYM.
1793 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1795 (PARMS): Do not use macros from bp-asm.h.
1799 (memmove): Likewise. Do not use BP_SYM.
1800 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1802 (PARMS): Do not use macros from bp-asm.h.
1806 (__mempcpy): Likewise. Do not use BP_SYM.
1807 (mempcpy): Do not use BP_SYM in weak_alias.
1808 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1810 (PARMS): Do not use macros from bp-asm.h.
1813 [!BZERO_P] (CHR): Likewise.
1814 (memset): Likewise. Do not use BP_SYM.
1815 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1817 (PARMS): Do not use macros from bp-asm.h.
1819 (strcmp): Do not use BP_SYM.
1820 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1822 (PARMS): Do not use macros from bp-asm.h.
1825 [USE_AS_STRTOK_R] (SAVE): Likewise.
1826 (FUNCTION): Likewise. Do not use BP_SYM.
1827 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1829 (strtok_r): Likewise.
1830 (__GI___strtok_r): Likewise.
1831 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1832 (PARMS): Do not use macros from bp-asm.h.
1835 (__mpn_lshift): Do not use BP_SYM.
1836 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1837 (PARMS): Do not use macros from bp-asm.h.
1840 (__memchr): Do not use BP_SYM.
1841 (memchr): Do not use BP_SYM in weak_alias.
1842 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
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/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1849 (PARMS): Do not use macros from bp-asm.h.
1852 (__mpn_mul_1): Do not use BP_SYM.
1853 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1855 (PARMS): Do not use macros from bp-asm.h.
1858 (__rawmemchr): Do not use BP_SYM.
1859 (rawmemchr): Do not use BP_SYM in weak_alias.
1860 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1861 (PARMS): Do not use macros from bp-asm.h.
1864 (__mpn_rshift): Do not use BP_SYM.
1865 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1866 (PARMS): Do not use macros from bp-asm.h.
1868 (__sigsetjmp): Likewise. Do not use BP_SYM.
1869 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1870 (_start): Do not use BP_SYM.
1871 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1872 (PARMS): Do not use macros from bp-asm.h.
1875 (__stpcpy): Likewise. Do not use BP_SYM.
1876 (stpcpy): Do not use BP_SYM in weak_alias.
1877 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1879 (PARMS): Do not use macros from bp-asm.h.
1883 (__stpncpy): Likewise. Do not use BP_SYM.
1884 (stpncpy): Do not use BP_SYM in weak_alias.
1885 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1886 (PARMS): Do not use macros from bp-asm.h.
1889 (strchr): Likewise. Do not use BP_SYM.
1890 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1892 (PARMS): Do not use macros from bp-asm.h.
1895 (__strchrnul): Likewise. Do not use BP_SYM.
1896 (strchrnul): Do not use BP_SYM in weak_alias.
1897 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1899 (PARMS): Do not use macros from bp-asm.h.
1901 (strcspn): Do not use BP_SYM.
1902 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1904 (PARMS): Do not use macros from bp-asm.h.
1907 (strpbrk): Likewise. Do not use BP_SYM.
1908 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1910 (PARMS): Do not use macros from bp-asm.h.
1913 (strrchr): Likewise. Do not use BP_SYM.
1914 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1915 (PARMS): Do not use macros from bp-asm.h.
1917 (strspn): Do not use BP_SYM.
1918 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1919 (PARMS): Do not use macros from bp-asm.h.
1923 (FUNCTION): Likewise. Do not use BP_SYM.
1924 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1926 (strtok_r): Likewise.
1927 (__GI___strtok_r): Likewise.
1928 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1929 (PARMS): Do not use macros from bp-asm.h.
1933 (__mpn_sub_n): Do not use BP_SYM.
1934 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1936 (PARMS): Do not use macros from bp-asm.h.
1939 (__mpn_submul_1): Do not use BP_SYM.
1940 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1942 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1944 (PARMS): Do not use macros from bp-asm.h.
1949 (__clone): Do not use BP_SYM.
1950 (clone): Do not use BP_SYM in weak_alias.
1951 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1953 (PARMS): Do not use macros from bp-asm.h.
1955 (__mmap64): Do not use BP_SYM.
1956 (mmap64): Do not use BP_SYM in weak_alias.
1957 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1958 <bp-sym.h> and <bp-asm.h>.
1959 (PARMS): Do not use macros from bp-asm.h.
1960 (__posix_fadvise64_l64): Do not use BP_SYM.
1961 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1962 (PARMS): Do not use macros from bp-asm.h.
1964 (semtimedop): Do not use BP_SYM.
1965 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1968 2013-02-21 Allan McRae <allan@archlinux.org>
1970 * manual/message.texi (Charset conversion in gettext):
1971 Move @end statement to beginning of line.
1973 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1980 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1985 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1987 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1988 tail-call to the resolved function if pltexit isn't needed.
1990 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1993 or Y being zero as being unlikely.
1994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1997 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1999 * manual/nss.texi (System Databases and Name Service Switch):
2000 Remove frobnicate @pxref.
2002 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2004 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2005 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2007 2013-02-20 Petr Machata <pmachata@redhat.com>
2009 * elf/elf.h (R_ARM_TARGET1): New macro.
2010 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2011 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2012 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2013 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2014 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2015 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2016 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2017 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2018 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2019 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2020 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2021 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2022 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2023 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2024 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2025 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2026 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2027 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2028 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2029 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2030 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2031 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2032 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2033 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2034 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2035 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2036 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2037 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2038 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2039 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2040 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2041 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2042 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2043 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2044 (R_ARM_THM_GOT_BREL12): Likewise.
2045 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2046 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2047 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2048 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2049 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2050 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2051 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2052 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2053 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2055 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2057 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2058 __attribute_used__ to __attribute__ ((unused)).
2060 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2062 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2068 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2071 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2073 (ENTER): Remove both macro definitions.
2075 (CHECK_BOUNDS_LOW): Likewise.
2076 (CHECK_BOUNDS_HIGH): Likewise.
2077 (CHECK_BOUNDS_BOTH): Likewise.
2078 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2079 (RETURN_BOUNDED_POINTER): Likewise.
2080 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2081 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2082 (POP_ERRNO_LOCATION_RETURN): Likewise.
2083 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2084 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2085 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2087 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2088 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2089 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2090 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2091 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2092 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2093 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2094 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2095 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2096 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2097 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2098 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2099 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2100 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2102 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2103 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2105 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2106 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2107 * sysdeps/i386/i586/memset.S (memset): Likewise.
2108 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2109 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2110 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2112 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2113 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2114 Change uses of L(2) to L(out).
2115 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2116 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2117 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2118 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2119 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2121 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2122 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2124 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2125 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2126 (RETURN): Do not use macro LEAVE.
2127 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2128 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2129 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2130 * sysdeps/i386/i686/memset.S (memset): Likewise.
2131 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2132 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2133 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2134 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2136 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2137 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2138 L(1_2) and L(1_3) into L(1).
2139 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2140 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2141 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2142 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2143 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2144 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2145 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2146 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2147 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2149 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2150 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2151 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2152 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2153 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2154 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2155 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2156 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2157 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2158 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2159 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2160 * sysdeps/i386/strspn.S (strspn): Likewise.
2161 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2163 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2164 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2165 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2166 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2168 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2169 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2170 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2172 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2174 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2176 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2179 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2181 * math/atest-exp.c (exp_mpn): Remove ROUND.
2182 * math/atest-exp2.c (exp_mpn): Likewise.
2183 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2185 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2186 * stdlib/tst-tls-atexit-lib.c: Likewise.
2187 * stdlib/tst-tls-atexit.c: Likewise.
2189 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2191 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2192 and __attribute_alloc_size__.
2194 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2196 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2197 __attribute_alloc_size__.
2198 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2199 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2201 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2203 * include/programs/xmalloc.h: New file.
2204 * catgets/gencat.c: Include it.
2205 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2206 * elf/pldd.c: Likewise.
2207 * iconv/iconv_charmap.c: Likewise.
2208 * iconv/iconvconfig.c: Likewise.
2209 * iconv/strtab.c: Likewise.
2210 * locale/programs/locale.c: Likewise.
2211 * locale/programs/localedef.h: Likewise.
2212 * locale/programs/simple-hash.c: Likewise.
2213 * nscd/nscd.h: Likewise.
2214 * nss/makedb.c: Likewise.
2215 * sysdeps/generic/ldconfig.h: Likewise.
2217 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2219 * Versions.def: Add GLIBC_2.18.
2220 * include/link.h (struct link_map): New member l_tls_dtor_count.
2221 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2222 (__call_tls_dtors): Likewise.
2223 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2224 __cxa_thread_atexit_impl.
2225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2233 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2241 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2242 (tests): Add test case tst-tls-atexit.
2243 (modules-names): Add shared library for tst-tls-atexit.
2244 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2245 (GLIBC_PRIVATE): Add __call_tls_dtors.
2246 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2248 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2249 * stdlib/tst-tls-atexit.c: New test case.
2250 * stdlib/tst-tls-atexit-lib.c: New test case.
2252 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2254 * elf/Versions (ld): Add _dl_find_dso_for_object.
2255 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2256 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2257 (dl_open_worker): Use _dl_find_dso_for_object.
2258 * elf/dl-sym.c (do_sym): Likewise.
2259 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2261 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2263 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2264 Syntactic changes only.
2265 (_dl_runtime_profile): Do a tail-call to the resolved function.
2267 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2270 * sysdeps/x86_64/bp-asm.h: Remove file.
2271 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2272 <bp-sym.h> and <bp-asm.h>.
2273 (__clone): Do not use BP_SYM.
2274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2275 <bp-sym.h> and <bp-asm.h>.
2276 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2277 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2279 (_setjmp): Do not use BP_SYM.
2280 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2282 (setjmp): Do not use BP_SYM.
2283 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2285 (mempcpy): Do not use BP_SYM in weak_alias.
2286 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2288 (strchr): Do not use BP_SYM.
2289 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2291 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2292 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2293 (_start): Do not use BP_SYM.
2294 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2296 (strcat): Do not use BP_SYM.
2297 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2299 (STRCMP): Do not use BP_SYM.
2300 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2302 (STRCPY): Do not use BP_SYM.
2303 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2305 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2307 (FUNCTION): Do not use BP_SYM.
2308 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2310 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2312 2013-02-17 Andreas Jaeger <aj@suse.de>
2314 * time/Versions: Sort entries.
2315 * string/Versions: Likewise.
2316 * resolv/Versions: Likewise.
2317 * posix/Versions: Likewise.
2318 * iconv/Versions: Likewise.
2319 * elf/Versions: Likewise.
2320 * wcsmbs/Versions: Likewise.
2322 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2324 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2325 loop termination condition.
2327 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2328 variable to calculate EZ.
2331 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2332 the lower precision input.
2334 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2337 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2338 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2339 (run-via-rtld-prefix): Do not handle %-bp tests.
2340 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2341 (all-object-suffixes): Remove .ob.
2342 (bppfx): Remove variable.
2343 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2344 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2345 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2346 [$(build-bounded) = yes] (libtype.ob): Likewise.
2347 * Makerules (elide-routines.ob): Remove variable.
2348 (do-tests-clean): Do not handle *-bp.out.
2349 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2350 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2351 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2352 (tests): Do not include $(tests-bp.out).
2353 (xtests): Do not include $(xtests-bp.out).
2354 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2355 [$(build-bounded) = yes] ($(addprefix
2356 $(objpfx),$(binaries-bounded))): Remove rule.
2357 ($(objpfx)%-bp.out): Remove rule.
2358 * config.make.in (build-bounded): Remove variable.
2359 * crypt/Makefile [$(build-bounded) = yes]
2360 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2361 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2363 [$(build-bounded) = yes] (install-lib): Likewise.
2364 [$(build-bounded) = yes] (generated): Likewise.
2365 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2367 * intl/Makefile [$(build-bounded) = yes]
2368 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2369 * math/Makefile [$(build-bounded) = yes]
2370 ($(tests:%=$(objpfx)%-bp): Likewise.
2371 * misc/Makefile [$(build-bounded) = yes]
2372 ($(objpfx)tst-tsearch-bp): Likewise.
2373 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2374 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2376 * string/Makefile (o-objects.ob): Remove variable.
2377 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2378 (CFLAGS-.ob): Remove variable.
2379 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2380 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2381 both definitions of variable.
2382 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2383 (ASFLAGS-.ob): Remove variable.
2385 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2388 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2389 Remove __BOUNDED_POINTERS__ from condition.
2390 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2391 * string/bits/string2.h [!__NO_STRING_INLINES &&
2392 !__BOUNDED_POINTERS__]: Likewise.
2393 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2395 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2396 Remove conditional code.
2397 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2398 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2399 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2403 * csu/libc-start.c: Do not include <bp-sym.h>.
2404 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2405 * elf/dl-open.c: Do not include <bp-sym.h>.
2406 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2407 * math/fegetenv.c: Do not include <bp-sym.h>.
2408 (fegetenv): Do not use BP_SYM in versioned symbols.
2409 * nptl/sysdeps/pthread/bits/libc-lockP.h
2410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2413 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2415 (__pthread_mutex_destroy): Likewise.
2416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2417 (__pthread_mutex_lock): Likewise.
2418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2419 (__pthread_mutex_trylock): Likewise.
2420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2421 (__pthread_mutex_unlock): Likewise.
2422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2423 (__pthread_mutexattr_init): Likewise.
2424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2425 (__pthread_mutexattr_destroy): Likewise.
2426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2427 (__pthread_mutexattr_settype): Likewise.
2428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2429 (__pthread_rwlock_init): Likewise.
2430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2431 (__pthread_rwlock_destroy): Likewise.
2432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2433 (__pthread_rwlock_rdlock): Likewise.
2434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2435 (__pthread_rwlock_tryrdlock): Likewise.
2436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2437 (__pthread_rwlock_wrlock): Likewise.
2438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2439 (__pthread_rwlock_trywrlock): Likewise.
2440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2441 (__pthread_rwlock_unlock): Likewise.
2442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2443 (__pthread_key_create): Likewise.
2444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2445 (__pthread_setspecific): Likewise.
2446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2447 (__pthread_getspecific): Likewise.
2448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2451 (_pthread_cleanup_push_defer): Likewise.
2452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2453 (_pthread_cleanup_pop_restore): Likewise.
2454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2455 (pthread_setcancelstate): Likewise.
2456 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2458 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2459 (memchr): Do not use BP_SYM in weak_alias.
2460 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2461 (fegetenv): Do not use BP_SYM in versioned symbols.
2462 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2463 (fesetenv): Do not use BP_SYM in versioned symbols.
2464 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2465 (feupdateenv): Do not use BP_SYM in versioned symbols.
2466 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2467 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2468 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2469 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2470 (open64): Do not use BP_SYM in weak_alias.
2471 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2472 (fegetenv): Do not use BP_SYM in versioned symbols.
2473 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2474 (fesetenv): Do not use BP_SYM in versioned symbols.
2475 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2476 (feupdateenv): Do not use BP_SYM in versioned symbols.
2477 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2478 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2479 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2480 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2481 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2482 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2483 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2485 (__libc_start_main): Do not use BP_SYM.
2487 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2490 redundant return line.
2494 (sub_magnitudes): Likewise.
2500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2504 (sub_magnitudes): Likewise.
2511 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2513 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2514 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2517 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2518 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2519 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2520 of __mul for squares.
2521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2525 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2526 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2528 2013-02-13 Joseph Myers <joseph@codesourcery.com>
2531 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2533 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2534 prototype or function definition. Rename ubp_* variables and
2535 parameters. Remove argv definitions conditional on
2536 [__BOUNDED_POINTERS__].
2537 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2538 * elf/dl-runtime.c (_dl_fixup): Likewise.
2539 * include/set-hooks.h (RUN_HOOK): Likewise.
2540 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2542 * string/strcpy.c (strcpy): Do not use __unbounded.
2543 * sysdeps/generic/frame.h (struct layout): Likewise.
2544 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2545 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2546 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2547 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2548 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2549 (__backtrace): Likewise.
2550 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2552 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2553 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2554 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2556 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2557 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2558 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2559 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2560 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2561 Do not use __unbounded.
2562 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2563 Rename __unboundedrlimits parameter to rlimits in prototype.
2564 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2565 Do not use __unbounded.
2566 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2568 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2569 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2570 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2571 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2572 __ptrvalue or __unbounded.
2573 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2574 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2576 (__new_msgctl): Do not use __ptrvalue.
2577 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2579 (__libc_msgrcv): Do not use __ptrvalue.
2580 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2581 startup_info): Do not use __unbounded.
2582 (__libc_start_main): Likewise. Rename ubp_* variables and
2583 parameters. Remove argv definitions conditional on
2584 [__BOUNDED_POINTERS__].
2585 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2587 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2589 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2591 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2593 (__new_shmctl): Do not use __ptrvalue.
2594 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2595 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2597 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2598 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2599 (__libc_sigaction): Likewise.
2600 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2601 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2603 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2605 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
2607 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2609 * string/mempcpy.c: Implement by calling memcpy.
2611 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2613 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2618 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2619 values in the mantissa.
2621 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2622 minimize writes to Z.
2623 (sub_magnitudes): Simplify code a bit.
2625 2013-02-12 Roland McGrath <roland@hack.frob.com>
2627 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2628 from the message. The linker prefixes all warnings with that already.
2630 2013-02-12 Andreas Schwab <schwab@suse.de>
2633 * posix/regexec.c (extend_buffers): Add parameter min_len.
2634 (check_matching): Pass minimum needed length.
2635 (clean_state_log_if_needed): Likewise.
2636 (get_subexp): Likewise.
2637 * posix/Makefile (tests): Add bug-regex34.
2638 (bug-regex34-ENV): Define.
2639 * posix/bug-regex34.c: New file.
2642 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2643 elements compare against the byte sequence of it, not its name.
2644 * posix/Makefile (tests): Add bug-regex35.
2645 (bug-regex35-ENV): Define.
2646 * posix/bug-regex35.c: New file.
2648 2013-02-11 Tom de Vries <tom@codesourcery.com>
2650 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2652 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2653 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2654 (CHECK_EOL): Add undef.
2656 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
2658 * bits/stdlib-bsearch.h: New file.
2659 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2660 * stdlib/stdlib.h: Likewise.
2662 2013-02-11 Roland McGrath <roland@hack.frob.com>
2664 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2665 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2667 * manual/search.texi (Array Search Function): Add missing const in
2669 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2670 declaration to use rlim_t.
2671 (Basic Scheduling Functions): Remove erroneous const from
2672 sched_getparam prototype. Remove erroneous * from
2673 sched_get_priority_max and sched_get_priority_min prototypes.
2674 (Resource Usage): Fix summary @comment on vtimes to refer to
2675 sys/vtimes.h rather than vtimes.h.
2676 Add missing *s in vtimes prototype.
2677 (Limits on Resources): Fix ulimit prototype to return long int.
2678 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2679 prototypes to use long int rather than double.
2680 (BSD Random): Fix initstate and setstate to use char *, not void *.
2681 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2682 prototype to make second argument 'struct aiocb64 *const[]'.
2683 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2684 (Status of AIO Operations): Remove erroneous const in aio_return and
2685 aio_return64 prototypes.
2686 (Synchronizing I/O): Fix sync prototype to return void.
2687 * manual/startup.texi (Suboptions): Remove an erroneous const in
2688 getsubopt prototype.
2689 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2690 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2691 use size_t rather than int.
2692 (Scanning All Users): Likewise for getpwent_r.
2693 (Setting Groups): Add missing const to setgroups prototype.
2694 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2695 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2696 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2697 'const void *' rather than 'const char *'.
2698 (Host Address Functions): Likewise for inet_ntop.
2699 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2700 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2701 ssize_t for return value.
2702 (Sending Data): Likewise for send, sendto, sendmsg.
2703 (Socket Option Functions): Add a missing const in setsockopt prototype.
2704 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2705 use wchar_t for the argument.
2706 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2707 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2709 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2710 double/float/long double for second argument.
2711 Fix return types of significand, significandf, significandl.
2712 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2713 argument in fchmod prototype.
2714 (File Owner): Use uid_t and gid_t in fchown prototype.
2715 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2716 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2717 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2718 use 'const struct dirent **' as argument types to CMP function pointer
2720 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2721 (File Times): Fix summary magic @comment for struct utimbuf and utime
2722 to refer to utime.h, not time.h.
2723 * manual/string.texi (Argz Functions): Add missing const in
2724 argz_extract and argz_next prototypes.
2725 (Finding Tokens in a String): Likewise for basename.
2726 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2727 (Copying and Concatenation): Fix typo in wmemmove prototype.
2728 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2729 (Signal Stack): Remove erroneous const in sigstack prototype.
2730 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2732 (Simple Calendar Time): Likewise for stime.
2733 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2735 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2736 say sys/sysctl.h instead.
2737 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2738 and vsyslog prototypes.
2740 2013-02-11 Tom de Vries <tom@codesourcery.com>
2742 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2745 2013-02-11 Roland McGrath <roland@hack.frob.com>
2747 * misc/sys/mman.h: Fix typo in mremap comment.
2749 2013-02-08 Roland McGrath <roland@hack.frob.com>
2751 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2752 the '\0' terminator.
2754 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2757 * debug/segfault.c: Don't include <bp-checks.h>.
2758 * sysdeps/generic/bp-checks.h: Remove file.
2759 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2760 (__GETDENTS): Don't use CHECK_N.
2761 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2762 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2763 (__getgroups): Don't use CHECK_N.
2764 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2765 (setgroups): Don't use CHECK_N.
2766 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2767 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2768 (__libc_msgrcv): Don't use CHECK_N.
2769 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2770 (__libc_msgsnd): Don't use CHECK_N.
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2773 (__libc_pread): Don't use CHECK_N.
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2775 include <bp-checks.h>.
2776 (__libc_pread64): Don't use CHECK_N.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2778 include <bp-checks.h>.
2779 (__libc_pwrite): Don't use CHECK_N.
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2781 include <bp-checks.h>.
2782 (__libc_pwrite64): Don't use CHECK_N.
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2785 (__libc_pread): Don't use CHECK_N.
2786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2787 include <bp-checks.h>.
2788 (__libc_pread64): Don't use CHECK_N.
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2790 include <bp-checks.h>.
2791 (__libc_pwrite): Don't use CHECK_N.
2792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2793 include <bp-checks.h>.
2794 (__libc_pwrite64): Don't use CHECK_N.
2795 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2796 (do_pread): Don't use CHECK_N.
2797 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2798 (do_pread64): Don't use CHECK_N.
2799 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2800 (do_pwrite): Don't use CHECK_N.
2801 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2802 (do_pwrite64): Don't use CHECK_N.
2803 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2804 (__libc_readv): Don't use CHECK_N.
2805 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2806 (semop): Don't use CHECK_N.
2807 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2809 (semtimedop): Don't use CHECK_N.
2810 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2811 (__libc_pread): Don't use CHECK_N.
2812 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2814 (__libc_pread64): Don't use CHECK_N.
2815 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2817 (__libc_pwrite): Don't use CHECK_N.
2818 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2820 (__libc_pwrite64): Don't use CHECK_N.
2821 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2823 (__libc_msgrcv): Don't use CHECK_N.
2824 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2825 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2826 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2827 (__libc_writev): Don't use CHECK_N.
2829 2013-02-08 Roland McGrath <roland@hack.frob.com>
2831 * string/strcpy.c: Removed unused variable.
2833 * Makeconfig (+sysdep-includes): Define with := rather than =.
2834 Use an existing include/ subdir of each sysdeps dir before it.
2836 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2838 * nscd/connection.c (register_traced_file): Comment function.
2839 [HAVE_INOTIFY] (union __inev): Define.
2840 [HAVE_INOTIFY] (inotify_check_files): New function.
2841 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2842 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2844 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2846 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2848 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2849 loaded if not already and that a failure is permanent.
2851 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2854 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2855 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2857 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2860 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2861 (CHECK_1_NULL_OK): Likewise.
2862 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2863 (__fxstat): Do not use CHECK_1.
2864 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2866 (___fxstat64): Do not use CHECK_1.
2867 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2869 (__fxstatat): Do not use CHECK_1.
2870 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2872 (__fxstatat64): Do not use CHECK_1.
2873 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2875 (__fxstat): Do not use CHECK_1.
2876 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2878 (__fxstatat): Do not use CHECK_1.
2879 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2881 (__getresgid): Do not use CHECK_1.
2882 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2884 (__getresuid): Do not use CHECK_1.
2885 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2887 (__lxstat): Do not use CHECK_1.
2888 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2890 (__old_msgctl): Do not use CHECK_1.
2891 (__new_msgctl): Likewise.
2892 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2894 (__new_setrlimit): Do not use CHECK_1.
2895 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2897 (__old_shmctl): Do not use CHECK_1.
2898 (__new_shmctl): Likewise.
2899 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2901 (__xstat): Do not use CHECK_1.
2902 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2903 (__lxstat): Do not use CHECK_1.
2904 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2906 (___lxstat64): Do not use CHECK_1.
2907 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2908 (__old_msgctl): Do not use CHECK_1.
2909 (__new_msgctl): Likewise.
2910 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2912 (__gettimeofday): Do not use CHECK_1.
2913 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2914 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2915 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2917 (__gettimeofday): Do not use CHECK_1.
2918 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2919 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2920 (__new_shmctl): Do not use CHECK_1.
2921 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2923 (do_sigtimedwait): Do not use CHECK_1.
2924 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2926 (do_sigwaitinfo): Do not use CHECK_1.
2927 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2929 (msgctl): Do not use CHECK_1.
2930 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2932 (shmctl): Do not use CHECK_1.
2933 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2934 (ustat): Do not use CHECK_1.
2935 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2937 (__fxstat): Do not use CHECK_1.
2938 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2940 (__fxstatat): Do not use CHECK_1.
2941 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2943 (__lxstat): Do not use CHECK_1.
2944 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2946 (__xstat): Do not use CHECK_1.
2947 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2948 (__xstat): Do not use CHECK_1.
2949 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2950 (___xstat64): Do not use CHECK_1.
2953 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2955 (CHECK_BOUNDS_HIGH): Likewise.
2956 * string/strcpy.c: Do not include <bp-checks.h>.
2957 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2959 2013-02-07 Roland McGrath <roland@hack.frob.com>
2961 * nscd/nscd-client.h (__nscd_drop_map_ref):
2962 Add __attribute__ ((unused)).
2963 * nis/nss-nisplus.h (niserr2nss): Likewise.
2965 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2966 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2968 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2969 Remove inline keyword.
2970 * include/rounding-mode.h (round_away): Likewise.
2971 * libio/wfileops.c (adjust_wide_data): Likewise.
2972 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2973 (__m128i_strloadu_tolower): Likewise.
2974 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2975 (__m128i_strloadu_tolower): Likewise.
2976 * time/mktime.c (ydhms_diff): Likewise.
2977 * locale/elem-hash.h (elem_hash): Likewise.
2978 * locale/setlocale.c (setdata): Likewise.
2979 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2980 (re_string_wchar_at): Likewise.
2981 (bitset_not, bitset_merge, bitset_mask): Likewise.
2982 [!(__GNUC__ > 3)] (inline): Remove macro.
2983 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2984 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2985 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2986 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2987 * string/memcmp.c (memcmp_bytes): Likewise.
2988 * locale/programs/locarchive.c (compute_hashval): Likewise.
2989 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2990 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2991 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2992 * nss/getent.c (print_rpc, print_protocols): Likewise.
2993 (print_passwd, print_group, print_aliases): Likewise.
2994 * nis/nss-nisplus.h (niserr2nss): Likewise.
2995 * nscd/connections.c (restart_p): Likewise.
2996 Change return type to bool.
2998 2013-02-05 Roland McGrath <roland@hack.frob.com>
3000 * Makeconfig (all-Depend-files): Add existing
3001 $(sorted-subdirs:=/Depend) files.
3002 (all-subdirs): Remove nss.
3003 * sysdeps/unix/inet/Subdirs: Add it here instead.
3004 * hesiod/Depend: New file.
3006 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3007 instead of calling alloca.
3009 * io/lseek.c (__lseek): Rename to __libc_lseek.
3010 Define __lseek as an alias.
3012 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3014 2013-02-04 Carlos O'Donell <carlos@redhat.com>
3016 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3017 else clause and remove check for non-standard endianness.
3019 2013-02-04 David S. Miller <davem@davemloft.net>
3021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3023 2013-02-04 Joseph Myers <joseph@codesourcery.com>
3026 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3027 (__ubp_memchr): Remove prototype.
3028 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3029 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3030 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3031 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3032 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3034 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3035 (__ubp_memchr): Likewise.
3036 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3037 (__ubp_memchr): Likewise.
3038 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3039 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3040 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3041 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3043 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3044 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3045 (__getcwd): Do not use CHECK_STRING.
3046 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3048 (__real_chown): Do not use CHECK_STRING.
3049 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3051 (fchownat): Do not use CHECK_STRING.
3052 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3054 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3056 (__lchown): Do not use CHECK_STRING.
3057 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3058 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3059 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3060 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3062 include <bp-checks.h>.
3063 (truncate64): Do not use CHECK_STRING.
3064 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3066 (__real_chown): Do not use CHECK_STRING.
3067 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3069 (__lchown): Do not use CHECK_STRING.
3070 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3072 (__chown): Do not use CHECK_STRING.
3073 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3075 (truncate64): Do not use CHECK_STRING.
3076 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3078 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3079 (__xmknod): Do not use CHECK_STRING.
3080 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3082 (__xmknodat): Do not use CHECK_STRING.
3083 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3084 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3086 2013-02-04 Andreas Schwab <schwab@suse.de>
3089 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3090 * include/netdb.h: Likewise for h_errno.
3091 * elf/tst-stackguard1.c: Include <tls.h>.
3093 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3095 * elf/link.h (struct link_map): Extend the l_addr comment.
3096 * include/link.h (struct link_map): Likewise.
3098 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3101 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3102 (BOUNDED_1): Remove macro.
3103 * debug/backtrace.c: Don't include <bp-checks.h>.
3104 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3105 (__backtrace): Likewise.
3106 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3108 (__backtrace): Don't use BOUNDED_1.
3109 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3111 (__backtrace): Don't use BOUNDED_1.
3112 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3113 (__backtrace): Don't use BOUNDED_1.
3114 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3115 (shmat): Don't use BOUNDED_N.
3117 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3120 * sysdeps/generic/bp-start.h: Remove file.
3121 * csu/libc-start.c: Don't include <bp-start.h>.
3122 (LIBC_START_MAIN): Set up __environ directly instead of using
3123 INIT_ARGV_and_ENVIRON.
3124 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3128 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3130 (CHECK_FCNTL): Likewise.
3131 (CHECK_N_PAGES): Likewise.
3134 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3136 (CHECK_SIGSET_NULL_OK): Likewise.
3137 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3139 (sigpending): Don't use CHECK_SIGSET.
3140 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3142 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3143 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3145 (do_sigsuspend): Don't use CHECK_SIGSET.
3146 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3148 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3149 (do_sigwait): Don't use CHECK_SIGSET.
3150 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3152 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3153 include <bp-checks.h>.
3154 (sigpending): Don't use CHECK_SIGSET.
3155 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3156 include <bp-checks.h>.
3157 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3158 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3160 (sigpending): Don't use CHECK_SIGSET.
3161 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3163 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3166 * sysdeps/generic/bp-semctl.h: Remove file.
3167 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3168 <bp-checks.h> and <bp-semctl.h>.
3169 (__old_semctl): Don't use CHECK_SEMCTL.
3170 (__new_semctl): Likewise.
3171 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3173 (__old_semctl): Don't use CHECK_SEMCTL.
3174 (__new_semctl): Likewise.
3175 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3176 <bp-checks.h> and <bp-semctl.h>.
3177 (__old_semctl): Don't use CHECK_SEMCTL.
3178 (__new_semctl): Likewise.
3179 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3180 <bp-checks.h> and <bp-semctl.h>.
3181 (semctl): Don't use CHECK_SEMCTL.
3184 * Makerules (elide-bp-thunks): Remove variable.
3185 (elide-routines.oS): Don't use $(elide-bp-thunks).
3186 (elide-routines.os): Likewise.
3187 (elide-routines.o): Likewise.
3188 (elide-routines.op): Likewise.
3189 (elide-routines.og): Likewise.
3190 (objects): Don't use $(bp-thunks).
3191 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3193 (common-generated): Do not add s-proto-bp.d.
3194 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3197 Do not generate makefile rules for bounded-pointer thunks.
3198 * sysdeps/generic/bp-thunks.h: Remove file.
3199 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3200 * sysdeps/unix/s-proto-bp.S: Likewise.
3203 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3204 parts of result separately when argument is not close to line from
3205 -i to i and one part of argument is small.
3206 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3207 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3208 * math/libm-test.inc (cacos_test): Add more tests.
3209 (casin_test): Likewise.
3210 (casinh_test): Likewise.
3211 * sysdeps/i386/fpu/libm-test-ulps: Update.
3212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3214 2013-01-31 David S. Miller <davem@davemloft.net>
3216 * po/de.po: Update from translation team.
3218 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3220 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3222 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3224 * configure.in (_AC_PROG_CC_C89): New definition.
3225 * configure: Regenerate.
3227 * configure.in (AC_PROG_CPP): New definition.
3228 * configure: Regenerate.
3230 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3232 * debug/tst-backtrace.h: New file.
3233 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3234 (ret): Remove variable.
3236 (FAIL): Remove macro.
3237 (NO_INLINE): Likewise.
3238 (fn1): Use match function instead of strstr.
3239 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3240 (ret): Remove variable.
3242 (FAIL): Remove macro.
3243 (NO_INLINE): Likewise.
3244 (fn): Use match function instead of strstr.
3245 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3246 (ret): Remove variable.
3248 (FAIL): Remove macro.
3249 (NO_INLINE): Likewise.
3250 (handle_signal): Use match function instead of strstr.
3251 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3252 (ret): Remove variable.
3254 (FAIL): Remove macro.
3255 (NO_INLINE): Likewise.
3256 (handle_signal): Use match function instead of strstr.
3258 2013-01-23 Roland McGrath <roland@hack.frob.com>
3260 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3262 2013-01-23 David S. Miller <davem@davemloft.net>
3264 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3265 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3266 argument of CAS if possible.
3267 * sysdeps/sparc/sparc64/bits/atomic.h
3268 (__arch_compare_and_exchange_val_32_acq): Likewise.
3269 (__arch_compare_and_exchange_val_64_acq): Likewise.
3271 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3273 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3274 * sysdeps/posix/ulimit.c: ... this.
3276 * sysdeps/unix/bsd/ulimit.c: Remove file.
3278 2013-01-23 Adam Conrad <adconrad@0c3.net>
3280 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3281 (LDFLAGS-tst-array5): Likewise.
3283 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3286 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3287 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3288 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3289 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3291 2013-01-21 David S. Miller <davem@davemloft.net>
3293 * sysdeps/sparc/backtrace.c: New file.
3294 * sysdeps/sparc/sparc32/backtrace.h: New file.
3295 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3296 * sysdeps/sparc/sparc64/backtrace.h: New file.
3297 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3298 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3301 2013-01-21 Andreas Schwab <schwab@suse.de>
3304 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3307 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3313 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3314 Mark Mitchell <mark@codesourcery.com>
3315 Tom de Vries <tom@codesourcery.com>
3316 Paul Pluzhnikov <ppluzhnikov@google.com>
3318 * debug/tst-backtrace2.c: New file.
3319 * debug/tst-backtrace3.c: Likewise.
3320 * debug/tst-backtrace4.c: Likewise.
3321 * debug/tst-backtrace5.c: Likewise.
3322 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3323 (CFLAGS-tst-backtrace3.c): Likewise.
3324 (CFLAGS-tst-backtrace4.c): Likewise.
3325 (CFLAGS-tst-backtrace5.c): Likewise.
3326 (LDFLAGS-tst-backtrace2): Likewise.
3327 (LDFLAGS-tst-backtrace3): Likewise.
3328 (LDFLAGS-tst-backtrace4): Likewise.
3329 (LDFLAGS-tst-backtrace5): Likewise.
3330 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3331 tst-backtrace4 and tst-backtrace5.
3333 2013-01-18 Anton Blanchard <anton@samba.org>
3334 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3336 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3337 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3338 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3339 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3341 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3342 "+r" and remove output regs list as redundant. Add explicit inline
3343 asm to specify register of return val to work around compiler codegen
3344 bug. Remove (int) cast on return value. Add return type parameter to
3345 use in macro so that this macro does not truncate return value for
3347 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3348 pass to INTERNAL_VSYSCALL_NCS.
3349 (INLINE_VSYSCALL): Add 'long int' as return type to
3350 INTERNAL_VSYSCALL_NCS macro invocation.
3351 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3352 INTERNAL_VSYSCALL_NCS macro invocation.
3353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3355 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3358 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3359 Fix application of SIMD FP exception mask.
3361 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3362 mp_no from a power of two.
3363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3364 __mpexp_twomm1. Use __pow_mp.
3366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3369 2013-01-17 David S. Miller <davem@davemloft.net>
3371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3373 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3376 * include/complex.h: Condition contents on [!_COMPLEX_H].
3377 (__kernel_casinhf): New prototype.
3378 (__kernel_casinh): Likewise.
3379 (__kernel_casinhl): Likewise.
3380 * math/Makefile (libm_calls): Add k_casinh.
3381 * math/k_casinh.c: New file.
3382 * math/k_casinhf.c: Likewise.
3383 * math/k_casinhl.c: Likewise.
3384 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3385 finite nonzero arguments.
3386 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3387 finite nonzero arguments.
3388 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3389 finite nonzero arguments.
3390 * math/s_casinh.c: Do not include <float.h>.
3391 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3392 * math/s_casinhf.c: Do not include <float.h>.
3393 (__casinhf): Move code for finite nonzero arguments to
3395 * math/s_casinhl.c: Do not include <float.h>.
3396 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3398 (__casinhl): Move code for finite nonzero arguments to
3400 * math/libm-test.inc (cacos_test): Add more tests.
3401 * sysdeps/i386/fpu/libm-test-ulps: Update.
3402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3404 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3406 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3407 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3408 [!HAVE_MREMAP]: Remove [defined linux] case.
3409 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3411 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3413 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3415 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3417 * elf/elf.h (R_386_SIZE32): New relocation.
3418 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3420 (elf_machine_rela): Likewise.
3421 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3422 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3424 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3426 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3427 (FP_FAST_FMA): Do not define.
3428 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3429 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3430 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3431 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3432 !_SOFT_FLOAT]: Likewise.
3433 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3434 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3436 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3437 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3438 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3439 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3440 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3441 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3444 2013-01-16 Andreas Schwab <schwab@suse.de>
3447 * include/stdlib.h (__mktemp): Add declaration.
3448 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3449 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3451 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3453 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3455 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3456 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3457 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3459 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3460 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3462 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3464 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3465 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3466 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3468 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3469 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3471 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3473 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3475 2013-01-15 David S. Miller <davem@davemloft.net>
3477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3478 trunc{,f} to libm-sysdep_routes.
3479 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3489 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3490 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3491 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3492 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3493 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3494 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3497 nearbyint{,f} to libm-sysdep_routes.
3498 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3509 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3511 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3512 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3514 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3515 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3516 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3518 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3519 libc_feholdexcept and libc_fesetenv.
3521 2013-01-15 Mike Frysinger <vapier@gentoo.org>
3523 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3525 2013-01-14 David S. Miller <davem@davemloft.net>
3527 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3528 (SPARC_ASM_VIS2_IFUNC): Likewise.
3529 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3531 use of 'siam' instruction.
3532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3539 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3550 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3565 routines to libm-sysdep_routines.
3566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3569 fdim/fdimf to libm-sysdep_routines.
3570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3578 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3579 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3580 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3581 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3583 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3585 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3588 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3593 local variable MPTWO.
3594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3597 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3599 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3602 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3604 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3606 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3608 * manual/pattern.texi (glob_t): Document gl_flags.
3609 (glob64_t): Likewise.
3611 2013-01-11 David S. Miller <davem@davemloft.net>
3613 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3614 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3615 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
3616 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3617 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3618 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3619 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3620 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3621 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3622 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3623 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3624 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3625 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3627 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3628 sparc V9 rather than using V8 code.
3629 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3630 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3632 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3634 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3637 2013-01-11 Roland McGrath <roland@hack.frob.com>
3639 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3640 not in the main loop.
3641 * configure: Regenerated.
3643 2013-01-11 Joseph Myers <joseph@codesourcery.com>
3645 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3646 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3648 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3649 [!__GLIBC_HAVE_LONG_LONG] case.
3650 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3651 condition to just #else.
3652 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3653 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3654 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3655 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3657 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3658 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3659 #elif condition to just #else.
3660 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3661 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3662 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3663 #elif condition to just #else.
3665 2013-01-11 Steve Ellcey <sellcey@mips.com>
3667 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3668 (EF_MIPS_ARCH_64): Fix value.
3669 (EF_MIPS_ARCH_32R2): New.
3670 (EF_MIPS_ARCH_64R2): New.
3672 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3674 * Makeconfig (+link-pie-before-libc): New.
3675 (+link-pie-after-libc): Likewise.
3676 (+link-pie-tests): Likewise.
3677 (+link-pie): Rewritten.
3678 (link-before-libc): Remove $(config-LDFLAGS).
3679 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3680 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3681 (config-LDFLAGS): Renamed to ...
3682 (rtld-LDFLAGS): This.
3683 (rtld-tests-LDFLAGS): New macro.
3684 (link-libc-rpath-link): Likewise.
3685 (link-libc-tests-rpath-link): Likewise.
3686 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3687 (link-libc): Prepand $(link-libc-rpath-link).
3688 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3689 (test-program-prefix): New macro.
3690 (test-via-rtld-prefix): Likewise.
3691 (test-program-cmd): Likewise.
3692 (host-test-program-cmd): Likewise.
3693 * Makefile ($(common-objpfx)testrun.sh): Replace
3694 $(run-program-prefix) with $(test-program-prefix).
3695 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3697 ($(common-objpfx)shlib.lds): Likewise.
3698 (build-module-helper): Likewise.
3699 ($(common-objpfx)format.lds): Likewise.
3700 * Rules (binaries-pie-tests): New.
3701 (binaries-pie-notests): Likewise.
3702 (binaries-pie): Rewritten.
3703 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3704 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3705 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3706 (make-test-out): Replace $(host-built-program-cmd) with
3707 $(host-test-program-cmd).
3708 * config.make.in (build-hardcoded-path-in-tests): New variable.
3709 * configure.in (--enable-hardcoded-path-in-tests): New configure
3711 (hardcoded_path_in_tests): New AC_SUBST.
3712 * configure: Regenerated.
3713 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3714 $(built-program-cmd) with $(test-program-cmd).
3715 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3716 (test_program_cmd): This.
3717 * elf/Makefile ($(objpfx)order.out): Run test with
3718 $(test-program-prefix).
3719 ($(objpfx)order2.out): Likewise.
3720 ($(objpfx)tst-initorder.out): Likewise.
3721 ($(objpfx)tst-initorder2.out): Likewise.
3722 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3723 $(test-program-cmd).
3724 ($(objpfx)tst-array1-static.out): Likewise.
3725 ($(objpfx)tst-array2.out): Likewise.
3726 ($(objpfx)tst-array3.out): Likewise.
3727 ($(objpfx)tst-array4.out): Likewise.
3728 ($(objpfx)tst-array5.out): Likewise.
3729 ($(objpfx)tst-array5-static.out): Likewise.
3730 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3731 $(test-program-cmd).
3732 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3733 $(run-program-prefix) with $(test-program-prefix).
3734 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3735 (test_program_prefix): This.
3736 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3737 $(run-program-prefix) with $(test-program-prefix).
3738 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3739 (test_program_prefix): This.
3740 * iconvdata/tst-tables.sh: Likewise.
3741 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3742 $(run-program-prefix) with $(test-program-prefix).
3743 ($(objpfx)tst-translit.out): Likewise.
3744 ($(objpfx)tst-gettext2.out): Likewise.
3745 ($(objpfx)tst-gettext4.out): Likewise.
3746 ($(objpfx)tst-gettext6.out): Likewise.
3747 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3748 (test_program_prefix): This.
3749 * intl/tst-gettext2.sh: Likewise.
3750 * intl/tst-gettext4.sh Likewise.
3751 * intl/tst-gettext6.sh: Likewise.
3752 * intl/tst-translit.sh: Likewise.
3753 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3754 with $(test-program-cmd).
3755 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3756 $(run-program-prefix) with $(test-program-prefix).
3757 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3758 (test_program_prefix): This.
3759 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3760 $(run-program-prefix) with $(test-program-prefix).
3761 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3762 (test_program_prefix): This.
3763 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3764 * posix/Makefile ($(objpfx)globtest.out): Replace
3765 $(run-via-rtld-prefix) and $(test-wrapper) with
3766 $(test-program-prefix) and $(test-via-rtld-prefix).
3767 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3768 $(test-program-prefix).
3769 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3770 $(host-test-program-cmd).
3771 (tst-spawn-ARGS): Likewise.
3772 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3773 $(test-program-prefix).
3774 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3775 (test_via_rtld_prefix): This.
3776 (test_wrapper): Renamed to ...
3777 (test_program_prefix): This.
3778 (run_program_prefix): Replaced by test_program_prefix.
3779 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3780 (test_program_prefix): This.
3781 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3782 with $(host-test-program-cmd).
3783 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3784 $(run-program-prefix) with $(test-program-prefix).
3785 ($(objpfx)tst-printf.out): Likewise.
3786 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3787 $(test-program-cmd).
3788 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3789 (test_program_prefix): This.
3790 * stdio-common/tst-unbputc.sh: Likewise.
3791 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3792 $(run-program-prefix) with $(test-program-prefix).
3793 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3794 (test_program_prefix): This.
3795 * string/Makefile ($(objpfx)tst-svc.out): Replace
3796 $(built-program-cmd) with $(test-program-cmd).
3798 2013-01-11 Andreas Jaeger <aj@suse.de>
3801 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3802 value. Sync with Linux 3.7.
3804 2013-01-10 David S. Miller <davem@davemloft.net>
3806 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3807 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3808 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3810 2013-01-10 Roland McGrath <roland@hack.frob.com>
3812 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3814 * configure: Regenerated.
3816 2013-01-10 David S. Miller <davem@davemloft.net>
3818 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3819 sparc V9 rather than using V8 code.
3820 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3821 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3823 2013-01-10 Roland McGrath <roland@hack.frob.com>
3825 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3826 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3827 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3828 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3829 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3830 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3831 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3832 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3833 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3834 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3835 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3836 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3837 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3838 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3839 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3840 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3841 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3842 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3843 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3844 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3845 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3846 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3847 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3848 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3849 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3850 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3851 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3853 2013-01-10 David S. Miller <davem@davemloft.net>
3855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3857 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3859 * posix/Makefile (tests-static): New variable.
3860 (tests): Add $(tests-static).
3861 (tst-exec-static-ARGS): New variable.
3862 (tst-spawn-static-ARGS): Likewise.
3863 * posix/tst-exec-static.c: New file.
3864 * posix/tst-spawn-static.c: Likewise.
3865 * posix/tst-exec.c: Support run directly.
3866 * posix/tst-spawn.c: Likewise.
3868 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3870 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3872 * math/bits/mathcalls.h (llrint): Likewise.
3873 (llround): Likewise.
3874 * stdlib/stdlib.h (struct drand48_data): Likewise.
3875 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3876 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3877 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3879 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3881 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3882 (elf_greg_t): Likewise.
3883 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3884 (__jmp_buf): Likewise.
3885 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3887 (llrint): Likewise, for all definitions.
3888 (llrintl): Likewise.
3890 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3891 Remove [__GNUC__] condition.
3892 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3893 condition to just [__USE_ISOC99].
3894 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3896 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3899 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3900 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3902 (_POSIX_V6_ILP32_OFF32): Likewise.
3903 (_XBS5_ILP32_OFF32): Likewise.
3904 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3905 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3907 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3909 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3911 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3912 doubles __mpexp_twomm1. Adjust usage.
3913 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3916 2013-01-10 Andreas Schwab <schwab@suse.de>
3919 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3920 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3922 2013-01-09 David S. Miller <davem@davemloft.net>
3925 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3926 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3927 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3928 TCP_FASTOPEN): Define.
3929 (tcp_repair_opt): New structure.
3930 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3932 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3933 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3934 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3935 (tcp_cookie_transactions): New structure.
3937 2013-01-09 Anton Blanchard <anton@samba.org>
3939 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3940 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3941 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3942 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3944 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3946 * include/features.h (__USE_ANSI): Remove.
3948 2013-01-09 Roland McGrath <roland@hack.frob.com>
3950 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3952 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3954 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3956 * sysdeps/s390/fpu/libm-test-ulps: Update.
3958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3960 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3965 (__mp_dbl): Likewise.
3966 (__dbl_mp): Likewise.
3967 (add_magnitudes): Likewise.
3968 (sub_magnitudes): Likewise.
3974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3979 (__mp_dbl): Likewise.
3980 (__dbl_mp): Likewise.
3981 (add_magnitudes): Likewise.
3982 (sub_magnitudes): Likewise.
3988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3993 (__mp_dbl): Likewise.
3994 (__dbl_mp): Likewise.
3995 (add_magnitudes): Likewise.
3996 (sub_magnitudes): Likewise.
4003 2013-01-08 Joseph Myers <joseph@codesourcery.com>
4005 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4006 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4007 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4008 2 && __USE_EXTERN_INLINES]: Likewise.
4010 2013-01-08 Andreas Jaeger <aj@suse.de>
4013 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4015 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4016 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4018 2013-01-07 Anton Blanchard <anton@samba.org>
4020 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4021 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4022 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4023 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4024 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4025 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4026 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4027 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4029 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4030 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4031 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4032 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4033 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4034 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4035 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4036 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4037 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4038 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4039 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4040 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4041 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4042 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4043 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4044 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4045 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4046 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4047 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4048 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4049 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4050 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4052 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4053 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4054 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4055 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4056 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4057 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4058 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4059 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4060 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4062 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4064 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4066 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4067 (__MALLOC_PMT): Likewise.
4068 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4069 [__GNUC__], only on [_LIBC].
4070 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4071 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4072 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4073 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4074 forward declaration.
4075 (realloc_hook_ini): Likewise.
4076 (memalign_hook_ini): Likewise.
4077 (__libc_memalign): Do not use __MALLOC_PMT in variable
4079 (__libc_valloc): Likewise.
4080 (__libc_pvalloc): Likewise.
4081 (__libc_calloc): Likewise.
4082 (__posix_memalign): Likewise.
4085 * math/s_casinh.c: Include <float.h>.
4086 (__casinh): Do not do computation with squaring and square root
4087 for large arguments.
4088 * math/s_casinhf.c: Include <float.h>.
4089 (__casinhf): Do not do computation with squaring and square root
4090 for large arguments.
4091 * math/s_casinhl.c: Include <float.h>.
4092 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4093 (__casinhl): Do not do computation with squaring and square root
4094 for large arguments.
4095 * math/libm-test.inc (casin_test): Add more tests.
4096 (casinh_test): Likewise.
4097 * sysdeps/i386/fpu/libm-test-ulps: Update.
4098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4100 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4102 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4103 (__x86_64_raw_data_cache_size): Likewise.
4104 (__x86_64_data_cache_size_half): Likewise.
4105 (__x86_64_raw_data_cache_size_half): Likewise.
4106 (__x86_64_shared_cache_size): Likewise.
4107 (__x86_64_raw_shared_cache_size): Likewise.
4108 (__x86_64_shared_cache_size_half): Likewise.
4109 (__x86_64_raw_shared_cache_size_half): Likewise.
4110 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4112 (__x86_data_cache_size): This.
4113 (__x86_64_raw_data_cache_size): Renamed to ...
4114 (__x86_raw_data_cache_size): This.
4115 (__x86_64_data_cache_size_half): Renamed to ...
4116 (__x86_data_cache_size_half): This.
4117 (__x86_64_raw_data_cache_size_half): Renamed to ...
4118 (__x86_raw_data_cache_size_half): This.
4119 (__x86_64_shared_cache_size): Renamed to ...
4120 (__x86_shared_cache_size): This.
4121 (__x86_64_raw_shared_cache_size): Renamed to ...
4122 (__x86_raw_shared_cache_size): This.
4123 (__x86_64_shared_cache_size_half): Renamed to ...
4124 (__x86_shared_cache_size_half): This.
4125 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4126 (__x86_raw_shared_cache_size_half): This.
4127 * sysdeps/x86_64/memcpy.S: Updated.
4128 * sysdeps/x86_64/memset.S: Likewise.
4129 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4130 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4131 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4133 2013-01-04 David S. Miller <davem@davemloft.net>
4135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4137 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4139 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4140 1 to avoid redefinition warning.
4141 (__USE_GNU): Don't define.
4142 (init_signaling_nan): Protoize.
4144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4146 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4148 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4150 (__cpymn): Likewise.
4151 (norm): Remove commented code.
4153 (__mp_dbl): Likewise.
4155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4156 (__cpymn): Likewise.
4157 (norm): Remove commented code.
4159 (__mp_dbl): Likewise.
4162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4163 mp_no value for 1.0 and 2.0.
4164 (norm): Use RADIXI instead of radixi.d.
4166 (__mul): Use 0.0 instead of zero.d.
4167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4168 mp_no value for 1.0 and 2.0.
4169 (norm): Use RADIXI instead of radixi.d.
4171 (__mul): Use 0.0 instead of zero.d.
4173 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4176 * math/s_casinh.c (__casinh): Reduce finite argument to first
4177 quadrant then set signs of results at the end.
4178 * math/s_casinhf.c (__casinhf): Likewise.
4179 * math/s_casinhl.c (__casinhl): Likewise.
4180 * math/libm-test.inc (casin_test): Add more tests.
4181 (casinh_test): Likewise.
4182 * sysdeps/i386/fpu/libm-test-ulps: Update.
4183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4185 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4187 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4189 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4191 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4194 (__mp_dbl): Likewise.
4197 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4198 and adjust the header comment.
4200 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4201 variable name from declaration.
4203 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4206 Initialize COMMON_CPUID_INDEX_7 element.
4207 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4208 (CPUID_RTM): Likewise.
4209 (HAS_RTM): Likewise.
4210 (COMMON_CPUID_INDEX_7): New enum.
4212 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4215 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4216 size is zero, record memory as freed.
4218 2013-01-03 Andreas Jaeger <aj@suse.de>
4220 * po/ia.po: Add new Interlingua translation.
4222 2012-01-03 Allan McRae <allan@archlinux.org>
4224 * locale/programs/localedef.c: Fix description of '--posix' flag.
4226 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4228 * NEWS: Update dates in second copyright notice.
4229 * README: Update copyright dates in example.
4230 * manual/libc.texinfo: Update copyright dates.
4231 * scripts/test-installation.pl: Update copyright date in --version
4234 * hurd/ctty-input.c: Fix copyright notice formatting.
4235 * hurd/ctty-output.c: Likewise.
4236 * hurd/dtable.c: Likewise.
4237 * hurd/hurd-raise.c: Likewise.
4238 * hurd/hurdprio.c: Likewise.
4239 * hurd/msgportdemux.c: Likewise.
4240 * misc/sys/file.h: Likewise.
4241 * misc/sys/ioctl.h: Likewise.
4242 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4243 * sysdeps/mach/hurd/chdir.c: Likewise.
4244 * sysdeps/mach/hurd/fchdir.c: Likewise.
4245 * sysdeps/mach/hurd/rename.c: Likewise.
4246 * sysdeps/mach/hurd/rmdir.c: Likewise.
4247 * sysdeps/mach/hurd/seekdir.c: Likewise.
4248 * sysdeps/mach/hurd/setsid.c: Likewise.
4249 * sysdeps/posix/wait3.c: Likewise.
4251 * All files with FSF copyright notices: Update copyright dates
4252 using scripts/update-copyrights.
4253 * intl/plural.c: Regenerated.
4254 * locale/programs/charmap-kw.h: Likewise.
4255 * locale/programs/locfile-kw.h: Likewise.
4257 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4259 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4262 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4263 calculation loop and add branch prediction.
4265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4266 check access beyond bounds of m1np.
4268 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4270 (__inv): Remove local variable MPTWO to use the global
4272 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4273 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4275 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4276 MP3HALFS static const.
4278 2013-01-01 David S. Miller <davem@davemloft.net>
4280 * po/ca.po: Update from translation team.
4282 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4284 * scripts/update-copyrights: New file.
4285 * Makeconfig: Reformat copyright notice.
4286 * ctype/ctype.h: Likewise.
4287 * debug/swprintf_chk.c: Likewise.
4288 * elf/dl-cache.c: Likewise.
4289 * elf/dl-debug.c: Likewise.
4290 * elf/dl-object.c: Likewise.
4291 * grp/initgroups.c: Likewise.
4292 * hurd/Makefile: Likewise.
4293 * hurd/hurd/signal.h: Likewise.
4294 * hurd/hurdfault.c: Likewise.
4295 * hurd/hurdioctl.c: Likewise.
4296 * hurd/hurdlookup.c: Likewise.
4297 * hurd/intr-msg.c: Likewise.
4298 * iconv/gconv_open.c: Likewise.
4299 * libio/swprintf.c: Likewise.
4300 * locale/lc-ctype.c: Likewise.
4301 * locale/nl_langinfo.c: Likewise.
4302 * mach/Machrules: Likewise.
4303 * mach/Makefile: Likewise.
4304 * malloc/obstack.h: Likewise.
4305 * manual/Makefile: Likewise.
4306 * manual/tsort.awk: Likewise.
4307 * misc/bits/stab.def: Likewise.
4308 * nis/nis_print_group_entry.c: Likewise.
4309 * nis/nis_table.c: Likewise.
4310 * nis/nss_compat/compat-pwd.c: Likewise.
4311 * nis/nss_compat/compat-spwd.c: Likewise.
4312 * po/Makefile: Likewise.
4313 * posix/fnmatch.c: Likewise.
4314 * posix/regex.h: Likewise.
4315 * resolv/Makefile: Likewise.
4316 * resolv/nss_dns/dns-network.c: Likewise.
4317 * resolv/res_hconf.c: Likewise.
4318 * scripts/gen-sorted.awk: Likewise.
4319 * soft-fp/soft-fp.h: Likewise.
4320 * stdio-common/printf.h: Likewise.
4321 * stdlib/monetary.h: Likewise.
4322 * stdlib/random.c: Likewise.
4323 * stdlib/random_r.c: Likewise.
4324 * sysdeps/generic/Makefile: Likewise.
4325 * sysdeps/gnu/Makefile: Likewise.
4326 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4327 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4328 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4329 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4330 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4332 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4333 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4334 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4335 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4336 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4337 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4338 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4339 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4340 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4341 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4342 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4343 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4344 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4345 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4346 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4347 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4348 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4349 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4350 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4354 * sysdeps/mach/hurd/errnos.awk: Likewise.
4355 * sysdeps/mach/hurd/fork.c: Likewise.
4356 * sysdeps/mach/hurd/getcwd.c: Likewise.
4357 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4358 * sysdeps/mach/hurd/mmap.c: Likewise.
4359 * sysdeps/mach/hurd/utimes.c: Likewise.
4360 * sysdeps/mach/hurd/xmknod.c: Likewise.
4361 * sysdeps/posix/profil.c: Likewise.
4362 * sysdeps/posix/readdir_r.c: Likewise.
4363 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4364 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4365 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4366 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4368 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4369 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4370 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4372 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4373 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4374 * sysdeps/pthread/lio_listio.c: Likewise.
4375 * sysdeps/sparc/dl-procinfo.h: Likewise.
4376 * sysdeps/unix/i386/sysdep.S: Likewise.
4377 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4378 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4379 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4380 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4382 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4383 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4384 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4385 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4386 * sysdeps/wordsize-32/divdi3.c: Likewise.
4387 * time/sys/time.h: Likewise.
4388 * wcsmbs/Makefile: Likewise.
4390 2013-01-01 David S. Miller <davem@davemloft.net>
4392 * po/fr.po: Update from translation team.
4394 * catgets/gencat.c: Update copyright year.
4395 * csu/version.c: Likewise.
4396 * debug/catchsegv.sh: Likewise.
4397 * debug/pcprofiledump.c: Likewise.
4398 * debug/xtrace.sh: Likewise.
4399 * elf/ldconfig.c: Likewise.
4400 * elf/ldd.bash.in: Likewise.
4401 * elf/pldd.c: Likewise.
4402 * elf/sotruss.ksh: Likewise.
4403 * elf/sprof.c: Likewise.
4404 * iconv/iconv_prog.c: Likewise.
4405 * iconv/iconvconfig.c: Likewise.
4406 * locale/programs/locale.c: Likewise.
4407 * locale/programs/localedef.c: Likewise.
4408 * login/programs/pt_chown.c: Likewise.
4409 * malloc/memusage.sh: Likewise.
4410 * malloc/memusagestat.c: Likewise.
4411 * malloc/mtrace.pl: Likewise.
4412 * nscd/nscd.c: Likewise.
4413 * nss/getent.c: Likewise.
4414 * nss/makedb.c: Likewise.
4415 * posix/getconf.c: Likewise.
4417 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4419 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4422 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4424 * math/bits/mathcalls.h (modf): Use __nonnull.
4426 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4428 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4429 (split): Use macro CN instead of the bare value.
4430 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4432 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4433 instead of the bare value.
4436 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4438 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4440 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4442 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4444 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4445 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4446 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4447 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4449 2012-12-28 Andreas Jaeger <aj@suse.de>
4451 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4452 values are from Linux 3.7.
4454 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4455 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4457 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4459 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4462 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4464 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4465 variables with preprocessor constants.
4466 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4467 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4468 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4470 2012-12-27 Bruno Haible <bruno@clisp.org>
4473 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4476 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4478 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4479 and use variable directly.
4480 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4482 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4484 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4485 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4487 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4488 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4489 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4490 include directive. Remove local variable MPONE.
4491 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4492 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4493 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4495 2012-12-25 David S. Miller <davem@davemloft.net>
4497 * version.h (RELEASE): Set to "development".
4498 (VERSION): Set to "2.17.90".
4499 * NEWS: Add 2.18 section.
4501 2012-12-21 David S. Miller <davem@davemloft.net>
4503 * po/hr.po: Update from translation team.
4505 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4507 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4509 2012-12-19 Steve Ellcey <sellcey@mips.com>
4511 * NEWS: Mention new memcpy for MIPS.
4513 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4515 * manual/contrib.texi (Contributors): Spelling correction.
4517 2012-12-15 David S. Miller <davem@davemloft.net>
4519 * po/ru.po: Update from translation team.
4521 2012-12-13 David S. Miller <davem@davemloft.net>
4523 * NEWS: Mention IFUNC testsuite enhancements.
4525 * po/pl.po: Update from translation team.
4526 * po/bg.po: Likewise.
4528 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4529 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4531 2012-12-11 David S. Miller <davem@davemloft.net>
4533 * po/sv.po: Update from translation team.
4535 * po/vi.po: Update from translation team.
4537 * po/cs.po: Update from translation team.
4539 * po/de.po: Update from translation team.
4540 * po/eo.po: Likewise.
4541 * po/nl.po: Likewise.
4543 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4546 * manual/argp.texi (Argp Helper Functions): Move node to follow
4550 * manual/conf.texi (Limits on File System Capacity): Mention if
4551 terminating null is included in the max size.
4553 2012-12-10 Andreas Jaeger <aj@suse.de>
4555 * po/cs.po: Update from translation team.
4557 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4559 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4560 void pointer and cast to uintptr_t.
4561 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4563 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4564 * sysdeps/s390/s390-64/memset.S: Likewise.
4566 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
4569 * menual/message.texi (Message Translation): Fix typos.
4570 (Helper programs for gettext): Likewise.
4572 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4575 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4578 2012-12-07 David S. Miller <davem@davemloft.net>
4580 * po/libc.pot: Update.
4582 2012-12-07 Richard Henderson <rth@redhat.com>
4585 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4586 normal/normal case to before the switch.
4587 (_FP_DIV): Likewise.
4589 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4590 Mike Frysinger <vapier@gentoo.org>
4592 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4593 check for __NR_fadvise64_64.
4595 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4597 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4598 0, not just to plain "0" as a statement.
4599 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4602 2012-12-06 Joseph Myers <joseph@codesourcery.com>
4604 * NEWS: Use sourceware.org in Bugzilla URL.
4606 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4609 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4611 * stdio-common/tst-put-error.c (do_test): Add newline to the
4612 padded test to ensure flush.
4614 2012-12-05 Jeff Law <law@redhat.com>
4616 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4618 2012-12-05 Joseph Myers <joseph@codesourcery.com>
4620 * README: Don't refer to ports add-on as distributed separately.
4621 Mention AArch64 in list of systems supported in the ports add-on.
4623 * LICENSES: Add more non-FSF copyright and license notices.
4625 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4628 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4630 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4631 10000 as width of padded output.
4633 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4635 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4637 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4638 variable LX with __attribute__ ((unused)).
4639 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4641 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4642 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4643 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4644 with __attribute__ ((unused)).
4646 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
4648 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4650 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4652 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4653 (CFLAGS-nldbl-acos.c): New variable.
4654 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4655 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4656 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4657 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4658 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4659 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4660 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4661 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4662 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4663 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4664 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4665 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4666 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4667 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4668 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4669 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4670 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4671 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4672 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4673 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4674 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4675 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4676 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4677 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4678 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4679 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4680 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4681 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4682 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4683 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4684 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4685 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4686 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4687 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4688 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4689 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4690 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4691 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4692 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4693 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4694 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4695 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4696 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4697 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4698 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4699 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4700 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4701 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4702 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4703 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4704 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4705 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4706 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4707 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4708 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4709 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4710 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4711 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4712 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4713 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4714 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4715 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4716 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4717 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4718 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4719 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4720 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4721 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4722 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4723 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4724 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4725 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4726 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4727 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4728 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4729 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4730 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4731 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4732 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4733 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4734 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4735 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4736 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4737 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4738 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4739 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4740 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4741 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4742 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4743 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4744 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4745 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4746 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4747 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4748 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4749 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4750 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4753 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4756 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4757 whole low double instead of just low 47 bits when splitting values
4760 2012-12-03 Allan McRae <allan@archlinux.org>
4762 * manual/stdio.texi (Predefined Printf Handlers): Remove
4763 @hsep and @vsep usage.
4765 2012-12-03 Mike Frysinger <vapier@gentoo.org>
4767 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4768 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4770 2012-12-03 Jeff Law <law@redhat.com>
4772 * time/sys/time.h (settimeofday): Do not mark TV argument
4775 2012-12-01 Mike Frysinger <vapier@gentoo.org>
4777 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4778 when currently writing and seek to current position when not.
4779 * libio/Makefile (tests): Remove bug-fclose1.
4780 * libio/bug-fclose1.c: Delete.
4782 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4784 * manual/arith.texi (feenableexcept): Fix typo.
4785 (fedisableexcept): Likewise.
4787 2012-11-30 Roland McGrath <roland@hack.frob.com>
4789 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4790 second, differently-typed declaration, rather than a cast.
4792 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4794 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4795 * include/rpc/svc.h: ... here.
4797 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4800 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4801 depending n and resplen2 to catch cases where answer
4804 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4806 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4807 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4809 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4811 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4813 2012-11-29 Roland McGrath <roland@hack.frob.com>
4815 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4817 2012-11-28 Jeff Law <law@redhat.com>
4820 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4821 dataset_temporary. Track alloca usage into alloca_used.
4822 If dataset is large allocate and release it via malloc/free.
4824 2012-06-04 Florian Weimer <fweimer@redhat.com>
4827 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4829 2012-11-28 David S. Miller <davem@davemloft.net>
4831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4833 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4836 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4837 of pi/2 rounded to nearest to 64 bits.
4838 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4840 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4843 2012-11-28 Jeff Law <law@redhat.com>
4844 Martin Osvald <mosvald@redhat.com>
4847 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4848 * sunrpc/svc.c: Include time.h.
4849 (__svc_accept_failed): New function.
4850 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4851 any reason other than EINTR, call __svc_accept_failed.
4852 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4853 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4855 2012-11-28 Andreas Schwab <schwab@suse.de>
4857 * scripts/abilist.awk: Also handle indirect functions in .opd
4860 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4863 * sysdeps/x86/fpu/powl_helper.c: New file.
4864 * sysdeps/x86/fpu/Makefile: Likewise.
4865 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4867 (__ieee754_powl): Use __powl_helper for finite arguments except
4868 integer exponents below 8.
4869 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4871 (__ieee754_powl): Use __powl_helper for finite arguments except
4872 integer exponents below 8.
4873 * math/libm-test.inc (pow_test): Add more tests and enable some
4874 previously disabled tests.
4875 * sysdeps/i386/fpu/libm-test-ulps: Update.
4876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4878 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4879 Carlos O'Donell <carlos_odonell@mentor.com>
4881 * nss/makedb.c (is_prime): Assert that input is odd and greater
4882 than 4. Note that fact in a comment too.
4883 (next_prime): Add 4 to input.
4885 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4888 * libio/Makefile (tests): Add test case tst-fwrite-error.
4889 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4890 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4891 * libio/tst-fwrite-error.c: New test case.
4893 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4895 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4896 before casting to void *.
4897 * include/libc-internal.h (__pointer_type): New macro.
4898 (__integer_if_pointer_type_sub): Likewise.
4899 (__integer_if_pointer_type): Likewise.
4900 (cast_to_integer): Likewise.
4901 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4902 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4903 before casting to atomic64_t.
4904 (atomic_exchange_acq): Likewise.
4905 (__arch_exchange_and_add_body): Likewise.
4906 (__arch_add_body): Likewise.
4907 (atomic_add_negative): Likewise.
4908 (atomic_add_zero): Likewise.
4910 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4912 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4913 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4914 (add_fdes): Likewise.
4915 (linear_search_fdes): Likewise.
4916 (binary_search_unencoded_fdes): Likewise.
4918 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4920 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4922 2012-11-24 Adam Conrad <adconrad@0c3.net>
4924 * configure.in: Autodetect C++ header directories.
4925 * configure: Regenerated.
4927 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4929 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4931 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4935 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4937 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4938 LDBL_MANT_DIG == 106]: Disable some tests.
4939 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4941 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4945 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4946 input for small inputs. Return +/- pi/2 for large inputs.
4947 * math/libm-test.inc (atan_test): Add more tests.
4949 * sysdeps/generic/unwind-dw2-fde-glibc.c
4950 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4951 __attribute__ ((unused)).
4954 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4955 x * y if x and y are nonzero and z is zero.
4958 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4959 nonzero exponents with absolute value below 0x1p-117 to +/-
4963 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4964 up arguments below 2**-450, not just those below 2**-500.
4965 * math/libm-test.inc (hypot_test): Add another test.
4968 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4969 Return a+b for ratio over 2**120, not 2**60.
4970 * math/libm-test.inc (hypot_test): Add another test.
4972 * math/libm-test.inc (clog_test): Use
4973 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4974 (clog10_test): Likewise.
4977 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4979 2012-11-22 Andreas Schwab <schwab@suse.de>
4981 * sysdeps/i386/fpu/libm-test-ulps: Update.
4983 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4985 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4986 printf output with newline.
4988 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4991 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4992 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4993 -z nodlopen, -z initfirst and -z execstack support.
4994 * configure: Regenerated.
4996 * elf/elf.h (DF_1_NODIRECT): New macro.
4997 (DF_1_IGNMULDEF): Likewise.
4998 (DF_1_NOKSYMS): Likewise.
4999 (DF_1_NOHDR): Likewise.
5000 (DF_1_EDITED): Likewise.
5001 (DF_1_NORELOC): Likewise.
5002 (DF_1_SYMINTPOSE): Likewise.
5003 (DF_1_GLOBAUDIT): Likewise.
5004 (DF_1_SINGLETON): Likewise.
5005 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5006 DT_1_SUPPORTED_MASK bits.
5007 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5009 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5011 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5013 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5015 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5018 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5019 (sendmmsg): Move declarations...
5020 * socket/sys/socket.h: ... here.
5021 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5022 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5024 * socket/recvmmsg.c: ... this new file.
5025 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5026 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5027 definition of __sendmmsg hidden.
5028 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5029 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5030 Move ENOSYS stub into and include it from...
5031 * socket/sendmmsg.c: ... this new file.
5032 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5033 (sysdep_routines): Move recvmmsg and sendmmsg...
5034 * socket/Makefile (routines): ... here.
5035 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5036 (GLIBC_PRIVATE): Add __sendmmsg.
5037 * include/sys/socket.h (__sendmmsg): Add declarations.
5038 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5041 2012-11-20 Joseph Myers <joseph@codesourcery.com>
5043 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5044 variable I1 with __attribute__ ((unused)).
5045 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5047 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5049 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5050 DUMMY variables with __attribute__ ((unused)).
5052 * bits/byteswap.h: Include <bits/types.h>.
5053 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5055 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5057 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5058 string_t. Do not manually set errno.
5059 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5060 length with __strnlen. Make sure to both set errno and return it on
5063 2012-11-19 David S. Miller <davem@davemloft.net>
5065 With help from Joseph Myers.
5066 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5067 very large arguments properly.
5068 * math/libm-test.inc (atan_test): New tests.
5069 (atan2_test): New tests.
5070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5073 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5076 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5079 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5080 [POSIX] (EADDRNOTAVAIL): Likewise.
5081 [POSIX] (EAFNOSUPPORT): Likewise.
5082 [POSIX] (EALREADY): Likewise.
5083 [POSIX] (ECONNABORTED): Likewise.
5084 [POSIX] (ECONNREFUSED): Likewise.
5085 [POSIX] (ECONNRESET): Likewise.
5086 [POSIX] (EDESTADDRREQ): Likewise.
5087 [POSIX] (EDQUOT): Likewise.
5088 [POSIX] (EHOSTUNREACH): Likewise.
5089 [POSIX] (EIDRM): Likewise.
5090 [POSIX] (EISCONN): Likewise.
5091 [POSIX] (ELOOP): Likewise.
5092 [POSIX] (EMULTIHOP): Likewise.
5093 [POSIX] (ENETDOWN): Likewise.
5094 [POSIX] (ENETUNREACH): Likewise.
5095 [POSIX] (ENOBUFS): Likewise.
5096 [POSIX] (ENODATA): Likewise.
5097 [POSIX] (ENOLINK): Likewise.
5098 [POSIX] (ENOMSG): Likewise.
5099 [POSIX] (ENOPROTOOPT): Likewise.
5100 [POSIX] (ENOSR): Likewise.
5101 [POSIX] (ENOSTR): Likewise.
5102 [POSIX] (ENOTCONN): Likewise.
5103 [POSIX] (ENOTSOCK): Likewise.
5104 [POSIX] (EOPNOTSUPP): Likewise.
5105 [POSIX] (EOVERFLOW): Likewise.
5106 [POSIX] (EPROTO): Likewise.
5107 [POSIX] (EPROTONOSUPPORT): Likewise.
5108 [POSIX] (EPROTOTYPE): Likewise.
5109 [POSIX] (ESTALE): Likewise.
5110 [POSIX] (ETIME): Likewise.
5111 [POSIX] (ETXTBSY): Likewise.
5112 [POSIX] (EWOULDBLOCK): Likewise.
5113 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5114 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5115 [POSIX] (SEEK_CUR): Likewise.
5116 [POSIX] (SEEK_END): Likewise.
5117 [POSIX || UNIX98] (mode_t): Do not require.
5118 [POSIX] (off_t): Likewise.
5119 [POSIX] (pid_t): Likewise.
5120 [POSIX] (sys/stat.h): Do not allow header.
5121 [POSIX] (unistd.h): Likewise.
5122 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5123 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5124 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5125 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5127 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5128 sigevent): Specify elements.
5129 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5131 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5132 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5134 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5135 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5136 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5137 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5138 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5139 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5140 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5141 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5142 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5143 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5144 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5145 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5146 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5147 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5149 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5151 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5153 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5155 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5156 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5157 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5158 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5159 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5160 Specify lower bound on value.
5161 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5162 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5163 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5164 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5165 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5166 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5167 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5168 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5170 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5172 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5173 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5174 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5175 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5176 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5177 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5178 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5179 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5180 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5181 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5182 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5183 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5184 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5185 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5186 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5187 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5189 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5191 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5192 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5193 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5194 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5195 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5196 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5198 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5199 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5200 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5201 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5202 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5203 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5204 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5206 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5207 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5208 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5209 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5210 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5211 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5212 specify as optional.
5213 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5214 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5215 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5216 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5217 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5218 [XPG3] (NL_LANGMAX): Likewise.
5219 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5220 [POSIX || XPG3] (NL_NMAX): Likewise.
5221 [POSIX || XPG3] (NL_SETMAX): Likewise.
5222 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5223 [XPG3] (NZERO): Likewise.
5224 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5225 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5226 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5227 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5228 (REG_ERANGE): Expect.
5229 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5231 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5232 Use (void) in prototype.
5233 [POSIX] (*_t): Allow.
5234 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5235 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5236 (WRDE_BADVAL): Expect.
5238 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5240 [XPG3 || XPG4] (O_RSYNC): Likewise.
5241 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5243 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5244 [XPG3 || XPG4] (sigqueue): Likewise.
5245 [XPG3 || XPG4] (sigtimedwait): Likewise.
5246 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5247 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5248 [XPG3 || XPG4] (vsnprintf): Likewise.
5249 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5251 [XPG3 || XPG4] (blksize_t): Likewise.
5252 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5254 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5255 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5256 [XPG3 || XPG4] (struct itimerspec): Likewise.
5257 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5258 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5259 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5260 [XPG3 || XPG4] (clockid_t): Likewise.
5261 [XPG3 || XPG4] (timer_t): Likewise.
5262 [XPG3 || XPG4] (clock_getres): Likewise.
5263 [XPG3 || XPG4] (clock_gettime): Likewise.
5264 [XPG3 || XPG4] (clock_settime): Likewise.
5265 [XPG3 || XPG4] (nanosleep): Likewise.
5266 [XPG3 || XPG4] (timer_create): Likewise.
5267 [XPG3 || XPG4] (timer_delete): Likewise.
5268 [XPG3 || XPG4] (timer_gettime): Likewise.
5269 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5270 [XPG3 || XPG4] (timer_settime): Likewise.
5271 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5272 [XPG3 || XPG4] (getlogin_r): Likewise.
5273 [XPG3 || XPG4] (pread): Likewise.
5274 [XPG3 || XPG4] (pthread_atfork): Likewise.
5275 [XPG3 || XPG4] (pwrite): Likewise.
5278 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5281 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5283 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5284 finalizing MALLSTREAM.
5286 * sysdeps/mach/hurd/syncfs.c: New file.
5288 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5291 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5292 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5293 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5294 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5295 (_nss_dns_gethostbyname4_r): Likewise.
5296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5297 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5299 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5302 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5304 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5306 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5307 * elf/cache.c (print_entry): Print ",AArch64" for
5310 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5311 * elf/cache.c (print_entry): Print ",hard-float" for
5314 2012-11-18 David S. Miller <davem@davemloft.net>
5316 With help from Joseph Myers.
5317 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5319 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5321 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5322 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5324 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5325 * math/libm-test.inc (y0_test): New tests.
5326 (y1_test): New tests.
5327 * sysdeps/i386/fpu/libm-test-ulps: Update.
5328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5331 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5333 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5335 * configure: Regenerated.
5337 2012-11-17 David S. Miller <davem@davemloft.net>
5340 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5341 nonzero exponents with absolute value below 0x1p-128 to +/-
5344 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5346 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5348 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5350 * posix/getconf-speclist.c: New file.
5351 * posix/posix-envs.def: Likewise.
5352 * posix/confstr.c (START_ENV_GROUP): New macro.
5353 (END_ENV_GROUP): Likewise.
5354 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5355 (KNOWN_PRESENT_ENV_STRING): Likewise.
5356 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5357 (UNKNOWN_ENVIRONMENT): Likewise.
5358 (confstr): Include posix-envs.def instead of handling
5359 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5360 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5361 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5362 (END_ENV_GROUP): Likewise.
5363 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5364 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5365 (UNKNOWN_ENVIRONMENT): Likewise.
5366 (__sysconf): Include posix-envs.def instead of handling associated
5367 cases directly here.
5368 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5369 preprocessing getconf-speclist.c rather than running getconf or
5370 generating empty file.
5372 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5374 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5376 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5379 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5381 2012-11-16 David S. Miller <davem@davemloft.net>
5383 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5384 smaller than LDBL_EPSILON/2.0L, just return xm1.
5386 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5388 * elf/tst-array1.c (init): Set constructor priority to 1000.
5389 (fini): Set destructor priority to 1000.
5390 * elf/tst-array2dep.c: Likewise.
5392 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5395 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5396 (_IO_new_file_xsputn): Also return EOF if none of the input
5397 data was written when overflow failed.
5398 * libio/iopadn.c (_IO_padn): Likewise.
5399 * libio/iowpadn.c (_IO_wpadn): Likewise.
5400 * stdio-common/tst-put-error.c: Add copyright notice.
5401 (do_test): Add case for printing padded string.
5402 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5403 _IO_padn returned error.
5404 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5405 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5408 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5410 * libio/libioP.h: Add comment note that the references to C++
5411 bits are now obsolete.
5413 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5415 * math/libm-test.inc (check_complex): Use asprintf.
5417 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5419 * debug/pcprofiledump.c (print_version): Update copyright year.
5420 * malloc/memusagestat.c (print_version): Likewise.
5422 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5425 * elf/Makefile (tests): Add tst-audit8.
5426 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5427 ($(objpfx)tst-audit8.out): New target.
5428 (tst-audit8-ENV): New variable.
5429 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5430 audit if l_reloc_result is NULL.
5431 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5432 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5433 * elf/tst-audit8.c: New file.
5435 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5437 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5438 * misc/Makefile (CFLAGS-select.c): Define.
5439 * posix/Makefile (CFLAGS-pause.c): Define.
5441 2012-11-13 David S. Miller <davem@davemloft.net>
5443 * crypt/Makefile: Move test targets after toplevel Rules
5444 inclusion. Grab any necessary sysdep routines when linking.
5445 * crypt/md5.c (md5_process_block): Remove define, we will always
5446 name it __md5_process_block.
5447 (md5_finish_ctx): Update md5_process_block call.
5448 (md5_stream): Likewise.
5449 (md5_process_bytes): Likewise.
5450 (md5_process_block): Rename to __md5_process_block and move to ...
5451 * crypt/md5-block.c: ... here.
5452 * crypt/sha256.c (sha256_process_block): Move to ...
5453 * crypt/sha256-block.c: ... here.
5454 * crypt/sha512.c (sha512_process_block): Move to ...
5455 * crypt/sha512-block.c: ... here.
5456 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5458 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5459 * sysdeps/sparc/sparc64/multiarch/Makefile
5460 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5462 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5463 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5465 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5466 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5467 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5468 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5469 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5470 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5471 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5472 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5473 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5475 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5476 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5478 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5480 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5482 * timezone/tzselect.ksh: Update from tzcode git revision
5483 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5484 * timezone/zdump.c: Likewise.
5485 * timezone/zic.c: Likewise.
5486 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5487 in TZVERSION setting, not $(PKGVERSION).
5488 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5489 REPORT_BUGS_TO settings.
5492 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5495 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5497 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5498 detection to immediately after _FP_ROUND().
5499 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5502 2012-11-11 David S. Miller <davem@davemloft.net>
5504 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5506 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5507 __close rather than their public counterparts.
5509 2012-11-10 Joseph Myers <joseph@codesourcery.com>
5511 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5513 [UNIX98] (sem_timedwait): Do not expect.
5514 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5515 [XPG4 || UNIX98] (sockatmark): Do not expect.
5516 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5517 (clock_getcpuclockid): Do not expect.
5518 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5519 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5521 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5522 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5523 [UNIX98] (vwscanf): Likewise.
5524 [UNIX98] (vswscanf): Likewise.
5526 2012-11-09 Joseph Myers <joseph@codesourcery.com>
5528 * timezone/version.h: Remove file.
5529 * timezone/README: Do not refer to version.h.
5530 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5532 ($(objpfx)zdump.o): Likewise.
5533 ($(objpfx)version.h): New target.
5535 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5537 * timezone/README: Don't mention modification to tzselect.ksh.
5538 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5539 work on unmodified tzselect.ksh. Substitute version numbers in
5542 * Makefile (format-me): Remove.
5543 (INSTALL): Adjust indentation. Use commands directly instead of
5546 * aclocal.m4 (ACX_PKGVERSION): New macro.
5547 (ACX_BUGURL): Likewise.
5548 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5549 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5550 (REPORT_BUGS_TO): Likewise.
5551 * configure: Regenerated.
5552 * config.h.in (PKGVERSION): New macro.
5553 (REPORT_BUGS_TO): Likewise.
5554 * config.make.in (PKGVERSION): New variable.
5555 (PKGVERSION_TEXI): Likewise.
5556 (REPORT_BUGS_TO): Likewise.
5557 (REPORT_BUGS_TEXI): Likewise.
5558 * Makefile (format-me): Use -I$(common-objpfx)manual.
5559 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5560 ($(common-objpfx)manual/%): New target.
5561 (manual/%): Remove target.
5562 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5563 (print_version): Use PKGVERSION.
5564 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5565 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5567 ($(objpfx)xtrace): Likewise.
5568 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5569 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5570 (print_version): Use PKGVERSION.
5571 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5572 (do_version): Use PKGVERSION.
5573 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5575 (common-ldd-rewrite): Likewise.
5576 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5577 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5578 (print_version): Use PKGVERSION.
5579 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5580 * elf/pldd.c (argp_program_bug_address): Remove variable.
5581 (more_help): New function.
5582 (argp): Use more_help.
5583 (print_version): Use PKGVERSION.
5584 * elf/sln.c (main): Use PKGVERSION.
5585 (usage): Use REPORT_BUGS_TO.
5586 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5587 (top level): Use PKGVERSION.
5588 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5589 (print_version): Use PKGVERSION.
5590 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5591 (print_version): Use PKGVERSION.
5592 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5593 (print_version): Use PKGVERSION.
5594 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5595 (print_version): Use PKGVERSION.
5596 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5597 (print_version): Use PKGVERSION.
5598 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5599 (print_version): Use PKGVERSION.
5600 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5602 ($(objpfx)memusage): Likewise.
5603 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5604 (do_version): Use PKGVERSION.
5605 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5606 (print_version): Use PKGVERSION.
5607 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5608 ($PKGVERSION): New variable.
5609 ($REPORT_BUGS_TO): Likewise.
5610 (usage): Use $REPORT_BUGS_TO.
5611 (top level): Use $PKGVERSION.
5612 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5613 ($(objpfx)pkgvers.texi): New rule.
5614 ($(objpfx)stamp-pkgvers): Likewise.
5615 * manual/install.texi: Include pkgvers.texi.
5616 (--with-pkgversion): Document new configure option.
5617 (--with-bugurl): Likewise.
5618 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5619 than necessarily for this particular distribution. Use
5620 REPORT_BUGS_TO for where to report bugs.
5621 * INSTALL: Regenerated.
5622 * manual/libc.texinfo: Include pkgvers.texi.
5623 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5624 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5625 (print_version): Use PKGVERSION.
5626 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5627 (print_version): Use PKGVERSION.
5628 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5629 (print_version): Use PKGVERSION.
5630 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5631 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5633 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5634 (print_version): Use PKGVERSION.
5635 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5636 (print_version): Use PKGVERSION.
5637 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5640 * timezone/checktab.awk: Update from tzcode 2012i.
5641 * timezone/ialloc.c: Likewise.
5642 * timezone/private.h: Likewise.
5643 * timezone/scheck.c: Likewise.
5644 * timezone/tzfile.h: Likewise.
5645 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5646 (TZVERSION): Hardcode tzcode version number.
5647 * timezone/zdump.c: Update from tzcode 2012i.
5648 * timezone/zic.c: Likewise.
5649 * timezone/version.h: New file.
5650 * timezone/README: Describe version.h. Update upstream location.
5653 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5654 (mktemp): Enable declaration.
5655 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5656 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5657 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5664 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5666 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5668 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5672 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5673 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5674 for copies of such integer values.
5675 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5676 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5678 2012-11-09 Andreas Jaeger <aj@suse.de>
5680 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5681 definitions and declarations that are provided by
5682 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5684 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5686 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5687 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5688 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5691 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5693 * elf/elf.h: Update comment before AArch64 relocations.
5695 2012-11-07 David S. Miller <davem@davemloft.net>
5697 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5698 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5699 (__start_context): Declare.
5700 (__makecontext_ret): Delete.
5701 (__makecontext): Hook up __start_context instead of
5703 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5704 (sysdep_routines): Add __start_context when in stdlib.
5706 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5708 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5709 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5710 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5712 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5713 (READELF): New variable. Use it instead of hardcoded "readelf".
5715 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5717 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5718 * sysdeps/x86/Makefile: Here.
5719 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5720 * sysdeps/x86/tst-xmmymm.sh: This.
5722 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5724 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5726 [UNIX98] (pthread_barrier_t): Do not expect.
5727 [UNIX98] (pthread_barrierattr_t): Likewise.
5728 [UNIX98] (pthread_spinlock_t): Likewise.
5729 [UNIX98] (pthread_barrier_destroy): Likewise.
5730 [UNIX98] (pthread_barrier_init): Likewise.
5731 [UNIX98] (pthread_barrier_wait): Likewise.
5732 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5733 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5734 [UNIX98] (pthread_barrierattr_init): Likewise.
5735 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5736 [UNIX98] (pthread_getcpuclockid): Likewise.
5737 [UNIX98] (pthread_mutex_timedlock): Likewise.
5738 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5739 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5740 [UNIX98] (pthread_sigmask): Likewise.
5741 [UNIX98] (pthread_spin_destroy): Likewise.
5742 [UNIX98] (pthread_spin_init): Likewise.
5743 [UNIX98] (pthread_spin_lock): Likewise.
5744 [UNIX98] (pthread_spin_trylock): Likewise.
5745 [UNIX98] (pthread_spin_unlock): Likewise.
5746 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5748 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5749 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5750 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5751 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5752 [XPG3 || XPG4] (pthread_key_t): Likewise.
5753 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5754 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5755 [XPG3 || XPG4] (pthread_once_t): Likewise.
5756 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5757 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5758 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5759 [XPG3 || XPG4] (pthread_t): Likewise.
5761 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5763 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5765 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5766 Change function return type to int.
5768 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5769 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5770 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5771 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5772 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5773 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5774 [!POSIX] (posix_madvise): Likewise.
5775 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5777 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5778 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5780 (posix_mem_offset): Likewise.
5781 (posix_typed_mem_get_info): Likewise.
5782 (posix_typed_mem_open): Likewise.
5784 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5785 Change condition to [XOPEN2K8].
5787 * conform/conformtest.pl: Preprocess allow-header data with -x c
5788 instead of from stdin.
5789 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5790 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5791 [C99-based standards] (cerfc): Likewise.
5792 [C99-based standards] (cexp2): Likewise.
5793 [C99-based standards] (cexpm1): Likewise.
5794 [C99-based standards] (clog10): Likewise.
5795 [C99-based standards] (clog1p): Likewise.
5796 [C99-based standards] (clog2): Likewise.
5797 [C99-based standards] (clgamma): Likewise.
5798 [C99-based standards] (ctgamma): Likewise.
5799 [C99-based standards] (cerff): Likewise.
5800 [C99-based standards] (cerfcf): Likewise.
5801 [C99-based standards] (cexp2f): Likewise.
5802 [C99-based standards] (cexpm1f): Likewise.
5803 [C99-based standards] (clog10f): Likewise.
5804 [C99-based standards] (clog1pf): Likewise.
5805 [C99-based standards] (clog2f): Likewise.
5806 [C99-based standards] (clgammaf): Likewise.
5807 [C99-based standards] (ctgammaf): Likewise.
5808 [C99-based standards] (cerfl): Likewise.
5809 [C99-based standards] (cerfcl): Likewise.
5810 [C99-based standards] (cexp2l): Likewise.
5811 [C99-based standards] (cexpm1l): Likewise.
5812 [C99-based standards] (clog10l): Likewise.
5813 [C99-based standards] (clog1pl): Likewise.
5814 [C99-based standards] (clog2l): Likewise.
5815 [C99-based standards] (clgammal): Likewise.
5816 [C99-based standards] (ctgammal): Likewise.
5817 * conform/data/inttypes.h-data [C99-based standards]: Include
5818 stdint.h-data. Remove all expectations for stdint.h contents.
5819 [C99-based standards] (PRI*): Do not allow.
5820 [C99-based standards] (SCN*): Likewise.
5821 [C99-based standards] (*_t): Likewise.
5822 [C99-based-standards] (PRId8): Expect macro.
5823 [C99-based-standards] (PRIi8): Likewise.
5824 [C99-based-standards] (PRIo8): Likewise.
5825 [C99-based-standards] (PRIu8): Likewise.
5826 [C99-based-standards] (PRIx8): Likewise.
5827 [C99-based-standards] (PRIX8): Likewise.
5828 [C99-based-standards] (SCNd8): Likewise.
5829 [C99-based-standards] (SCNi8): Likewise.
5830 [C99-based-standards] (SCNo8): Likewise.
5831 [C99-based-standards] (SCNu8): Likewise.
5832 [C99-based-standards] (SCNx8): Likewise.
5833 [C99-based-standards] (PRIdLEAST8): Likewise.
5834 [C99-based-standards] (PRIiLEAST8): Likewise.
5835 [C99-based-standards] (PRIoLEAST8): Likewise.
5836 [C99-based-standards] (PRIuLEAST8): Likewise.
5837 [C99-based-standards] (PRIxLEAST8): Likewise.
5838 [C99-based-standards] (PRIXLEAST8): Likewise.
5839 [C99-based-standards] (SCNdLEAST8): Likewise.
5840 [C99-based-standards] (SCNiLEAST8): Likewise.
5841 [C99-based-standards] (SCNoLEAST8): Likewise.
5842 [C99-based-standards] (SCNuLEAST8): Likewise.
5843 [C99-based-standards] (SCNxLEAST8): Likewise.
5844 [C99-based-standards] (PRIdFAST8): Likewise.
5845 [C99-based-standards] (PRIiFAST8): Likewise.
5846 [C99-based-standards] (PRIoFAST8): Likewise.
5847 [C99-based-standards] (PRIuFAST8): Likewise.
5848 [C99-based-standards] (PRIxFAST8): Likewise.
5849 [C99-based-standards] (PRIXFAST8): Likewise.
5850 [C99-based-standards] (SCNdFAST8): Likewise.
5851 [C99-based-standards] (SCNiFAST8): Likewise.
5852 [C99-based-standards] (SCNoFAST8): Likewise.
5853 [C99-based-standards] (SCNuFAST8): Likewise.
5854 [C99-based-standards] (SCNxFAST8): Likewise.
5855 [C99-based-standards] (PRId16): Likewise.
5856 [C99-based-standards] (PRIi16): Likewise.
5857 [C99-based-standards] (PRIo16): Likewise.
5858 [C99-based-standards] (PRIu16): Likewise.
5859 [C99-based-standards] (PRIx16): Likewise.
5860 [C99-based-standards] (PRIX16): Likewise.
5861 [C99-based-standards] (SCNd16): Likewise.
5862 [C99-based-standards] (SCNi16): Likewise.
5863 [C99-based-standards] (SCNo16): Likewise.
5864 [C99-based-standards] (SCNu16): Likewise.
5865 [C99-based-standards] (SCNx16): Likewise.
5866 [C99-based-standards] (PRIdLEAST16): Likewise.
5867 [C99-based-standards] (PRIiLEAST16): Likewise.
5868 [C99-based-standards] (PRIoLEAST16): Likewise.
5869 [C99-based-standards] (PRIuLEAST16): Likewise.
5870 [C99-based-standards] (PRIxLEAST16): Likewise.
5871 [C99-based-standards] (PRIXLEAST16): Likewise.
5872 [C99-based-standards] (SCNdLEAST16): Likewise.
5873 [C99-based-standards] (SCNiLEAST16): Likewise.
5874 [C99-based-standards] (SCNoLEAST16): Likewise.
5875 [C99-based-standards] (SCNuLEAST16): Likewise.
5876 [C99-based-standards] (SCNxLEAST16): Likewise.
5877 [C99-based-standards] (PRIdFAST16): Likewise.
5878 [C99-based-standards] (PRIiFAST16): Likewise.
5879 [C99-based-standards] (PRIoFAST16): Likewise.
5880 [C99-based-standards] (PRIuFAST16): Likewise.
5881 [C99-based-standards] (PRIxFAST16): Likewise.
5882 [C99-based-standards] (PRIXFAST16): Likewise.
5883 [C99-based-standards] (SCNdFAST16): Likewise.
5884 [C99-based-standards] (SCNiFAST16): Likewise.
5885 [C99-based-standards] (SCNoFAST16): Likewise.
5886 [C99-based-standards] (SCNuFAST16): Likewise.
5887 [C99-based-standards] (SCNxFAST16): Likewise.
5888 [C99-based-standards] (PRId32): Likewise.
5889 [C99-based-standards] (PRIi32): Likewise.
5890 [C99-based-standards] (PRIo32): Likewise.
5891 [C99-based-standards] (PRIu32): Likewise.
5892 [C99-based-standards] (PRIx32): Likewise.
5893 [C99-based-standards] (PRIX32): Likewise.
5894 [C99-based-standards] (SCNd32): Likewise.
5895 [C99-based-standards] (SCNi32): Likewise.
5896 [C99-based-standards] (SCNo32): Likewise.
5897 [C99-based-standards] (SCNu32): Likewise.
5898 [C99-based-standards] (SCNx32): Likewise.
5899 [C99-based-standards] (PRIdLEAST32): Likewise.
5900 [C99-based-standards] (PRIiLEAST32): Likewise.
5901 [C99-based-standards] (PRIoLEAST32): Likewise.
5902 [C99-based-standards] (PRIuLEAST32): Likewise.
5903 [C99-based-standards] (PRIxLEAST32): Likewise.
5904 [C99-based-standards] (PRIXLEAST32): Likewise.
5905 [C99-based-standards] (SCNdLEAST32): Likewise.
5906 [C99-based-standards] (SCNiLEAST32): Likewise.
5907 [C99-based-standards] (SCNoLEAST32): Likewise.
5908 [C99-based-standards] (SCNuLEAST32): Likewise.
5909 [C99-based-standards] (SCNxLEAST32): Likewise.
5910 [C99-based-standards] (PRIdFAST32): Likewise.
5911 [C99-based-standards] (PRIiFAST32): Likewise.
5912 [C99-based-standards] (PRIoFAST32): Likewise.
5913 [C99-based-standards] (PRIuFAST32): Likewise.
5914 [C99-based-standards] (PRIxFAST32): Likewise.
5915 [C99-based-standards] (PRIXFAST32): Likewise.
5916 [C99-based-standards] (SCNdFAST32): Likewise.
5917 [C99-based-standards] (SCNiFAST32): Likewise.
5918 [C99-based-standards] (SCNoFAST32): Likewise.
5919 [C99-based-standards] (SCNuFAST32): Likewise.
5920 [C99-based-standards] (SCNxFAST32): Likewise.
5921 [C99-based-standards] (PRId64): Likewise.
5922 [C99-based-standards] (PRIi64): Likewise.
5923 [C99-based-standards] (PRIo64): Likewise.
5924 [C99-based-standards] (PRIu64): Likewise.
5925 [C99-based-standards] (PRIx64): Likewise.
5926 [C99-based-standards] (PRIX64): Likewise.
5927 [C99-based-standards] (SCNd64): Likewise.
5928 [C99-based-standards] (SCNi64): Likewise.
5929 [C99-based-standards] (SCNo64): Likewise.
5930 [C99-based-standards] (SCNu64): Likewise.
5931 [C99-based-standards] (SCNx64): Likewise.
5932 [C99-based-standards] (PRIdLEAST64): Likewise.
5933 [C99-based-standards] (PRIiLEAST64): Likewise.
5934 [C99-based-standards] (PRIoLEAST64): Likewise.
5935 [C99-based-standards] (PRIuLEAST64): Likewise.
5936 [C99-based-standards] (PRIxLEAST64): Likewise.
5937 [C99-based-standards] (PRIXLEAST64): Likewise.
5938 [C99-based-standards] (SCNdLEAST64): Likewise.
5939 [C99-based-standards] (SCNiLEAST64): Likewise.
5940 [C99-based-standards] (SCNoLEAST64): Likewise.
5941 [C99-based-standards] (SCNuLEAST64): Likewise.
5942 [C99-based-standards] (SCNxLEAST64): Likewise.
5943 [C99-based-standards] (PRIdFAST64): Likewise.
5944 [C99-based-standards] (PRIiFAST64): Likewise.
5945 [C99-based-standards] (PRIoFAST64): Likewise.
5946 [C99-based-standards] (PRIuFAST64): Likewise.
5947 [C99-based-standards] (PRIxFAST64): Likewise.
5948 [C99-based-standards] (PRIXFAST64): Likewise.
5949 [C99-based-standards] (SCNdFAST64): Likewise.
5950 [C99-based-standards] (SCNiFAST64): Likewise.
5951 [C99-based-standards] (SCNoFAST64): Likewise.
5952 [C99-based-standards] (SCNuFAST64): Likewise.
5953 [C99-based-standards] (SCNxFAST64): Likewise.
5954 [C99-based-standards] (PRIdMAX): Likewise.
5955 [C99-based-standards] (PRIiMAX): Likewise.
5956 [C99-based-standards] (PRIoMAX): Likewise.
5957 [C99-based-standards] (PRIuMAX): Likewise.
5958 [C99-based-standards] (PRIxMAX): Likewise.
5959 [C99-based-standards] (PRIXMAX): Likewise.
5960 [C99-based-standards] (SCNdMAX): Likewise.
5961 [C99-based-standards] (SCNiMAX): Likewise.
5962 [C99-based-standards] (SCNoMAX): Likewise.
5963 [C99-based-standards] (SCNuMAX): Likewise.
5964 [C99-based-standards] (SCNxMAX): Likewise.
5965 [C99-based-standards] (PRIdPTR): Likewise.
5966 [C99-based-standards] (PRIiPTR): Likewise.
5967 [C99-based-standards] (PRIoPTR): Likewise.
5968 [C99-based-standards] (PRIuPTR): Likewise.
5969 [C99-based-standards] (PRIxPTR): Likewise.
5970 [C99-based-standards] (PRIXPTR): Likewise.
5971 [C99-based-standards] (SCNdPTR): Likewise.
5972 [C99-based-standards] (SCNiPTR): Likewise.
5973 [C99-based-standards] (SCNoPTR): Likewise.
5974 [C99-based-standards] (SCNuPTR): Likewise.
5975 [C99-based-standards] (SCNxPTR): Likewise.
5976 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5978 * conform/data/stdint.h-data: Update comments to clarify
5980 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5982 [C99-based standards] (INT8_MAX): Likewise.
5983 [C99-based standards] (INT16_MIN): Likewise.
5984 [C99-based standards] (INT16_MAX): Likewise.
5985 [C99-based standards] (INT32_MIN): Likewise.
5986 [C99-based standards] (INT32_MAX): Likewise.
5987 [C99-based standards] (INT64_MIN): Likewise.
5988 [C99-based standards] (INT64_MAX): Likewise.
5989 [C99-based standards] (UINT8_MAX): Likewise.
5990 [C99-based standards] (UINT16_MAX): Likewise.
5991 [C99-based standards] (UINT32_MAX): Likewise.
5992 [C99-based standards] (UINT64_MAX): Likewise.
5993 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5994 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5995 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5996 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5997 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5998 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5999 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6000 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6001 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6002 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6003 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6004 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6005 [C99-based standards] (INT_FAST8_MIN): Likewise.
6006 [C99-based standards] (INT_FAST8_MAX): Likewise.
6007 [C99-based standards] (INT_FAST16_MIN): Likewise.
6008 [C99-based standards] (INT_FAST16_MAX): Likewise.
6009 [C99-based standards] (INT_FAST32_MIN): Likewise.
6010 [C99-based standards] (INT_FAST32_MAX): Likewise.
6011 [C99-based standards] (INT_FAST64_MIN): Likewise.
6012 [C99-based standards] (INT_FAST64_MAX): Likewise.
6013 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6014 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6015 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6016 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6017 [C99-based standards] (INTPTR_MIN): Likewise.
6018 [C99-based standards] (INTPTR_MAX): Likewise.
6019 [C99-based standards] (UINTPTR_MAX): Likewise.
6020 [C99-based standards] (INTMAX_MIN): Likewise.
6021 [C99-based standards] (INTMAX_MAX): Likewise.
6022 [C99-based standards] (UINTMAX_MAX): Likewise.
6023 [C99-based standards] (PTRDIFF_MIN): Likewise.
6024 [C99-based standards] (PTRDIFF_MAX): Likewise.
6025 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6026 [C99-based standards] (SIZE_MAX): Likewise.
6027 [C99-based standards] (WCHAR_MAX): Likewise.
6028 [C99-based standards] (WINT_MAX): Likewise.
6029 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6030 constraint on value.
6031 [C99-based standards] (WCHAR_MIN): Likewise.
6032 [C99-based standards] (WINT_MIN): Likewise.
6033 [C99-based standards] (*_t): Allow.
6034 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6035 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6036 Include math.h-data and complex.h-data. Remove all expectations
6037 of math.h and complex.h contents.
6038 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6040 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6041 (struct tm): Expect tag.
6042 [C99-based-standards] (wcstof): Expect function.
6043 [C99-based-standards] (wcstold): Likewise.
6044 [C99-based-standards] (wcstoll): Likewise.
6045 [C99-based-standards] (wcstoull): Likewise.
6046 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6047 macro-int-constant. Specify type.
6048 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6049 constraint on value.
6050 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6052 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6054 [ISO C standards]: Do not allow headers.
6055 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6056 wcs[abcdefghijklmnopqrstuvwxyz]*.
6057 [ISO C standards] (*_t): Do not allow.
6058 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6060 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6061 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6063 [ISO C standards]: Do not allow headers.
6064 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6065 is[abcdefghijklmnopqrstuvwxyz]*.
6066 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6067 to[abcdefghijklmnopqrstuvwxyz]*.
6068 [ISO C standards] (*_t): Do not allow.
6069 * conform/data/stdalign.h-data: New file.
6070 * conform/data/stdbool.h-data: Likewise.
6071 * conform/data/stdnoreturn.h-data: Likewise.
6073 2012-11-07 Roland McGrath <roland@hack.frob.com>
6076 * manual/filesys.texi (Directory Entries): Typo fix.
6077 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6079 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6081 * elf/elf.h (EM_AARCH64): New macro.
6082 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6083 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6084 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6085 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6086 (R_AARCH64_TLSDESC): Likewise.
6087 (NT_ARM_TLS): Likewise.
6088 (NT_ARM_HW_BREAK): Likewise.
6089 (NT_ARM_HW_WATCH): Likewise.
6091 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6094 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6095 (__ieee754_powl): Saturate nonzero exponents with absolute value
6096 below 0x1p-79 to +/- 0x1p-79.
6097 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6098 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6099 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6100 nonzero exponents with absolute value below 0x1p-32 to +/-
6102 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6103 (__ieee754_powl): Saturate nonzero exponents with absolute value
6104 below 0x1p-79 to +/- 0x1p-79.
6105 * math/libm-test.inc (pow_test): Add more tests.
6107 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6109 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6110 _dl_s390_cap_flags with kernel. Increase string length.
6111 (_dl_s390_platforms): Add z196 and zEC12.
6113 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6115 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6116 Change XOPEN21K to XOPEN2K.
6118 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6120 * string/memmove.c: Use memcpy when possible.
6122 2012-11-06 Andreas Jaeger <aj@suse.de>
6124 * po/eo.po: Update from translation team.
6126 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6130 exponent and small x and y exponents, scale x or y up. Increase
6131 by 2 the exponent used in scaling up.
6132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6133 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6134 * math/libm-test.inc (fma_test): Add more tests.
6135 (fma_test_towardzero): Likewise.
6136 (fma_test_downward): Likewise.
6137 (fma_test_upward): Likewise.
6139 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6142 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6146 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6147 namespace for names of struct fields.
6148 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6150 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6151 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6153 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6156 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6158 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6160 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6164 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6167 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6171 definitely overflow as x * y not x * y + z.
6172 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6173 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6174 * math/libm-test.inc (fma_test): Add more tests.
6175 (fma_test_towardzero): Likewise.
6176 (fma_test_downward): Likewise.
6177 (fma_test_upward): Likewise.
6179 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6183 * include/stub-tag.h: Remove file.
6184 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6186 * manual/maint.texi (Porting): Don't reference it.
6187 * Makerules ($(objpfx)stubs): Likewise.
6188 * dirent/closedir.c: Don't include <stub-tag.h>.
6189 * dirent/dirfd.c: Likewise.
6190 * dirent/fdopendir.c: Likewise.
6191 * dirent/getdents.c: Likewise.
6192 * dirent/getdents64.c: Likewise.
6193 * dirent/opendir.c: Likewise.
6194 * dirent/readdir.c: Likewise.
6195 * dirent/readdir64.c: Likewise.
6196 * dirent/readdir64_r.c: Likewise.
6197 * dirent/readdir_r.c: Likewise.
6198 * dirent/rewinddir.c: Likewise.
6199 * dirent/seekdir.c: Likewise.
6200 * dirent/telldir.c: Likewise.
6201 * gmon/profil.c: Likewise.
6202 * grp/setgroups.c: Likewise.
6203 * inet/if_index.c: Likewise.
6204 * io/access.c: Likewise.
6205 * io/chdir.c: Likewise.
6206 * io/chmod.c: Likewise.
6207 * io/chown.c: Likewise.
6208 * io/close.c: Likewise.
6209 * io/dup.c: Likewise.
6210 * io/dup2.c: Likewise.
6211 * io/dup3.c: Likewise.
6212 * io/euidaccess.c: Likewise.
6213 * io/faccessat.c: Likewise.
6214 * io/fchdir.c: Likewise.
6215 * io/fchmod.c: Likewise.
6216 * io/fchmodat.c: Likewise.
6217 * io/fchown.c: Likewise.
6218 * io/fchownat.c: Likewise.
6219 * io/fcntl.c: Likewise.
6220 * io/flock.c: Likewise.
6221 * io/fstatfs.c: Likewise.
6222 * io/fstatfs64.c: Likewise.
6223 * io/fstatvfs.c: Likewise.
6224 * io/fstatvfs64.c: Likewise.
6225 * io/futimens.c: Likewise.
6226 * io/fxstat.c: Likewise.
6227 * io/fxstat64.c: Likewise.
6228 * io/fxstatat.c: Likewise.
6229 * io/fxstatat64.c: Likewise.
6230 * io/getcwd.c: Likewise.
6231 * io/isatty.c: Likewise.
6232 * io/lchmod.c: Likewise.
6233 * io/lchown.c: Likewise.
6234 * io/link.c: Likewise.
6235 * io/linkat.c: Likewise.
6236 * io/lseek.c: Likewise.
6237 * io/lseek64.c: Likewise.
6238 * io/lxstat64.c: Likewise.
6239 * io/mkdir.c: Likewise.
6240 * io/mkdirat.c: Likewise.
6241 * io/mkfifo.c: Likewise.
6242 * io/mkfifoat.c: Likewise.
6243 * io/open.c: Likewise.
6244 * io/open64.c: Likewise.
6245 * io/openat.c: Likewise.
6246 * io/openat64.c: Likewise.
6247 * io/pipe.c: Likewise.
6248 * io/pipe2.c: Likewise.
6249 * io/poll.c: Likewise.
6250 * io/posix_fadvise.c: Likewise.
6251 * io/posix_fadvise64.c: Likewise.
6252 * io/posix_fallocate.c: Likewise.
6253 * io/posix_fallocate64.c: Likewise.
6254 * io/read.c: Likewise.
6255 * io/readlink.c: Likewise.
6256 * io/readlinkat.c: Likewise.
6257 * io/rmdir.c: Likewise.
6258 * io/sendfile.c: Likewise.
6259 * io/sendfile64.c: Likewise.
6260 * io/statfs.c: Likewise.
6261 * io/statfs64.c: Likewise.
6262 * io/statvfs.c: Likewise.
6263 * io/statvfs64.c: Likewise.
6264 * io/symlink.c: Likewise.
6265 * io/symlinkat.c: Likewise.
6266 * io/ttyname.c: Likewise.
6267 * io/ttyname_r.c: Likewise.
6268 * io/umask.c: Likewise.
6269 * io/unlink.c: Likewise.
6270 * io/unlinkat.c: Likewise.
6271 * io/utime.c: Likewise.
6272 * io/utimensat.c: Likewise.
6273 * io/write.c: Likewise.
6274 * io/xmknod.c: Likewise.
6275 * io/xmknodat.c: Likewise.
6276 * io/xstat.c: Likewise.
6277 * io/xstat64.c: Likewise.
6278 * login/getpt.c: Likewise.
6279 * login/grantpt.c: Likewise.
6280 * login/unlockpt.c: Likewise.
6281 * math/e_acoshl.c: Likewise.
6282 * math/e_acosl.c: Likewise.
6283 * math/e_asinl.c: Likewise.
6284 * math/e_atan2l.c: Likewise.
6285 * math/e_atanhl.c: Likewise.
6286 * math/e_coshl.c: Likewise.
6287 * math/e_expl.c: Likewise.
6288 * math/e_fmodl.c: Likewise.
6289 * math/e_gammal_r.c: Likewise.
6290 * math/e_hypotl.c: Likewise.
6291 * math/e_j0l.c: Likewise.
6292 * math/e_j1l.c: Likewise.
6293 * math/e_jnl.c: Likewise.
6294 * math/e_lgammal_r.c: Likewise.
6295 * math/e_log10l.c: Likewise.
6296 * math/e_log2l.c: Likewise.
6297 * math/e_logl.c: Likewise.
6298 * math/e_powl.c: Likewise.
6299 * math/e_rem_pio2l.c: Likewise.
6300 * math/e_sinhl.c: Likewise.
6301 * math/e_sqrtl.c: Likewise.
6302 * math/fclrexcpt.c: Likewise.
6303 * math/fedisblxcpt.c: Likewise.
6304 * math/feenablxcpt.c: Likewise.
6305 * math/fegetenv.c: Likewise.
6306 * math/fegetexcept.c: Likewise.
6307 * math/fegetround.c: Likewise.
6308 * math/feholdexcpt.c: Likewise.
6309 * math/fesetenv.c: Likewise.
6310 * math/fesetround.c: Likewise.
6311 * math/feupdateenv.c: Likewise.
6312 * math/fgetexcptflg.c: Likewise.
6313 * math/fraiseexcpt.c: Likewise.
6314 * math/fsetexcptflg.c: Likewise.
6315 * math/ftestexcept.c: Likewise.
6316 * math/k_cosl.c: Likewise.
6317 * math/k_rem_pio2l.c: Likewise.
6318 * math/k_sinl.c: Likewise.
6319 * math/k_tanl.c: Likewise.
6320 * math/s_asinhl.c: Likewise.
6321 * math/s_atanl.c: Likewise.
6322 * math/s_cbrtl.c: Likewise.
6323 * math/s_erfl.c: Likewise.
6324 * math/s_expm1l.c: Likewise.
6325 * math/s_log1pl.c: Likewise.
6326 * math/s_tanhl.c: Likewise.
6327 * misc/acct.c: Likewise.
6328 * misc/brk.c: Likewise.
6329 * misc/chflags.c: Likewise.
6330 * misc/chroot.c: Likewise.
6331 * misc/fchflags.c: Likewise.
6332 * misc/fgetxattr.c: Likewise.
6333 * misc/flistxattr.c: Likewise.
6334 * misc/fremovexattr.c: Likewise.
6335 * misc/fsetxattr.c: Likewise.
6336 * misc/fsync.c: Likewise.
6337 * misc/ftruncate.c: Likewise.
6338 * misc/futimes.c: Likewise.
6339 * misc/futimesat.c: Likewise.
6340 * misc/getdomain.c: Likewise.
6341 * misc/getdtsz.c: Likewise.
6342 * misc/gethostid.c: Likewise.
6343 * misc/gethostname.c: Likewise.
6344 * misc/getloadavg.c: Likewise.
6345 * misc/getpagesize.c: Likewise.
6346 * misc/getsysstats.c: Likewise.
6347 * misc/getxattr.c: Likewise.
6348 * misc/gtty.c: Likewise.
6349 * misc/ioctl.c: Likewise.
6350 * misc/lgetxattr.c: Likewise.
6351 * misc/listxattr.c: Likewise.
6352 * misc/llistxattr.c: Likewise.
6353 * misc/lremovexattr.c: Likewise.
6354 * misc/lsetxattr.c: Likewise.
6355 * misc/lutimes.c: Likewise.
6356 * misc/madvise.c: Likewise.
6357 * misc/mincore.c: Likewise.
6358 * misc/mlock.c: Likewise.
6359 * misc/mlockall.c: Likewise.
6360 * misc/mmap.c: Likewise.
6361 * misc/mprotect.c: Likewise.
6362 * misc/msync.c: Likewise.
6363 * misc/munlock.c: Likewise.
6364 * misc/munlockall.c: Likewise.
6365 * misc/munmap.c: Likewise.
6366 * misc/preadv.c: Likewise.
6367 * misc/preadv64.c: Likewise.
6368 * misc/ptrace.c: Likewise.
6369 * misc/pwritev.c: Likewise.
6370 * misc/pwritev64.c: Likewise.
6371 * misc/readv.c: Likewise.
6372 * misc/reboot.c: Likewise.
6373 * misc/remap_file_pages.c: Likewise.
6374 * misc/removexattr.c: Likewise.
6375 * misc/revoke.c: Likewise.
6376 * misc/select.c: Likewise.
6377 * misc/setdomain.c: Likewise.
6378 * misc/setegid.c: Likewise.
6379 * misc/seteuid.c: Likewise.
6380 * misc/sethostid.c: Likewise.
6381 * misc/sethostname.c: Likewise.
6382 * misc/setregid.c: Likewise.
6383 * misc/setreuid.c: Likewise.
6384 * misc/setxattr.c: Likewise.
6385 * misc/sstk.c: Likewise.
6386 * misc/stty.c: Likewise.
6387 * misc/swapoff.c: Likewise.
6388 * misc/swapon.c: Likewise.
6389 * misc/sync.c: Likewise.
6390 * misc/syncfs.c: Likewise.
6391 * misc/syscall.c: Likewise.
6392 * misc/truncate.c: Likewise.
6393 * misc/ualarm.c: Likewise.
6394 * misc/usleep.c: Likewise.
6395 * misc/ustat.c: Likewise.
6396 * misc/utimes.c: Likewise.
6397 * misc/vhangup.c: Likewise.
6398 * misc/writev.c: Likewise.
6399 * posix/_exit.c: Likewise.
6400 * posix/alarm.c: Likewise.
6401 * posix/execve.c: Likewise.
6402 * posix/fexecve.c: Likewise.
6403 * posix/fork.c: Likewise.
6404 * posix/fpathconf.c: Likewise.
6405 * posix/getaddrinfo.c: Likewise.
6406 * posix/getegid.c: Likewise.
6407 * posix/geteuid.c: Likewise.
6408 * posix/getgid.c: Likewise.
6409 * posix/getgroups.c: Likewise.
6410 * posix/getlogin.c: Likewise.
6411 * posix/getlogin_r.c: Likewise.
6412 * posix/getpgid.c: Likewise.
6413 * posix/getpid.c: Likewise.
6414 * posix/getppid.c: Likewise.
6415 * posix/getresgid.c: Likewise.
6416 * posix/getresuid.c: Likewise.
6417 * posix/getsid.c: Likewise.
6418 * posix/getuid.c: Likewise.
6419 * posix/glob64.c: Likewise.
6420 * posix/nanosleep.c: Likewise.
6421 * posix/pathconf.c: Likewise.
6422 * posix/pause.c: Likewise.
6423 * posix/posix_madvise.c: Likewise.
6424 * posix/pread.c: Likewise.
6425 * posix/pread64.c: Likewise.
6426 * posix/pwrite.c: Likewise.
6427 * posix/pwrite64.c: Likewise.
6428 * posix/sched_getaffinity.c: Likewise.
6429 * posix/sched_getp.c: Likewise.
6430 * posix/sched_gets.c: Likewise.
6431 * posix/sched_primax.c: Likewise.
6432 * posix/sched_primin.c: Likewise.
6433 * posix/sched_rr_gi.c: Likewise.
6434 * posix/sched_setaffinity.c: Likewise.
6435 * posix/sched_setp.c: Likewise.
6436 * posix/sched_sets.c: Likewise.
6437 * posix/sched_yield.c: Likewise.
6438 * posix/setgid.c: Likewise.
6439 * posix/setlogin.c: Likewise.
6440 * posix/setpgid.c: Likewise.
6441 * posix/setresgid.c: Likewise.
6442 * posix/setresuid.c: Likewise.
6443 * posix/setsid.c: Likewise.
6444 * posix/setuid.c: Likewise.
6445 * posix/sleep.c: Likewise.
6446 * posix/spawni.c: Likewise.
6447 * posix/sysconf.c: Likewise.
6448 * posix/times.c: Likewise.
6449 * posix/wait.c: Likewise.
6450 * posix/wait3.c: Likewise.
6451 * posix/wait4.c: Likewise.
6452 * posix/waitpid.c: Likewise.
6453 * resolv/gai_sigqueue.c: Likewise.
6454 * resource/getpriority.c: Likewise.
6455 * resource/getrlimit.c: Likewise.
6456 * resource/getrusage.c: Likewise.
6457 * resource/nice.c: Likewise.
6458 * resource/setpriority.c: Likewise.
6459 * resource/setrlimit.c: Likewise.
6460 * resource/ulimit.c: Likewise.
6461 * rt/aio_cancel.c: Likewise.
6462 * rt/aio_fsync.c: Likewise.
6463 * rt/aio_read.c: Likewise.
6464 * rt/aio_sigqueue.c: Likewise.
6465 * rt/aio_suspend.c: Likewise.
6466 * rt/aio_write.c: Likewise.
6467 * rt/clock_getres.c: Likewise.
6468 * rt/clock_gettime.c: Likewise.
6469 * rt/clock_nanosleep.c: Likewise.
6470 * rt/clock_settime.c: Likewise.
6471 * rt/lio_listio.c: Likewise.
6472 * rt/mq_close.c: Likewise.
6473 * rt/mq_getattr.c: Likewise.
6474 * rt/mq_notify.c: Likewise.
6475 * rt/mq_open.c: Likewise.
6476 * rt/mq_receive.c: Likewise.
6477 * rt/mq_send.c: Likewise.
6478 * rt/mq_setattr.c: Likewise.
6479 * rt/mq_timedreceive.c: Likewise.
6480 * rt/mq_timedsend.c: Likewise.
6481 * rt/mq_unlink.c: Likewise.
6482 * rt/shm_open.c: Likewise.
6483 * rt/shm_unlink.c: Likewise.
6484 * rt/timer_create.c: Likewise.
6485 * rt/timer_delete.c: Likewise.
6486 * rt/timer_getoverr.c: Likewise.
6487 * rt/timer_gettime.c: Likewise.
6488 * rt/timer_settime.c: Likewise.
6489 * setjmp/__longjmp.c: Likewise.
6490 * setjmp/setjmp.c: Likewise.
6491 * signal/kill.c: Likewise.
6492 * signal/killpg.c: Likewise.
6493 * signal/raise.c: Likewise.
6494 * signal/sigaction.c: Likewise.
6495 * signal/sigaltstack.c: Likewise.
6496 * signal/sigblock.c: Likewise.
6497 * signal/sigignore.c: Likewise.
6498 * signal/sigintr.c: Likewise.
6499 * signal/signal.c: Likewise.
6500 * signal/sigpause.c: Likewise.
6501 * signal/sigpending.c: Likewise.
6502 * signal/sigqueue.c: Likewise.
6503 * signal/sigreturn.c: Likewise.
6504 * signal/sigset.c: Likewise.
6505 * signal/sigsetmask.c: Likewise.
6506 * signal/sigstack.c: Likewise.
6507 * signal/sigsuspend.c: Likewise.
6508 * signal/sigtimedwait.c: Likewise.
6509 * signal/sigvec.c: Likewise.
6510 * signal/sigwait.c: Likewise.
6511 * signal/sigwaitinfo.c: Likewise.
6512 * signal/sysv_signal.c: Likewise.
6513 * socket/accept.c: Likewise.
6514 * socket/accept4.c: Likewise.
6515 * socket/bind.c: Likewise.
6516 * socket/connect.c: Likewise.
6517 * socket/getpeername.c: Likewise.
6518 * socket/getsockname.c: Likewise.
6519 * socket/getsockopt.c: Likewise.
6520 * socket/isfdtype.c: Likewise.
6521 * socket/listen.c: Likewise.
6522 * socket/recv.c: Likewise.
6523 * socket/recvfrom.c: Likewise.
6524 * socket/recvmsg.c: Likewise.
6525 * socket/send.c: Likewise.
6526 * socket/sendmsg.c: Likewise.
6527 * socket/sendto.c: Likewise.
6528 * socket/setsockopt.c: Likewise.
6529 * socket/shutdown.c: Likewise.
6530 * socket/sockatmark.c: Likewise.
6531 * socket/socket.c: Likewise.
6532 * socket/socketpair.c: Likewise.
6533 * stdio-common/ctermid.c: Likewise.
6534 * stdio-common/cuserid.c: Likewise.
6535 * stdio-common/remove.c: Likewise.
6536 * stdio-common/rename.c: Likewise.
6537 * stdio-common/renameat.c: Likewise.
6538 * stdio-common/tempname.c: Likewise.
6539 * stdlib/getcontext.c: Likewise.
6540 * stdlib/makecontext.c: Likewise.
6541 * stdlib/setcontext.c: Likewise.
6542 * stdlib/swapcontext.c: Likewise.
6543 * stdlib/system.c: Likewise.
6544 * streams/fattach.c: Likewise.
6545 * streams/fdetach.c: Likewise.
6546 * streams/getmsg.c: Likewise.
6547 * streams/getpmsg.c: Likewise.
6548 * streams/putmsg.c: Likewise.
6549 * streams/putpmsg.c: Likewise.
6550 * sysdeps/unix/bsd/getpt.c: Likewise.
6551 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6552 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6553 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6556 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6557 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6558 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6559 * sysvipc/msgctl.c: Likewise.
6560 * sysvipc/msgget.c: Likewise.
6561 * sysvipc/msgrcv.c: Likewise.
6562 * sysvipc/msgsnd.c: Likewise.
6563 * sysvipc/semctl.c: Likewise.
6564 * sysvipc/semget.c: Likewise.
6565 * sysvipc/semop.c: Likewise.
6566 * sysvipc/semtimedop.c: Likewise.
6567 * sysvipc/shmat.c: Likewise.
6568 * sysvipc/shmctl.c: Likewise.
6569 * sysvipc/shmdt.c: Likewise.
6570 * sysvipc/shmget.c: Likewise.
6571 * termios/tcdrain.c: Likewise.
6572 * termios/tcflow.c: Likewise.
6573 * termios/tcflush.c: Likewise.
6574 * termios/tcgetattr.c: Likewise.
6575 * termios/tcgetpgrp.c: Likewise.
6576 * termios/tcsendbrk.c: Likewise.
6577 * termios/tcsetattr.c: Likewise.
6578 * termios/tcsetpgrp.c: Likewise.
6579 * time/adjtime.c: Likewise.
6580 * time/clock.c: Likewise.
6581 * time/getitimer.c: Likewise.
6582 * time/gettimeofday.c: Likewise.
6583 * time/setitimer.c: Likewise.
6584 * time/settimeofday.c: Likewise.
6585 * time/stime.c: Likewise.
6586 * time/time.c: Likewise.
6588 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
6590 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6593 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6595 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6597 2012-11-03 Joseph Myers <joseph@codesourcery.com>
6600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6601 FE_TONEAREST before applying Dekker multiplication and Knuth
6602 addition. Clear inexact exceptions and check for exact zero
6604 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6605 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6606 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6607 * math/libm-test.inc (fma_test): Add more tests.
6608 (fma_test_towardzero): Likewise.
6609 (fma_test_downward): Likewise.
6610 (fma_test_upward): Likewise.
6611 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6613 (libc_fesetround): New macro.
6614 (libc_fesetroundf): Likewise.
6615 (libc_fesetroundl): Likewise.
6616 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6618 (libc_fesetround_387): Likewise.
6619 (libc_fesetroundf): New macro.
6620 (libc_fesetround): Likewise.
6621 (libc_fesetroundl): Likewise.
6622 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6624 (libc_fesetroundf): New macro.
6625 (libc_fesetround): Likewise.
6626 (libc_fesetroundl): Likewise.
6627 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6628 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6629 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6631 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6632 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6634 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6635 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6637 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6641 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6642 integer constant usable in #if and use that to give value to enum
6644 (FE_DIVBYZERO): Likewise.
6645 (FE_UNDERFLOW): Likewise.
6646 (FE_OVERFLOW): Likewise.
6647 (FE_INVALID): Likewise.
6648 (FE_INVALID_SNAN): Likewise.
6649 (FE_INVALID_ISI): Likewise.
6650 (FE_INVALID_IDI): Likewise.
6651 (FE_INVALID_ZDZ): Likewise.
6652 (FE_INVALID_IMZ): Likewise.
6653 (FE_INVALID_COMPARE): Likewise.
6654 (FE_INVALID_SOFTWARE): Likewise.
6655 (FE_INVALID_SQRT): Likewise.
6656 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6657 (FE_TONEAREST): Likewise.
6658 (FE_TOWARDZERO): Likewise.
6659 (FE_UPWARD): Likewise.
6660 (FE_DOWNWARD): Likewise.
6661 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6662 (FE_DIVBYZERO): Likewise.
6663 (FE_OVERFLOW): Likewise.
6664 (FE_UNDERFLOW): Likewise.
6665 (FE_INEXACT): Likewise.
6666 (FE_TONEAREST): Likewise.
6667 (FE_DOWNWARD): Likewise.
6668 (FE_UPWARD): Likewise.
6669 (FE_TOWARDZERO): Likewise.
6670 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6671 (FE_UNDERFLOW): Likewise.
6672 (FE_OVERFLOW): Likewise.
6673 (FE_DIVBYZERO): Likewise.
6674 (FE_INVALID): Likewise.
6675 (FE_TONEAREST): Likewise.
6676 (FE_TOWARDZERO): Likewise.
6677 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6678 (FE_OVERFLOW): Likewise.
6679 (FE_UNDERFLOW): Likewise.
6680 (FE_DIVBYZERO): Likewise.
6681 (FE_INEXACT): Likewise.
6682 (FE_TONEAREST): Likewise.
6683 (FE_TOWARDZERO): Likewise.
6684 (FE_UPWARD): Likewise.
6685 (FE_DOWNWARD): Likewise.
6686 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6687 (FE_DIVBYZERO): Likewise.
6688 (FE_OVERFLOW): Likewise.
6689 (FE_UNDERFLOW): Likewise.
6690 (FE_INEXACT): Likewise.
6691 (FE_TONEAREST): Likewise.
6692 (FE_DOWNWARD): Likewise.
6693 (FE_UPWARD): Likewise.
6694 (FE_TOWARDZERO): Likewise.
6696 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6698 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6700 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6702 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6703 commands. Quote $PWD.
6704 (blacklist_exports): Don't use remove_newlines. Replace "declare
6706 (remove_newlines): Remove.
6708 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6710 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6711 * stdlib/stdlib.h (atof): Moved to ...
6712 * include/bits/stdlib-float.h: Here. New file.
6713 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6714 * stdlib/bits/stdlib-float.h: New file.
6715 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6717 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6720 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6722 * conform/conformtest.pl (@headers): Add fenv.h.
6723 * conform/data/fenv.h-data: New file.
6724 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6725 include of <math/fenv.h>.
6727 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6728 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6729 && !UNIX98]. Enables tests for XOPEN2K8.
6730 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6731 POSIX2008]: Likewise.
6733 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6734 (struct rusage): Do not expect type or its members.
6737 * math/math.h (FP_NAN): Define macro to integer constant usable in
6738 #if and use that to give value to enum constant.
6739 (FP_INFINITE): Likewise.
6740 (FP_ZERO): Likewise.
6741 (FP_SUBNORMAL): Likewise.
6742 (FP_NORMAL): Likewise.
6744 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6746 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6747 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6750 2012-11-02 Roland McGrath <roland@hack.frob.com>
6752 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6753 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6754 autoconf-time if not.
6755 * configure.in: Remove AC_PREREQ.
6757 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6759 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6760 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6761 of the internal implementation.
6763 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6765 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6766 except include of <misc/sys/syslog.h>.
6768 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6771 function returns with a NULL context exit with zero.
6773 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6775 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6777 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6779 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6780 (run_program_cmd): This.
6781 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6782 (tst_langinfo): New variable. Use it.
6784 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6786 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6787 floating point opcodes.
6789 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6791 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6794 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6796 * sysdeps/mach/hurd/powerpc: Remove directory.
6797 * sysdeps/mach/powerpc: Likewise.
6799 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6801 * scripts/check-local-headers.sh: Ignore c++ headers.
6803 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6805 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6806 __libc_cleanup_region_start argument.
6808 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6812 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6813 x * y using scaling, not as x * y + z.
6814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6815 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6816 * math/libm-test.inc (fma_test): Add more tests.
6817 (fma_test_towardzero): Likewise.
6818 (fma_test_downward): Likewise.
6819 (fma_test_upward): Likewise.
6821 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6823 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6825 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6827 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6830 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6832 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6834 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6841 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6844 Fix the order of the list for glibc 2.17.
6845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6848 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6852 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6855 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6856 for low part of x being zero before using __atanl (y).
6857 * math/libm-test.inc (atan2_test): Add another test.
6859 * manual/install.texi (Configuring and compiling): Document
6860 general use of test-wrapper and test-wrapper-env.
6861 * INSTALL: Regenerated.
6863 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6864 (__fma): Do not extract and scale down low bits on after-rounding
6865 systems when result rounded to normal precision would have normal
6867 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6868 (__fmal): Do not extract and scale down low bits on after-rounding
6869 systems when result rounded to normal precision would have normal
6871 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6872 (__fmal): Do not extract and scale down low bits on after-rounding
6873 systems when result rounded to normal precision would have normal
6875 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6877 (fma_test): Add more tests.
6878 (fma_test_towardzero): Likewise.
6879 (fma_test_downward): Likewise.
6880 (fma_test_upward): Likewise.
6882 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6884 * sysdeps/i386/tininess.h: Renamed to ...
6885 * sysdeps/x86/tininess.h: This.
6886 * sysdeps/x86_64/tininess.h: Removed.
6888 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6890 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6891 input. Use $(build-program-cmd).
6892 ($(objpfx)tst-array1-static.out): Likewise.
6893 ($(objpfx)tst-array2.out): Likewise.
6894 ($(objpfx)tst-array3.out): Likewise.
6895 ($(objpfx)tst-array4.out): Likewise.
6896 ($(objpfx)tst-array5.out): Likewise.
6897 ($(objpfx)tst-array5-static.out): Likewise.
6899 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6901 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6904 * nss/nsswitch.h (nss_interface_function): Provide new
6905 macro for use with NSS functions.
6906 * grp/initgroups.c: Use new macro.
6907 * nss/getXXbyYY.c: Likewise.
6908 * nss/getXXbyYY_r.c: Likewise.
6909 * nss/getXXent.c: Likewise.
6910 * nss/getXXent_r.c: Likewise.
6911 * sysdeps/posix/getaddrinfo.c: Likewise.
6913 2012-10-30 Andreas Jaeger <aj@suse.de>
6915 * po/ru.po: Update Russion translation from translation project.
6917 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6922 result and shift together with sticky bit instead of replicating
6923 round-to-nearest rounding.
6924 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6925 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6926 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6927 missing underflow exceptions.
6928 (fma_test_towardzero): Add more tests.
6929 (fma_test_downward): Likewise.
6930 (fma_test_upward): Likewise.
6933 * sysdeps/generic/tininess.h: New file.
6934 * sysdeps/i386/tininess.h: Likewise.
6935 * sysdeps/sh/tininess.h: Likewise.
6936 * sysdeps/x86_64/tininess.h: Likewise.
6937 * stdlib/tst-strtod-underflow.c: Likewise.
6938 * stdlib/tst-tininess.c: Likewise.
6939 * stdlib/strtod_l.c: Include <tininess.h>.
6940 (round_and_return): Do not set errno for exact underflow cases.
6941 Force an underflow exception when setting errno for underflow.
6942 Determine underflow based on rounding to normal precision if
6943 TININESS_AFTER_ROUNDING.
6944 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6945 ERANGE for exact underflow cases.
6946 * stdlib/Makefile (tests): Add tst-tininess and
6947 tst-strtod-underflow.
6948 ($(objpfx)tst-tininess): Use $(link-libm).
6949 ($(objpfx)tst-strtod-underflow): Likewise.
6951 2012-10-30 Andreas Jaeger <aj@suse.de>
6954 * elf/Makefile (tests): Remove conditional for have-initfini-array
6955 since this is now always required and the variable does not exist
6957 (tests-static): Likewise.
6958 (modules-names): Likewise.
6960 * po/eo.po: Add Esperanto translation from translation project.
6962 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6963 merged with constructor/destructor.
6964 (init_array): Likewise.
6965 * elf/tst-array2dep.c (fini_array): Likewise.
6966 (init_array): Likewise.
6968 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6970 * manual/message.texi: Delete @cartouche tags.
6972 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6974 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6976 * sysdeps/mach/hurd/fsync.c: Likewise.
6978 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6979 [_POSIX_REALTIME_SIGNALS]: Change condition to
6980 [_POSIX_REALTIME_SIGNALS > 0].
6982 2012-10-27 Andreas Jaeger <aj@suse.de>
6984 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6985 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6986 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6987 [__WORDSIZE != 64]: Likewise.
6989 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6991 * iconvdata/tst-table.sh: Remove ${SHELL}.
6992 * iconvdata/tst-tables.sh: Likewise.
6994 2012-10-25 David S. Miller <davem@davemloft.net>
6996 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6997 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7000 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7002 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7003 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7004 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7007 2012-10-25 Roland McGrath <roland@hack.frob.com>
7009 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7010 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7013 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7014 Jim Blandy <jimb@codesourcery.com>
7016 * scripts/cross-test-ssh.sh: New file.
7017 * manual/install.texi (Configuring and compiling): Document use of
7019 * INSTALL: Regenerated.
7021 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7023 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7026 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7028 * Makeconfig (run-program-prefix): Fix comment.
7030 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7031 Jim Blandy <jimb@codesourcery.com>
7033 * Makeconfig (test-wrapper): New variable,
7034 (test-wrapper-env): Likewise.
7035 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7036 (run-built-tests): Define to yes.
7037 (run-program-prefix): Use $(test-wrapper).
7038 (built-program-cmd): Likewise.
7039 * Rules (make-test-out): Use $(test-wrapper-env) and
7040 $(host-built-program-cmd).
7041 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7042 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7044 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7045 $(test-wrapper-env) to tst-rtld-load-self.sh.
7046 ($(objpfx)order2.out): Use $(test-wrapper).
7047 ($(objpfx)tst-initorder.out): Likewise.
7048 ($(objpfx)tst-initorder2.out): Likewise.
7049 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7050 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7051 (test_wrapper_env): New variable. Use it to run ld.so.
7052 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7053 Use it to run ld.so.
7054 (test_wrapper_env): Likewise.
7055 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7056 $(test-wrapper) to run-iconv-test.sh.
7057 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7058 (ICONV): Use $test_wrapper.
7059 * posix/Makefile ($(objpfx)globtest.out): Pass
7060 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7061 globtest.sh, not $(run-program-prefix).
7062 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7063 (test_wrapper): Likewise.
7064 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7065 set together with run_via_rtld_prefix.
7066 (run_program_prefix): Define in terms of test_wrapper and
7067 run_via_rtld_prefix.
7069 2012-10-24 Roland McGrath <roland@hack.frob.com>
7071 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7072 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7076 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7077 Declare __clock_getres, __clock_gettime, __clock_settime,
7078 __clock_nanosleep, and __clock_getcpuclockid.
7079 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7080 Remove librt_hidden_def (clock_gettime).
7081 * sysdeps/unix/clock_gettime.c: Likewise.
7082 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7083 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7084 * rt/clock_getres.c: Define __clock_getres as an alias.
7085 * sysdeps/posix/clock_getres.c: Likewise.
7086 * rt/clock_settime.c: Define __clock_settime as an alias.
7087 * sysdeps/unix/clock_settime.c: Likewise.
7088 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7089 * sysdeps/unix/clock_nanosleep.c: Likewise.
7090 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7091 * rt/clock-compat.c: New file.
7092 * rt/Makefile (librt-routines): Add clock-compat and move
7093 $(clock-routines) to ...
7094 (routines): ... here, new variable.
7095 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7096 Don't add get_clockfreq here.
7097 * rt/Versions (libc: GLIBC_2.17): New version set.
7098 Add clock_* symbols here.
7099 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7100 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7101 (GLIBC_2.17): Add clock_* symbols.
7102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7104 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7113 * NEWS: Mention the move.
7115 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7116 Use __open, __read, __close rather than their public counterparts.
7117 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7118 (__get_clockfreq_via_cpuinfo): Likewise.
7119 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7120 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7122 * config.h.in (HAVE_IFUNC): New #undef.
7123 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7125 * configure: Regenerated.
7127 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7129 * configure.in: Move READELF check to start of file.
7130 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7131 libc_cv_asm_gnu_indirect_function in the process.
7132 * configure: Regenerated.
7134 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7136 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7137 send the output to /dev/null.
7138 (libc_cv_cc_with_libunwind): Likewise.
7139 (libc_cv_as_noexecstack): Likewise.
7140 * configure: Regenerate.
7142 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7144 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7146 * posix/globtest.sh (TMPDIR): Do not set.
7147 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7148 (testout): Likewise.
7150 2012-10-24 Andreas Jaeger <aj@suse.de>
7152 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7153 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7154 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7155 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7156 posix_fadvise64, posix_fallocate64.
7158 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7159 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7160 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7162 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7164 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7167 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7168 <bits/fcntl-linux.h>.
7169 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7171 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7172 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7173 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7174 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7175 [__WORDSIZE != 64]: Likewise.
7177 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7179 * Makeconfig (run-built-tests): New variable.
7180 * Rules [$(cross-compiling) = yes]: Change condition to
7181 [$(run-built-tests) = no].
7182 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7183 to [$(run-built-tests) = yes].
7184 * elf/Makefile [$(cross-compiling) = no]: Likewise
7185 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7186 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7187 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7188 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7189 * io/Makefile [$(cross-compiling) = no]: Likewise.
7190 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7191 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7192 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7193 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7194 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7195 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7196 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7197 * string/Makefile [$(cross-compiling) = no]: Likewise.
7199 * posix/Makefile ($(objpfx)globtest.out): Pass
7200 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7201 $(rtld-installed-name).
7202 * posix/globtest.sh (elf_objpfx): Remove variable.
7203 (rtld_installed_name): Likewise.
7204 (library_path): Likewise.
7205 (run_program_prefix): New variable. Use for running globtest
7208 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7209 Joseph Myers <joseph@codesourcery.com>
7211 * Makeconfig (host-built-program-cmd): New variable.
7212 * elf/Makefile (tst-stackguard1-ARGS): Use
7213 $(host-built-program-cmd).
7214 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7215 (tst-spawn-ARGS): Likewise.
7216 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7218 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7219 Jim Blandy <jimb@codesourcery.com>
7221 * Makeconfig (run-via-rtld-prefix): New variable.
7222 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7223 (built-program-cmd): Likewise.
7225 2012-10-22 Andreas Jaeger <aj@suse.de>
7227 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7228 __O_RSYNC if it exists, otherwise to O_SYNC.
7230 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7231 Joseph Myers <joseph@codesourcery.com>
7233 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7235 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7237 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7240 2012-10-22 Andreas Jaeger <aj@suse.de>
7242 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7249 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7250 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7257 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7258 Joseph Myers <joseph@codesourcery.com>
7260 * config.make.in (NM): New variable.
7262 2012-10-21 Andreas Jaeger <aj@suse.de>
7264 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7265 definitions and declarations that are provided by
7266 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7268 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7271 * elf/Makefile (tests-static): Add tst-leaks1-static.
7272 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7273 ($(objpfx)tst-leaks1-static): New rule.
7274 ($(objpfx)tst-leaks1-static-mem): Likewise.
7275 (tst-leaks1-static-ENV): New macro.
7276 * elf/dl-open.c (dl_open_worker): Check the main application
7277 only if SHARED is defined.
7278 * elf/tst-leaks1-static.c: New file.
7280 2012-10-20 Andreas Jaeger <aj@suse.de>
7282 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7283 generic values for Linux.
7284 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7285 and declarations that are provided by <bits/fcntl-linux.h> and
7286 include <bits/fcntl-linux.h>.
7287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7288 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7290 2012-10-20 Roland McGrath <roland@hack.frob.com>
7292 * io/fcntl.h: Move include of <bits/types.h> to the top and
7293 include it unconditionally.
7295 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7297 * wcsmbs/Makefile (tests-ifunc): New variable.
7298 (tests): Add $(tests-ifunc).
7299 * wcsmbs/test-wcschr-ifunc.c: New file.
7300 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7301 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7302 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7303 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7304 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7306 * string/Makefile (tests-ifunc): New variable.
7307 (tests): Add $(tests-ifunc).
7308 * string/test-memccpy.c (TEST_NAME): New macro.
7309 * string/test-memchr.c (TEST_NAME): Likewise.
7310 * string/test-memcmp.c (TEST_NAME): Likewise.
7311 * string/test-memcpy.c (TEST_NAME): Likewise.
7312 * string/test-memmem.c (TEST_NAME): Likewise.
7313 * string/test-memmove.c (TEST_NAME): Likewise.
7314 * string/test-memset.c (TEST_NAME): Likewise.
7315 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7316 * string/test-stpcpy.c (TEST_NAME): Likewise.
7317 * string/test-stpncpy.c (TEST_NAME): Likewise.
7318 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7319 * string/test-strcasestr.c (TEST_NAME): Likewise.
7320 * string/test-strcat.c (TEST_NAME): Likewise.
7321 * string/test-strchr.c (TEST_NAME): Likewise.
7322 * string/test-strcmp.c(TEST_NAME): Likewise.
7323 * string/test-strcpy.c (TEST_NAME): Likewise.
7324 * string/test-strcspn.c (TEST_NAME): Likewise.
7325 * string/test-strlen.c (TEST_NAME): Likewise.
7326 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7327 * string/test-strncmp.c (TEST_NAME): Likewise.
7328 * string/test-strncpy.c (TEST_NAME): Likewise.
7329 * string/test-strnlen.c (TEST_NAME): Likewise.
7330 * string/test-strpbrk.c (TEST_NAME): Likewise.
7331 * string/test-strrchr.c (TEST_NAME): Likewise.
7332 * string/test-strspn.c (TEST_NAME): Likewise.
7333 * string/test-strstr.c (TEST_NAME): Likewise.
7334 * string/test-bcopy-ifunc.c: New file.
7335 * string/test-bzero-ifunc.c: Likewise.
7336 * string/test-memccpy-ifunc.c: Likewise.
7337 * string/test-memchr-ifunc.c: Likewise.
7338 * string/test-memcmp-ifunc.c: Likewise.
7339 * string/test-memcpy-ifunc.c: Likewise.
7340 * string/test-memmem-ifunc.c: Likewise.
7341 * string/test-memmove-ifunc.c: Likewise.
7342 * string/test-mempcpy-ifunc.c: Likewise.
7343 * string/test-memset-ifunc.c: Likewise.
7344 * string/test-rawmemchr-ifunc.c: Likewise.
7345 * string/test-stpcpy-ifunc.c: Likewise.
7346 * string/test-stpncpy-ifunc.c: Likewise.
7347 * string/test-strcasecmp-ifunc.c: Likewise.
7348 * string/test-strcasestr-ifunc.c: Likewise.
7349 * string/test-strcat-ifunc.c: Likewise.
7350 * string/test-strchr-ifunc.c: Likewise.
7351 * string/test-strchrnul-ifunc.c: Likewise.
7352 * string/test-strcmp-ifunc.c: Likewise.
7353 * string/test-strcpy-ifunc.c: Likewise.
7354 * string/test-strcspn-ifunc.c: Likewise.
7355 * string/test-strlen-ifunc.c: Likewise.
7356 * string/test-strncasecmp-ifunc.c: Likewise.
7357 * string/test-strncat-ifunc.c: Likewise.
7358 * string/test-strncmp-ifunc.c: Likewise.
7359 * string/test-strncpy-ifunc.c: Likewise.
7360 * string/test-strnlen-ifunc.c: Likewise.
7361 * string/test-strpbrk-ifunc.c: Likewise.
7362 * string/test-strrchr-ifunc.c: Likewise.
7363 * string/test-strspn-ifunc.c: Likewise.
7364 * string/test-strstr-ifunc.c: Likewise.
7366 * debug/Makefile (tests-ifunc): New variable.
7367 (tests): Add $(tests-ifunc).
7368 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7369 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7370 * debug/test-stpcpy_chk-ifunc.c: New file.
7371 * debug/test-strcpy_chk-ifunc.c: Likewise.
7373 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7376 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7377 header is not read in.
7379 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7381 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7382 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7383 directly. Pass built executable to script as
7384 $(built-program-cmd).
7385 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7386 $testprogram without using LD_LIBRARY_PATH and $ldso.
7388 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7389 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7390 $(rtld-installed-name).
7391 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7392 (rtld_installed_name): Likewise.
7393 (library_path): Likewise.
7394 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7395 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7396 $(run-program-prefix) to tst-tables.sh.
7397 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7398 it to run tst-table-from and tst-table-to.
7399 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7400 Pass it to tst-table.sh.
7401 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7402 $(run-program-prefix) to tst-gettext.sh.
7403 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7405 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7407 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7409 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7410 to run tst-gettext2.
7411 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7412 to run tst-translit.
7413 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7414 $(run-program-prefix) to tst-mtrace.sh.
7415 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7417 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7418 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7419 $(rtld-installed-name).
7420 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7421 (rtld_installed_name): Likewise.
7422 (run_program_prefix): New variable. Use it to run wordexp-test.
7424 * Makeconfig (ARCH): Remove all definitions.
7425 (machine): Likewise.
7426 [ARCH]: Remove conditional code.
7427 [!objdir]: Give error.
7428 [!objdir] (objpfx): Remove.
7429 [!objdir] (common-objpfx): Likewise.
7430 [!objdir] (common-objdir): Likewise.
7431 * configure.in (config_makefile): Remove. Hardcode Makefile in
7432 AC_CONFIG_FILES call.
7433 * configure: Regenerated.
7436 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7438 (testout): Likewise.
7440 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7441 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7442 $(rtld-installed-name).
7443 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7444 (rtld_installed_name): Likwise.
7445 (runit): Remove function.
7446 (run_getconf): New variable, Use it for running getconf binary.
7448 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7451 * string/test-memmem.c (check_result): New function.
7452 (do_one_test): Use it.
7453 (check1): New function.
7454 (test_main): Use it.
7456 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7458 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7460 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7462 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7463 (_G_LSEEK64): Likewise.
7464 (_G_MMAP64): Likewise.
7465 (_G_FSTAT64): Likewise.
7466 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7467 (_G_LSEEK64): Likewise.
7468 (_G_MMAP64): Likewise.
7469 (_G_FSTAT64): Likewise.
7470 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7471 unconditional. Call __mmap64 directly.
7472 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7473 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7475 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7476 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7478 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7479 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7481 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7482 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7484 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7485 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7487 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7488 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7489 __fxstat64 directly.
7490 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7491 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7493 (freopen64) [!_G_OPEN64]: Remove conditional code.
7494 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7496 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7497 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7499 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7500 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7502 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7503 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7505 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7506 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7508 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7509 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7511 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7512 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7514 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7516 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7519 * manual/memory.texi (Malloc Tunable Parameters): Add note
7520 about free list pointers overwriting some perturb bytes.
7521 Wording suggested by Roland McGrath.
7523 2012-10-17 Joseph Myers <joseph@codesourcery.com>
7525 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7526 (lgamma_test): Likewise.
7527 (tgamma_test): Likewise.
7529 2012-10-16 Florian Weimer <fweimer@redhat.com>
7532 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7533 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7535 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7537 * NEWS: Mention BZ #14716.
7538 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7539 when removing AVAILABLE1_USES_J macro.
7541 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7543 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7544 (__bswap_64): __uint64_t for unsigned 64-bit int.
7546 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7548 * include/string.h (memmem): Declare libc hidden alias.
7549 * string/memmem.c (memmem): Define libc hidden alias.
7550 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7551 __read, __close instead of open, read, close.
7553 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7555 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7556 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7558 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7559 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7560 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7562 (__rawmemchr_sse2): Likewise.
7563 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7564 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7565 (__strchr_sse2): Likewise.
7566 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7567 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7568 (__strcasecmp_sse2): Likewise.
7569 (__strncasecmp_sse2): Likewise.
7570 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7571 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7572 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7573 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7574 (__strrchr_sse2): Likewise.
7575 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7577 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7578 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7579 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7580 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7581 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7582 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7583 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7584 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7585 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7586 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7587 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7588 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7589 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7590 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7591 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7592 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7593 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7594 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7595 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7596 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7597 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7598 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7599 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7600 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7601 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7602 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7603 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7604 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7605 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7606 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7608 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7610 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7611 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7612 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7613 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7615 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7617 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7618 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7619 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7620 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7622 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7623 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7624 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7625 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7626 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7627 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7628 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7629 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7630 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7631 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7632 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7633 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7634 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7635 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7636 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7637 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7638 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7639 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7640 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7641 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7642 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7643 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7644 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7645 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7646 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7647 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7648 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7649 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7650 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7651 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7652 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7653 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7654 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7655 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7656 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7657 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7658 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7659 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7660 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7661 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7662 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7664 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7665 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7666 * include/ifunc-impl-list.h: New file.
7667 * misc/ifunc-impl-list.c: Likewise.
7668 * misc/Makefile (routines): Add ifunc-impl-list.
7669 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7670 * string/test-string.h: Include <ifunc-impl-list.h>.
7671 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7672 impl_array): New variables.
7673 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7675 (test_init): Call __libc_ifunc_impl_list to initialize
7676 func_list if TEST_IFUNC and TEST_NAME are defined.
7678 * string/Makefile (strop-tests): Add bcopy and bzero.
7679 * string/test-bcopy.c: New file.
7680 * string/test-bzero.c: Likewise.
7681 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7683 * string/test-memset.c: Support bzero test if TEST_BZERO is
7685 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7687 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7689 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7692 2012-10-10 Joseph Myers <joseph@codesourcery.com>
7694 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7695 * configure: Regenerated.
7697 * Makeconfig (+link-static-before-libc): Don't include
7698 $(link-static-libc).
7700 * libio/libio.h (_IO_pos_t): Remove.
7702 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7704 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7707 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7709 * crypt/crypt-entry.c: Include fips-private.h.
7710 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7711 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7712 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7713 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7715 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7717 * crypt/crypt-private.h: Include stdbool.h.
7718 (_ufc_setup_salt_r): Return bool.
7719 * crypt/crypt-entry.c: Include errno.h.
7720 (__crypt_r): Return NULL with EINVAL for bad salt.
7721 * crypt/crypt_util.c (bad_for_salt): New.
7722 (_ufc_setup_salt_r): Check that salt is long enough and within
7723 the specified alphabet.
7724 * crypt/badsalttest.c: New file.
7725 * crypt/Makefile (tests): Add it.
7726 ($(objpfx)badsalttest): New.
7728 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7730 * NEWS: Add entry for BZ #14602.
7732 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7734 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7736 * math/libm-test.inc: Update comment listing what functions and
7738 (isgreater_test): New function.
7739 (isgreaterequal_test): Likewise.
7740 (isless_test): Likewise.
7741 (islessequal_test): Likewise.
7742 (islessgreater_test): Likewise.
7743 (isunordered_test): Likewise.
7744 (main): Call the new functions.
7746 2012-10-09 Roland McGrath <roland@hack.frob.com>
7748 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7749 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7750 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7751 * sysdeps/i386/configure: Regenerated.
7752 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7753 * sysdeps/mach/configure: Regenerated.
7754 * sysdeps/mach/hurd/configure: Regenerated.
7755 * sysdeps/powerpc/configure: Regenerated.
7756 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7757 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7758 * sysdeps/s390/s390-32/configure: Regenerated.
7759 * sysdeps/s390/s390-64/configure: Regenerated.
7760 * sysdeps/sh/configure: Regenerated.
7761 * sysdeps/sparc/configure: Regenerated.
7762 * sysdeps/unix/sysv/linux/configure: Regenerated.
7763 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7764 * sysdeps/x86_64/configure: Regenerated.
7766 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7767 defined. Don't check if MAP is NULL.
7769 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7771 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7772 (_G_stat64): Likewise.
7773 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7774 (_G_stat64): Likewise.
7775 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7776 instead of struct _G_stat64.
7777 * libio/fileops.c (mmap_remap_check): Likewise.
7778 (decide_maybe_mmap): Likewise.
7779 (_IO_new_file_seekoff): Likewise.
7780 (_IO_file_stat): Likewise.
7781 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7783 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7784 instead of struct _G_stat64.
7785 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7787 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7790 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7792 (CHECK_EOL): New macro.
7793 (two_way_short_needle): Check beginning of haystack for EOL. Use
7795 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7796 Replace with CHECK_EOL.
7797 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7798 Replace with CHECK_EOL.
7800 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7802 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7804 * math/libm-test.inc: Update comment listing what functions and
7806 (finite_test): New function.
7807 (isinf_test): Likewise.
7808 (isnan_test): Likewise.
7809 (fpclassify_test): Test subnormal input.
7810 (isfinite_test): Likewise.
7811 (isnormal_test): Likewise.
7812 (main): Call the new functions.
7814 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7817 * Makerules (%.dynsym): Force C locale when running
7818 $(OBJDUMP) --dynamic-syms.
7820 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7822 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7825 2012-10-06 David S. Miller <davem@davemloft.net>
7827 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7828 upper 32-bits of the length value in %o2 since we use branch-on-register
7829 tests which consider the entire 64-bit register.
7831 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7833 * string/test-strstr.c (check2): Add a test for page boundary.
7835 2012-10-05 David S. Miller <davem@davemloft.net>
7837 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7838 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7840 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7842 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7843 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7844 and bzero when HWCAP_SPARC_CRYPTO is present.
7846 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7849 * string/test-strstr.c (check2): New function.
7850 (test_main): Call check2.
7852 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7854 * string/bug-strcasestr1.c (do_test): Moved to ...
7855 * string/test-strcasestr.c (check1): Here. New function.
7856 (do_one_test): Break out result checking code into ...
7857 (check_result): This. New function.
7858 (do_one_test): Call check_result.
7859 (test_main): Call check1.
7860 * string/bug-strchr1.c (do_test): Moved to ...
7861 * string/test-strchr.c (check1): Here. New function.
7862 (do_one_test): Break out result checking code into ...
7863 (check_result): This. New function.
7864 (do_one_test): Call check_result.
7865 (test_main): Call check1.
7866 * string/bug-strstr1.c (main): Moved to ...
7867 * string/test-strstr.c (check1): Here. New function.
7868 (do_one_test): Break out result checking code into ...
7869 (check_result): This. New function.
7870 (do_one_test): Call check_result.
7871 (test_main): Call check1.
7872 * string/bug-strcasestr1.c: Removed.
7873 * string/bug-strchr1.c: Likewise.
7874 * string/bug-strstr1.c: Likewise.
7876 * elf/Makefile (dl-routines): Add hwcaps.
7877 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7878 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7879 (_dl_important_hwcaps): Moved to ...
7880 * elf/dl-hwcaps.c: Here. New file.
7881 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7884 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7885 if IS_IN_rtld isn't defined.
7887 * elf/dl-support.c (_dl_sysinfo_map): New.
7888 Include "get-dynamic-info.h" and "setup-vdso.h".
7889 (_dl_non_dynamic_init): Call setup_vdso.
7890 * elf/dynamic-link.h: Don't include <assert.h>.
7891 (elf_get_dynamic_info): Moved to ...
7892 * elf/get-dynamic-info.h: Here. New file.
7893 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7894 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7895 * elf/setup-vdso.h: Here. New file.
7896 * elf/rtld.c: Include "setup-vdso.h".
7897 (dl_main): Call setup_vdso.
7899 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7901 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7902 creal in comment listing functions tested. List finite, isinf,
7903 isnan, isless, islessequal, isgreater, isgreaterequal,
7904 islessgreater, isunordered, lgamma_r and pow10 as functions and
7905 macros not tested. Mention which functions not tested are aliases
7906 for other functions. Fix typo. Note that signs of NaNs are not
7909 * scripts/config.guess: Update from config.git.
7910 * scripts/config.sub: Likewise.
7912 2012-10-04 Roland McGrath <roland@hack.frob.com>
7914 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7915 * misc/madvise.c (madvise): Renamed to __madvise.
7916 Make madvise a weak alias.
7917 * include/sys/mman.h: Declare __madvise.
7918 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7919 * sysdeps/unix/syscalls.list
7920 (madvise): Make __madvise the strong name, and madvise a weak alias.
7921 * sysdeps/unix/sysv/linux/syscalls.list
7922 (madvise, mmap): Remove redundant entries.
7923 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7924 * malloc/malloc.c (mtrim): Likewise.
7925 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7927 2012-10-03 Roland McGrath <roland@hack.frob.com>
7929 * sysdeps/mach/hurd/dl-cache.c: File removed.
7930 * config.h.in (USE_LDCONFIG): New #undef.
7931 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7932 * configure: Regenerated.
7933 * elf/Makefile (dl-routines): Add dl-cache only under
7934 [$(use-ldconfig) = yes].
7935 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7936 cache on [USE_LDCONFIG].
7937 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7939 * elf/rtld.c (dl_main): Likewise.
7941 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7943 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7944 _SC_LEVEL4_CACHE_LINESIZE.
7946 2012-10-03 Roland McGrath <roland@hack.frob.com>
7948 * sysdeps/unix/bsd/confstr.h: File removed.
7950 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7952 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7955 2012-10-02 Roland McGrath <roland@hack.frob.com>
7957 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7958 Make 'mapoff' field ElfW(Off) rather than off_t.
7960 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7962 * nscd/Makefile: Remove nscd-cflags and all its users.
7963 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7964 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7967 * malloc.c (malloc_printerr): Clarify error message.
7969 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7973 Set bit_FMA_Usable if FMA is supported.
7974 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7976 (bit_FMA4_Usable): Updated.
7977 (index_FMA_Usable): New macro.
7978 (CPUID_FMA): Likewise
7979 (HAS_FMA): Defined with bit_FMA_Usable.
7981 2012-10-01 Roland McGrath <roland@hack.frob.com>
7983 * bits/types.h (__swblk_t): Type removed.
7984 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7985 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7986 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7987 (__SWBLK_T_TYPE): Likewise.
7988 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7989 (__SWBLK_T_TYPE): Likewise.
7990 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7991 (__SWBLK_T_TYPE): Likewise.
7992 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7993 (__SWBLK_T_TYPE): Likewise.
7995 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7996 Honza Horak <hhorak@redhat.com>
7998 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7999 (xdr_mapname): Use YPMAXMAP as maxsize.
8000 (xdr_peername): Use YPMAXPEER as maxsize.
8001 (xdr_keydat): Use YPAXRECORD as maxsize.
8002 (xdr_valdat): Use YPMAXRECORD as maxsize.
8004 2012-10-01 Roland McGrath <roland@hack.frob.com>
8006 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8008 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8009 * csu/init-first.c: ... here.
8010 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8011 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8012 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8013 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8014 * sysdeps/i386/init-first.c: File removed.
8015 * sysdeps/sh/init-first.c: File removed.
8017 2012-10-01 Joseph Myers <joseph@codesourcery.com>
8020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8021 if x * y might underflow to zero and z is zero.
8022 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8023 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8024 * math/libm-test.inc (min_subnorm_value): New variable.
8025 (fma_test): Add more tests.
8026 (fma_test_towardzero): Likewise.
8027 (fma_test_downward): Likewise
8028 (fma_test_upward): Likewise.
8029 (initialize): Set min_subnorm_value.
8031 2012-09-29 Joseph Myers <joseph@codesourcery.com>
8034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8036 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8037 mode for addition resulting in exact zero.
8038 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8041 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8042 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8043 * math/libm-test.inc (fma_test): Add more tests.
8044 (fma_test_towardzero): New function.
8045 (fma_test_downward): Likewise.
8046 (fma_test_upward): Likewise.
8047 (main): Call the new functions.
8049 2012-09-28 David S. Miller <davem@davemloft.net>
8051 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8053 2012-09-28 Roland McGrath <roland@hack.frob.com>
8055 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8058 * sysdeps/gnu/_G_config.h: Moved to ...
8059 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8060 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8061 * sysdeps/generic/_G_config.h: ... here.
8063 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8065 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8067 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8068 Conditionalize target on [libnss_test1.so-version].
8070 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8072 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8073 (elfobjdir): Move out of conditionals.
8075 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8076 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8077 (__nss_lookup_function): Conditionalize label remove_from_tree on
8078 [!DO_STATIC_NSS || SHARED], matching its only use.
8080 2012-09-28 David S. Miller <davem@davemloft.net>
8082 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8083 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8085 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8087 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8088 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8089 when HWCAP_SPARC_CRYPTO is present.
8091 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8093 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8095 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8098 * stdio-common/vfprintf.c (process_string_arg): Revert
8101 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8103 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8105 * stdio-common/tst-sprintf.c: Include <locale.h>
8106 (main): Test sprintf's handling of incomplete multibyte
8109 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8111 * elf/dl-runtime.c (VERSYMIDX): Removed.
8112 * elf/dl-version.c (VERSYMIDX): Likewise.
8113 * elf/do-rel.h (VERSYMIDX): Likewise.
8115 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8116 * elf/rtld.c (VALIDX): Likewise.
8117 (ADDRIDX): Likewise.
8118 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8119 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8120 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8121 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8123 (ADDRIDX): Likewise.
8125 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8127 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8129 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8132 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8134 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8135 addresses are in the same scope as 192.0.2/24.
8136 * posix/gai.conf: Document new scope table defaults.
8138 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8141 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8142 for ftell. Compute offsets from write pointers instead.
8143 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8145 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8148 * libio/Makefile (tests): New test case tst-fseek.
8149 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8150 combination works in wide mode.
8151 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8152 state when the external buffer state changes.
8154 2012-09-27 David S. Miller <davem@davemloft.net>
8157 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8158 pass reloc->r_addend in as the 'high' argument to
8159 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8163 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8165 * rt/tst-aio2.c: Include <pthread.h>.
8166 * rt/tst-aio3.c: Likewise.
8168 2012-09-27 Steve Ellcey <sellcey@mips.com>
8170 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8172 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8174 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8175 contents on [SHARED].
8177 2012-09-26 Marek Polacek <polacek@redhat.com>
8181 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8182 for C++ and GCC <4.3 as well as for non GCC compilers.
8184 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8188 2012-09-25 Roland McGrath <roland@hack.frob.com>
8190 * Makefile.in (all, install): Declare with .PHONY.
8191 Reported by Michael Hope <michael.hope@linaro.org>.
8193 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8195 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8196 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8198 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8200 (sydep_routines): Add the new and the internal functions.
8201 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8202 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8204 (GLIBC_2.17): Add the new function.
8205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8206 (GLIBC_2.17): Likewise.
8207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8208 (GLIBC_2.17): Likewise.
8209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8210 (GLIBC_2.17): Likewise.
8211 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8213 2012-09-25 Alan Modra <amodra@gmail.com>
8215 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8216 Add release barrier before setting once_control to say
8217 initialisation is done. Add hints on lwarx. Use macro in
8219 (clear_once_control): Add release barrier.
8221 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8224 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8226 * math/s_clog10.c (__clog10): Likewise.
8227 * math/s_clog10f.c (__clog10f): Likewise.
8228 * math/s_clog10l.c (__clog10l): Likewise.
8229 * math/s_clogf.c (__clogf): Likewise.
8230 * math/s_clogl.c (__clogl): Likewise.
8231 * math/Makefile (libm-calls): Add x2y2m1.
8232 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8233 (__x2y2m1): Likewise.
8234 (__x2y2m1l): Likewise.
8235 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8236 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8237 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8238 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8239 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8240 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8241 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8242 * sysdeps/i386/fpu/libm-test-ulps: Update.
8243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8246 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8247 int as type of variable DEPTH.
8248 (glob): Use size_t instead of int as type of variables NEWCOUNT
8251 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8253 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8255 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8256 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8257 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8258 macros for using routine as __sincosf_ia32.
8259 Use macro for function declaration and weak_alias.
8260 * sysdeps/i386/fpu/libm-test-ulps: Update.
8262 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8265 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8267 * math/s_cexpf.c (__cexpf): Likewise.
8268 * math/s_csinf.c (__csinf): Likewise.
8269 * math/s_csinhf.c (__csinhf): Likewise.
8270 * math/s_ctanf.c (__ctanf): Likewise.
8271 * math/s_ctanhf.c (__ctanhf): Likewise.
8272 * math/s_ccosh.c (__ccoshf): Likewise.
8273 * math/s_cexp.c (__cexpl): Likewise.
8274 * math/s_csin.c (__csin): Likewise.
8275 * math/s_csinh.c (__csinh): Likewise.
8276 * math/s_ctan.c (__ctan): Likewise.
8277 * math/s_ctanh.c (ctanh): Likewise.
8278 * math/s_ccoshl.c (__ccoshl): Likewise.
8279 * math/s_cexpl.c (__cexpl): Likewise.
8280 * math/s_csinl.c (__csinl): Likewise.
8281 * math/s_csinhl.c (__csinhl): Likewise.
8282 * math/s_ctanl.c (__ctanl): Likewise.
8283 * math/s_ctanhl.c (__ctanhl): Likewise.
8285 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8287 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8288 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8289 (_IO_off_t): Define to __off_t, not _G_off_t.
8290 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8291 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8292 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8293 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8294 type of __dummy and __dummy2 fields.
8295 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8296 (_G_ssize_t): Likewise.
8297 (_G_off_t): Likewise.
8298 (_G_pid_t): Likewise.
8299 (_G_uid_t): Likewise.
8300 (_G_wchar_t): Likewise.
8301 (_G_wint_t): Likewise.
8302 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8303 (_G_ssize_t): Likewise.
8304 (_G_off_t): Likewise.
8305 (_G_pid_t): Likewise.
8306 (_G_uid_t): Likewise.
8307 (_G_wchar_t): Likewise.
8308 (_G_wint_t): Likewise.
8309 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8310 (_G_ssize_t): Likewise.
8311 (_G_off_t): Likewise.
8312 (_G_pid_t): Likewise.
8313 (_G_uid_t): Likewise.
8314 (_G_wchar_t): Likewise.
8315 (_G_wint_t): Likewise.
8317 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8319 * malloc/arena.c: Include malloc-sysdep.h.
8320 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8321 is sufficient to shrink the heap or an unmap is needed.
8322 * sysdeps/generic/malloc-sysdep.h: New file. Define
8323 new function check_may_shrink_heap.
8324 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8325 new function check_may_shrink_heap.
8327 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8329 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8332 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8334 * catgets/test-gencat.sh: Add "set -e".
8335 * elf/tst-pathopt.sh: Likewise.
8336 * grp/tst_fgetgrent.sh: Likewise.
8337 * iconvdata/run-iconv-test.sh: Likewise.
8338 * intl/tst-gettext.sh: Likewise.
8339 * intl/tst-gettext2.sh: Likewise.
8340 * intl/tst-gettext4.sh: Likewise.
8341 * intl/tst-gettext6.sh: Likewise.
8342 * intl/tst-translit.sh: Likewise.
8343 * io/ftwtest-sh: Likewise.
8344 * libio/test-freopen.sh: Likewise.
8345 * malloc/tst-mtrace.sh: Likewise.
8346 * posix/globtest.sh: Likewise.
8347 * posix/tst-getconf.sh: Likewise.
8348 * posix/wordexp-tst.sh: Likewise.
8349 * stdio-common/tst-printf.sh: Likewise.
8350 * stdio-common/tst-unbputc.sh: Likewise.
8351 * stdlib/tst-fmtmsg.sh: Likewise.
8352 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8353 * catgets/Makefile: Do not specify -e option when running
8354 testsuite shell scripts.
8355 * elf/Makefile: Likewise.
8356 * grp/Makefile: Likewise.
8357 * iconvdata/Makefile: Likewise.
8358 * intl/Makefile: Likewise.
8359 * io/Makefile: Likewise.
8360 * libio/Makefile: Likewise.
8361 * malloc/Makefile: Likewise.
8362 * posix/Makefile: Likewise.
8363 * stdio-common/Makefile: Likewise.
8364 * stdlib/Makefile: Likewise.
8365 * sysdeps/x86_64/Makefile: Likewise.
8367 * io/ftwtest-sh: Add copyright header.
8368 * posix/globtest.sh: Likewise.
8369 * posix/tst-getconf.sh: Likewise.
8370 * posix/wordexp-tst.sh: Likewise.
8371 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8373 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8376 * Makeconfig (+link): Defined as $(+link-static) if
8377 $(build-shared) isn't yes.
8378 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8380 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8382 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8385 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8386 new chunk size with MALLOC_ALIGN_MASK.
8388 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8391 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8393 (__printf_fphex): Determine rounding using get_rounding_mode and
8395 * stdio-common/tst-printf-round.c (struct hex_test): New
8397 (hex_tests): New variable.
8398 (test_hex_in_one_mode): New function.
8399 (do_test): Also run tests for hex float output.
8401 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8403 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8404 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8405 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8406 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8407 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8408 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8409 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8410 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8412 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8414 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8415 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8416 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8417 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8419 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8422 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8424 * elf/tst-rtld-load-self.sh: New test.
8425 * elf/Makefile: Run it.
8427 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8429 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8430 (tst-writev-ENV): Remove.
8431 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8433 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8435 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8437 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8439 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8441 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8443 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8444 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8445 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8448 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8451 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8452 * config.make.in (have-cpp-asm-debuginfo): Removed.
8453 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8454 * configure: Regenerated.
8456 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8459 * stdio-common/printf_fp.c: Include <stdbool.h> and
8461 (___printf_fp): Determine rounding using get_rounding_mode and
8463 * stdio-common/tst-printf-round.c: New file.
8464 * stdio-common/Makefile (tests): Add tst-printf-round.
8465 (link-libm): New variable.
8466 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8468 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8471 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8472 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8474 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8477 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8479 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8480 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8481 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8482 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8484 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8487 * include/rounding-mode.h: New file.
8488 * sysdeps/generic/get-rounding-mode.h: Likewise.
8489 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8490 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8491 (MAX_VALUE): New macro.
8492 (MIN_VALUE): Likewise.
8493 (overflow_value): New function.
8494 (underflow_value): Likewise.
8495 (round_and_return): Use overflow_value and underflow_value to
8496 determine return values in overflow and underflow cases. Use
8497 round_away to determine rounding depending on rounding mode.
8498 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8499 determine return values in overflow and underflow cases.
8500 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8501 (struct test_results): New structure.
8502 (struct test): Use struct test_results to store expected results
8503 for all rounding modes.
8504 (TEST): Include expected results for all rounding modes.
8505 (test_in_one_mode): New function.
8506 (do_test): Use test_in_one_mode to compute and check results.
8507 Check results for all rounding modes.
8508 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8511 2012-12-09 Allan McRae <allan@archlinux.org>
8513 * sysdeps/i386/fpu/libm-test-ulps: Update
8515 2012-09-11 Joseph Myers <joseph@codesourcery.com>
8517 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8518 (_G_int32_t): Likewise.
8519 (_G_uint16_t): Likewise.
8520 (_G_uint32_t): Likewise.
8521 (_G_HAVE_BOOL): Likewise.
8522 (_G_HAVE_ATEXIT): Likewise.
8523 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8524 (_G_HAVE_IO_FILE_OPEN): Likewise.
8525 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8526 (_G_int32_t): Likewise.
8527 (_G_uint16_t): Likewise.
8528 (_G_uint32_t): Likewise.
8529 (_G_HAVE_BOOL): Likewise.
8530 (_G_HAVE_ATEXIT): Likewise.
8531 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8532 (_G_HAVE_IO_FILE_OPEN): Likewise.
8533 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8534 (_G_int32_t): Likewise.
8535 (_G_uint16_t): Likewise.
8536 (_G_uint32_t): Likewise.
8537 (_G_HAVE_BOOL): Likewise.
8538 (_G_HAVE_ATEXIT): Likewise.
8539 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8540 (_G_HAVE_IO_FILE_OPEN): Likewise.
8542 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8544 * csu/libc-tls.c: Update copyright years.
8546 2012-09-10 Joseph Myers <joseph@codesourcery.com>
8548 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8549 [!_G_USING_THUNKS]: Remove conditional code.
8550 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8551 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8553 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8554 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8555 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8556 (_G_VTABLE_LABEL_PREFIX): Likewise.
8557 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8558 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8559 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8560 (_G_VTABLE_LABEL_PREFIX): Likewise.
8561 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8562 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8563 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8564 (_G_VTABLE_LABEL_PREFIX): Likewise.
8565 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8567 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8569 * libio/Makefile: Include ../Makeconfig before tests.
8570 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8571 only if $(build-shared) is yes.
8573 * iconv/gconv_db.c: Update copyright years.
8575 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8577 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8578 unwind info if defined PIC. Fix special cases description.
8579 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8581 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8583 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8585 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8587 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8589 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8592 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8593 (LDLIBS-tst-chk4): This.
8594 (LDFLAGS-tst-chk5): Renamed to ...
8595 (LDLIBS-tst-chk5): This.
8596 (LDFLAGS-tst-chk6): Renamed to ...
8597 (LDLIBS-tst-chk6): This.
8598 (LDFLAGS-tst-lfschk4): Renamed to ...
8599 (LDLIBS-tst-lfschk4): This.
8600 (LDFLAGS-tst-lfschk5): Renamed to ...
8601 (LDLIBS-tst-lfschk5): This.
8602 (LDFLAGS-tst-lfschk6): Renamed to ...
8603 (LDLIBS-tst-lfschk6): This.
8605 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8606 on $(common-objpfx)soversions.mk.
8608 2012-09-07 Joseph Myers <joseph@codesourcery.com>
8611 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8614 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8616 * malloc/arena.c (arena_get_retry): New function that gets
8617 another arena for the caller to try its request on.
8618 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8619 current arena cannot fulfill the request.
8620 (__libc_memalign): Likewise.
8621 (__libc_memalign): Likewise.
8622 (__libc_pvalloc): Likewise.
8623 (__libc_calloc): Likewise.
8625 2012-09-05 John Tobey <john.tobey@gmail.com>
8628 * manual/arith.texi (Operations on Complex): Fix description
8631 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8634 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8638 * manual/memory.texi (Memory): Make order of menu items match
8641 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8643 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8644 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8645 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8647 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8649 * csu/libc-tls.c (static_dtv): Renamed to ...
8650 (_dl_static_dtv): This. Make it global.
8651 (_dl_initial_dtv): Removed.
8652 (__libc_setup_tls): Updated.
8653 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8654 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8657 2012-09-06 Petr Machata <pmachata@redhat.com>
8659 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8660 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8661 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8662 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8664 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8667 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8668 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8671 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8674 * Makeconfig (link-static-before-libc): Replace $(+prector)
8676 (link-static-after-libc): Replace $(+postctor) with
8678 (link-bounded): Replace $(+prector)/$(+postctor) with
8679 $(+prectorT)/$(+postctorT).
8680 (+prectorT): New macro.
8681 (+postctorT): Likewise.
8683 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8685 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8686 (round_str): Handle values above the maximum for IBM long double
8688 * stdlib/tst-strtod-round.c (tests): Regenerated.
8690 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8692 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8694 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8695 zarch_nohighgprs around the zarch optimized routines.
8696 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8697 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8698 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8701 2012-09-05 David S. Miller <davem@davemloft.net>
8703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8705 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8706 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8707 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8708 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8711 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8713 * malloc/arena.c: Fold copyright years.
8714 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8716 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8718 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8720 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8722 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8724 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8726 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8727 change internal state upon failure.
8729 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8731 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8732 * malloc/memusage.c (mmap): Likewise.
8733 (mmap64, mremap): Likewise. Adjust name in comment.
8735 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8737 * libio/fileops.c: Fix typos in comments.
8738 * libio/oldfileops.c: Likewise.
8739 * libio/wfileops.c: Likewise.
8741 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8744 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8745 (tst-malloc-usable-ENV): Set environment for test case.
8746 * malloc/hooks.c (malloc_check_get_size): New function to get
8748 * malloc/malloc.c (musable): Use malloc_check_get_size.
8749 * malloc/tst-malloc-usable.c: New test case.
8751 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8753 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8755 2012-09-05 Allan McRae <allan@archlinux.org>
8758 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8759 determine header location.
8760 * configure: Regenerated.
8762 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8764 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8766 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8767 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8771 2012-09-04 David S. Miller <davem@davemloft.net>
8773 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8774 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8775 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8777 2012-09-04 Florian Weimer <fweimer@redhat.com>
8779 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8782 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8784 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8787 * libio/iogetdelim.c: Include <limits.h>.
8788 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8789 + len + 1 would overflow.
8791 2012-09-03 Andreas Jaeger <aj@suse.de>
8793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8794 * sysdeps/i386/fpu/libm-test-ulps: Update.
8796 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8798 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8799 Add s_sinf-sse2, s_conf-sse2.
8801 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8802 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8803 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8804 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8806 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8807 for using routine as __sinf_ia32.
8808 Use macro for function declaration and weak_alias.
8809 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8810 for using routine as __cosf_ia32.
8811 Use macro for function declaration and weak_alias.
8813 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8814 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8816 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8817 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8820 * math/libm-test.inc (cos_test): Add more test cases.
8821 (sin_test): Likewise.
8822 (sincos_test): Likewise.
8824 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8826 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8827 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8829 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8831 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8834 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8835 first element of the GOT.
8836 (elf_machine_load_address): Return the difference between
8837 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8839 2012-09-01 Allan McRae <allan@archlinux.org>
8842 * configure.in (AWK): Require gawk version 3.0 or later.
8843 * configure: Regenerated.
8845 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8847 * sysdeps/unix/sysv/linux/kernel-features.h
8848 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8849 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8850 [__NR_clock_getres]: Make code unconditional.
8851 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8852 (clock_getcpuclockid): Remove code left unreachable by removal of
8854 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8856 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8857 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8858 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8859 Make code unconditional.
8860 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8861 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8862 * sysdeps/unix/sysv/linux/clock_settime.c
8863 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8865 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8866 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8868 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8871 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8872 scripts/test-installation.pl.
8874 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8875 and $ld_so_version if it is set.
8877 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8880 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8881 failure if reading from procfs failed.
8882 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8884 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8886 * sysdeps/unix/sysv/linux/kernel-features.h
8887 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8888 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8889 Remove conditional code.
8890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8891 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8892 Remove conditional code.
8893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8894 * sysdeps/unix/sysv/linux/i386/fxstat.c
8895 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8896 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8897 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8898 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8900 * sysdeps/unix/sysv/linux/i386/lxstat.c
8901 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8903 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8904 Remove conditional code.
8905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8906 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8907 Remove conditional code.
8908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8909 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8910 <kernel-features.h>.
8911 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8913 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8914 Remove conditional code.
8915 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8916 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8919 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8922 * NEWS: Add fixed bug number.
8924 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8927 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8928 underflowing exponent in case of negative sign.
8929 * stdlib/tst-strtod-round-data: Add more tests.
8930 * stdlib/tst-strtod-round.c (tests): Regenerated.
8933 * stdlib/strtod_l.c (NDIG): Remove.
8934 (HEXNDIG): Likewise.
8935 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8936 smallest representable value.
8937 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8938 lie within an exact representation of 1/2 ulp of the result.
8939 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8941 (TENS_P9_IDX): Define unconditionally.
8942 (TENS_P9_SIZE): Likewise.
8943 (TENS_P10_IDX): Likewise.
8944 (TENS_P10_SIZE): Likewise.
8945 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8946 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8947 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8948 entries for 10^2^13 and 10^2^14.
8949 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8950 (TENS_P13_IDX): Define.
8951 (TENS_P13_SIZE): Likewise.
8952 (TENS_P14_IDX): Likewise.
8953 (TENS_P14_SIZE): Likewise.
8954 (_fpioconst_pow10): Change array size to
8955 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8957 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8958 1024]: Add entries for 10^2^13 and 10^2^14.
8959 [LAST_POW10 > _LAST_POW10]: Remove #error.
8960 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8961 (_fpioconst_pow10): Change array size to
8962 FPIOCONST_POW10_ARRAY_SIZE.
8963 * stdlib/gen-fpioconst.c: New file.
8964 * stdlib/gen-tst-strtod-round.c: Likewise.
8965 * stdlib/tst-strtod-round-data: Likewise.
8966 * stdlib/tst-strtod-round.c: Likewise.
8967 * stdlib/Makefile (tests): Add tst-strtod-round.
8970 * stdlib/strtod_l.c: Include <stdint.h>.
8971 (NDEBUG): Do not define.
8972 (round_and_return): Change EXPONENT parameter to type intmax_t.
8973 Rearrange calculations to avoid internal overflow possibilities.
8974 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8975 Rearrange calculations to avoid internal overflow possibilities.
8976 Assert that number fits inside MPNSIZE limbs.
8977 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8978 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8979 calculations and add assertions to avoid internal overflow
8980 possibilities. Add casts to avoid signed/unsigned operations.
8981 * stdlib/tst-strtod-overflow.c: New file.
8982 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8984 2012-08-25 Marek Polacek <polacek@redhat.com>
8986 * time/time.h: Fix some typos in comments.
8988 2012-08-23 Roland McGrath <roland@hack.frob.com>
8990 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8991 * posix/tst-rfc3484-2.c: Likewise.
8992 * posix/tst-rfc3484-3.c: Likewise.
8994 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8996 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8997 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8999 2012-08-23 Joseph Myers <joseph@codesourcery.com>
9001 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9002 #include of fxstatat64.c.
9004 2012-08-22 Roland McGrath <roland@hack.frob.com>
9006 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9007 * shadow/getspent_r.c: Likewise.
9008 * shadow/getspnam.c: Likewise.
9009 * shadow/getspnam_r.c: Likewise.
9010 * gshadow/getsgent.c: Likewise.
9011 * gshadow/getsgent_r.c: Likewise.
9012 * gshadow/getsgnam.c: Likewise.
9013 * gshadow/getsgnam_r.c: Likewise.
9014 * inet/getnetbyad.c: Likewise.
9015 * inet/getnetbyad_r.c: Likewise.
9016 * inet/getnetbynm.c: Likewise.
9017 * inet/getnetbynm_r.c: Likewise.
9018 * inet/getnetent.c: Likewise.
9019 * inet/getnetent_r.c: Likewise.
9020 * inet/getproto.c: Likewise.
9021 * inet/getproto_r.c: Likewise.
9022 * inet/getprtent.c: Likewise.
9023 * inet/getprtent_r.c: Likewise.
9024 * inet/getprtname.c: Likewise.
9025 * inet/getprtname_r.c: Likewise.
9026 * inet/getrpcbyname.c: Likewise.
9027 * inet/getrpcbyname_r.c: Likewise.
9028 * inet/getrpcbynumber.c: Likewise.
9029 * inet/getrpcbynumber_r.c: Likewise.
9030 * inet/getrpcent.c: Likewise.
9031 * inet/getrpcent_r.c: Likewise.
9032 * inet/getaliasent.c: Likewise.
9033 * inet/getaliasent_r.c: Likewise.
9034 * inet/getaliasname.c: Likewise.
9035 * inet/getaliasname_r.c: Likewise.
9036 * nscd/getgrgid_r.c: Likewise.
9037 * nscd/getgrnam_r.c: Likewise.
9038 * nscd/gethstbyad_r.c: Likewise.
9039 * nscd/gethstbynm3_r.c: Likewise.
9040 * nscd/getpwnam_r.c: Likewise.
9041 * nscd/getpwuid_r.c: Likewise.
9042 * nscd/getsrvbynm_r.c: Likewise.
9043 * nscd/getsrvbypt_r.c: Likewise.
9044 * nscd/gai.c: Likewise.
9046 * configure.in (build_nscd): New substituted variable, set
9047 by --disable-build-nscd and defaults to $use_nscd.
9048 * configure: Regenerated.
9049 * config.make.in (build-nscd): New substituted variable.
9050 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9051 Change conditional to require [$(build-nscd) = yes] as well.
9052 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9055 * configure.in (use_nscd): New substituted variable, set by
9056 --disable-nscd. If enabled, define USE_NSCD.
9057 * configure: Regenerated.
9058 * config.h.in: Add USE_NSCD.
9059 * config.make.in (use-nscd): New substituted variable.
9060 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9061 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9062 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9063 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9064 (CFLAGS-getgrnam_r.c): Likewise.
9065 (CFLAGS-initgroups.c): Likewise.
9066 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9067 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9069 * inet/getnetgrent_r.c
9070 (nscd_setnetgrent): New function, broken out of ...
9071 (setnetgrent): ... here. Call it.
9072 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9073 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9074 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9075 * nscd/Makefile (routines, aux): Move definitions after include of
9076 Makeconfig. Conditionalize on [$(use-nscd) != no].
9077 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9078 Conditionalize on [USE_NSCD].
9079 (is_nscd, nscd_init_cb): Likewise.
9080 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9081 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9082 * nss/nss_db/db-init.c: Likewise.
9083 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9085 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9086 (make_request): Use it.
9087 (cache_valid_p): New function.
9088 (__check_pf): Use it.
9089 * NEWS: Add item for --disable-nscd.
9091 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9093 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9094 to support sed >= 4.2.1-20-ga9bf076.
9095 * configure: Regenerated.
9097 2012-08-22 Roland McGrath <roland@hack.frob.com>
9099 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9100 Conditionalize whole body on [IREL].
9102 2012-08-22 Jeff Law <law@redhat.com>
9105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9106 if the family is PF_UNSPEC.
9108 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9110 * Makerules (lib-version): Rename from V.
9111 (install-lib-nosubdir): Change V to lib-version.
9113 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9116 * powerpc32/power6/wcschr.c: New file.
9117 * powerpc32/power6/wcscpy.c: New file.
9118 * powerpc32/power6/wcsrchr.c: New file.
9119 * powerpc64/power6/wcschr.c: New file.
9120 * powerpc64/power6/wcscpy.c: New file.
9121 * powerpc64/power6/wcsrchr.c: New file.
9123 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9125 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9126 (two_way_short_needle): Use it.
9127 * string/strstr.c (AVAILABLE1_USES_J): Define.
9128 * string/strcasestr.c: Likewise.
9130 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9132 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9135 * NEWS: Add an entry.
9136 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9137 define their defaults.
9138 (two_way_short_needle): Detect end-of-string on-the-fly.
9139 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9140 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9141 * string/bug-strcasestr1.c: New test.
9142 * string/Makefile: Run it.
9144 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9147 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9148 the first character.
9150 2012-08-21 Roland McGrath <roland@hack.frob.com>
9152 * csu/elf-init.c (__libc_csu_irel): Function removed.
9153 * csu/libc-start.c (apply_irel): New function.
9154 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9156 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9158 * sysdeps/unix/sysv/linux/kernel-features.h
9159 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9160 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9161 <kernel-features.h>.
9162 [__NR_fadvise64_64]: Make code unconditional.
9163 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9164 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9165 !__NR_fadvise64_64)]: Likewise.
9166 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9167 !__NR_fadvise64_64))]: Likewise.
9168 [__NR_fadvise64]: Make code unconditional.
9169 [!__NR_fadvise64]: Remove conditional code.
9170 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9171 <kernel-features.h>.
9172 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9174 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9177 not include <kernel-features.h>.
9178 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9180 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9182 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9183 include <kernel-features.h>.
9184 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9186 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9189 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9191 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9192 slight instruction rearrangements per scrollpipe analysis.
9193 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9195 2012-08-20 Roland McGrath <roland@hack.frob.com>
9197 * manual/syslog.texi (syslog; vsyslog, closelog):
9198 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9199 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9201 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9202 DSOCAPS to match condition on defining it.
9204 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9206 * sysdeps/unix/sysv/linux/kernel-features.h
9207 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9209 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9210 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9212 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9213 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9215 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9216 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9218 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9219 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9221 * sysdeps/unix/sysv/linux/kernel-features.h
9222 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9223 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9225 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9226 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9227 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9228 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9229 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9230 Make code unconditional.
9231 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9232 (__mmap64) [!__NR_mmap2]: Likewise.
9233 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9234 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9235 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9236 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9237 [__NR_mmap2]: Make code unconditional.
9238 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9239 (__mmap64) [!__NR_mmap2]: Likewise.
9241 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9243 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9245 2012-08-18 Andreas Jaeger <aj@suse.de>
9247 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9249 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9251 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9252 * include/unistd.h (__have_sock_cloexec): Likewise.
9253 (__have_pipe2): Likewise.
9254 (__have_dup3): Likewise.
9256 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9259 * include/unistd.h (__have_pipe2): Change define into an extern int.
9260 (__have_dup3): Likewise.
9261 * socket/have_sock_cloexec.c: Include fcntl.h.
9262 (__have_pipe2): New variable.
9263 (__have_dup3): Likewise.
9265 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9267 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9269 2012-08-17 Marek Polacek <polacek@redhat.com>
9271 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9272 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9274 2012-08-17 Roland McGrath <roland@hack.frob.com>
9276 * configure.in: Add AC_SUBST for sysheaders.
9277 * configure: Regenerated.
9278 * config.make.in (sysheaders): New substituted variable.
9280 * sysdeps/unix/mkfifo.c: Moved ...
9281 * sysdeps/posix/mkfifo.c: ... here.
9282 * sysdeps/unix/mkfifoat.c: Moved ...
9283 * sysdeps/posix/mkfifoat.c: ... here.
9285 * sysdeps/unix/utime.c: Moved ...
9286 * sysdeps/posix/utime.c: ... here.
9288 * sysdeps/unix/time.c: Moved ...
9289 * sysdeps/posix/time.c: ... here.
9290 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9291 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9293 * sysdeps/unix/nice.c: Moved ...
9294 * sysdeps/posix/nice.c: ... here.
9296 * sysdeps/unix/alarm.c: Moved ...
9297 * sysdeps/posix/alarm.c: ... here.
9299 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9301 2012-08-17 Jeff Law <law@redhat.com>
9303 * intl/Makefile (codeset_mo): New variable.
9304 ($(codeset_mo)): New target.
9305 (tst-codeset.out): Depend on that. Remove explicit rule.
9306 (tst-gettext3.out, tst-gettext5.out): Likewise.
9307 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9308 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9309 * intl/tst-codeset.sh: Remove.
9310 * intl/tst-gettext3.sh: Likewise.
9311 * intl/tst-gettext5.sh: Likewise.
9313 2012-08-17 Roland McGrath <roland@hack.frob.com>
9315 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9316 * sysdeps/unix/syscalls.list: ... here.
9318 * sysdeps/posix/getaddrinfo.c
9319 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9320 (gaiconf_init, gaiconf_reload): Use them.
9322 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9323 Define using time_t rather than struct timespec.
9325 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9326 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9328 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9330 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9331 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9334 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9335 __libc_cleanup_push argument.
9337 * bits/param.h: New file.
9338 * misc/sys/param.h: New file.
9339 * include/sys/param.h: New file.
9340 * misc/Makefile (headers): Add bits/param.h.
9341 * sysdeps/generic/sys/param.h: File removed.
9342 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9343 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9344 * sysdeps/mach/hurd/bits/param.h: New file.
9345 * sysdeps/mach/hurd/sys/param.h: File removed.
9347 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9350 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9352 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9353 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9356 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9357 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9358 rather than -D_IO_MTSAFE_IO conditionally.
9359 * stdio-common/Makefile (CPPFLAGS): Likewise.
9360 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9361 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9362 Use $(libio-mtsafe).
9363 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9365 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9366 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9367 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9368 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9369 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9370 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9371 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9372 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9373 (CFLAGS-fread_u_chk.c): Likewise.
9374 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9375 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9376 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9377 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9378 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9379 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9380 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9381 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9382 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9384 * libio/Makefile: Test [$(libc-reentrant) = yes]
9385 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9388 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9389 * sysdeps/pthread/configure: File removed.
9390 * sysdeps/pthread/Makeconfig: New file.
9391 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9392 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9394 2012-08-16 Gary Benson <gbenson@redhat.com>
9396 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9397 unmapping the first object in a namespace.
9399 2012-08-16 Roland McGrath <roland@hack.frob.com>
9401 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9402 (__internal_setnetgrent): ... this. Add internal_function to
9403 definition. Add libc_hidden_def.
9404 (setnetgrent): Update caller.
9405 (internal_endnetgrent): Renamed to ...
9406 (__internal_endnetgrent): ... this. Add internal_function to
9407 definition. Add libc_hidden_def.
9408 (endnetgrent): Update caller.
9409 (internal_getnetgrent_r): Renamed to ...
9410 (__internal_getnetgrent_r): ... this. Add internal_function to
9411 definition. Add libc_hidden_def.
9412 (__getnetgrent_r): Update caller.
9413 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9415 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9417 * stdlib/longlong.h: Update from GCC.
9419 2012-08-16 Roland McGrath <roland@hack.frob.com>
9421 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9422 on _QL, which is set by umul_ppmm but never used.
9423 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9424 variables, which are set by GMP macros but never used.
9425 * stdio-common/_itowa.c (_itowa): Likewise.
9426 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9427 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9429 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9431 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9432 struct La_sh_regs is not constant.
9433 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9434 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9435 and struct La_sparc64_regs are not constant.
9437 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9439 * sysdeps/unix/sysv/linux/kernel-features.h
9440 (__ASSUME_POSIX_TIMERS): Remove.
9441 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9442 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9443 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9444 Make code unconditional.
9445 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9446 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9447 Make code unconditional.
9448 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9449 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9450 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9452 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9453 Make code unconditional.
9454 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9455 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9456 (__libc_missing_posix_timers): Remove.
9458 2012-08-15 Roland McGrath <roland@hack.frob.com>
9460 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9461 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9463 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9465 * elf/dl-sym.c: Include <stdlib.h>.
9467 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9468 constants, which avoids warnings in 32-bit builds.
9470 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9471 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9473 * misc/lseek.c: File moved to ...
9474 * io/lseek.c: ... here.
9476 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9478 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9479 shifting LEN more than 31 bits at once.
9481 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9484 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9485 segmentation fault for a case of two empty input strings.
9486 * string/test-strncasecmp.c (check1): Renamed to...
9488 (bz14195): Add new testcase for two empty input strings and N > 0.
9489 (test_main): Call new testcase, adapt for renamed function.
9491 2012-08-15 Andreas Jaeger <aj@suse.de>
9494 * crypt/md5test2.c: New test, based on test supplied by Serge
9495 Belyshev <belyshev@depni.sinp.msu.ru>.
9496 * crypt/Makefile (xtests): Add md5test-giant..
9497 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9499 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9502 * crypt/md5.c (md5_process_block): Don't assume the buffer
9503 length is less than 2**32.
9504 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9505 length is less than 2**64.
9507 2012-08-15 Roland McGrath <roland@hack.frob.com>
9509 * string/str-two-way.h: Include <sys/param.h>.
9510 (MAX): Macro removed.
9512 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9513 Move #define and #undef of memmove to just before and after
9514 including <string.h>.
9516 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9517 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9518 and after including <string.h>. Move declarations of
9519 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9520 to before #include "string/memmove.c".
9522 * include/dirent.h: Declare __getdirentries.
9524 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9525 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9527 2012-08-14 Mike Frysinger <vapier@gentoo.org>
9529 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9530 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9531 * sysdeps/i386/configure: Regenerated.
9532 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9533 STABS_CURRENT_FILE, and STABS_FUN.
9534 (END): Remove call to STABS_FUN_END.
9535 (STABS_CURRENT_FILE1): Delete.
9536 (STABS_CURRENT_FILE): Likewise.
9537 (STABS_FUN): Likewise.
9538 (STABS_FUN_END): Likewise.
9539 (STABS_FUN2): Likewise.
9540 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9541 * sysdeps/x86_64/configure: Regenerated.
9543 2012-08-14 Roland McGrath <roland@hack.frob.com>
9545 * elf/dl-open.c: Include <atomic.h>.
9546 * elf/dl-lookup.c: Likewise.
9548 2012-08-14 Joseph Myers <joseph@codesourcery.com>
9550 * sysdeps/unix/sysv/linux/kernel-features.h
9551 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9552 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9554 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9556 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9557 condition on __ASSUME_CLONE_THREAD_FLAGS.
9559 2012-08-14 Andreas Jaeger <aj@suse.de>
9561 * sysdeps/i386/fpu/libm-test-ulps: Update.
9563 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9565 * include/atomic.h (atomic_exchange_and_add): Split into ...
9566 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9569 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9573 2012-08-13 Jeff Law <law@redhat.com>
9575 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9576 null byte in the output string.
9578 2012-08-10 Joseph Myers <joseph@codesourcery.com>
9580 * sysdeps/unix/sysv/linux/kernel-features.h
9581 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9582 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9583 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9584 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9585 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9586 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9587 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9589 2012-08-09 Jeff Law <law@redhat.com>
9592 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9593 When avoid_arena is set, don't retry in the that arena. Pick the
9594 next one, whatever it might be.
9595 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9596 (arena_lock): Pass in new parameter to arena_get2.
9597 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9599 (__libc_malloc): Unify retrying after main arena failure with
9600 __libc_memalign version.
9601 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9603 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9606 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9607 to __redirect_strstr.
9608 (__strstr_sse42): Use typeof __redirect_strstr.
9609 (__strstr_ia32): Likewise.
9610 (__libc_strstr): New prototype.
9611 (strstr): Renamed to ...
9612 (__libc_strstr): This.
9613 (strstr): New strong alias of __libc_strstr.
9614 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9615 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9618 (__libc_time): New prototype.
9619 (time_ifunc): Replace time with __libc_time.
9620 (time): New strong alias and hidden definition of __libc_time.
9621 (__GI_time): Remove strong alias.
9622 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9624 (memmove): Redefined to __redirect_memmove.
9625 (__memmove_sse2): Use typeof __redirect_memmove.
9626 (__memmove_ssse3): Likewise.
9627 (__memmove_ssse3_back): Likewise.
9628 (__libc_memmove): New prototype.
9629 (memmove): Renamed to ...
9630 (__libc_memmove): This.
9631 (memmove): New strong alias of __libc_memmove.
9633 2012-08-08 Mark Salter <msalter@redhat.com>
9636 (R_MN10300_TLS_GD): Define.
9637 (R_MN10300_TLS_LD): Likewise.
9638 (R_MN10300_TLS_LDO): Likewise.
9639 (R_MN10300_TLS_GOTIE): Likewise.
9640 (R_MN10300_TLS_IE): Likewise.
9641 (R_MN10300_TLS_LE): Likewise.
9642 (R_MN10300_TLS_DTPMOD): Likewise.
9643 (R_MN10300_TLS_DTPOFF): Likewise.
9644 (R_MN10300_TLS_TPOFF): Likewise.
9645 (R_MN10300_SYM_DIFF): Likewise.
9646 (R_MN10300_ALIGN): Likewise.
9647 (R_MN10300_NUM): Update.
9649 2012-08-08 Joseph Myers <joseph@codesourcery.com>
9651 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9654 2012-08-08 Roland McGrath <roland@hack.frob.com>
9656 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9658 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9659 sysdeps/unix -> sysdeps/posix move.
9660 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9662 2012-08-07 Allan McRae <allan@archlinux.org>
9665 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9666 (SUNOS_CPP): Likewise.
9667 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9669 (open_input): Call CPP using execvp.
9671 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9673 * sysdeps/unix/sysv/linux/kernel-features.h
9674 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9675 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9676 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9677 (__ASSUME_WAITID_SYSCALL): Likewise.
9678 * sysdeps/unix/sysv/linux/dl-execstack.c
9679 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9681 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9683 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9684 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9685 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9687 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9689 [__ASSUME_WAITID_SYSCALL]: Likewise.
9690 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9692 2012-08-07 Roland McGrath <roland@hack.frob.com>
9694 * sysdeps/unix/closedir.c: Renamed to ...
9695 * sysdeps/posix/closedir.c: ... here.
9696 * sysdeps/unix/dirfd.c: Renamed to ...
9697 * sysdeps/posix/dirfd.c: ... here.
9698 * sysdeps/unix/dirstream.h: Renamed to ...
9699 * sysdeps/posix/dirstream.h: ... here.
9700 * sysdeps/unix/fdopendir.c: Renamed to ...
9701 * sysdeps/posix/fdopendir.c: ... here.
9702 * sysdeps/unix/opendir.c: Renamed to ...
9703 * sysdeps/posix/opendir.c: ... here.
9704 * sysdeps/unix/readdir.c: Renamed to ...
9705 * sysdeps/posix/readdir.c: ... here.
9706 * sysdeps/unix/readdir_r.c: Renamed to ...
9707 * sysdeps/posix/readdir_r.c: ... here.
9708 * sysdeps/unix/rewinddir.c: Renamed to ...
9709 * sysdeps/posix/rewinddir.c: ... here.
9710 * sysdeps/unix/seekdir.c: Renamed to ...
9711 * sysdeps/posix/seekdir.c: ... here.
9712 * sysdeps/unix/telldir.c: Renamed to ...
9713 * sysdeps/posix/telldir.c: ... here.
9714 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9715 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9716 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9717 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9719 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9720 * bits/fcntl.h: ... here.
9722 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9724 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9725 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9726 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9727 (struct flock): Move l_start, l_len to the beginning.
9728 Use __pid_t for l_pid.
9729 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9730 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9731 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9732 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9733 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9734 [__USE_LARGEFILE64] (struct flock64): New type.
9735 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9737 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9738 * bits/dirent.h: ... here.
9740 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9741 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9743 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9745 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9746 Change from 2.6.0 to 2.6.16.
9747 * sysdeps/unix/sysv/linux/configure: Regenerated.
9748 * sysdeps/unix/sysv/linux/kernel-features.h
9749 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9750 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9752 (__ASSUME_UTIMES): Likewise.
9753 (__ASSUME_CLONE_STOPPED): Remove.
9754 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9755 architectures, not kernel version.
9756 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9757 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9758 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9759 (__ASSUME_WAITID_SYSCALL): Likewise.
9760 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9761 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9762 * README: State 2.6.16 as minimum Linux kernel version. Do not
9763 refer to older versions.
9765 2012-08-06 Roland McGrath <roland@hack.frob.com>
9767 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9768 Define alphasort64 as an alias.
9769 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9770 Define versionsort64 as an alias.
9771 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9772 Define scandir64 as an alias.
9773 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9774 Define scandirat64 as an alias.
9775 * dirent/alphasort64.c (alphasort64):
9776 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9777 * dirent/versionsort64.c: Likewise.
9778 * dirent/scandir64.c: Likewise.
9779 * dirent/scandirat64.c: Likewise.
9780 * sysdeps/wordsize-64/alphasort.c: File removed.
9781 * sysdeps/wordsize-64/alphasort64.c: File removed.
9782 * sysdeps/wordsize-64/scandir.c: File removed.
9783 * sysdeps/wordsize-64/scandir64.c: File removed.
9784 * sysdeps/wordsize-64/scandirat.c: File removed.
9785 * sysdeps/wordsize-64/scandirat64.c: File removed.
9786 * sysdeps/wordsize-64/versionsort.c: File removed.
9787 * sysdeps/wordsize-64/versionsort64.c: File removed.
9788 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9789 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9790 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9791 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9792 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9793 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9794 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9795 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9797 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9798 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9799 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9800 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9801 [defined __arch64__ || defined __sparcv9]
9802 (__INO_T_MATCHES_INO64_T): New macro.
9803 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9804 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9805 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9806 * sysdeps/unix/sysv/linux/bits/dirent.h
9807 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9808 (_DIRENT_MATCHES_DIRENT64): New macro.
9810 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9811 Define lockf64 as an alias.
9812 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9813 Define fseeko64 as an alias.
9814 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9815 Define ftello64 as an alias.
9816 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9817 Define _IO_fgetpos64 and fgetpos64 as aliases.
9818 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9819 Define _IO_fsetpos64 and fsetpos64 as aliases.
9820 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9821 Conditionalize body on this.
9822 * libio/fseeko64.c: Likewise.
9823 * libio/ftello64.c: Likewise.
9824 * libio/iofgetpos64.c: Likewise.
9825 * libio/iofsetpos64.c: Likewise.
9826 * sysdeps/wordsize-64/lockf.c: File removed.
9827 * sysdeps/wordsize-64/lockf64.c: File removed.
9828 * sysdeps/wordsize-64/fseeko.c: File removed.
9829 * sysdeps/wordsize-64/fseeko64.c: File removed.
9830 * sysdeps/wordsize-64/ftello.c: File removed.
9831 * sysdeps/wordsize-64/ftello64.c: File removed.
9832 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9833 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9834 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9835 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9836 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9837 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9838 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9839 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9840 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9841 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9842 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9843 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9844 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9845 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9847 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9848 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9849 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9850 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9851 [defined __arch64__ || defined __sparcv9]
9852 (__OFF_T_MATCHES_OFF64_T): New macro.
9853 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9854 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9855 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9856 (__OFF_T_MATCHES_OFF64_T): New macro.
9858 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9860 * stdlib/secure-getenv.c (__secure_getenv): Replace
9861 GLIBC_2_16 with GLIBC_2_17.
9863 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9865 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9866 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9868 2012-08-03 David S. Miller <davem@davemloft.net>
9870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9872 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9874 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9876 (__ASSUME_CORRECT_SI_PID): Likewise.
9877 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9878 (__ASSUME_TMPFS_NAME): Likewise.
9879 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9880 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9881 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9882 (HAVE_AUX_SECURE): Make definition unconditional.
9883 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9884 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9886 2012-08-03 Roland McGrath <roland@hack.frob.com>
9888 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9889 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9890 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9891 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9892 __eloop_threshold instead of SYMLOOP_MAX.
9894 * sysdeps/generic/eloop-threshold.h: New file.
9895 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9897 * elf/chroot_canon.c (chroot_canon): Likewise.
9899 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9902 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9903 Change to 2.6.0 everywhere.
9904 * sysdeps/unix/sysv/linux/configure: Regenerated.
9905 * sysdeps/unix/sysv/linux/kernel-features.h
9906 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9907 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9909 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9910 (__ASSUME_FUTEX_REQUEUE): Remove.
9911 (__ASSUME_STATFS64): Define unconditionally.
9912 (__ASSUME_AT_SECURE): Likewise.
9913 (__ASSUME_CORRECT_SI_PID): Likewise.
9914 (__ASSUME_TGKILL): Define without depending on kernel version for
9916 (__ASSUME_UTIMES): Likewise.
9917 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9919 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9920 (__ASSUME_TMPFS_NAME): Likewise.
9921 * README: Update reference to Linux kernel versions.
9923 2012-08-02 Marek Polacek <polacek@redhat.com>
9926 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9927 libc_cv_asm_type_prefix with %.
9928 * configure: Regenerated.
9929 * include/libc-symbols.h: Remove comment about
9930 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9931 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9932 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9933 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9934 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9935 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9936 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9937 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9938 * elf/tst-unique2mod1.c: Likewise.
9939 * elf/tst-unique1mod2.c: Likewise.
9940 * elf/tst-unique1mod1.c: Likewise.
9941 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9942 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9943 Replace ASM_TYPE_DIRECTIVE with .type.
9944 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9945 * sysdeps/i386/sysdep.h: Likewise.
9946 * sysdeps/x86_64/sysdep.h: Likewise.
9947 * sysdeps/sh/sysdep.h: Likewise.
9948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9949 Do not define ASM_TYPE_DIRECTIVE.
9950 * sysdeps/powerpc/sysdep.h: Likewise.
9951 * sysdeps/powerpc/powerpc32/sysdep.h:
9952 Replace ASM_TYPE_DIRECTIVE with .type.
9953 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9954 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9955 * sysdeps/i386/fpu/e_powf.S: Likewise.
9956 * sysdeps/i386/fpu/e_expl.S: Likewise.
9957 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9958 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9959 * sysdeps/i386/fpu/e_pow.S: Likewise.
9960 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9961 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9962 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9963 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9964 * sysdeps/i386/fpu/e_log2.S: Likewise.
9965 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9966 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9967 * sysdeps/i386/fpu/e_powl.S: Likewise.
9968 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9969 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9970 * sysdeps/i386/fpu/e_logl.S: Likewise.
9971 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9972 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9973 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9974 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9975 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9976 * sysdeps/i386/fpu/e_log.S: Likewise.
9977 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9978 * sysdeps/i386/fpu/e_logf.S: Likewise.
9979 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9980 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9981 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9982 * sysdeps/i386/fpu/e_log10.S: Likewise.
9983 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9984 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9985 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9986 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9987 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9988 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9989 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9990 * sysdeps/i386/i686/strtok.S: Likewise.
9991 * sysdeps/i386/i386-mcount.S: Likewise.
9992 * sysdeps/i386/strtok.S: Likewise.
9993 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9994 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9995 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9996 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9997 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9998 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9999 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10000 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10001 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10002 * sysdeps/x86_64/_mcount.S: Likewise.
10003 * sysdeps/x86_64/strtok.S: Likewise.
10004 * sysdeps/sh/_mcount.S: Likewise.
10006 2012-08-01 Roland McGrath <roland@hack.frob.com>
10008 * libio/iofopen.c: Include <fcntl.h>.
10009 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10010 (_IO_fopen64, fopen64): Define as aliases.
10011 * libio/iofopen64.c: Include <fcntl.h>.
10012 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10013 Conditionalize body on this.
10014 * sysdeps/wordsize-64/iofopen.c: File removed.
10015 * sysdeps/wordsize-64/iofopen64.c: File removed.
10017 2012-08-01 Marek Polacek <polacek@redhat.com>
10019 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10020 Use dlfcn directly instead of a variable.
10021 (binfmt-subdir): Do not define.
10024 2012-08-01 Joseph Myers <joseph@codesourcery.com>
10026 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10027 Remove all definitions.
10028 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10029 <kernel-features.h>.
10030 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10031 (miss_F_GETOWN_EX): Remove all definitions.
10032 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10034 [!__ASSUME_FCNTL64]: Remove conditional code.
10035 [__ASSUME_FCNTL64]: Make code unconditional.
10036 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10037 <kernel-features.h>.
10038 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10039 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10040 (lockf64) [__NR_fcntl64]: Make code unconditional.
10041 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10043 * sysdeps/unix/sysv/linux/kernel-features.h
10044 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10045 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10046 Make code unconditional.
10047 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10048 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10050 [__NR_vfork]: Make code unconditional.
10051 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10052 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10054 [__NR_vfork]: Make code unconditional.
10055 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10056 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10058 2012-08-01 Roland McGrath <roland@hack.frob.com>
10060 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10061 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10063 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10064 Define mkstemp64 as an alias.
10065 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10066 Define mkstemps64 as an alias.
10067 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10068 Define mkostemp64 as an alias.
10069 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10070 Define mkostemps64 as an alias.
10071 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10072 Conditionalize body on this.
10073 * misc/mkostemp64.c: Likewise.
10074 * misc/mkostemps64.c: Likewise.
10075 * misc/mkstemps64.c: Likewise.
10076 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10077 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10078 * sysdeps/wordsize-64/mkostemp.c: File removed.
10079 * sysdeps/wordsize-64/mkstemp.c: File removed.
10080 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10081 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10082 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10083 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10086 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10087 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10088 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10089 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10091 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10092 compat_symbol macros from <shlib-compat.h> rather than the underlying
10093 default_symbol_version and symbol_version macros, so that DEFAULT
10094 lines in shlib-versions are respected.
10095 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10097 2012-08-01 Florian Weimer <fweimer@redhat.com>
10099 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10100 Declare with warn_unused_result.
10101 (setgid, setregid, setegid, setresgid): Likewise.
10102 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10104 * WUR-REPORT: Remove set*id functions.
10106 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10108 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10110 2012-07-31 Roland McGrath <roland@hack.frob.com>
10112 * include/sys/socket.h (__libc_accept, __libc_accept4):
10113 Add attribute_hidden.
10114 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10116 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10118 * inet/getnetgrent_r.c (setup): Likewise.
10120 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10122 2012-07-31 David S. Miller <davem@davemloft.net>
10124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10126 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10129 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10130 value between 1.0 and 2.0 and smaller part has absolute value less
10132 * math/s_clog10.c (__clog10): Likewise.
10133 * math/s_clog10f.c (__clog10f): Likewise.
10134 * math/s_clog10l.c (__clog10l): Likewise.
10135 * math/s_clogf.c (__clogf): Likewise.
10136 * math/s_clogl.c (__clogl): Likewise.
10137 * math/libm-test.inc (clog_test): Add more tests.
10138 (clog10_test): Likewise.
10139 * sysdeps/i386/fpu/libm-test-ulps: Update.
10140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10142 2012-07-31 Florian Weimer <fweimer@redhat.com>
10144 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10145 Exit with zero in case no suitable GID is found, and write a
10146 message to standard error.
10148 2012-07-30 Roland McGrath <roland@hack.frob.com>
10150 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10152 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10153 (MAXPATHLEN): Removed.
10154 (NOGROUP, NODEV): New macros.
10155 (setbit, clrbit, isset, isclr): New macros.
10156 (howmany, roundup, powerof2): New macros.
10157 (DEV_BSIZE): New macro.
10159 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10160 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10162 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10163 definition on [!__NO_LONG_DOUBLE_MATH].
10165 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10166 PTR_MANGLE and PTR_DEMANGLE.
10168 * socket/accept4.c (accept4): Rename to __libc_accept4.
10169 Define accept4 as a weak alias.
10171 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10172 on [_DIRENT_HAVE_D_TYPE].
10173 * io/ftw.c (ftw_dir): Likewise.
10175 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10177 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10179 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10180 Use the BSD numbers rather than the arbitrary ones we had.
10181 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10182 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10183 (SIGXCPU, SIGXFSZ): New macros.
10186 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10187 initializer on [_LIBC_REENTRANT].
10189 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10190 definitions inside [_POSIX_MAPPED_FILES].
10192 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10194 * dirent/opendir.c: Include <fcntl.h>.
10196 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10197 (__libc_getspecific): Likewise.
10198 (__libc_key_create): Likewise.
10200 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10201 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10202 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10203 (tmpfile64): Define as alias.
10204 * sysdeps/wordsize-64/tmpfile.c: File removed.
10205 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10206 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10207 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10209 * stdio-common/vfscanf.c: Include <stdbool.h>.
10210 * nss/makedb.c: Likewise.
10211 * stdio-common/_i18n_number.h: Likewise.
10212 * argp/argp-help.c: Likewise.
10213 * posix/wordexp.c: Likewise.
10214 * sysdeps/posix/spawni.c: Likewise.
10215 * nss/nss_files/files-initgroups.c: Likewise.
10216 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10217 * nss/nss_files/files-initgroups.c: Likewise.
10218 * nss/nss_db/db-netgrp.c: Likewise.
10219 * nss/nss_db/db-initgroups.c: Likewise.
10220 * io/fchmodat.c: Include <sys/stat.h>.
10222 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10223 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10225 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10228 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10229 Add multiple inclusion protection.
10231 2012-07-27 David S. Miller <davem@davemloft.net>
10233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10235 2012-07-27 Gary Benson <gbenson@redhat.com>
10238 * elf/rtld.c: Include <stap-probe.h>.
10239 (dl_main): Added static probes "init_start" and "init_complete".
10240 * elf/dl-load.c: Include <stap-probe.h>.
10241 (lose): Take new parameter "nsid".
10242 Added static probe "map_failed".
10243 (_dl_map_object_from_fd): Pass namespace id to lose.
10244 Added static probe "map_start".
10245 (open_verify): Pass namespace id to lose.
10246 * elf/dl-open.c: Include <stap-probe.h>.
10247 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10248 and "reloc_complete".
10249 * elf/dl-close.c: Include <stap-probe.h>.
10250 (_dl_close_worker): Added static probes "unmap_start" and
10252 * elf/rtld-debugger-interface.txt: New file documenting the above.
10254 2012-07-26 Roland McGrath <roland@hack.frob.com>
10256 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10257 rather than a string variable.
10258 * sunrpc/rpc_main.c (h_output): Likewise.
10259 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10261 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10263 * inet/check_native.c: New file.
10265 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10268 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10269 if larger part has absolute value 1.0.
10270 * math/s_clog10.c (__clog10): Likewise.
10271 * math/s_clog10f.c (__clog10f): Likewise.
10272 * math/s_clog10l.c (__clog10l): Likewise.
10273 * math/s_clogf.c (__clogf): Likewise.
10274 * math/s_clogl.c (__clogl): Likewise.
10275 * math/libm-test.inc (clog_test): Add more tests.
10276 (clog10_test): Likewise.
10277 * sysdeps/i386/fpu/libm-test-ulps: Update.
10278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10280 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10281 (pltexit): Likewise.
10282 (La_regs): Likewise.
10283 (La_retval): Likewise.
10284 (int_retval): Likewise.
10285 Update #error for removed macros to refer only to definitions in
10287 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10289 (pltexit): Likewise.
10290 (La_regs): Likewise.
10291 (La_retval): Likewise.
10292 (int_retval): Likewise.
10293 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10295 (pltexit): Likewise.
10296 (La_regs): Likewise.
10297 (La_retval): Likewise.
10298 (int_retval): Likewise.
10299 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10301 (pltexit): Likewise.
10302 (La_regs): Likewise.
10303 (La_retval): Likewise.
10304 (int_retval): Likewise.
10305 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10307 (pltexit): Likewise.
10308 (La_regs): Likewise.
10309 (La_retval): Likewise.
10310 (int_retval): Likewise.
10311 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10313 (pltexit): Likewise.
10314 (La_regs): Likewise.
10315 (La_retval): Likewise.
10316 (int_retval): Likewise.
10317 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10319 (pltexit): Likewise.
10320 (La_regs): Likewise.
10321 (La_retval): Likewise.
10322 (int_retval): Likewise.
10323 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10324 macro definitions in tst-audit.h.
10325 * sysdeps/i386/tst-audit.h: New file.
10326 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10327 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10328 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10329 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10330 * sysdeps/sh/tst-audit.h: Likewise.
10331 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10332 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10333 * sysdeps/x86_64/tst-audit.h: Likewise.
10335 2012-07-26 Andreas Jaeger <aj@suse.de>
10337 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10340 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10341 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10342 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10344 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10345 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10346 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10348 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10351 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10353 (si_call_addr, si_syscall, si_arch): Define new macro.
10354 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10356 (si_call_addr, si_syscall, si_arch): Define new marcro.
10357 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10359 (si_call_addr, si_syscall, si_arch): Define new macro.
10360 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10362 (si_call_addr, si_syscall, si_arch): Define new macro.
10364 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10367 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10368 Change to 2.4.21 where previously 2.4.1.
10369 * sysdeps/unix/sysv/linux/configure: Regenerated.
10370 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10371 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10372 Linux kernel version.
10373 (__ASSUME_STD_AUXV): Remove.
10374 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10376 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10377 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10378 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10379 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10380 (__ASSUME_NETLINK_SUPPORT): Likewise.
10381 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10382 (__no_netlink_support): Remove conditional definition.
10383 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10385 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10386 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10387 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10388 (if_nameindex_ioctl): Remove.
10389 (if_nameindex_netlink): Do not handle __no_netlink_support.
10390 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10392 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10393 Remove conditional code.
10394 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10396 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10398 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10399 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10400 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10402 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10403 [!__ASSUME_STD_AUXV]: Remove conditional code.
10404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10405 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10406 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10408 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10409 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10411 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10413 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10414 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10416 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10418 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10421 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10424 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10425 code unconditional.
10426 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10428 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10430 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10433 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10435 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10438 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10439 code unconditional.
10440 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10442 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10444 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10447 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10448 code unconditional.
10449 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10451 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10453 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10456 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10458 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10459 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10460 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10461 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10462 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10463 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10464 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10465 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10466 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10467 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10468 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10469 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10470 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10471 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10472 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10473 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10474 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10475 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10476 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10478 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10479 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10480 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10482 2012-07-25 Florian Weimer <fweimer@redhat.com>
10484 * Versions.def: Add GLIBC_2.17.
10485 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10486 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10487 Introduce __libc_secure_getenv.
10488 * stdlib/Versions (2.17): Add secure_getenv
10489 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10490 * stdlib/secure-getenv.c: Rename __secure_getenv to
10491 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10492 symbol __secure_getenv for GLIBC_2.0.
10493 * stdlib/tst-secure-getenv.c: New.
10494 * stdlib/Makefile (tests): Add testcase.
10495 * manual/startup.texi (Environment Access): Document
10497 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10498 __libc_secure_getenv.
10499 * inet/ruserpass.c (ruserpass): Likewise.
10500 * malloc/mtrace.c (mtrace): Likewise.
10501 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10502 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10503 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10504 * sysdeps/posix/tempname.c: Likewise. Evaluate
10505 HAVE_SECURE_GETENV.
10506 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10507 __secure_getenv to __libc_secure_getenv.
10508 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10515 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10521 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10523 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10524 (struct La_i86_retval): Likewise.
10525 (struct La_x86_64_regs): Likewise.
10526 (struct La_x86_64_retval): Likewise.
10527 (struct La_x32_regs): Likewise.
10528 (struct La_x32_retval): Likewise.
10529 (struct La_ppc32_regs): Likewise.
10530 (struct La_ppc32_retval): Likewise.
10531 (struct La_ppc64_regs): Likewise.
10532 (struct La_ppc64_retval): Likewise.
10533 (struct La_sh_regs): Likewise.
10534 (struct La_sh_retval): Likewise.
10535 (struct La_s390_32_regs): Likewise.
10536 (struct La_s390_32_retval): Likewise.
10537 (struct La_s390_64_regs): Likewise.
10538 (struct La_s390_64_retval): Likewise.
10539 (struct La_sparc32_regs): Likewise.
10540 (struct La_sparc32_retval): Likewise.
10541 (struct La_sparc64_regs): Likewise.
10542 (struct La_sparc64_retval): Likewise.
10543 (struct audit_ifaces): Remove architecture-specific pltenter and
10545 * sysdeps/i386/ldsodefs.h: New file.
10546 * sysdeps/powerpc/ldsodefs.h: Likewise.
10547 * sysdeps/s390/ldsodefs.h: Likewise.
10548 * sysdeps/sh/ldsodefs.h: Likewise.
10549 * sysdeps/sparc/ldsodefs.h: Likewise.
10550 * sysdeps/x86_64/ldsodefs.h: Likewise.
10552 2012-07-25 Marek Polacek <polacek@redhat.com>
10555 * math/libm-test.inc (yn_test): Add another test.
10556 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10557 to ERANGE when the result is +-Inf.
10558 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10559 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10560 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10561 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10563 2012-07-24 Joseph Myers <joseph@codesourcery.com>
10565 * conform/data/time.h-data (NULL): Use macro-constant. Require
10567 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10569 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10571 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10573 * configure.in <sysdeps resolving>: Correct printing
10575 * configure: Regenerate.
10577 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10579 * math/w_ilogb.c: Include <limits.h>.
10580 * math/w_ilogbl.c: Likewise.
10582 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10584 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10585 va_copy. Document allowing for unavailable va_copy only as
10586 pre-C99 compatibility.
10587 * manual/string.texi (Copying and Concatenation): Use va_copy
10588 instead of __va_copy in concat example.
10590 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10592 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10593 (__sendto): Use create_address_port. Initialize APORT and deallocate
10596 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10597 with O_NOLINK passed to __file_name_lookup.
10599 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10600 with O_NOLINK passed to __file_name_lookup.
10602 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10603 negative N or less than NGIDS.
10605 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10606 type to string_t. Set ERANGE as errno and return it if NAME is not big
10607 enough. Use memcpy instead of strncpy.
10609 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10611 * elf/Makefile (check-data): Remove.
10612 (localplt.data): New vpath directive.
10613 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10614 instead of $(check-data).
10615 * scripts/data/localplt-generic.data: Move to ...
10616 * sysdeps/generic/localplt.data: ... here.
10617 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10618 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10619 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10622 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10625 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10628 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10631 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10634 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10638 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10640 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10641 PPC32 and PPC64 files.
10642 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10643 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10645 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10647 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10648 __makecontext_ret to ...
10649 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10650 ... here and call exit if uc_link is NULL. New file.
10651 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10652 __makecontext_ret.S.
10653 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10654 __makecontext_ret to ...
10655 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10656 ... here and call exit if uc_link is NULL. New file.
10657 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10658 __makecontext_ret.S.
10660 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10662 * elf/elf.h (R_390_IRELATIVE): New definition.
10663 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10664 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10665 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10666 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10667 (elf_machine_lazy_rel): Likewise.
10668 * sysdeps/s390/dl-irel.h: New file.
10669 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10670 * sysdeps/s390/s390-64/memset.S: New asm code.
10671 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10672 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10673 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10674 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10675 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10676 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10677 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10678 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10679 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10680 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10681 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10682 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10683 * sysdeps/s390/s390-32/memset.S: New asm code.
10684 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10686 2012-07-17 Marek Polacek <polacek@redhat.com>
10689 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10690 * sysdeps/s390/s390-64/configure.in: Likewise.
10691 * sysdeps/sparc/configure.in: Likewise.
10692 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10693 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10694 * sysdeps/i386/configure.in: Likewise.
10695 * sysdeps/x86_64/configure.in: Likewise.
10696 * sysdeps/sh/configure.in: Likewise.
10697 * sysdeps/s390/s390-32/configure: Regenerated.
10698 * sysdeps/s390/s390-64/configure: Likewise.
10699 * sysdeps/x86_64/configure: Likewise.
10700 * sysdeps/sh/configure: Likewise.
10701 * sysdeps/powerpc/powerpc64/configure: Likewise.
10702 * sysdeps/powerpc/powerpc32/configure: Likewise.
10703 * sysdeps/sparc/configure: Likwise.
10704 * sysdeps/i386/configure: Likewise.
10706 * elf/dl-open.c: Comment fixes.
10708 2012-07-17 Joseph Myers <joseph@codesourcery.com>
10710 * Makefile [CXX] (check-data): Remove.
10711 [CXX] (c++-types.data): New vpath directive.
10712 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10713 vpath. Do not allow for C++ type data being missing.
10714 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10715 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10716 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10717 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10718 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10719 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10720 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10723 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10726 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10729 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10732 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10735 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10738 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10741 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10744 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10745 definitions to architecture-specific files.
10746 (TLS_IE): Likewise.
10747 (TLS_LD): Likewise.
10748 (TLS_GD): Likewise.
10749 * sysdeps/i386/tls-macros.h: New file.
10750 * sysdeps/powerpc/tls-macros.h: Likewise.
10751 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10752 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10753 * sysdeps/sh/tls-macros.h: Likewise.
10754 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10755 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10756 * sysdeps/x86_64/tls-macros.h: Likewise.
10758 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10760 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10761 zero value for regular exit case.
10763 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10764 (__start_context): Preserve zero value for regular exit case.
10766 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10767 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10769 * manual/setjmp.texi (setcontext): Clarify normal process
10770 termination when uc_link is the null pointer.
10771 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10774 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10776 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10777 preprocessor. Test for each exception mask separately.
10779 2012-07-16 Andreas Jaeger <aj@suse.de>
10781 * po/ru.po: Update from translation team.
10783 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10785 * conform/data/string.h-data (NULL): Use macro-constant. Require
10787 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10788 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10789 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10790 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10793 2012-07-13 Andreas Jaeger <aj@suse.de>
10795 * po/fr.po: Update from translation team.
10797 2012-07-12 Marek Polacek <polacek@redhat.com>
10800 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10801 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10804 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10807 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10808 Change to 2.4.1 where previously 2.4.0.
10809 * sysdeps/unix/sysv/linux/configure: Regenerated.
10810 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10811 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10813 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10814 (__ASSUME_AT_CLKTCK): Remove.
10815 (__ASSUME_AT_PAGESIZE): Likewise.
10816 (__ASSUME_AT_XID): Likewise.
10817 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10818 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10819 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10821 (HAVE_AUX_PAGESIZE): Likewise.
10822 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10823 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10824 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10826 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10830 the temporary buffer used to invoke __gethostbyname2_r,
10831 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10832 host_data / struct gaih_addrtuple.
10833 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10834 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10835 header file nss/nsswitch.h.
10836 * nss/nsswitch.h (global scope): Add definition of implementation
10837 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10838 resolv/nss_dns/dns-host.c).
10840 2012-07-11 Andreas Jaeger <aj@suse.de>
10842 * po/fr.po: Update from translation team.
10844 * po/sv.po: Update from translation team
10845 * po/fr.po: Another update from translation team.
10847 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10849 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10850 for subnormals or multiply small sinh result by itself.
10851 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10854 2012-07-11 David S. Miller <davem@davemloft.net>
10856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10858 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10861 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10862 (INTERNAL_MARK): Shift it here.
10864 2012-07-10 Marek Polacek <polacek@redhat.com>
10867 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10868 libc_cv_asm_global_directive with .globl.
10869 * configure: Regenerated.
10870 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10872 * sysdeps/i386/configure: Regenerated.
10873 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10875 * sysdeps/x86_64/configure: Regenerated.
10876 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10877 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10878 * elf/tst-unique2mod2.c: Likewise.
10879 * elf/tst-unique2mod1.c: Likewise.
10880 * elf/tst-unique1mod2.c: Likewise.
10881 * elf/tst-unique1mod1.c: Likewise.
10882 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10883 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10884 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10885 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10886 * sysdeps/mach/sysdep.h: Likewise.
10887 * sysdeps/i386/sysdep.h: Likewise.
10888 * sysdeps/i386/i386-mcount.S: Likewise.
10889 * sysdeps/x86_64/_mcount.S: Likewise.
10890 * sysdeps/x86_64/sysdep.h: Likewise.
10891 * sysdeps/sh/_mcount.S: Likewise.
10892 * sysdeps/sh/sysdep.h: Likewise.
10893 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10894 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10895 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10896 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10897 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10898 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10899 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10900 * locale/localeinfo.h: Likewise.
10901 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10902 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10904 2012-07-09 Roland McGrath <roland@hack.frob.com>
10907 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10909 * manual/message.texi (The Uniforum approach): Likewise.
10910 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10911 (glibc iconv Implementation): Likewise.
10913 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10916 * math/s_clog.c (__clog): Avoid scaling a value down where that
10917 could result in underflow.
10918 * math/s_clog10.c (__clog10): Likewise.
10919 * math/s_clog10f.c (__clog10f): Likewise.
10920 * math/s_clog10l.c (__clog10l): Likewise.
10921 * math/s_clogf.c (__clogf): Likewise.
10922 * math/s_clogl.c (__clogl): Likewise.
10923 * math/libm-test.inc (clog_test): Add more tests.
10924 (clog10_test): Likewise.
10925 * sysdeps/i386/fpu/libm-test-ulps: Update.
10926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10928 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10931 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10932 by 7 not 8 to examine high bit of fractional part.
10935 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10936 for call to __mcount_internal.
10937 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10938 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10939 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10941 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10944 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10945 approximation for values within 0x1p-13f of an odd multiple of
10947 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10948 exception. Add more tests.
10949 * sysdeps/i386/fpu/libm-test-ulps: Update.
10952 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10953 inputs and return -1 for them. Do not check for +Inf in case not
10954 reachable for +Inf.
10955 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10956 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10957 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10958 and return -1 for them. Do not check for +Inf in case not
10959 reachable for +Inf.
10960 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10962 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10963 and return -1 for them. Do not check for +Inf in case not
10964 reachable for +Inf.
10965 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10966 spurious underflow.
10967 * sysdeps/i386/fpu/libm-test-ulps: Update.
10968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10970 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10972 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10974 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10978 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10979 could result in spurious underflow. Scale down values above
10980 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10981 * math/s_csqrtf.c (__csqrtf): Likewise.
10982 * math/s_csqrtl.c (__csqrtl): Likewise.
10983 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10984 spurious underflow.
10985 * sysdeps/i386/fpu/libm-test-ulps: Update.
10986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10988 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10990 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10992 * catgets/xopen-msg.awk: New file.
10993 * catgets/xopen-msg.sed: Removed.
10995 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10997 * intl/po2test.awk: New file.
10998 * intl/po2test.sed: Removed.
11000 2012-07-04 Joseph Myers <joseph@codesourcery.com>
11003 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11004 or multiply small sinh result by itself.
11005 * math/s_ctanf.c (__ctanf): Likewise.
11006 * math/s_ctanh.c (__ctanh): Likewise.
11007 * math/s_ctanhf.c (__ctanhf): Likewise.
11008 * math/s_ctanhl.c (__ctanhl): Likewise.
11009 * math/s_ctanl.c (__ctanl): Likewise.
11010 * math/libm-test.inc (ctan_test_tonearest): New function.
11011 (ctan_test_towardzero): Likewise.
11012 (ctan_test_downward): Likewise.
11013 (ctan_test_upward): Likewise.
11014 (ctanh_test_tonearest): Likewise.
11015 (ctanh_test_towardzero): Likewise.
11016 (ctanh_test_downward): Likewise.
11017 (ctanh_test_upward): Likewise.
11018 (main): Call these new functions.
11019 * sysdeps/i386/fpu/libm-test-ulps: Update.
11020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11022 2012-07-03 Mike Frysinger <vapier@gentoo.org>
11024 * .gitignore: Delete /ports entry.
11026 2012-07-03 Andreas Jaeger <aj@suse.de>
11028 * po/bg.po: Update from translation team.
11029 * po/cs.po: Likewise.
11030 * po/de.po: Likewise.
11031 * po/hr.po: Likewise.
11032 * po/nl.pl: Likewise.
11033 * po/pl.po: Likewise.
11034 * po/vi.po: Likewise.
11036 2012-07-03 Joseph Myers <joseph@codesourcery.com>
11038 * Makeconfig [!+link] (+link-before-libc): New variable.
11039 [!+link] (+link-after-libc): Likewise.
11040 [!+link] (+link-tests): Likewise.
11041 [!+link] (+link): Define in terms of $(+link-before-libc) and
11042 $(+link-after-libc).
11043 [!+link-static] (+link-static-before-libc): New variable.
11044 [!+link-static] (+link-static-after-libc): Likewise.
11045 [!+link-static] (+link-static-tests): Likewise.
11046 [!+link-static] (+link-static): Define in terms of
11047 $(+link-static-before-libc) and $(+link-static-after-libc).
11048 [build-shared] (link-libc-before-gnulib): New variable.
11049 [build-shared] (link-libc-tests): Likewise.
11050 [build-shared] (link-libc): Define in terms of
11051 $(link-libc-before-gnulib).
11052 [!build-shared] (link-libc-tests): New variable.
11053 (link-libc-static-tests): New variable.
11054 [!gnulib] (gnulib-arch): New variable.
11055 [!gnulib] (gnulib-tests): Likewise.
11056 [!gnulib] (static-gnulib-arch): Likewise.
11057 [!gnulib] (static-gnulib-tests): Likewise.
11058 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11059 Define with "=" instead of ":=".
11060 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11061 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11062 * Rules (binaries-all-notests): New variable.
11063 (binaries-all-tests): Likewise.
11064 (binaries-static-notests): Likewise.
11065 (binaries-static-tests): Likewise.
11066 (binaries-all): Define using $(binaries-all-notests) and
11067 $(binaries-all-tests).
11068 (binaries-static): Define using $(binaries-static-notests) and
11069 $(binaries-static-tests).
11070 (binaries-shared-tests): New variable.
11071 (binaries-shared-notests): Likewise.
11072 (binaries-shared): Remove variable.
11073 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11074 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11075 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11076 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11077 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11078 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11079 * elf/Makefile (sln-modules): New variable.
11080 (extra-objs): Add $(sln-modules:=.o).
11081 (ldconfig-modules): Add static-stubs.
11082 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11083 * elf/static-stubs.c: New file.
11086 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11087 by 7 not 8 to examine high bit of fractional part. Use volatile
11088 variables when splitting into final array of floats if
11089 __FLT_EVAL_METHOD__ != 0.
11090 * math/libm-test.inc (cos_test): Add another test.
11091 (sin_test): Likewise.
11092 * sysdeps/i386/fpu/libm-test-ulps: Update.
11095 * math/libm-test.inc (cosh_test): Add more tests.
11097 * version.h (RELEASE): Set to "development".
11098 (VERSION): Set to "2.16.90".
11100 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11102 * NEWS: Update copyright. Remove last-updated date.
11103 Mention math library bug fixes and timezone data changes.
11104 * README: Mention GNU/Hurd, x32, and HPPA support status.
11106 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11108 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11110 2012-06-27 Andreas Jaeger <aj@suse.de>
11112 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11114 2012-06-25 Andreas Jaeger <aj@suse.de>
11116 * sysdeps/s390/fpu/libm-test-ulps: Update.
11118 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11119 Thomas Schwinge <thomas@codesourcery.com>
11121 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11122 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11123 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11126 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11128 * sysdeps/mach/start.c: Remove file.
11129 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11130 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11131 * sysdeps/sh/init-first.c: Likewise.
11133 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11134 registers for frame unwinding purposes, add CFI directives.
11135 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11136 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11137 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11140 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11141 __fortify_fail returning.
11142 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11144 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11145 sysdeps/sh/____longjmp_chk.S.
11146 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11147 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11148 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11149 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11151 * sysdeps/sh/abort-instr.h: New file.
11152 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11153 process in case exit returns.
11155 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11156 initialize the GOT register before use.
11158 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11159 calculation of ARGC > 4.
11161 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11162 meaningful names to some local labels.
11164 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11165 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11167 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11168 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11169 (__arch_compare_and_exchange_val_16_acq): Likewise.
11170 (__arch_compare_and_exchange_val_32_acq): Likewise.
11171 (atomic_exchange_and_add): Fix gUSA sequence.
11172 (atomic_add): Likewise.
11173 (atomic_add_negative): Likewise.
11174 (atomic_add_zero): Likewise.
11175 (atomic_bit_test_set): Likewise.
11177 2012-06-22 Andreas Schwab <schwab@redhat.com>
11180 * include/link.h (struct link_map): Add l_free_initfini.
11181 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11183 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11184 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11185 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11188 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11190 * configure.in: Use AC_LANG_SOURCE.
11191 * configure: Regenerate.
11193 2012-06-22 Roland McGrath <roland@hack.frob.com>
11195 * configure.in (libc_cv_localstatedir): New substituted variable.
11196 * configure: Regenerated.
11197 * config.make.in (localstatedir): New variable, substituted from
11198 libc_cv_localstatedir.
11199 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11200 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11201 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11202 * sysdeps/gnu/configure: Regenerated.
11204 2012-06-21 Jeff Law <law@redhat.com>
11207 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11208 free. Simplify list management for _LIBC case.
11210 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11213 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11214 Clear sign bit of 64-bit integer value before comparing against
11217 * sysdeps/mach/configure: Regenerated.
11219 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11222 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11224 2012-06-21 Jeff Law <law@redhat.com>
11227 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11228 uint16_t for elements in the "seen" array to avoid char overflows.
11229 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11230 * elf/dl-open.c (dl_open_worker): Likewise.
11232 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11234 * scripts/list-sources.sh: Scan PORTS for translations.
11235 * po/libc.pot: Regenerated.
11237 2012-06-21 Andreas Jaeger <aj@suse.de>
11240 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11242 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11243 * bits/byteswap-16.h (__bswap_16): Likewise.
11244 * bits/byteswap.h (__bswap_constant_16): Likewise.
11246 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11249 * sysdeps/i386/fpu_control.h: Removed.
11250 * sysdeps/x86_64/fpu_control.h: Moved to ...
11251 * sysdeps/x86/fpu_control.h: Here.
11253 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11254 (_FPU_SETCW): Likewise.
11256 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11259 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11260 * sysdeps/x86/fpu/bits/mathinline.h: This.
11261 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11265 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11266 functions if __x86_64__ is defined.
11268 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11270 * string/endian.h: Add !__ASSEMBLER__ condition for including
11271 conversion interfaces.
11273 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11276 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11277 of ABS(x) in calculating zero to negative powers other than odd
11279 * math/libm-test.inc (pow_test): Add more tests.
11281 2012-06-15 Andreas Jaeger <aj@suse.de>
11283 * manual/contrib.texi (Contributors): Update entry of Liubov
11284 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11287 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11289 * string/string.h: Add __wur to GNU version of strerror_r.
11291 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11294 * string/Makefile (tests): Add tst-strtok_r.
11295 * string/tst-strtok_r.c: New file.
11296 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11297 RAX_LP/RDX_LP on SAVE_PTR.
11299 2012-06-14 Roland McGrath <roland@hack.frob.com>
11301 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11303 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11305 * libm_test.inc (csqrt_test): Allow more spurious underflow
11307 (j0_test): Likewise.
11308 (j1_test): Likewise.
11309 (y0_test): Likewise.
11310 (y1_test): Likewise.
11312 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11314 * po/Makefile (libc.pot): Use UTF-8 charset.
11316 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11319 Suppress sign-conversion warning from FD_SET.
11320 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11321 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11322 not unsigned long int.
11323 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11325 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11329 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11330 __extern_always_inline instead of __extern_inline.
11331 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11332 (__signbit): Likewise.
11333 (__signbitl): Support C++ namespace.
11334 (lrintf): New inline function.
11336 (llrintf): Likewise.
11337 (llrint): Likewise.
11347 (floorf): Likewise.
11348 (nearbyint): Likewise.
11349 (nearbyintf): Likewise.
11351 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11353 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11354 non-default versions.
11356 2012-06-11 Roland McGrath <roland@hack.frob.com>
11359 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11361 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11363 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11364 (FE_UPWARD, FE_DOWNWARD): Don't define.
11365 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11366 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11368 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11370 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11371 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11373 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11375 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11376 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11377 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11378 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11380 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11383 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11384 * sysdeps/i386/fpu/Implies: New file.
11385 * sysdeps/x86_64/fpu/Implies: Likewise.
11386 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11387 * sysdeps/x86/fpu/bits/fenv.h: This.
11389 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11392 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11395 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11396 character 0xffff that matches the last element of the
11399 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11401 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11404 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11406 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11407 values higher than 25.6283.
11409 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11411 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11412 subnormal exponent extraction and add some __builtin_expect.
11413 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11414 Fix for subnormal mantissa calculation.
11416 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11418 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11419 cpu2 is -1 and errno is not ENOSYS.
11421 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11424 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11425 * sysdeps/x86/bits/string.h: This.
11426 * sysdeps/x86_64/bits/string.h: Removed.
11428 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11429 if not compiling for x86-64, but compiling for >= i486.
11431 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11432 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11434 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11435 New macro from Linux kernel 3.4.0.
11436 (FP_XSTATE_MAGIC2): Likewise.
11437 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11438 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11439 (struct _fpx_sw_bytes): New struct.
11440 (struct _xsave_hdr): Likewise.
11441 (struct _ymmh_state): Likewise.
11442 (struct _xstate): Likewise.
11444 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11445 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11446 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11447 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11448 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11449 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11451 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11452 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11453 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11454 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11455 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11456 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11458 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11461 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11462 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11463 (sysdep_headers): Include sys/platform/ppc.h.
11464 * sysdeps/powerpc/test-gettimebase.c: Test for
11465 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11466 * manual/Makefile (appendices): Include platform.texi.
11467 * manual/contrib.texi (Contributors): Update @node pointers.
11468 * manual/maint.texi (Maintenance): Likewise.
11469 (Platform): New node.
11470 * manual/platform.texi: New file. Document the new features.
11472 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11473 Jakub Jelinek <jakub@redhat.com>
11476 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11477 where __builtin_expect is unavailable.
11479 2012-06-03 David S. Miller <davem@davemloft.net>
11481 * stdlib/longlong.h: Updated from GCC.
11483 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11486 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11487 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11490 (GLIBC_2.16): Likewise.
11492 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11494 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11496 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11499 (default-abi): New variable.
11500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11501 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11503 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11505 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11507 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11510 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11511 definition. Document in comment.
11513 2012-06-01 David S. Miller <davem@davemloft.net>
11515 * stdlib/longlong.h: Updated from GCC.
11517 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11520 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11521 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11522 sys/debugreg.h sys/io.h here.
11523 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11524 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11526 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11527 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11528 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11529 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11530 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11531 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11533 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11534 Define only if __x86_64__ is defined.
11536 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11539 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11540 Use int64_t for variable i.
11541 * math/libm-test.inc (fmod_test): Add more tests.
11543 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11544 z computation is not scheduled after fetestexcept.
11545 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11546 Use math_force_eval instead of asm to ensure calculation scheduled
11547 before exception test.
11548 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11549 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11551 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11554 computation is not scheduled after fetestexcept.
11556 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11559 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11560 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11562 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11564 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11565 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11567 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11570 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11572 (__WCHAR_MIN): Support __WORDSIZE == 64.
11573 (__WCHAR_MAX): Likewise.
11575 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11576 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11580 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11583 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11584 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11586 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11587 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11589 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11590 Defined to 1 if __x86_64__ isn't defined.
11591 (_STAT_VER_LINUX_OLD): New.
11592 (st_atime): Remove duplicate.
11593 (st_mtime): Likewise.
11594 (st_ctime): Likewise.
11596 2012-05-31 David S. Miller <davem@davemloft.net>
11598 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11601 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11603 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11607 * elf/dl-reloc.c: Include <_itoa.h>.
11608 (_dl_reloc_bad_type): Remove use of INTUSE.
11609 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11610 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11611 * stdio-common/psiginfo.c (psiginfo): Likewise.
11612 * stdio-common/psignal.c (psignal): Likewise.
11613 * string/strsignal.c (strsignal): Likewise.
11614 * include/signal.h (_sys_siglist): Declare hidden proto.
11615 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11616 INTVARDEF with libc_hidden_data_def.
11617 * stdio-common/itoa-udigits.c: Likewise.
11618 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11619 (_itoa_lower_digits_internal): Remove declaration.
11620 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11621 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11622 (_sys_sigabbrev_internal): Remove aliases.
11623 (_sys_siglist): Define hidden alias.
11625 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11630 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11633 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11634 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11636 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11637 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11638 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11639 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11640 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11641 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11643 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11644 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11645 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11647 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11655 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11656 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11657 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11659 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11660 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11661 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11662 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11663 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11664 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11666 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11667 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11669 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11670 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11672 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11673 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11674 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11676 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11677 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11679 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11681 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11682 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11683 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11685 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11687 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11689 2012-05-31 Joseph Myers <joseph@codesourcery.com>
11691 * math/math.h (M_El): Use two more decimal places.
11692 (M_LOG2El): Likewise.
11693 (M_LOG10El): Likewise.
11694 (M_LN2l): Likewise.
11695 (M_LN10l): Likewise.
11697 (M_PI_2l): Likewise.
11698 (M_PI_4l): Likewise.
11699 (M_1_PIl): Likewise.
11700 (M_2_PIl): Likewise.
11701 (M_2_SQRTPIl): Likewise.
11702 (M_SQRT2l): Likewise.
11703 (M_SQRT1_2l): Likewise.
11705 2012-05-31 David S. Miller <davem@davemloft.net>
11707 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11708 values between float registers.
11709 * sysdeps/sparc/sparc64/memset.S: Likewise.
11710 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11712 2012-05-31 Mike Frysinger <vapier@gentoo.org>
11714 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11715 -D_FORTIFY_SOURCE=1.
11716 (CPPFLAGS-tst-longjmp_chk.c): Define.
11717 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11718 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11719 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11720 CFLAGS-tst-wchar-h.c.
11722 2012-05-31 Marek Polacek <polacek@redhat.com>
11725 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11726 __endmntent_internal): Remove declaration.
11727 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11728 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11729 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11731 2012-05-30 David S. Miller <davem@davemloft.net>
11733 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11734 (___Q_simulate_exceptions): Use real FP ops rather than writing
11736 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11739 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11742 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11743 * sysdeps/x86/bits/xtitypes.h: This.
11745 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11746 * sysdeps/x86/bits/wordsize.h: This.
11748 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11749 * sysdeps/x86/bits/huge_vall.h: This.
11751 * sysdeps/i386/bits/select.h: Removed.
11752 * sysdeps/x86_64/bits/select.h: Renamed to ...
11753 * sysdeps/x86/bits/select.h: This.
11755 * sysdeps/i386/bits/setjmp.h: Removed.
11756 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11757 * sysdeps/x86/bits/setjmp.h: This.
11759 * sysdeps/i386/bits/mathdef.h: Removed.
11760 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11761 * sysdeps/x86/bits/mathdef.h: This.
11763 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11766 * include/sys/socket.h (__connect_internal)
11767 (__libc_sa_len_internal): Remove declaration.
11768 (__connect, __libc_sa_len): Declare hidden_proto.
11769 (SA_LEN): Remove use of INTUSE.
11770 * socket/connect.c: Add libc_hidden_def.
11771 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11772 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11773 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11775 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11776 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11777 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11778 of adding _internal alias.
11780 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11783 * sysdeps/i386/bits/link.h: Removed.
11784 * sysdeps/i386/bits/linkmap.h: Likewise.
11785 * sysdeps/x86_64/bits/link.h: Renamed to ...
11786 * sysdeps/x86/bits/link.h: This.
11787 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11788 * sysdeps/x86/bits/linkmap.h: This.
11790 * sysdeps/i386/bits/endian.h: Removed.
11791 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11792 * sysdeps/x86/bits/endian.h: This.
11794 * sysdeps/i386/bits/byteswap.h: Removed.
11795 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11796 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11797 * sysdeps/x86/bits/byteswap.h: This.
11798 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11799 * sysdeps/x86/bits/byteswap-16.h: This.
11800 * sysdeps/i386/Implies: Add x86.
11801 * sysdeps/x86_64/Implies: Likewise.
11803 2012-05-30 David S. Miller <davem@davemloft.net>
11805 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11806 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11807 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11808 (FP_TRAPPING_EXCEPTIONS): Define.
11809 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11810 (FP_TRAPPING_EXCEPTIONS): Define.
11811 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11812 subnormals only when inexact has been signalled or underflow
11813 exceptions are enabled.
11814 (_FP_PACK_CANONICAL): Likewise.
11816 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11819 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11820 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11822 2012-05-30 Richard Henderson <rth@twiddle.net>
11824 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11825 with #ifndef NOT_IN_libc.
11827 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11828 marked to avoid plt entry.
11830 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11833 * Makeconfig (default-abi): New macro.
11834 (abi-includes): Likewise.
11835 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11836 $(abi-$(default-abi)-lib-soname) for soname if defined.
11837 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11839 * Makefile (installed-stubs): Likewise.
11840 * include/stubs-biarch.h: Removed.
11841 * scripts/lib-names.awk: Only handle one library at a time.
11842 * scripts/soversions.awk: Remove WORDSIZE support.
11843 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11845 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11847 (syscall-list-default-condition): Likewise.
11848 (syscall-list-default-condition): Likewise.
11849 (syscall-list-includes): Likewise.
11850 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11851 syscall-list-* with abi-*. Handle undefined abi-variants.
11852 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11853 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11854 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11855 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11856 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11857 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11859 (syscall-list-32-options): Likewise.
11860 (syscall-list-32-condition): Likewise.
11861 (syscall-list-64-options): Likewise.
11862 (syscall-list-64-condition): Likewise.
11863 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11865 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11868 (abi-64-ld-soname): New macro.
11869 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11870 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11873 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11874 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11876 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11878 * sysdeps/unix/sysv/linux/kernel-features.h
11879 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11880 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11881 include <kernel-features.h>.
11882 [!__NR_ftruncate64]: Remove conditional code.
11883 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11884 [__NR_ftruncate64]: Make code unconditional.
11885 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11886 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11887 include <kernel-features.h>.
11888 [!__NR_ftruncate64]: Remove conditional code.
11889 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11890 [__NR_ftruncate64]: Make code unconditional.
11891 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11893 include <kernel-features.h>.
11894 [!__NR_ftruncate64]: Remove conditional code.
11895 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11896 [__NR_ftruncate64]: Make code unconditional.
11897 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11899 include <kernel-features.h>.
11900 [!__NR_ftruncate64]: Remove conditional code.
11901 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11902 [__NR_ftruncate64]: Make code unconditional.
11903 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11905 * configure.in (libc_cv_fpie): Weaken to a compile test using
11906 LIBC_TRY_CC_OPTION.
11907 * configure: Regenerated.
11909 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11924 2012-05-27 David S. Miller <davem@davemloft.net>
11926 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11928 (__Q_simulate_exceptions): Return void. Change to simulate
11929 exceptions by writing into the %fsr.
11930 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11931 (__Qp_handle_exceptions): Likewise.
11933 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11934 __Qp_handle_exceptions.
11935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11936 __Qp_handle_exceptions.
11937 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11938 as unused and give dummy FP_RND_NEAREST initializer.
11939 (FP_INHIBIT_RESULTS): Define.
11940 (___Q_simulate_exceptions): Update declaration.
11941 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11943 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11944 as unused and give dummy FP_RND_NEAREST initializer.
11945 (__Qp_handle_exceptions): Update declaration.
11946 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11949 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11951 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11952 the temporary FPU control word.
11953 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11954 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11955 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11956 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11957 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11958 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11959 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11960 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11961 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11962 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11963 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11965 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11967 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11970 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11972 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11973 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11974 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11975 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11977 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11978 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11981 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11983 * po/h.po: Update from translation team.
11985 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11987 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11989 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11990 handling of denormals.
11991 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11992 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11993 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11994 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11995 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12000 2012-05-26 Marek Polacek <polacek@redhat.com>
12003 * math/libm-test.inc (fma_test): Don't always expect underflow
12006 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12009 * elf/tst-execstack.c: Include stackinfo.h.
12010 (do_test): Adjust test case to ensure that pthread_getattr_np
12011 behaviour remains the same after marking stack executable.
12013 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12015 * sysdeps/unix/sysv/linux/kernel-features.h
12016 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12017 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12019 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12020 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12021 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12023 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12024 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12026 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12028 * configure.in: Define the default includes to being none.
12029 * configure: Regenerated.
12031 2012-05-25 Roland McGrath <roland@hack.frob.com>
12033 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12034 * sysdeps/x86_64/setjmp.S: Likewise.
12035 * sysdeps/i386/bsd-setjmp.S: Likewise.
12036 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12037 * sysdeps/i386/setjmp.S: Likewise.
12038 * sysdeps/i386/__longjmp.S: Likewise.
12039 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12040 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12042 * include/stap-probe.h: New file.
12043 * configure.in: Handle --enable-systemtap.
12044 * configure: Regenerated.
12045 * config.h.in (USE_STAP_PROBE): New #undef.
12046 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12047 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12048 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12050 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12053 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12054 to 2.4.0 where earlier.
12055 * sysdeps/unix/sysv/linux/configure: Regenerated.
12056 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12057 <kernel-features.h>.
12058 [__ASSUME_32BITUIDS]: Make code unconditional.
12059 [!__ASSUME_32BITUIDS]: Remove conditional code.
12060 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12061 <kernel-features.h>.
12062 [__ASSUME_32BITUIDS]: Make code unconditional.
12063 [!__ASSUME_32BITUIDS]: Remove conditional code.
12064 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12065 [__ASSUME_32BITUIDS]: Make code unconditional.
12066 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12067 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12068 <kernel-features.h>.
12069 [__ASSUME_32BITUIDS]: Make code unconditional.
12070 [!__ASSUME_32BITUIDS]: Remove conditional code.
12071 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12072 <kernel-features.h>.
12073 [__ASSUME_32BITUIDS]: Make code unconditional.
12074 [!__ASSUME_32BITUIDS]: Remove conditional code.
12075 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12076 <kernel-features.h>.
12077 [__ASSUME_32BITUIDS]: Make code unconditional.
12078 [!__ASSUME_32BITUIDS]: Remove conditional code.
12079 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12080 <kernel-features.h>.
12081 [__ASSUME_32BITUIDS]: Make code unconditional.
12082 [!__ASSUME_32BITUIDS]: Remove conditional code.
12083 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12084 <kernel-features.h>.
12085 [__ASSUME_32BITUIDS]: Make code unconditional.
12086 [!__ASSUME_32BITUIDS]: Remove conditional code.
12087 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12088 <kernel-features.h>.
12089 [__ASSUME_32BITUIDS]: Make code unconditional.
12090 [!__ASSUME_32BITUIDS]: Remove conditional code.
12091 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12092 <kernel-features.h>.
12093 [__ASSUME_32BITUIDS]: Make code unconditional.
12094 [!__ASSUME_32BITUIDS]: Remove conditional code.
12095 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12096 <kernel-features.h>.
12097 [__ASSUME_32BITUIDS]: Make code unconditional.
12098 [!__ASSUME_32BITUIDS]: Remove conditional code.
12099 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12100 <kernel-features.h>.
12101 [__ASSUME_32BITUIDS]: Make code unconditional.
12102 [!__ASSUME_32BITUIDS]: Remove conditional code.
12103 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12104 <kernel-features.h>.
12105 [__ASSUME_32BITUIDS]: Make code unconditional.
12106 [!__ASSUME_32BITUIDS]: Remove conditional code.
12107 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12108 <kernel-features.h>.
12109 [__NR_setresgid] (__setresgid): Do not declare.
12110 [__ASSUME_32BITUIDS]: Make code unconditional.
12111 [!__ASSUME_32BITUIDS]: Remove conditional code.
12112 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12113 <kernel-features.h>.
12114 [__NR_setresuid] (__setresuid): Do not declare.
12115 [__ASSUME_32BITUIDS]: Make code unconditional.
12116 [!__ASSUME_32BITUIDS]: Remove conditional code.
12117 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12118 <kernel-features.h>.
12119 [__ASSUME_32BITUIDS]: Make code unconditional.
12120 [!__ASSUME_32BITUIDS]: Remove conditional code.
12121 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12122 <kernel-features.h>.
12123 [__ASSUME_32BITUIDS]: Make code unconditional.
12124 [!__ASSUME_32BITUIDS]: Remove conditional code.
12125 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12126 <kernel-features.h>.
12127 [__ASSUME_32BITUIDS]: Make code unconditional.
12128 [!__ASSUME_32BITUIDS]: Remove conditional code.
12129 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
12158 (__ASSUME_SETRESUID_SYSCALL): Remove.
12159 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12160 (__ASSUME_32BITUIDS): Likewise.
12161 (__ASSUME_LDT_WORKS): Likewise.
12162 (__ASSUME_O_DIRECTORY): Likewise.
12163 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12164 architecture but not kernel version.
12165 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12166 (__ASSUME_MMAP2_SYSCALL): Likewise.
12167 (__ASSUME_STAT64_SYSCALL): Likewise.
12168 (__ASSUME_IPC64): Likewise.
12169 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12170 <kernel-features.h>.
12171 [__ASSUME_32BITUIDS]: Make code unconditional.
12172 [!__ASSUME_32BITUIDS]: Remove conditional code.
12173 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12174 <kernel-features.h>.
12175 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12176 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12177 132096]: Remove conditional code.
12178 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12179 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
12188 <kernel-features.h>.
12189 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12191 (__setresgid): Do not declare.
12192 [__ASSUME_32BITUIDS]: Make code unconditional.
12193 [!__ASSUME_32BITUIDS]: Remove conditional code.
12194 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12195 <kernel-features.h>.
12196 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12198 (__setresuid): Do not declare.
12199 [__ASSUME_32BITUIDS]: Make code unconditional.
12200 [!__ASSUME_32BITUIDS]: Remove conditional code.
12201 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12202 <kernel-features.h>.
12203 [__ASSUME_32BITUIDS]: Make code unconditional.
12204 [!__ASSUME_32BITUIDS]: Remove conditional code.
12205 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12206 <kernel-features.h>.
12207 [__ASSUME_32BITUIDS]: Make code unconditional.
12208 [!__ASSUME_32BITUIDS]: Remove conditional code.
12210 2012-05-25 Richard Henderson <rth@twiddle.net>
12212 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12213 dl_hwcap to ifunc resolver.
12214 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12216 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12217 dl_hwcap to ifunc resolver.
12218 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12220 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12223 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12224 for |x| <= 2**-26, not 2**-57.
12225 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12228 2012-05-24 Jeff Law <law@redhat.com>
12230 * stdio-common/Makefile (tests): Add bug25.
12231 * stdio-common/bug25.c: New test.
12233 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12236 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12237 multiple of MALLOC_ALIGNMENT in size.
12238 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12240 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12242 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12244 (FILENAME_MAX): Use macro-int-constant.
12245 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12246 (_IOFBF): Use macro-int-constant.
12247 (_IOLBF): Likewise.
12248 (_IONBF): Likewise.
12249 (SEEK_CUR): Likewise.
12250 (SEEK_END): Likewise.
12251 (SEEK_SET): Likewise.
12252 (TMP_MAX): Likewise.
12253 (EOF): Use macro-int-constant. Require < 0.
12254 (NULL): Use macro-constant. Require == 0.
12255 (stdin): Require type to be FILE *.
12256 (stdout): Likewise.
12257 (stderr): Likewise.
12258 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12259 macro-int-constant.
12260 (EXIT_SUCCESS): Likewise.
12261 (NULL): Use macro-constant. Require == 0.
12262 (RAND_MAX): Use macro-int-constant.
12263 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12264 [C99-based standards] (strtof): Require function.
12265 [C99-based standards] (strtold): Likewise.
12266 [C99-based standards] (strtoll): Likewise.
12267 [C99-based standards] (strtoull): Likewise.
12268 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12269 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12270 [ISO || ISO99 || ISO11] (math.h): Likewise.
12271 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12272 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12275 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12278 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12279 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12280 * intl/dgettext.c (DCGETTEXT): Likewise.
12281 * intl/gettext.c (DCGETTEXT): Likewise.
12282 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12283 * posix/regex_internal.h (gettext): Likewise.
12284 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12285 Remove declaration.
12286 * include/argz.h (__argz_count_internal)
12287 (__argz_stringify_internal): Remove declaration.
12288 (__argz_count, __argz_stringify): Declare hidden proto.
12289 * intl/dcgettext.c: Remove use of INTDEF.
12290 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12291 * string/argz-stringify.c: Likewise.
12292 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12293 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12294 Declare hidden proto.
12295 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12296 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12297 Declare hidden proto.
12298 * include/stdio.h (__asprintf_internal): Don't declare.
12299 (__asprintf): Don't define as macro. Declare hidden proto.
12300 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12301 (__fsetlocking): Declare hidden proto.
12302 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12303 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12305 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12306 (_IO_setlinebuf): Remove use of INTUSE.
12307 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12308 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12309 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12310 Remove declaration.
12311 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12312 (_IO_do_flush): Remove use of INTUSE.
12313 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12314 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12315 (_IO_adjust_column, _IO_least_wmarker)
12316 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12317 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12318 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12319 (_IO_default_doallocate, _IO_wdefault_doallocate)
12320 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12321 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12322 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12323 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12324 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12325 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12326 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12327 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12328 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12329 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12330 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12331 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12332 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12334 (_IO_flush_all_internal, _IO_adjust_column_internal)
12335 (_IO_default_uflow_internal, _IO_default_finish_internal)
12336 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12337 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12338 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12339 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12340 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12341 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12342 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12343 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12344 (_IO_file_close_internal, _IO_file_close_it_internal)
12345 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12346 (_IO_file_init_internal, _IO_file_attach_internal)
12347 (_IO_file_fopen_internal, _IO_file_read_internal)
12348 (_IO_file_sync_internal, _IO_file_seek_internal)
12349 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12350 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12351 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12352 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12353 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12354 (_IO_list_all_internal, _IO_link_in_internal)
12355 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12356 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12357 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12358 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12359 (_IO_do_write_internal, _IO_padn_internal)
12360 (_IO_getline_info_internal, _IO_getline_internal)
12361 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12362 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12363 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12364 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12365 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12366 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12367 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12368 with libc_hidden_ver, remove use of INTUSE.
12369 * libio/genops.c: Likewise.
12370 * libio/freopen.c: Likewise.
12371 * libio/freopen64.c: Likewise.
12372 * libio/iofclose.c: Likewise.
12373 * libio/iofdopen.c: Likewise.
12374 * libio/iofflush.c: Likewise.
12375 * libio/iofflush_u.c: Likewise.
12376 * libio/iofgets.c: Likewise.
12377 * libio/iofgets_u.c: Likewise.
12378 * libio/iofopen.c: Likewise.
12379 * libio/iofopncook.c: Likewise.
12380 * libio/iofread.c: Likewise.
12381 * libio/iofread_u.c: Likewise.
12382 * libio/ioftell.c: Likewise.
12383 * libio/iofwrite.c: Likewise.
12384 * libio/iogetline.c: Likewise.
12385 * libio/iogets.c: Likewise.
12386 * libio/iogetwline.c: Likewise.
12387 * libio/iopadn.c: Likewise.
12388 * libio/iopopen.c: Likewise.
12389 * libio/ioseekoff.c: Likewise.
12390 * libio/ioseekpos.c: Likewise.
12391 * libio/iosetbuffer.c: Likewise.
12392 * libio/iosetvbuf.c: Likewise.
12393 * libio/ioungetc.c: Likewise.
12394 * libio/ioungetwc.c: Likewise.
12395 * libio/iovdprintf.c: Likewise.
12396 * libio/iovsprintf.c: Likewise.
12397 * libio/iovsscanf.c: Likewise.
12398 * libio/memstream.c: Likewise.
12399 * libio/obprintf.c: Likewise.
12400 * libio/oldfileops.c: Likewise.
12401 * libio/oldiofclose.c: Likewise.
12402 * libio/oldiofdopen.c: Likewise.
12403 * libio/oldiofopen.c: Likewise.
12404 * libio/oldiopopen.c: Likewise.
12405 * libio/oldstdfiles.c: Likewise.
12406 * libio/putc.c: Likewise.
12407 * libio/setbuf.c: Likewise.
12408 * libio/setlinebuf.c: Likewise.
12409 * libio/stdfiles.c: Likewise.
12410 * libio/strops.c: Likewise.
12411 * libio/vasprintf.c: Likewise.
12412 * libio/vscanf.c: Likewise.
12413 * libio/vsnprintf.c: Likewise.
12414 * libio/vswprintf.c: Likewise.
12415 * libio/wfiledoalloc.c: Likewise.
12416 * libio/wfileops.c: Likewise.
12417 * libio/wgenops.c: Likewise.
12418 * libio/wmemstream.c: Likewise.
12419 * libio/wstrops.c: Likewise.
12420 * libio/__fpurge.c: Likewise.
12421 * libio/__fsetlocking.c: Likewise.
12422 * assert/assert.c: Likewise.
12423 * debug/fgets_chk.c: Likewise.
12424 * debug/fgets_u_chk.c: Likewise.
12425 * debug/fread_chk.c: Likewise.
12426 * debug/fread_u_chk.c: Likewise.
12427 * debug/gets_chk.c: Likewise.
12428 * debug/obprintf_chk.c: Likewise.
12429 * debug/vasprintf_chk.c: Likewise.
12430 * debug/vdprintf_chk.c: Likewise.
12431 * debug/vsnprintf_chk.c: Likewise.
12432 * debug/vsprintf_chk.c: Likewise.
12433 * malloc/mtrace.c: Likewise.
12434 * misc/error.c: Likewise.
12435 * misc/syslog.c: Likewise.
12436 * stdio-common/asprintf.c: Likewise.
12437 * stdio-common/fxprintf.c: Likewise.
12438 * stdio-common/getw.c: Likewise.
12439 * stdio-common/isoc99_fscanf.c: Likewise.
12440 * stdio-common/isoc99_scanf.c: Likewise.
12441 * stdio-common/isoc99_vfscanf.c: Likewise.
12442 * stdio-common/isoc99_vscanf.c: Likewise.
12443 * stdio-common/isoc99_vsscanf.c: Likewise.
12444 * stdio-common/printf-prs.c: Likewise.
12445 * stdio-common/printf_fp.c: Likewise.
12446 * stdio-common/printf_fphex.c: Likewise.
12447 * stdio-common/printf_size.c: Likewise.
12448 * stdio-common/putw.c: Likewise.
12449 * stdio-common/scanf.c: Likewise.
12450 * stdio-common/sprintf.c: Likewise.
12451 * stdio-common/tmpfile.c: Likewise.
12452 * stdio-common/vfprintf.c: Likewise.
12453 * stdio-common/vfscanf.c: Likewise.
12454 * stdlib/strfmon_l.c: Likewise.
12455 * sunrpc/openchild.c: Likewise.
12456 * sunrpc/xdr_stdio.c: Likewise.
12457 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12458 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12460 2012-05-24 Roland McGrath <roland@hack.frob.com>
12462 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12464 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12465 in the third column, to generate for the shared library an IFUNC
12466 that uses _dl_vdso_vsym.
12467 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12468 * Makeconfig (object-suffixes-noshared): New variable.
12470 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12471 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12472 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12473 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12476 * include/sys/time.h (__gettimeofday): Remove macro.
12477 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12478 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12480 (__gettimeofday): Add libc_hidden_def.
12481 (gettimeofday): Add libc_hidden_weak.
12482 * sysdeps/mach/gettimeofday.c: Likewise.
12483 * sysdeps/posix/gettimeofday.c: Likewise.
12484 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12485 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12486 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12487 (__gettimeofday_internal): Remove strong_alias.
12488 (__gettimeofday): Add libc_hidden_def.
12489 (gettimeofday): Add libc_hidden_weak.
12490 * sysdeps/unix/syscalls.list (gettimeofday):
12491 Remove __gettimeofday_internal alias.
12493 2012-05-24 Daniel Jacobowitz <drow@false.org>
12494 H.J. Lu <hongjiu.lu@intel.com>
12497 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12498 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12499 (largebin_index_32_big): New.
12500 (largebin_index): Use it for 16-byte alignment.
12501 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12502 correction with front_misalign.
12504 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12532 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12533 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12535 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12539 * math/libm-test.inc (exp_test): Add test from bug 14036.
12540 (pow_test): Add test from bug 10846.
12542 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12544 (special_function): Do not include flags in test name.
12545 (parse_args): Likewise.
12546 * sysdeps/i386/fpu/libm-test-ulps: Update.
12547 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12548 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12549 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12552 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12554 * math/libm-test.inc ("Philosophy"): Update comment about
12556 (UNDERFLOW_EXCEPTION): New macro.
12557 (UNDERFLOW_EXCEPTION_OK): Likewise.
12558 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12559 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12560 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12561 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12562 (INVALID_EXCEPTION_OK): Update value.
12563 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12564 (OVERFLOW_EXCEPTION_OK): Likewise.
12565 (IGNORE_ZERO_INF_SIGN): Likewise.
12566 (test_exceptions): Handle underflow exceptions.
12567 (acos_test): Update for underflow exception expectations.
12568 (cexp_test): Likewise.
12569 (clog_test): Likewise.
12570 (clog10_test): Likewise.
12571 (csqrt_test): Likewise.
12572 (ctan_test): Likewise.
12573 (ctanh_test): Likewise.
12574 (exp_test): Likewise.
12575 (exp10_test): Likewise.
12576 (exp2_test): Likewise.
12577 (expm1_test): Likewise.
12578 (fma_test): Likewise.
12579 (j0_test): Likewise.
12580 (jn_test): Likewise.
12581 (nexttoward_test): Likewise.
12582 (pow_test): Likewise.
12583 (scalbn_test): Likewise.
12584 (scalbln_test): Likewise.
12585 (tan_test): Likewise.
12586 (y1_test): Likewise.
12587 * sysdeps/i386/fpu/libm-test-ulps: Update.
12588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12590 2012-05-23 David S. Miller <davem@davemloft.net>
12592 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12593 (__libc_sigaction): Remove unused local variables.
12595 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12597 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12599 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12601 mktime: avoid signed integer overflow
12602 * time/mktime.c (__mktime_internal): Do not mishandle the case
12603 where diff == INT_MIN.
12605 mktime: simplify computation of average
12606 * time/mktime.c (ranged_convert): Use new time_t_avg function
12607 instead of rolling our own (probably-slower) code.
12609 mktime: do not assume signed right shift propagates sign bit
12610 * time/mktime.c (isdst_differ): New static function.
12611 (__mktime_internal): No need to normalize tm_isdst now.
12612 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12615 mktime: merge another wrapv change from gnulib
12616 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12617 from some compilers.
12619 mktime: remove incorrect attempt at unusual arithmetics
12620 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12621 The code didn't really work on such machines anyway.
12622 (TYPE_MINIMUM): Assume two's complement.
12623 (twos_complement_arithmetic): Verify that long_int and time_t
12624 are two's complement (or unsigned, in the latter case).
12626 mktime: check signed shifts on long_int and time_t, too
12627 * time/mktime.c (SHR): Check that shifts work as desired
12628 on the types long_int and time_t too, as SHR is used on
12631 mktime: do not assume 'long' is wide enough
12632 * time/mktime.c (verify): Move decl up.
12633 (long_int): New type.
12634 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12635 to remove assumption in the code that 'long' is wide enough to
12636 store year values. This assumption is not true on x32 and on
12637 some non-glibc platforms.
12639 mktime: merge wrapv change from gnulib
12640 * time/mktime.c (WRAPV): New macro.
12641 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12642 (guess_time_tm, __mktime_internal): Do not assume that signed
12643 integer overflow wraps around; modern compilers generate code
12644 where this assumption is no longer valid.
12646 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12648 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12649 Replace "jmp L(pseudo_end)" with "ret".
12650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12653 2012-05-23 Andreas Jaeger <aj@suse.de>
12655 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12656 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12658 2012-05-23 Andreas Jaeger <aj@suse.de>
12659 Maximilian Attems <max@stro.at>
12661 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12664 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12666 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12667 code so that pseudo_end is just ret and the stack pointer is
12668 correct also for static library in error case.
12670 2012-05-23 Joseph Myers <joseph@codesourcery.com>
12672 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12673 move to syscalls.list.
12674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12679 * manual/install.texi (Running make install): Do not mention Linux
12680 kernel version for which pt_chown is not needed.
12681 (Linux): Do not mention problems with nscd with 2.0 kernels.
12682 * INSTALL: Regenerated.
12684 2012-05-23 Andreas Jaeger <aj@suse.de>
12686 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12687 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12689 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12690 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12691 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12692 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12693 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12695 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12697 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12698 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12699 * sysdeps/unix/sysv/linux/bits/in.h
12700 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12702 2012-05-22 Roland McGrath <roland@hack.frob.com>
12704 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12705 (PREPARE_VERSION): Just use assert instead, it will be elided
12706 under [NDEBUG] anyway.
12708 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12710 * sysdeps/unix/sysv/linux/Makefile: Include
12711 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12712 (sysdep_routines): Remove sysctl.
12713 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12714 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12715 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12716 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12717 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12719 2012-05-22 Andreas Jaeger <aj@suse.de>
12721 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12722 that pseudo_end is just ret and the stack pointer is correct also
12723 for static library in error case.
12725 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12728 * nss/nsswitch.c (defconfig_entries): New variable.
12729 (__nss_database_lookup): Don't leak defconfig entries.
12730 (nss_parse_service_list): Don't leak on error paths.
12731 (free_database_entries): New function.
12732 (free_defconfig): New function.
12733 (free_mem): Move common code to free_database_entries.
12735 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12737 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12739 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12741 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12742 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12745 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12746 (INTERNAL_SYSCALL_TYPES): Likewise.
12747 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12748 (LOAD_REGS_TYPES_[1-6]): Likewise.
12749 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12750 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12752 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12754 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12755 copysignl for GLIBC_2_0.
12756 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12757 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12758 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12759 logbl for GLIBC_2_0.
12760 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12761 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12763 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12765 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12766 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12768 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12771 * time/mktime.c: Update copyright years.
12773 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12775 mktime: merge comment-quoting-style change from gnulib
12776 * time/mktime.c: Quote 'like this' in comments.
12777 The GNU coding standards suggest that we no longer quote `like this',
12778 as "`" and "'" are typically rendered asymmetrically nowadays.
12779 The typical gnulib style is to quote 'like this' when quoting
12780 code, and "like this" when quoting English.
12782 * time/mktime.c (compile-command): Add "-I.".
12784 mktime: merge mktime-internal.h change from gnulib
12785 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12787 mktime: merge time_r change from gnulib
12788 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12790 mktime: merge DEBUG change from gnulib
12791 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12792 case system <time.h> has a #define.
12794 mktime: merge <sys/types.h> change from gnulib
12795 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12796 since <time.t> is now guaranteed to define time_t.
12798 mktime: merge HAVE_CONFIG_H change from gnulib
12799 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12801 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12806 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12808 (struct rusage): Use anonymous union to pad each field to
12811 2012-05-21 David S. Miller <davem@davemloft.net>
12813 * Makefules (o-iterator): Remove .s cases.
12814 (compile-command.s): Delete.
12815 (COMPILE.s): Delete.
12816 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12818 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12820 * configure.in (libc_cv_predef_stack_protector): Only consider
12821 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12822 * configure: Regenerated.
12824 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12827 New macro. Use R*LP on int and pointer.
12828 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12829 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12830 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12831 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12833 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12834 [__WORDSIZE_TIME64_COMPAT32] instead of
12835 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12836 (struct utmp): Likewise.
12837 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12838 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12840 (__WORDSIZE_TIME64_COMPAT32): This.
12841 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12842 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12843 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12844 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12845 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12846 (__WORDSIZE_TIME64_COMPAT32): New macro.
12848 2012-05-21 Andreas Jaeger <aj@suse.de>
12850 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12851 only if [SHARED]. Add prototype for __wcschr_ia32.
12853 2012-05-21 Roland McGrath <roland@hack.frob.com>
12855 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12856 of %rbp unmolested in the jmp_buf while mangling the low bits.
12857 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12858 unmolested high bits of %rbp while demangling the low bits.
12859 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12861 2012-05-21 Andreas Jaeger <aj@suse.de>
12863 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12864 * sunrpc/svc_simple.c: Use it for registerrpc.
12865 * sunrpc/xcrypt.c: Use it for passwd2des.
12867 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12869 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12871 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12872 Don't define if [__SYSCALL_WORDSIZE != 32].
12873 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12876 2012-05-21 Bruno Haible <bruno@clisp.org>
12877 Andreas Jaeger <aj@suse.de>
12879 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12880 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12881 inptr and inend for must_buffer_ch.
12882 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12883 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12884 * stdio-common/Makefile (tests): Remove bug15.
12885 (bug15-ENV): Remove macro.
12886 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12889 2012-05-19 Andreas Jaeger <aj@suse.de>
12890 Roland McGrath <roland@hack.frob.com>
12892 * manual/contrib.texi: Completely rewritten. It contains now an
12893 alphabetical list of contributors and their contributions.
12895 2012-05-21 Richard Henderson <rth@twiddle.net>
12897 * misc/getauxval.c (__getauxval): Use unsigned long int.
12898 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12899 (getauxval): Use unsigned long int.
12901 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12903 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12905 2012-05-21 Roland McGrath <roland@hack.frob.com>
12907 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12908 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12909 __alignof__ (long double).
12911 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12915 2012-05-20 Richard Henderson <rth@twiddle.net>
12917 * misc/getauxval.c: New file.
12918 * misc/sys/auxv.h: New file.
12919 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12920 (routines): Add getauxval.
12921 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12922 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12923 * elf/dl-sysdep.c (_dl_auxv): Remove.
12924 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12925 * elf/dl-support.c (_dl_auxv): New variable.
12926 (_dl_aux_init): Initialize it.
12927 * manual/startup.texi (Auxiliary Vector): New node.
12928 * sysdeps/generic/bits/hwcap.h: New file.
12929 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12930 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12931 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12932 * sysdeps/sparc/sysdep.h: ... here. Include it.
12933 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12934 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12940 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12946 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12950 2012-05-19 David S. Miller <davem@davemloft.net>
12952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12954 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12957 * math/s_ccosh.c: Include <float.h>
12958 (__ccosh): Avoid internal overflow calculating sinh and cosh
12959 values before multiplying by sin and cos values.
12960 * math/s_ccoshf.c: Likewise.
12961 * math/s_ccoshl.c: Likewise.
12962 * math/s_csin.c: Likewise.
12963 * math/s_csinf.c: Likewise.
12964 * math/s_csinl.c: Likewise.
12965 * math/s_csinh.c: Likewise.
12966 * math/s_csinhf.c: Likewise.
12967 * math/s_csinhl.c: Likewise.
12968 * math/libm-test.inc (ccos_test): Add more tests.
12969 (ccosh_test): Likewise.
12970 (csin_test): Likewise.
12971 (csinh_test): Likewise.
12972 * sysdeps/i386/fpu/libm-test-ulps: Update.
12973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12975 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12977 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12978 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12980 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12982 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12984 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12985 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12986 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12987 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12988 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12989 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12990 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12991 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12992 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12993 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12994 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12995 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12996 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12997 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12998 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12999 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13000 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13001 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13002 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13003 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13004 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13005 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13006 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13007 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13008 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13009 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13010 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13011 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13012 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13013 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13014 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13016 2012-05-18 Andreas Jaeger <aj@suse.de>
13018 * csu/.gitignore: Delete.
13020 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13022 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13023 (timex): Use __syscall_slong_t.
13025 2012-05-18 Andreas Jaeger <aj@suse.de>
13026 Carlos O'Donell <carlos_odonell@mentor.com>
13028 * manual/install.texi (Configuring and compiling): Update
13029 description about files modified in the source directory.
13030 * INSTALL: Regenerated.
13032 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13034 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13035 value. Use "or" to set return value to -1.
13036 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13037 negate return value.
13039 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13041 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13042 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13043 failure if the compiler has Graphite support disabled.
13044 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13046 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13047 CFLAGS-memmove.c): Likewise.
13048 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13051 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13053 * sysdeps/x86_64/x32/_itoa.h: New file.
13055 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13056 getdents system call only if kernel and user dirents have the
13057 same d_ino and d_off.
13059 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13060 LLONG_MAX != LONG_MAX.
13061 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13062 (_fitoa_word): Likewise.
13064 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13066 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13067 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13068 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13070 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13071 include <bits/wordsize.h>. Check __x86_64__ instead of
13073 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13074 if __x86_64__ is defined. Use anonymous union on fpstate.
13076 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13079 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13081 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13082 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13083 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13084 Refer to _rtld_local_ro instead of _rtld_global_ro.
13085 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13087 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13089 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13091 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13092 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13093 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13095 * sysdeps/powerpc/powerpc32/dl-machine.c
13096 (__elf_machine_runtime_setup) [PROF]: Don't reference
13099 2012-05-18 Andreas Jaeger <aj@suse.de>
13101 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13102 function only available for GCCs before 3.4 since GCC 3.4
13103 introduced a builtin.
13105 (llrintf): Likewise.
13106 (llrint): Likewise.
13113 (nearbyint): Likewise.
13114 (nearbyintf): Likewise.
13118 (floorf): Likewise.
13120 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13122 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13123 on both fields and cast pointer to __syscall_ulong_t.
13125 * bits/types.h (__fsword_t): New type.
13126 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13127 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13128 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13129 (__FSWORD_T_TYPE): Likewise.
13130 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13131 (__FSWORD_T_TYPE): Likewise.
13132 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13133 (__FSWORD_T_TYPE): Likewise.
13134 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13135 (__FSWORD_T_TYPE): Likewise.
13136 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13137 __SWORD_TYPE with __fsword_t.
13138 (statfs64): Likewise.
13140 2012-05-17 David S. Miller <davem@davemloft.net>
13142 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13144 2012-05-17 Andreas Jaeger <aj@suse.de>
13146 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13149 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13151 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13153 2012-05-17 Andreas Jaeger <aj@suse.de>
13155 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13158 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13160 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13162 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13164 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13165 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13167 2012-05-17 Andreas Jaeger <aj@suse.de>
13168 Carlos O'Donell <carlos_odonell@mentor.com>
13171 * sysdeps/x86_64/multiarch/init-arch.h
13172 (bit_YMM_Usable): Rename to...
13173 (bit_AVX_Usable): ... this.
13174 (bit_FMA4_Usable): New macro.
13175 (bit_XMM_state): New macro.
13176 (bit_YMM_state): New macro.
13177 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13178 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13179 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13180 (CPUID_OSXSAVE): New macro.
13181 (CPUID_AVX): New macro.
13182 (CPUID_FMA4): New macro.
13183 (index_YMM_Usable): Rename to...
13184 (index_AVX_Usable): ... this.
13185 (HAS_AVX): Use HAS_ARCH_FEATURE.
13186 (HAS_FMA4): Likewise.
13187 (HAS_YMM_USABLE): Remove.
13188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13189 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13191 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13192 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13193 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13194 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13195 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13197 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13199 * math/libm-test.c: Support platforms without multiple rounding modes.
13200 * math/bug-nextafter.c: Support platforms without FP exceptions.
13201 * math/bug-nexttoward.c: Likewise.
13202 * math/test-fenv.c: Likewise.
13203 * math/test-misc.c: Likewise.
13204 * stdlib/bug-getcontext.c: Likewise.
13206 2012-05-17 Andreas Jaeger <aj@suse.de>
13208 * manual/examples/search.c (critter_cmp): Change signature to
13210 * manual/string.texi (Collation Functions): Likewise.
13212 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13214 * bits/types.h: Fold copyright years.
13215 * bits/typesizes.h: Likewise.
13216 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13217 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13218 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13219 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13220 * time/time.h: Likewise.
13222 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13225 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13226 in instead of returning them. Return void.
13227 (__libc_mallinfo): Accumulate over all arenas.
13228 (__malloc_stats): Adjust for change in int_mallinfo interface.
13230 2012-05-16 Roland McGrath <roland@hack.frob.com>
13233 * configure.in (NM): Add AC_CHECK_TOOL for it.
13234 (libc_extra_cflags): New substituted variable.
13235 Check for -fstack-protector being used implicitly.
13236 * configure: Regenerated.
13237 * config.make.in (config-extra-cflags): New variable,
13238 gets @libc_extra_cflags@.
13239 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13242 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13243 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13244 * configure: Regenerated.
13245 * config.make.in (CPPUNDEFS): New substituted variable.
13246 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13247 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13248 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13250 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13252 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13253 (mq_attr): Use __syscall_slong_t.
13255 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13257 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13258 Check __x86_64__ instead of __WORDSIZE.
13259 (_STAT_VER_LINUX): Likewise.
13260 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13261 __syscall_ulong_t and __syscall_slong_t.
13262 (stat64): Likewise.
13264 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13266 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13268 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13270 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13272 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13274 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13277 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13278 include <bits/wordsize.h>. Check __x86_64__ instead of
13280 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13282 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13284 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13285 include <bits/wordsize.h>. Check __x86_64__ instead of
13287 (user_regs_struct): Use "__extension__ unsigned long long"
13288 instead of "unsigned long" if __x86_64__ is defined.
13289 (user): Likewise. Pad after pointer field if __ILP32__ is
13292 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13294 * configure.in (makeinfo): Require version 4.5 or later. Allow
13296 * configure: Regenerated.
13297 * manual/install.texi (texinfo): Increase version requirement to
13299 * INSTALL: Regenerated.
13301 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13303 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13305 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13307 * sysdeps/x86_64/x32/ffs.c: New file.
13309 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13311 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13312 defined. Use __syscall_ulong_t.
13313 (shminfo): Use __syscall_ulong_t.
13314 (shm_info): Likewise.
13316 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13319 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13321 (msgqnum_t): Use __syscall_ulong_t.
13322 (msglen_t): Likewise.
13323 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13326 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13327 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13329 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13331 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13332 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13334 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13337 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13338 include <bits/wordsize.h>. Check __x86_64__ instead of
13341 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13342 "unsigned long long int" if __x86_64__ is defined.
13343 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13345 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13346 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13347 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13349 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13351 (GET_PC): Cast to uintptr_t first.
13352 (GET_FRAME): Likewise.
13353 (GET_STACK): Likewise.
13355 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13356 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13357 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13358 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13359 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13360 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13361 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13362 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13363 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13364 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13365 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13366 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13367 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13368 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13369 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13370 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13371 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13372 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13373 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13374 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13375 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13376 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13377 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13378 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13379 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13380 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13381 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13382 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13383 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13385 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13387 * Makerules (+depfiles): Also collect depfiles from .oS in
13389 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13390 .oS, $(libnldbl-routines)).
13392 * Makerules (native-compile-mkdep-flags): Define.
13393 * sunrpc/Makefile (extra-objs): Add $(addprefix
13394 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13395 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13396 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13397 calling $(make-target-directory).
13399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13401 * bits/types.h (__snseconds_t): Removed.
13402 * time/time.h (struct timespec): Replace __snseconds_t with
13404 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13405 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13407 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13408 (__SNSECONDS_T_TYPE): Likewise.
13409 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13410 (__SNSECONDS_T_TYPE): Likewise.
13411 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13412 (__SNSECONDS_T_TYPE): Likewise.
13414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13416 * sysdeps/mach/hurd/bits/typesizes.h
13417 (__SYSCALL_SLONG_TYPE): New macro.
13418 (__SYSCALL_ULONG_TYPE): Likewise.
13420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13422 * bits/types.h (__syscall_slong_t): New type.
13423 (__syscall_ulong_t): Likewise.
13425 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13426 (__SYSCALL_ULONG_TYPE): Likewise.
13427 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13428 (__SYSCALL_SLONG_TYPE): Likewise.
13429 (__SYSCALL_ULONG_TYPE): Likewise.
13430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13431 (__SYSCALL_SLONG_TYPE): Likewise.
13432 (__SYSCALL_ULONG_TYPE): Likewise.
13433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13434 (__SYSCALL_SLONG_TYPE): Likewise.
13435 (__SYSCALL_ULONG_TYPE): Likewise.
13437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13439 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13440 Add sigaltstack-offsets.sym.
13441 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13442 <sigaltstack-offsets.h>.
13443 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13444 longjmp_msg pointer.
13445 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13446 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13448 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13450 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13452 * elf/stackguard-macros.h: Remove file.
13453 * sysdeps/generic/stackguard-macros.h: New file.
13454 * sysdeps/i386/stackguard-macros.h: Likewise.
13455 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13456 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13457 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13458 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13459 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13460 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13461 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13462 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13463 <elf/stackguard-macros.h>.
13466 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13467 __aligned__ in attribute.
13468 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13469 (gregset_t): Likewise.
13471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13473 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13474 * sysdeps/x86_64/64/Implies-after: Here. New file.
13475 * sysdeps/x86_64/x32/Implies-after: New file.
13477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13479 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13480 and access return value for _dl_profile_fixup. Use R10_LP to
13483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13485 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13489 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13490 * sysdeps/x86_64/x32/sysdep.h: New file.
13492 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13494 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13495 * sysdeps/x86_64/setjmp.S: Likewise.
13497 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13499 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13500 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13501 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13502 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13503 remove unused global constant.
13505 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13507 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13508 include of <not-cancel.h>.
13510 2012-05-15 Roland McGrath <roland@hack.frob.com>
13512 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13514 2012-05-15 Jeff Law <law@redhat.com>
13515 Andreas Jaeger <aj@suse.de>
13518 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13520 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13521 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13522 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13523 code changing __hst_map_handle.map.
13525 2012-05-15 Roland McGrath <roland@hack.frob.com>
13527 * configure.in (sysnames): Look for Implies-before and Implies-after
13529 * configure: Regenerated.
13531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13533 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13534 8-byte data alignment with LP_SIZE alignment.
13536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13538 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13543 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13547 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13548 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13549 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13551 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13555 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13556 (stackinfo_sub_sp): Likewise.
13558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13560 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13565 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13568 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13570 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13573 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13575 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13579 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13580 into R11_LP and load __x86_64_shared_cache_size_half into
13583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13585 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13588 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13590 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13592 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13594 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13596 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13597 powerpc32/power7/fpu/s_logb.c via #include.
13598 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13599 powerpc32/power7/fpu/s_logbf.c via #include.
13600 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13601 powerpc32/power7/fpu/s_logbl.c via #include.
13603 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13605 * README.libm: Remove file.
13607 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13609 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13610 count for x32. Use R*_LP and omit operand-size suffix.
13612 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13614 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13615 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13616 * sysdeps/x86_64/x32/shlib-versions: New file.
13618 2012-05-14 Roland McGrath <roland@hack.frob.com>
13620 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13621 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13622 Use _dl_fatal_printf instead.
13624 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13626 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13627 set if not set by the user. Do not allow for being unset.
13628 * sysdeps/unix/sysv/linux/configure: Regenerated.
13630 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13632 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13633 the `q' suffix from lea and replace .quad with ASM_ADDR.
13635 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13638 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13640 (PTR_DEMANGLE): Likewise.
13642 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13644 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13646 (ASM_ADDR): Likewise.
13647 (RAX_LP): Likewise.
13648 (RBP_LP): Likewise.
13649 (RBX_LP): Likewise.
13650 (RCX_LP): Likewise.
13651 (RDI_LP): Likewise.
13652 (RSI_LP): Likewise.
13653 (RSP_LP): Likewise.
13656 (R10_LP): Likewise.
13657 (R10_LP): Likewise.
13658 (R11_LP): Likewise.
13659 (R12_LP): Likewise.
13660 (R13_LP): Likewise.
13661 (R14_LP): Likewise.
13662 (R15_LP): Likewise.
13664 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13666 * sysdeps/x86_64/x32/dl-machine.h: New file.
13668 2012-05-14 Andreas Jaeger <aj@suse.de>
13670 * manual/Makefile (subdir): Remove export of subdir.
13671 (all): Remove target.
13672 (.PHONY): Remove all from list.
13673 (mkinstalldirs): Remove.
13674 (.PHONY): Remove installdirs from list.
13675 ($(inst_infodir)/libc.info): Use make-target-directory.
13676 (installdirs): Remove.
13677 (subdir_%): Remove.
13678 (glibc-targets): Remove.
13681 ($(objpfx)stubs ../po/manual.pot): Remove.
13682 ($(objpfx)stamp%): Remove.
13683 (make-target-directory): Remove.
13684 (subdir_install): Remove.
13685 (routines): Remove.
13692 * manual/.gitignore: Remove, it's not needed anymore.
13693 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13695 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13697 (texis): Renamed to $(objpfx)texis.
13698 (texis-path): New, contains path to generated files.
13699 (chapters.%): Use texis-path for complete path, add extra argument
13701 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13702 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13703 (summary,texi, stamp-summary): Use complete path of
13704 files. Generate files in build dir.
13705 (dir-add.texi): Build in build dir.
13706 (libm-err.texi,stamp-libm-err): Likewise.
13707 (version.texi, stamp-version): Likewise.
13708 (.%c.texi): Likewise.
13709 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13710 (mostlyclean): Remove target.
13711 (realclean): Remove target.
13712 (generated): Add new variable with contents from mostlyclean and
13713 realclean, remove entries duplicated in common-mostlyclean, add
13714 stamp-libm-err and stamp-version.
13715 (generated-dirs): Add libc directory.
13716 ($(inst_infodir)/libc.info): Install files from build dir.
13718 * manual/install.texi (Configuring and compiling): Adjust since
13719 the info files are not part of the tar ball anymore.
13721 2012-05-14 Andreas Jaeger <aj@suse.de>
13723 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13726 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13729 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13730 to 2.2.0 where earlier.
13731 * sysdeps/unix/sysv/linux/configure: Regenerated.
13732 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13733 Remove conditional code.
13734 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13735 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13736 Remove conditional code.
13737 [!__NR_lchown]: Likewise.
13738 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13739 [__NR_lchown]: Likewise.
13740 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13741 comment referencing __ASSUME_LCHOWN_SYSCALL.
13742 * sysdeps/unix/sysv/linux/i386/sigaction.c
13743 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13744 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13745 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13746 Remove conditional code.
13747 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13748 (__protocol_available): Remove #if 0 code.
13749 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13751 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13752 * sysdeps/unix/sysv/linux/kernel-features.h
13753 (__ASSUME_GETCWD_SYSCALL): Don't define.
13754 (__ASSUME_REALTIME_SIGNALS): Likewise.
13755 (__ASSUME_PREAD_SYSCALL): Likewise.
13756 (__ASSUME_PWRITE_SYSCALL): Likewise.
13757 (__ASSUME_POLL_SYSCALL): Likewise.
13758 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13759 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13761 (__ASSUME_SIOCGIFNAME): Don't define.
13762 (__ASSUME_MSG_NOSIGNAL): Likewise.
13763 (__ASSUME_SENDFILE): Define unconditionally.
13764 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13765 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13767 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13768 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13769 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13770 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13771 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13772 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13773 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13775 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13776 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13778 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13779 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13781 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13782 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13784 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13785 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13787 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13788 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13790 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13791 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13793 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13794 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13796 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13797 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13798 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13799 Remove conditional code.
13800 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13801 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13802 Remove conditional code.
13803 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13804 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13805 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13806 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13807 Remove conditional code.
13808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13809 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13810 Remove conditional code.
13811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13812 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13813 Remove conditional code.
13814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13815 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13816 Remove conditional code.
13817 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13818 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13819 Remove conditional code.
13820 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13821 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13822 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13823 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13824 * sysdeps/unix/sysv/linux/sigaction.c
13825 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13826 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13827 * sysdeps/unix/sysv/linux/sigpending.c
13828 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13829 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13830 * sysdeps/unix/sysv/linux/sigprocmask.c
13831 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13832 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13833 * sysdeps/unix/sysv/linux/sigsuspend.c
13834 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13835 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13836 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13837 (__libc_missing_rt_sigs): Remove.
13838 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13839 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13840 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13841 Remove conditional code.
13842 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13843 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13845 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13846 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13847 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13848 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13850 2012-05-14 Andreas Jaeger <aj@suse.de>
13852 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13853 it's not used in glibc.
13854 (__coshm1): Likewise.
13855 (__acosh1p): Likewise.
13858 * manual/string.texi (Copying and Concatenation): Add missing
13859 variable in concat example.
13860 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13865 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13866 __builtin_clzl with __builtin_clzll.
13868 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13871 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13874 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13876 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13877 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13878 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13879 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13881 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13883 * NEWS: Update ia64 info.
13885 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13887 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13890 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13892 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13893 * sysdeps/unix/syscalls.list (dup3): Likewise.
13894 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13895 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13897 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13899 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13900 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13902 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13904 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13906 (TLS_IE): Use mov/add instead of movq/addq to load thread
13908 (TLS_GD_PREFIX): New.
13911 2012-05-11 David S. Miller <davem@davemloft.net>
13913 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13914 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13915 (_FPU_SETCW): Likewise.
13917 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13919 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13920 is 32-byte aligned.
13922 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13925 * iconvdata/gb18030.c: Update tables.
13926 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13927 characters specially.
13928 (BODY for TO_LOOP): Add encoding of missing ranges.
13930 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13933 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13934 * sysdeps/mach/hurd/dup3.c: Likewise.
13935 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13936 * sysdeps/powerpc/memmove.c:: Likewise.
13938 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13940 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13941 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13943 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13945 * elf/elf.h (R_X86_64_RELATIVE64): New.
13946 (R_X86_64_NUM): Updated.
13947 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13948 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13949 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13950 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13951 tst-quad1pie tst-quad2pie
13952 (modules-names): Add tst-quadmod1 tst-quadmod2.
13953 ($(objpfx)tst-quad1): New dependency.
13954 ($(objpfx)tst-quad2): Likewise.
13955 ($(objpfx)tst-quad1pie): Likewise.
13956 ($(objpfx)tst-quad2pie): Likewise.
13957 * sysdeps/x86_64/tst-quad1.c: New file.
13958 * sysdeps/x86_64/tst-quad1pie.c: New file.
13959 * sysdeps/x86_64/tst-quad2.c: Likewise.
13960 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13961 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13962 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13963 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13964 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13966 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13968 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13969 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13970 * streams/stropts.h (t_scalar_t): Define type.
13972 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13973 (_PATH_PRESERVE): Set to "/var/lib".
13974 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13976 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13979 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13980 if __dir_mkfile succeeded.
13982 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13983 checking for _hurd_dtablesize. Unlock it right after having
13984 finished _hurd_dtable allocation.
13986 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13988 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13989 * sysdeps/mach/hurd/configure: Regenerated.
13990 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13991 special-casing to...
13992 * sysdeps/gnu/configure.in: ... this new file.
13993 * sysdeps/unix/sysv/linux/configure: Regenerated.
13994 * sysdeps/gnu/configure: New generated file.
13996 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13997 for Linux: use nsec instead of usec, as well as:
13998 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13999 members of type struct timespec.
14000 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14002 (struct stat64): Likewise.
14003 (_STATBUF_ST_NSEC): New macro.
14004 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14006 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14007 __strtoul_internal rather than strtoul.
14009 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14011 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14014 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14016 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14017 which preserves existing values.
14018 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14020 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14022 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14023 TIMEOUT values. Return EINVAL for NFDS values either negative or
14024 greater than FD_SETSIZE.
14026 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14028 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14029 allocated, call __vm_protect to finish enabling the existing space, and
14030 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14031 allocate the remainder.
14033 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14035 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14036 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14038 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14040 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14041 sysdeps/mach/hurd/readlink.c.
14043 * posix/tst-sysconf.c (posix_options): Only use
14044 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14045 _POSIX_SYNCHRONIZED_IO when they are defined
14046 * sysdeps/mach/hurd/bits/posix_opt.h:
14047 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14048 (_XOPEN_REALTIME): Undefine macro.
14049 (_XOPEN_REALTIME_THREADS): Undefine macro.
14050 (_XOPEN_SHM): Undefine macro.
14051 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14053 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14055 (_POSIX_ASYNC_IO): Undefine macro.
14056 (_POSIX_PRIORITIZED_IO): Undefine macro.
14057 (_POSIX_SPIN_LOCKS): Define macro to -1.
14059 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14060 SA_NODEFER, SA_RESETHAND.
14061 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14062 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14065 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14067 * elf/Makefile (pldd-modules): Define unconditionally.
14069 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14071 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14073 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14075 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14076 Return ENOENT when name is empty.
14077 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14079 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14081 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14083 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14085 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14087 Fix mlock in all cases except non-readable pages.
14088 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14089 instead of VM_PROT_ALL as parameter to __vm_wire function.
14091 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14092 (__mkdir): When path is `/', just fail with EEXIST.
14093 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14095 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14097 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14098 <sys/uio.h> (for writev).
14099 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14100 and <sys/param.h> (for MIN).
14102 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14104 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14105 REQUESTED_TIME. Properly set the remaining time and return EINTR
14108 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14110 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14111 Depend on against $(link-rpcuserlibs).
14113 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14115 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14116 (__libc_stack_end): Do not use attribute_relro.
14117 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14118 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14119 to libthread-provided value.
14120 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14123 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14126 * bits/libc-lock.h (__libc_once_get): New macro.
14127 * sysdeps/mach/bits/libc-lock.h: Likewise.
14128 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14129 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14130 instead of using implementation details.
14132 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14133 * libio/freopen.c: Likewise.
14134 * libio/freopen64.c: Likewise.
14135 * misc/syslog.c: Likewise.
14136 * nscd/connections.c: Likewise.
14137 * nscd/netgroupcache.c: Likewise.
14138 * sysdeps/posix/getcwd.c: Likewise.
14140 2012-05-10 Roland McGrath <roland@hack.frob.com>
14142 * math/w_ilogbf.c: Add #include <limits.h>.
14144 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14146 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14147 path instead of returning without unlocking.
14149 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14150 immediate-write ioctls.
14151 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14153 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14155 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14156 __builtin_frame_address instead of making assumptions about the
14157 location of the return address relative to DATA. Force early load of
14158 the return address.
14159 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14160 __builtin_frame_address.
14163 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14164 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14165 implement dup3 and do some further code clean-ups.
14166 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14167 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14169 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14171 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14173 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14174 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14175 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14176 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14177 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14180 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14181 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14182 when handler == SIG_ERR, not when handler != SIG_ERR.
14184 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14186 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14187 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14190 accept4 for GNU Hurd.
14191 * include/sys/socket.h (__libc_accept4): New prototype.
14192 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14193 to implement __libc_accept4.
14194 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14196 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14198 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14199 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14200 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14201 signal-defines.sym.
14203 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14205 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14207 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14209 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14210 assertion on O_CLOEXEC flag.
14211 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14212 * hurd/intern-fd.c: Likewise.
14213 * hurd/port2fd.c: Likewise.
14215 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14218 * bits/in.h (IPV6_PKTINFO): Define new macro.
14219 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14221 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14226 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14227 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14228 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14229 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14230 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14231 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14232 * math/libm-test.inc (logb_test) : Additional logb tests.
14234 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14235 Andreas Jaeger <aj@suse.de>
14237 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14238 * configure: Regenerated.
14239 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14240 * config.make.in (link-obsolete-rpc): New substituted variable.
14241 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14242 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14243 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14244 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14245 so that libc.a contains the symbols.
14246 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14247 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14248 * sunrpc/auth_none.c: Likewise.
14249 * sunrpc/auth_unix.c: Likewise.
14250 * sunrpc/authdes_prot.c: Likewise.
14251 * sunrpc/authuxprot.c: Likewise.
14252 * sunrpc/clnt_gen.c: Likewise.
14253 * sunrpc/clnt_perr.c: Likewise.
14254 * sunrpc/clnt_raw.c: Likewise.
14255 * sunrpc/clnt_simp.c: Likewise.
14256 * sunrpc/clnt_tcp.c: Likewise.
14257 * sunrpc/clnt_udp.c: Likewise.
14258 * sunrpc/clnt_unix.c: Likewise.
14259 * sunrpc/des_crypt.c: Likewise.
14260 * sunrpc/des_soft.c: Likewise.
14261 * sunrpc/get_myaddr.c: Likewise.
14262 * sunrpc/key_call.c: Likewise.
14263 * sunrpc/key_prot.c: Likewise.
14264 * sunrpc/netname.c: Likewise.
14265 * sunrpc/pm_getmaps.c: Likewise.
14266 * sunrpc/pm_getport.c: Likewise.
14267 * sunrpc/pmap_clnt.c: Likewise.
14268 * sunrpc/pmap_prot.c: Likewise.
14269 * sunrpc/pmap_prot2.c: Likewise.
14270 * sunrpc/pmap_rmt.c: Likewise.
14271 * sunrpc/publickey.c: Likewise.
14272 * sunrpc/rpc_cmsg.c: Likewise.
14273 * sunrpc/rpc_common.c: Likewise.
14274 * sunrpc/rpc_dtable.c: Likewise.
14275 * sunrpc/rpc_prot.c: Likewise.
14276 * sunrpc/rpc_thread.c: Likewise.
14277 * sunrpc/rtime.c: Likewise.
14278 * sunrpc/svc.c: Likewise.
14279 * sunrpc/svc_auth.c: Likewise.
14280 * sunrpc/svc_raw.c: Likewise.
14281 * sunrpc/svc_run.c: Likewise.
14282 * sunrpc/svc_tcp.c: Likewise.
14283 * sunrpc/svc_udp.c: Likewise.
14284 * sunrpc/svc_unix.c: Likewise.
14285 * sunrpc/svcauth_des.c: Likewise.
14286 * sunrpc/xcrypt.c: Likewise.
14287 * sunrpc/xdr.c: Likewise.
14288 * sunrpc/xdr_array.c: Likewise.
14289 * sunrpc/xdr_float.c: Likewise.
14290 * sunrpc/xdr_intXX_t.c: Likewise.
14291 * sunrpc/xdr_mem.c: Likewise.
14292 * sunrpc/xdr_rec.c: Likewise.
14293 * sunrpc/xdr_ref.c: Likewise.
14294 * sunrpc/xdr_sizeof.c: Likewise.
14295 * sunrpc/xdr_stdio.c: Likewise.
14297 2012-05-10 Roland McGrath <roland@hack.frob.com>
14299 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14300 change. Update copyright years.
14302 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14304 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14306 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14307 Joseph Myers <joseph@codesourcery.com>
14308 Paul Pluzhnikov <ppluzhnikov@google.com>
14311 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14313 [cross-compiling] (extra-libs): Likewise.
14314 [cross-compiling] (extra-libs-others): Likewise.
14315 [cross-compiling] (librpcsvc-routines): Likewise.
14316 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14317 [cross-compiling] (omit-deps): Likewise.
14318 (sunrpc-CPPFLAGS): New variable.
14319 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14320 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14321 (cross-rpcgen-objs): New variable.
14322 (extra-objs): Append $(cross-rpcgen-objs).
14323 ($(cross-rpcgen-objs)): New rule.
14324 ($(objpfx)cross-rpcgen): Likewise.
14325 (rpcgen-cmd): Define to use $(built-program-file). Expand
14327 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14328 ($(objpfx)x%.stmp): Likewise.
14329 * sunrpc/proto.h [IS_IN_build] (_): Define.
14330 [IS_IN_build] (_libc_intl_domainname): Likewise.
14332 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14334 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14335 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14336 and R_X86_64_TPOFF64.
14338 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14340 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14341 sysdeps/unix/sysv/syscalls.list.
14344 * sysdeps/unix/sysv/syscalls.list: Remove file.
14346 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14349 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14350 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14351 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14352 (__LC_IDENTIFICATION): Make these macros useful in #if
14353 expressions, as required by C99.
14355 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14357 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14358 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14361 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14363 * stdlib/longlong.h: Updated from GCC.
14365 2012-05-09 Andreas Jaeger <aj@suse.de>
14367 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14368 default is first entry.
14369 (run_mode): Set type.
14370 (main): Remove informal message about syslog.
14371 (options): Fix typo.
14374 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14377 (llrintf): Likewise.
14378 (llrint): Likewise.
14381 (nearbyint): Likewise.
14382 (nearbyintf): Likewise.
14384 2012-05-09 Andreas Jaeger <aj@suse.de>
14385 Pedro Alves <palves@redhat.com>
14387 * nscd/nscd.c (run_mode): Use enum.
14388 (main): Cleanup coding style issue.
14390 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14391 Andreas Jaeger <aj@suse.de>
14393 * nscd/nscd.c (go_background): Replaced with...
14394 (run_mode): ... this.
14395 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14396 (options): Add -F --foreground.
14397 (main): Implement it.
14398 (parse_opt): Parse it.
14400 2012-05-09 Andreas Jaeger <aj@suse.de>
14403 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14404 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14405 -Wconversion warning.
14406 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14409 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14411 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14413 (LC_ALL): Use macro-int-constant.
14414 (LC_COLLATE): Likewise.
14415 (LC_CTYPE): Likewise.
14416 (LC_MESSAGES): Likewise.
14417 (LC_MONETARY): Likewise.
14418 (LC_NUMERIC): Likewise.
14419 (LC_TIME): Likewise.
14420 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14421 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14422 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14423 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14425 [C99-based standards] (float_t): Expect type.
14426 [C99-based standards] (double_t): Expect type.
14427 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14429 [C99-based standards] (HUGE_VALL): Likewise.
14430 [C99-based standards] (INFINITY): Likewise.
14431 [C99-based standards] (NAN): Likewise.
14432 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14433 [C99-based standards] (FP_NAN): Likewise.
14434 [C99-based standards] (FP_NORMAL): Likewise.
14435 [C99-based standards] (FP_SUBNORMAL): Likewise.
14436 [C99-based standards] (FP_ZERO): Likewise.
14437 [C99-based standards] (FP_FAST_FMA): Use
14438 optional-macro-int-constant. Specify type. Require == 1.
14439 [C99-based standards] (FP_FAST_FMAF): Likewise.
14440 [C99-based standards] (FP_FAST_FMAL): Likewise.
14441 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14442 [C99-based standards] (FP_ILOGBNAN): Likewise.
14443 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14445 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14446 [C99-based standards] (math_errhandling): Specify type.
14447 [ISO99 || ISO11] (signgam): Do not allow.
14448 [non-C99-based standards] (copysignf): Do not allow.
14449 [non-C99-based standards] (exp2f): Likewise.
14450 [non-C99-based standards] (log2f): Likewise.
14451 [non-C99-based standards] (modff): Allow.
14452 [non-C99-based standards] (erff): Do not allow.
14453 [non-C99-based standards] (erfcf): Likewise.
14454 [non-C99-based standards] (gammaf): Likewise.
14455 [non-C99-based standards] (hypotf): Likewise.
14456 [non-C99-based standards] (j0f): Likewise.
14457 [non-C99-based standards] (j1f): Likewise.
14458 [non-C99-based standards] (jnf): Likewise.
14459 [non-C99-based standards] (lgammaf): Likewise.
14460 [non-C99-based standards] (tgammaf): Likewise.
14461 [non-C99-based standards] (y0f): Likewise.
14462 [non-C99-based standards] (y1f): Likewise.
14463 [non-C99-based standards] (ynf): Likewise.
14464 [non-C99-based standards] (isnanf): Likewise.
14465 [non-C99-based standards] (acoshf): Likewise.
14466 [non-C99-based standards] (asinhf): Likewise.
14467 [non-C99-based standards] (atanhf): Likewise.
14468 [non-C99-based standards] (cbrtf): Likewise.
14469 [non-C99-based standards] (expm1f): Likewise.
14470 [non-C99-based standards] (ilogbf): Likewise.
14471 [non-C99-based standards] (log1pf): Likewise.
14472 [non-C99-based standards] (logbf): Likewise.
14473 [non-C99-based standards] (nextafterf): Likewise.
14474 [non-C99-based standards] (remainderf): Likewise.
14475 [non-C99-based standards] (rintf): Likewise.
14476 [non-C99-based standards] (scalbf): Likewise.
14477 [non-C99-based standards] (copysignl): Likewise.
14478 [non-C99-based standards] (exp2l): Likewise.
14479 [non-C99-based standards] (log2l): Likewise.
14480 [non-C99-based standards] (modfl): Allow.
14481 [non-C99-based standards] (erfl): Do not allow.
14482 [non-C99-based standards] (erfcl): Likewise.
14483 [non-C99-based standards] (gammal): Likewise.
14484 [non-C99-based standards] (hypotl): Likewise.
14485 [non-C99-based standards] (j0l): Likewise.
14486 [non-C99-based standards] (j1l): Likewise.
14487 [non-C99-based standards] (jnl): Likewise.
14488 [non-C99-based standards] (lgammal): Likewise.
14489 [non-C99-based standards] (tgammal): Likewise.
14490 [non-C99-based standards] (y0l): Likewise.
14491 [non-C99-based standards] (y1l): Likewise.
14492 [non-C99-based standards] (ynl): Likewise.
14493 [non-C99-based standards] (isnanl): Likewise.
14494 [non-C99-based standards] (acoshl): Likewise.
14495 [non-C99-based standards] (asinhl): Likewise.
14496 [non-C99-based standards] (atanhl): Likewise.
14497 [non-C99-based standards] (cbrtl): Likewise.
14498 [non-C99-based standards] (expm1l): Likewise.
14499 [non-C99-based standards] (ilogbl): Likewise.
14500 [non-C99-based standards] (log1pl): Likewise.
14501 [non-C99-based standards] (logbl): Likewise.
14502 [non-C99-based standards] (nextafterl): Likewise.
14503 [non-C99-based standards] (remainderl): Likewise.
14504 [non-C99-based standards] (rintl): Likewise.
14505 [non-C99-based standards] (scalbl): Likewise.
14506 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14507 [non-C99-based standards] (FP_*): Do not allow.
14508 [C99-based standards] (FP_*): Change to
14509 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14510 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14512 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14513 (SIG_ERR): Likewise.
14514 [X/Open-based standards] (SIG_HOLD): Likewise.
14515 (SIG_IGN): Likewise.
14516 (SIGABRT): Use macro-int-constant. Specify type. Require
14518 (SIGFPE): Likewise.
14519 (SIGILL): Likewise.
14520 (SIGINT): Likewise.
14521 (SIGSEGV): Likewise.
14522 (SIGTER): Likewise.
14523 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14524 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14525 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14526 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14527 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14528 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14529 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14530 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14531 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14532 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14533 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14534 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14535 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14536 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14537 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14538 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14539 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14540 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14541 [X/Open-based standards] (SIGTRAP): Likewise.
14542 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14543 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14544 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14545 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14546 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14549 2012-05-08 Ian Wienand <ianw@vmware.com>
14552 * time/tzset.c (__tzset_parse_tz): Update default rules for
14553 daylight time changes in the Energy Policy Act of 2005.
14555 2012-05-09 Andreas Jaeger <aj@suse.de>
14558 * elf/ldconfig.c (parse_conf): Change string to make clear that
14559 ldconfig only issued a warning if ld.so.conf does not exist.
14561 2012-05-08 David S. Miller <davem@davemloft.net>
14563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14564 movxtod instead of popping the value on the stack.
14566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14568 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14570 * config.h.in: Add HAVE_ARM_PCS_VFP.
14572 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
14575 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14576 checking but the checks are disabled for any reason.
14578 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14580 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14581 and ELF64_R_TYPE with ELFW(R_TYPE).
14583 2012-05-08 Joseph Myers <joseph@codesourcery.com>
14585 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14586 (ulimit): Likewise.
14588 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14589 (settimeofday): Likewise.
14591 2012-05-08 Mike Frysinger <vapier@gentoo.org>
14593 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14594 a struct th_u2 inside the union, and move tu_block/tu_code into
14595 a new th_u3 union of tu_block/tu_code inside of that. Move
14596 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14597 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14598 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14599 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14600 (th_stuff): Change to th_u1.tu_stuff.
14602 (th_msg): Change to th_u1.th_u2.tu_data.
14604 2012-05-07 David S. Miller <davem@davemloft.net>
14606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14609 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14610 (SETUP_PIC_REG): Use it.
14611 (SETUP_PIC_REG_LEAF): Use it.
14613 2012-05-07 Joseph Myers <joseph@codesourcery.com>
14617 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14619 (EXPL_FINITE): Likewise.
14620 (FLDLOG): Likewise.
14621 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14622 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14624 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14626 (EXPL_FINITE): Likewise.
14627 (FLDLOG): Likewise.
14628 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14629 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14631 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14632 test of -max_value argument for long double.
14633 * sysdeps/i386/fpu/libm-test-ulps: Update.
14634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14636 2012-05-06 David S. Miller <davem@davemloft.net>
14638 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14639 quad soft-float symbols whose references which are compiler
14641 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14643 2012-05-06 Joseph Myers <joseph@codesourcery.com>
14647 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14649 (EXPL_FINITE): Likewise.
14650 (FLDLOG): Likewise.
14653 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14654 Adjust comments for base varying.
14655 (__expl_finite): Change alias to EXPL_FINITE.
14656 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14658 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14659 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14660 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14661 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14662 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14664 (EXPL_FINITE): Likewise.
14665 (FLDLOG): Likewise.
14668 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14669 Adjust comments for base varying.
14670 (__expl_finite): Change alias to EXPL_FINITE.
14671 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14676 * math/libm-test.inc (check_float_internal): Correct ulp
14677 calculation for subnormal expected results.
14679 2012-05-06 Andreas Jaeger <aj@suse.de>
14681 * Makeconfig (+math-flags): New, set to -frounding-math.
14682 (+cflags): Add +math-flags so that all of glibc gets compiled with
14685 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14687 2012-05-05 Joseph Myers <joseph@codesourcery.com>
14689 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14695 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14696 (__ieee754_expl): Allow for and saturate large arguments.
14697 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14698 (u_threshold): Likewise.
14699 (__exp): Call __ieee754_exp before checking for overflow and
14701 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14702 (u_threshold): Likewise.
14703 (__expf): Call __ieee754_expf before checking for overflow and
14705 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14706 (u_threshold): Likewise.
14707 (__expl): Call __ieee754_expl before checking for overflow and
14709 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14710 (__ieee754_expl): Allow for and saturate large arguments.
14711 * math/libm-test.inc (exp_test): Add another test. Do not allow
14712 missing overflow exception on overflow.
14713 (expm1_test): Do not allow missing overflow exception on overflow.
14715 * sysdeps/i386/fpu/e_expl.c: Move to ...
14716 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14717 rather than using inline asm.
14718 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14719 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14720 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14722 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14725 (signal): Likewise.
14729 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14731 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14732 sysdeps/unix/common/syscalls.list.
14733 (fchmod): Likewise.
14734 (fchown): Likewise.
14735 (ftruncate): Likewise.
14736 (getrusage): Likewise.
14737 (gettimeofday): Likewise.
14738 (setpgid): Likewise.
14739 (setregid): Likewise.
14740 (setreuid): Likewise.
14741 (sigaction): Likewise.
14742 (truncate): Likewise.
14743 (vhangup): Likewise.
14744 * sysdeps/unix/common/syscalls.list: Remove file.
14745 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14746 * sysdeps/unix/sysv/linux/Implies: Likewise.
14748 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14750 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14752 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14756 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14759 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14762 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14765 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14768 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14771 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14774 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14778 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14782 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14785 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14789 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14793 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14795 * sysdeps/unix/common/bits/dirent.h: Remove file.
14796 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14798 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14799 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14800 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14801 * sysdeps/unix/bsd/isatty.c: Likewise.
14802 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14803 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14804 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14806 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14809 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14810 long double comparison inaccuracies.
14811 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14814 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14816 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14817 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14819 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14822 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14823 nonzero digits before rounding a hex value.
14824 * stdlib/tst-strtod.c (tests): Add another test.
14826 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14828 * sysdeps/s390/fpu/libm-test-ulps: Update.
14830 2012-05-03 Andreas Jaeger <aj@suse.de>
14832 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14833 does not get optimized out.
14834 (malloc_opt_barrier): New.
14836 2012-05-03 Andreas Jaeger <aj@suse.de>
14837 Roland McGrath <roland@hack.frob.com>
14839 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14840 intermediate file deletion.
14841 (generated): Add .symlist files.
14843 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14846 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14847 Redirect under this condition.
14848 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14849 [__USE_GNU] (__dprintf_chk): Not under this condition.
14850 [__USE_GNU] (__vdprintf_chk): Likewise.
14851 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14852 under this condition.
14853 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14854 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14855 [__USE_XOPEN2K8] (vdprintf): Likewise.
14856 [__USE_GNU] (__dprintf_chk): Not under this condition.
14857 [__USE_GNU] (__vdprintf_chk): Likewise.
14858 [__USE_GNU] (dprintf): Likewise.
14859 [__USE_GNU] (vdprintf): Likewise.
14861 2012-05-03 Roland McGrath <roland@hack.frob.com>
14863 * elf/Makefile (common-generated): Set this instead of generated for
14864 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14865 $(all-built-dso)-derived lists.
14867 2012-05-03 Andreas Jaeger <aj@suse.de>
14869 * sysdeps/i386/fpu/libm-test-ulps: Update.
14872 * FAQ.in: Likewise.
14873 * scripts/gen-FAQ.pl: Likewise.
14874 * manual/install.texi (Installation): Point to online location of
14876 * Makefile (files-for-dist): Remove FAQ.
14879 2012-05-02 Allan McRae <allan@archlinux.org>
14881 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14882 (LDFLAGS-reldepmod5.so): Likewise.
14883 (LDFLAGS-reldep6mod1.so): Likewise.
14884 (LDFLAGS-reldep6mod4.so): Likewise.
14885 (LDFLAGS-reldep8mod3.so): Likewise.
14886 (LDFLAGS-unload4mod1.so): Likewise.
14887 (LDFLAGS-unload4mod2.so): Likewise.
14888 (LDFLAGS-tst-initorder): Likewise.
14889 (LDFLAGS-tst-initordera2.so): Likewise.
14890 (LDFLAGS-tst-initordera3.so): Likewise.
14891 (LDFLAGS-tst-initordera4.so): Likewise.
14892 (LDFLAGS-tst-initorderb2.so): Likewise.
14893 (LDFLAGS-noload): Likewise.
14894 (LDFLAGS-next): Likewise.
14895 (LDFLAGS-order2mod1.so): Likewise.
14896 (LDFLAGS-order2mod2.so): Likewise.
14897 (LDFLAGS-tst-initorder2): Likewise.
14898 (LDFLAGS-tst-initorder2a.so): Likewise.
14899 (LDFLAGS-tst-initorder2b.so): Likewise.
14900 (LDFLAGS-tst-initorder2c.so): Likewise.
14901 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14903 2012-05-02 David S. Miller <davem@davemloft.net>
14905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14907 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14910 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14912 2012-05-02 Andreas Jaeger <aj@suse.de>
14914 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14915 since we manipulate rounding mode.
14916 (CPPFLAGS-test-idouble.c): Likewise.
14917 (CPPFLAGS-test-ifloat.c): Likewise.
14918 (CFLAGS-test-ldouble.c): Likewise.
14919 (CFLAGS-test-double.c): Likewise.
14920 (CFLAGS-test-float.c): Likewise.
14921 (CFLAGS-test-misc.c): Likewise.
14922 (CFLAGS-test-test-fenv.c): Likewise.
14924 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14928 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14929 comparisons to determine direction to adjust input.
14931 2012-05-01 Roland McGrath <roland@hack.frob.com>
14933 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14934 output to the target.
14936 * scripts/localplt.awk: New file.
14937 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14938 (check-localplt-CFLAGS): Variable removed.
14939 ($(all-built-dso:=.jmprel)): New static pattern rule.
14940 (generated): Add those targets.
14941 (localplt-built-dso): New variable.
14942 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14944 * elf/check-localplt.c: File removed.
14946 * scripts/check-execstack.awk: New file.
14947 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14948 (check-execstack-CFLAGS): Variable removed.
14949 ($(objpfx)check-execstack.h): Target removed.
14950 ($(objpfx)execstack-default): New target.
14951 (generated): Add that instead of check-execstack.h.
14952 ($(all-built-dso:=.phdr)): New static pattern rule.
14953 (generated): Add those targets.
14954 * elf/check-execstack.c: File removed.
14956 * scripts/check-textrel.awk: New file.
14957 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14958 (check-textrel-CFLAGS): Variable removed.
14959 (all-built-dso): Use := to define.o
14960 ($(all-built-dso:=.dyn)): New static pattern rule.
14961 (generated): Add those targets.
14962 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14963 * config.make.in (READELF): New substituted variable.
14964 * elf/check-textrel.c: File removed.
14966 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14968 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14970 * conform/data/ctype.h-data [C99-based standards] (isblank):
14972 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14973 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14974 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14975 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14976 Specify type. Require positive value.
14977 (EILSEQ): Likewise.
14978 (ERANGE): Likewise.
14979 [ISO || POSIX] (EILSEQ): Do not expect.
14980 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14981 Specify type. Require positive value.
14982 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14983 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14984 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14985 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14986 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14987 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14988 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14989 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14990 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14991 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14992 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14993 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14994 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14995 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14996 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14997 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14998 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14999 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15000 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15001 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15002 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15003 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15004 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15005 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15006 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15007 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15008 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15009 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15010 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15011 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15012 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15013 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15014 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15015 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15016 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15017 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15018 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15019 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15020 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15021 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15022 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15023 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15024 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15025 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15026 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15027 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15028 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15029 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15030 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15031 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15032 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15033 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15034 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15035 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15036 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15037 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15038 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15039 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15040 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15041 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15042 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15043 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15044 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15045 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15046 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15047 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15048 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15049 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15050 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15051 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15052 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15053 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15054 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15055 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15056 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15057 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15058 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15060 (FLT_ROUNDS): Expect as macro, not constant.
15061 (FLT_MANT_DIG): Use macro-int-constant.
15062 (DBL_MANT_DIG): Likewise.
15063 (LDBL_MANT_DIG): Likewise.
15064 (FLT_DIG): Likewise.
15065 (DBL_DIG): Likewise.
15066 (LDBL_DIG): Likewise.
15067 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15068 (DBL_MIN_EXP): Likewise.
15069 (LDBL_MIN_EXP): Likewise.
15070 (FLT_MAX_EXP): Use macro-int-constant.
15071 (DBL_MAX_EXP): Likewise.
15072 (LDBL_MAX_EXP): Likewise.
15073 (FLT_MAX_10_EXP): Likewise.
15074 (DBL_MAX_10_EXP): Likewise.
15075 (LDBL_MAX_10_EXP): Likewise.
15076 (FLT_MAX): Use macro-constant.
15077 (DBL_MAX): Likewise.
15078 (LDBL_MAX): Likewise.
15079 (FLT_EPSILON): Use macro-constant. Give upper bound.
15080 (DBL_EPSILON): Likewise.
15081 (LDBL_EPSILON): Likewise.
15082 (FLT_MIN): Likewise.
15083 (DBL_MIN): Likewise.
15084 (LDBL_MIN): Likewise.
15085 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15086 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15087 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15088 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15089 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15090 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15091 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15092 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15093 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15094 [ISO11] (FLT_TRUE_MIN): Likewise.
15095 [ISO11] (LDBL_TRUE_MIN): Likewise.
15096 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15097 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15098 (SCHAR_MIN): Use macro-int-constant. Specify type.
15099 (SCHAR_MAX): Likewise.
15100 (UCHAR_MAX): Likewise.
15101 (CHAR_MIN): Likewise.
15102 (CHAR_MAX): Likewise.
15103 (MB_LEN_MAX): Use macro-int-constant.
15104 (SHRT_MIN): Use macro-int-constant. Specify type.
15105 (SHRT_MAX): Likewise.
15106 (USHRT_MAX): Likewise.
15107 (INT_MAX): Likewise.
15108 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15110 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15112 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15114 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15115 bound negative. Suffix upper bound with "L".
15116 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15118 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15120 [C99-based standards] (LLONG_MAX): Likewise.
15121 [C99-based standards] (ULLONG_MAX): Likewise.
15122 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15124 [ISO11] (max_align_t): Require type.
15125 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15127 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15128 from $CFLAGS, without defining away __attribute__ calls.
15129 (checknamespace): Use $CFLAGS_namespace.
15131 * conform/conformtest.pl (@keywords): Only include C99 keywords
15132 for standards based on C99 or C11.
15134 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15136 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15139 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15140 usability of symbols in #if.
15142 * conform/conformtest.pl: If macro or constant types start
15143 "promoted:", expect the symbol to be of the following type
15144 promoted by the integer promotions.
15146 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15147 in one place. Also handle "macro-constant".
15149 * conform/conformtest.pl: Only accept expected macro values with
15150 "==". Parse all "macro" lines in one place.
15151 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15153 * conform/conformtest.pl: Handle braced types on "constant" lines
15154 instead of handling "typed-constant".
15155 * conform/data/signal.h-data: Use "constant" instead of
15158 * conform/conformtest.pl: Handle "optional-" at start of lines in
15159 one place rather than duplicating several cases. Handle each
15160 format of "macro" line with initial "optional-".
15162 * conform/conformtest.pl: Only accept expected constant or
15163 optional-constant values with "==". Parse all "constant" lines in
15164 one place. Parse all "optional-constant" lines in one place.
15165 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15166 * conform/data/fmtmsg.h-data: Likewise.
15167 * conform/data/netinet/in.h-data: Likewise.
15168 * conform/data/tar.h-data: Likewise.
15169 * conform/data/limits.h-data: Use "==" form on "constant" and
15170 "optional-constant" lines.
15172 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15173 Use -std=c99 for XOPEN2K.
15174 (@knownproblems): Remove.
15175 (newtoken): Don't check %isknown.
15177 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15178 Do not expect macro.
15179 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15191 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15192 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15209 [XPG3] (acosh): Likewise.
15210 [XPG3] (asinh): Likewise.
15211 [XPG3] (atanh): Likewise.
15212 [XPG3] (cbrt): Likewise.
15213 [XPG3] (expm1): Likewise.
15214 [XPG3] (ilogb): Likewise.
15215 [XPG3] (log1p): Likewise.
15216 [XPG3] (logb): Likewise.
15217 [XPG3] (nextafter): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15220 [XPG3] (remainder): Likewise.
15221 [XPG3] (rint): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15225 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15226 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15227 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15228 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15229 [UNIX98 || XOPEN2K] (scalb): Expect.
15230 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15231 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15232 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15233 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15234 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15235 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15236 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15237 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15238 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15240 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15241 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15242 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15243 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15244 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15245 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15246 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15247 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15248 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15249 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15250 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15251 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15252 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15253 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15254 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15255 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15256 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15257 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15258 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15259 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15260 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15261 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15262 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15263 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15264 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15265 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15266 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15267 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15268 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15269 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15270 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15271 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15272 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15273 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15274 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15275 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15276 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15277 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15278 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15279 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15280 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15281 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15282 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15283 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15284 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15285 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15286 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15287 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15288 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15289 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15290 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15291 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15292 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15293 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15294 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15295 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15296 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15297 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15298 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15299 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15300 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15301 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15302 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15303 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15304 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15305 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15306 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15307 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15308 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15309 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15310 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15311 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15312 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15313 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15314 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15315 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15316 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15317 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15318 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15319 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15320 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15321 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15322 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15323 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15324 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15325 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15326 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15327 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15328 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15329 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15330 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15331 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15332 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15333 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15334 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15335 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15336 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15337 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15338 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15339 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15340 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15341 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15342 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15343 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15344 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15345 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15346 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15347 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15348 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15349 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15350 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15351 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15352 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15353 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15354 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15355 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15356 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15357 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15358 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15359 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15360 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15361 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15362 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15363 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15364 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15365 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15366 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15368 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15369 _XOPEN_SOURCE_EXTENDED for XPG4.
15371 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15373 * Makeconfig (localtime): Remove variable.
15374 (inst_localtime-file): Likewise.
15376 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15397 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15401 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15402 comparisons to determine direction to adjust input.
15403 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15404 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15405 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15407 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15409 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15411 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15412 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15414 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15416 * math/libm-test.inc (nexttoward_test): Add more tests.
15418 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15421 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15422 in version GLIBC_2.1, not GLIBC_2.0.
15423 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15426 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15429 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15431 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15432 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15433 * math/libm-test.inc (acos_test): Add more tests.
15434 (asin_test): Likewise.
15435 * sysdeps/i386/fpu/libm-test-ulps: Update.
15436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15439 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15441 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15442 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15443 * math/libm-test.inc (acos_test_tonearest): New function.
15444 (acos_test_towardzero): Likewise.
15445 (acos_test_downward): Likewise.
15446 (acos_test_upward): Likewise.
15447 (asin_test_tonearest): Likewise.
15448 (asin_test_towardzero): Likewise.
15449 (asin_test_downward): Likewise.
15450 (asin_test_upward): Likewise.
15451 (main): Call the new functions.
15452 * sysdeps/i386/fpu/libm-test-ulps: Update.
15453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15457 * math/e_exp10.c: Include <float.h>.
15458 (__ieee754_exp10): Handle underflow here rather than multiplying
15459 large negative argument by M_LN10.
15460 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15462 * math/e_exp10l.c: Include <float.h>.
15463 (__ieee754_exp10l): Handle underflow here rather than multiplying
15464 large negative argument by M_LN10l.
15465 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15466 spurious overflow exception on underflow.
15468 2012-04-29 Marek Polacek <polacek@redhat.com>
15470 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15471 (__fortify_function): New macro.
15472 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15473 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15474 __extern_always_inline.
15475 * libio/bits/stdio2.h: Likewise.
15476 * libio/bits/stdio.h: Likewise.
15477 * string/string.h: Likewise.
15478 * string/bits/string3.h: Likewise.
15479 * include/stdio.h: Likewise.
15480 * stdlib/bits/stdlib.h: Likewise.
15481 * stdlib/stdlib.h: Likewise.
15482 * rt/bits/mqueue2.h: Likewise.
15483 * rt/mqueue.h: Likewise.
15484 * posix/bits/unistd.h: Likewise.
15485 * posix/unistd.h: Likewise.
15486 * io/bits/poll2.h: Likewise.
15487 * io/bits/fcntl2.h: Likewise.
15488 * io/fcntl.h: Likewise.
15489 * io/sys/poll.h: Likewise.
15490 * misc/bits/syslog.h: Likewise.
15491 * misc/bits/syslog-ldbl.h: Likewise.
15492 * misc/sys/syslog.h: Likewise.
15493 * socket/bits/socket2.h: Likewise.
15494 * socket/sys/socket.h: Likewise.
15495 * debug/tst-chk1.c: Likewise.
15496 * wcsmbs/bits/wchar2.h: Likewise.
15497 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15498 * wcsmbs/wchar.h: Likewise.
15500 2012-04-29 Andreas Jaeger <aj@suse.de>
15502 * Makerules (tests): Remove enable-check-abi protection.
15503 (check-abi-warn): Remove.
15504 (check-abi-%): Remove check-abi-warn usage.
15506 * configure.in: Remove check-abi configure option.
15507 * configure: Regenerated.
15508 * config.make.in (enable-check-abi): Remove.
15510 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15513 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15514 double functions to double *_finite functions.
15517 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15518 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15520 * stdio-common/Makefile (tests): Add tst-sprintf3.
15521 * stdio-common/tst-sprintf3.c: New file.
15523 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15524 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15526 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15528 * conform/conformtest.pl: Remove duplicate typed-constant
15531 2012-04-28 David S. Miller <davem@davemloft.net>
15533 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15534 (check-abi-%): Remove AWK script prerequisite and explicit
15536 (check-abi): Rewrite to just diff the symlist with the abilist.
15537 (config-tls, config-abi-config): Delete, no longer used.
15538 (update-abi-%): Remove AWK script and explicit abilist directory.
15539 (update-abi): Rewrite to simply compare and conditionally copy the
15540 symlist and the sysdep abilist file. Remove update-abi-config
15542 * abilist/ld.abilist: Remove.
15543 * abilist/libBrokenLocale.abilist: Remove.
15544 * abilist/libanl.abilist: Remove.
15545 * abilist/libcrypt.abilist: Remove.
15546 * abilist/libdl.abilist: Remove.
15547 * abilist/librt.abilist: Remove.
15548 * abilist/libthread_db.abilist: Remove.
15549 * abilist/libutil.abilist: Remove.
15550 * scripts/extract-abilist.awk: Remove.
15551 * scripts/merge-abilist.awk: Remove.
15552 * sysdeps/generic/libcidn.abilist: New file.
15553 * sysdeps/generic/libnss_compat.abilist: New file.
15554 * sysdeps/generic/libnss_db.abilist: New file.
15555 * sysdeps/generic/libnss_dns.abilist: New file.
15556 * sysdeps/generic/libnss_files.abilist: New file.
15557 * sysdeps/generic/libnss_hesiod.abilist: New file.
15558 * sysdeps/generic/libnss_nis.abilist: New file.
15559 * sysdeps/generic/libnss_nisplus.abilist: New file.
15560 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15561 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15562 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15564 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15565 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15566 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15567 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15568 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15569 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15570 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15571 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15572 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15574 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15575 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15576 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15577 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15579 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15580 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15581 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15582 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15583 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15584 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15586 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15587 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15588 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15590 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15693 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15694 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15695 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15697 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15698 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15699 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15700 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15701 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15702 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15703 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15704 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15705 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15706 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15758 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15760 * conform/conformtest.pl: Fix typo in handling typed-constant from
15763 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15765 * README: Cut down references to pre-2.6 Linux kernels and
15766 Linuxthreads. Update lists of configurations in libc and ports
15767 and sort alphabetically. Say "or newer" with Linux kernel version
15770 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15772 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15775 * math/libm-test.inc (logb_test_downward): New test to expose
15776 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15779 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15782 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15784 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15785 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15787 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15789 * sysdeps/unix/i386/brk.S: Remove file.
15790 * sysdeps/unix/i386/dl-brk.S: Likewise.
15791 * sysdeps/unix/i386/pipe.S: Likewise.
15792 * sysdeps/unix/i386/sigreturn.S: Likewise.
15793 * sysdeps/unix/i386/syscall.S: Likewise.
15794 * sysdeps/unix/i386/vfork.S: Likewise.
15795 * sysdeps/unix/i386/wait.S: Likewise.
15797 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15798 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15800 * configure.in (arm*-none*): Do not allow without
15801 --enable-hacker-mode.
15802 (netbsd*): Remove case setting base_os.
15803 (386bsd*): Likewise.
15804 (freebsd*): Likewise.
15807 (sunos*): Likewise.
15808 (ultrix*): Likewise.
15809 (newsos*): Likewise.
15810 (dynix*): Likewise.
15816 (minix*): Likewise.
15817 (irix4*): Likewise.
15818 (irix6*): Likewise.
15819 (solaris[2-9]*): Likewise.
15821 * configure: Regenerated.
15823 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15826 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15827 overflow or cancellation in calculating denominator.
15828 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15829 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15830 down expression to avoid unexpected rounding in newer GCCs.
15831 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15833 2012-04-26 David S. Miller <davem@davemloft.net>
15835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15836 long-double compat symbols.
15837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15851 2012-04-25 David S. Miller <davem@davemloft.net>
15853 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15854 HWCAP_* values only after the memory barriers have been defined.
15855 (atomic_full_barrier): Define.
15856 (atomic_read_barrier): Define.
15857 (atomic_write_barrier): Define.
15859 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15861 * shlib-versions: Add libgcc_s version information.
15862 * sysdeps/generic/libgcc_s.h: Remove.
15863 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15865 * sysdeps/gnu/unwind-resume.c: Likewise.
15866 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15868 2012-04-25 David S. Miller <davem@davemloft.net>
15870 * sysdeps/unix/sparc/brk.S: Delete.
15871 * sysdeps/unix/sparc/dl-brk.S: Delete.
15872 * sysdeps/unix/sparc/pipe.S: Delete.
15873 * sysdeps/unix/sparc/sysdep.S: Delete.
15874 * sysdeps/unix/sparc/sysdep.h: Delete.
15875 * sysdeps/unix/sparc/vfork.S: Delete.
15876 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15877 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15878 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15879 ret_ERRVAL, r0, r1, MOVE): Define.
15880 (JUMPTARGET): Remove.
15881 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15882 sysdeps/unix/sparc/sysdep.h
15883 (ENTRY, END): Remove.
15884 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15886 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15888 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15889 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15892 * timezone/README: Update upstream location and email address for
15894 * timezone/zdump.c: Update from tzcode 2012b.
15895 * timezone/zic.c: Likewise.
15897 * configure.in (libc_cv_as_needed): Remove test.
15898 * configure: Regenerated.
15899 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15900 conditional definition.
15901 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15902 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15903 * config.make.in (have-as-needed): Remove variable.
15905 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15906 Paul Pluzhnikov <ppluzhnikov@google.com>
15908 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15911 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15913 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15914 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15915 * sysdeps/sh/strlen.S: Likewise.
15917 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15919 * sysdeps/unix/fork.S: Remove file.
15920 * sysdeps/unix/i386/fork.S: Likewise.
15921 * sysdeps/unix/sparc/fork.S: Likewise.
15923 * sysdeps/unix/system.c: Remove file.
15924 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15926 * sysdeps/unix/getegid.S: Remove file.
15927 * sysdeps/unix/geteuid.S: Likewise.
15929 2012-04-24 Roland McGrath <roland@hack.frob.com>
15931 * scripts/check-localplt.awk: New file.
15932 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15934 * scripts/data/localplt-generic.data: Add a comment.
15936 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15937 NODE when __dir_mkfile failed.
15938 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15939 Reported by Ludovic Courtès <ludo@gnu.org>.
15941 2012-04-24 Andreas Jaeger <aj@suse.de>
15943 * Makerules (common-clean): Also remove gen-as-const-headers
15946 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15948 * Makerules (native-compile): Do not change working directory for
15949 build. Use $(OUTPUT_OPTION) in command.
15950 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15952 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15955 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15956 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15957 * math/libm-test.inc (floor_test): Add more tests.
15958 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15960 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15962 * sysdeps/unix/getdents.c: Remove file.
15963 * sysdeps/unix/sysv/getdents.c: Likewise.
15964 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15966 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15967 sysdeps/unix/mman/syscalls.list.
15969 (mprotect): Likewise.
15971 (munmap): Likewise.
15972 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15973 * sysdeps/unix/mman/syscalls.list: Remove.
15974 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15976 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15977 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15978 * configure: Regenerated.
15979 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15980 $(libgcc_s_suffix).
15981 * config.make.in (libgcc_s_suffix): Remove variable.
15983 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15985 * sysdeps/unix/sysv/gethostname.c: Move to ...
15986 * sysdeps/posix/gethostname.c: ... here.
15988 * sysdeps/unix/execve.S: Remove file.
15990 * sysdeps/unix/_exit.S: Remove file.
15992 2012-04-23 Andreas Jaeger <aj@suse.de>
15995 * manual/Makefile: Remove make dist support, there's no
15996 need for a stand-alone documentation tar ball.
15997 (TEXI2DVI): Define always, it's not in Makeconfig.
16000 (edition): Removed.
16001 (glibc-doc-$(edition).tar): Removed
16005 (ETAGS): Remove, it's in Makeconfig.
16006 (move-if-change): Remove, it's in Makeconfig.
16008 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
16011 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16012 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16013 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16014 (strtod_l, strtof_l, strtold_l): Remove __wur.
16015 It is not necessarily an error to ignore strtol's return value.
16016 One can reliably look at the stored endptr to decide whether
16017 the number had valid syntax.
16019 2012-04-21 Andreas Jaeger <aj@suse.de>
16022 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16024 2012-04-21 Joseph Myers <joseph@codesourcery.com>
16026 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16027 * sysdeps/unix/sysv/Versions: Remove file.
16029 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16034 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
16037 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16038 version from __vm86.
16040 2012-04-20 Joseph Myers <joseph@codesourcery.com>
16042 * sysdeps/unix/common/lxstat.c: Remove file.
16043 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16045 * sysdeps/unix/sysv/Makefile: Remove file.
16047 * sysdeps/unix/sysv/direct.h: Remove file.
16049 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16050 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16051 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16052 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16053 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16054 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16055 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16057 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16059 * sysdeps/unix/xmknod.c: Remove file.
16060 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16062 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16064 * sysdeps/unix/sysv/i386/time.S: Remove file.
16066 * sysdeps/unix/fxstat.c: Remove file.
16067 * sysdeps/unix/xstat.c: Likewise.
16068 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16070 * sysdeps/unix/sysv/sigaction.c: Remove file.
16072 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16073 (sysdep_headers): Remove variable.
16074 [termio.h not in sysdep_headers] (generated): Likewise.
16075 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16076 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16077 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16078 * sysdeps/unix/sysv/tcflow.c: Likewise.
16079 * sysdeps/unix/sysv/tcflush.c: Likewise.
16080 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16081 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16082 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16083 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16084 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16086 * sysdeps/unix/siglist.c: Remove file.
16088 * sysdeps/unix/getppid.S: Remove file.
16090 * sysdeps/unix/mkdir.c: Remove file.
16091 * sysdeps/unix/rmdir.c: Likewise.
16093 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16095 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16097 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16098 errlist-compat value.
16100 2012-04-18 David S. Miller <davem@davemloft.net>
16102 * sysdeps/generic/memcopy.h (reg_char): Delete.
16103 * debug/strcat_chk.c: Use char, not reg_char.
16104 * debug/strcpy_chk.c: Likewise.
16105 * debug/strncat_chk.c: Likewise.
16106 * debug/strncpy_chk.c: Likewise.
16107 * string/memchr.c: Likewise.
16108 * string/memrchr.c: Likewise.
16109 * string/rawmemchr.c: Likewise.
16110 * string/strcat.c: Likewise.
16111 * string/strchr.c: Likewise.
16112 * string/strchrnul.c: Likewise.
16113 * string/strcmp.c: Likewise.
16114 * string/strcpy.c: Likewise.
16115 * string/strncat.c: Likewise.
16116 * string/strncmp.c: Likewise.
16117 * string/strncpy.c: Likewise.
16119 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16121 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16122 __builtin_memcopy is called when src and dest ranges are known to not
16125 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16127 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16128 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16129 fwd_align_merge macro call.
16130 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16131 bwd_align_merge macro call.
16132 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16134 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16136 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16137 bwd_align_merge macros.
16138 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16139 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16140 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16142 2012-04-18 David S. Miller <davem@davemloft.net>
16144 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16146 2012-04-18 Andreas Jaeger <aj@suse.de>
16149 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16150 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16151 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16153 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16154 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16155 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16157 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16158 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16159 Adjust for changed ldbl-128 files.
16161 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16162 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16163 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16165 2012-04-17 David S. Miller <davem@davemloft.net>
16167 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16169 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16171 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16172 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16173 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16174 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16175 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16176 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16178 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16181 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16182 * math/libm-test.inc: Add ilogb errno and exception tests.
16183 * math/w_ilogb.c: New file: ilogb wrapper.
16184 * math/w_ilogbf.c: New file: ilogbf wrapper.
16185 * math/w_ilogbl.c: New file: ilogbl wrapper.
16186 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16187 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16188 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16189 exception being thrown with 0.0 as argument.
16190 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16191 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16192 exception being thrown with 0.0 as argument.
16193 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16194 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16195 exception being thrown with 0.0 as argument.
16196 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16197 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16198 exception being thrown with 0.0 as argument.
16199 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16200 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16201 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16202 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16203 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16204 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16205 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16206 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16207 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16209 2012-04-17 Petr Baudis <pasky@ucw.cz>
16211 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16214 2012-04-16 Marek Polacek <polacek@redhat.com>
16216 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16218 2012-04-16 Marek Polacek <polacek@redhat.com>
16220 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16221 operands of fdivp instruction.
16223 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16225 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16226 * elf/tst-auditmod3b.c: Likewise.
16227 * elf/tst-auditmod4b.c: Likewise.
16228 * elf/tst-auditmod5b.c: Likewise.
16229 * elf/tst-auditmod6b.c: Likewise.
16230 * elf/tst-auditmod6c.c: Likewise.
16231 * elf/tst-auditmod7b.c: Likewise.
16232 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16233 * sysdeps/x86_64/preconfigure.in: Likewise.
16234 * sysdeps/x86_64/preconfigure: Regenerated.
16236 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16238 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16241 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16244 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16246 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16249 * locale/iso-639.def: Fix gl language name. Spotted by
16252 2012-04-12 Roland McGrath <roland@hack.frob.com>
16255 * libio/libio.h (__io_write_fn): Update comment.
16257 2012-04-12 Petr Baudis <pasky@ucw.cz>
16260 * stdio.texi (Hook Functions): The user provided writer function
16261 is not allowed to return -1.
16263 2012-04-11 David S. Miller <davem@davemloft.net>
16265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16267 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16269 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16270 Add a leading slash to rtkaio.
16272 2012-04-11 Jim Meyering <meyering@redhat.com>
16275 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16276 It is not necessarily an error to ignore fwrite's return
16277 value. One can reliably use ferror to test for errors after
16280 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16282 * bits/types.h (__snseconds_t): New type.
16283 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16285 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16286 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16287 (__SNSECONDS_T_TYPE): Likewise.
16288 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16289 (__SNSECONDS_T_TYPE): Likewise.
16290 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16291 (__SNSECONDS_T_TYPE): Likewise.
16293 2012-04-10 Andreas Jaeger <aj@suse.de>
16296 * manual/time.texi (Processor Time): Return type of times is
16297 elapsed real time since an arbitrary point in the past.
16298 (CPU Time): Move CLK_TCK from here...
16299 (Processor Time): ...to here. Correct description.
16300 * manual/conf.texi (Constants for Sysconf): Correct description of
16303 2012-04-10 David S. Miller <davem@davemloft.net>
16306 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16307 where the is a gap between DT_REL(A) and DT_JMPREL.
16309 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16311 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16312 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16313 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16315 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16317 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16318 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16319 (dl_main): Handle --inhibit-cache.
16320 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16322 * elf/dl-load.c (_dl_map_object): Use it.
16323 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16325 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16328 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16329 (__ieee754_powl): Saturate large exponents rather than testing for
16330 overflow of y*log2(x).
16331 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16332 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16336 * math/s_ctan.c: Include <float.h>.
16337 (__ctan): Avoid internal overflow or cancellation in calculating
16339 * math/s_ctanf.c: Likewise.
16340 * math/s_ctanl.c: Likewise.
16341 * math/s_ctanh.c: Likewise.
16342 * math/s_ctanhf.c: Likewise.
16343 * math/s_ctanhl.c: Likewise.
16344 * math/libm-test.inc (ctan_test): Add more tests.
16345 (ctanh_test): Likewise.
16346 * sysdeps/i386/fpu/libm-test-ulps: Update.
16347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16349 2012-04-09 Andreas Jaeger <aj@suse.de>
16352 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16353 is an optional BSD extension.
16356 * manual/stdio.texi (Opening Streams): Document additional fopen
16359 2012-04-09 Roland McGrath <roland@hack.frob.com>
16361 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16362 %eax without telling the compiler.
16364 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16367 * manual/install.texi: Use sourceware.org.
16369 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16372 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16373 (__ieee754_pow): Generate overflow and underflow using huge*huge
16374 and tiny*tiny rather than just returning constant infinity or zero
16375 for large exponents.
16376 * math/libm-test.inc (pow_test): Require overflow exceptions for
16377 applicable cases of large exponents.
16380 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16381 (__ieee754_pow): Use iterative multiplication algorithm only for
16382 integer exponents with absolute value below 1024. Check for odd
16383 integer exponents when using algorithm for real exponents.
16384 * math/libm-test.inc (pow_test): Add more tests.
16385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16387 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16390 * math/libm-test.inc (exp_test): Do not allow overflow exception
16393 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16396 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16397 instead of __kernel_standard_f.
16399 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16401 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16402 * sysdeps/x86_64/memset_chk.S: Likewise.
16404 2012-04-08 Andreas Jaeger <aj@suse.de>
16407 * manual/startup.texi (Environment Access): Describe return value
16408 for putenv and setenv.
16411 * manual/filesys.texi (Directory Entries): Add description for
16415 * manual/filesys.texi (Directory Entries): Clarify that it's file
16416 system not operating system in the description of DT_UNKNOWN.
16419 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16421 2012-04-08 Stephen Compall <s11@member.fsf.org>
16424 * manual/llio.texi (Opening and Closing Files): Add cross
16425 reference to explain mode argument.
16427 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16429 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16430 * sysdeps/x86_64/memset_chk.S: Likewise.
16432 2012-04-07 David S. Miller <davem@davemloft.net>
16434 * elf/elf.h (R_SPARC_WDISP10): Define.
16435 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16437 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16438 R_SPARC_SIZE64 and R_SPARC_H34.
16440 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16442 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16443 conditions and remove no longer applicable assertion.
16445 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16447 * bits/byteswap.h: Include <features.h>.
16448 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16449 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16451 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16453 * bits/byteswap.h (__bswap_16): Removed.
16454 Include <bits/byteswap-16.h> to get __bswap_16.
16455 * sysdeps/i386/bits/byteswap.h: Likewise.
16456 * sysdeps/s390/bits/byteswap.h: Likewise.
16457 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16458 * bits/byteswap-16.h: New file.
16459 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16460 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16461 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16462 * string/Makefile (headers): Add bits/byteswap-16.h.
16464 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16467 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16469 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16470 * nss/tst-nss-static.c: New.
16472 2012-04-06 Robert Millan <rmh@gnu.org>
16475 * manual/llio.texi (File Position Primitive): lseek
16476 refers to WHENCE when it really means OFFSET.
16478 2012-04-06 Andreas Jaeger <aj@suse.de>
16480 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16481 strncmp declarations.
16483 * abilist/libc.abilist: Add __poll and __ppoll.
16485 2012-04-05 David S. Miller <davem@davemloft.net>
16487 * scripts/check-local-headers.sh: Accept a host triplet in the
16488 path matched by the exclude regexp.
16490 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16492 * sysdeps/powerpc/powerpc32/dl-machine.h
16493 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16494 * sysdeps/s390/s390-32/dl-machine.h
16495 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16496 * sysdeps/sparc/sparc32/dl-machine.h
16497 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16498 * sysdeps/sparc/sparc64/dl-machine.h
16499 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16501 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16503 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16504 undefined symbol errors.
16506 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16509 2012-04-05 Michael Matz <matz@suse.de>
16512 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16514 2012-04-05 Andreas Jaeger <aj@suse.de>
16517 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16520 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16522 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16523 which ROUND is no valid rounding mode.
16525 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16527 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16529 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16531 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16533 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16534 an exception using FPU order intentionally.
16536 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16538 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16539 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16540 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16541 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16543 2012-04-05 Simon Josefsson <simon@josefsson.org>
16546 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16547 EINVAL when BUFLEN is too smal.
16549 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16552 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16553 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16555 2012-04-03 Andreas Jaeger <aj@suse.de>
16558 * manual/setjmp.texi (System V contexts): Fix sentence.
16561 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16562 New macro for this case.
16563 [!__GNUC__] (__bswap_64): New inline function for this case.
16564 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16565 * bits/byteswap.h: Likewise.
16566 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16567 ull, guard with __GLIBC_HAVE_LONG_LONG.
16569 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16570 __GLIBC_HAVE_LONG_LONG.
16572 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16573 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16575 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16578 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16579 inptr and inend, rather than using last_ch.
16581 2012-04-02 David S. Miller <davem@davemloft.net>
16583 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16584 * stdio-common/printf-parse.h (read_int): Change return type to
16585 'int', return -1 on INT_MAX overflow.
16586 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16587 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16588 overflows INT_MAX. Check for overflow of in-format-string precision
16589 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16590 SIZE_MAX not INT_MAX for integer overflow test.
16591 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16592 skip the construct in the format string but do not record anything.
16593 * stdio-common/bug22.c: Adjust to test both width/prevision
16594 INT_MAX overflow as well as total length INT_MAX overflow. Check
16595 explicitly for proper errno values.
16597 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16599 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16601 * string/test-strcmp.c [! WIDE]: Likewise.
16602 * time/tst-mktime2.c: Likewise for INT_MAX.
16603 * string/test-string.h: #include <sys/param.h> for MIN.
16605 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16606 * sysdeps/i386/init-first.c (init): Likewise.
16607 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16608 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16609 * sysdeps/sh/init-first.c (init): Likewise.
16611 2012-04-01 Ulrich Drepper <drepper@gmail.com>
16613 * po/ru.po: Update from translation team.
16614 * po/vi.po: Likewise.
16616 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16618 * resolv/nss_dns/dns-host.c: Merge copyright years.
16620 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16622 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16623 Optimize memcpy with prefetch if
16624 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16625 src, dst pointers have unequal 16 byte alignments.
16627 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16630 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16631 from a CNAME entry and return the minimum ttl for the query.
16632 (gaih_getanswer_slice): Likewise.
16634 2012-03-30 Jeff Law <law@redhat.com>
16636 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16638 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16639 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16641 * resolv/nss_dns/dns-host.c: Update copyright year.
16643 2012-03-30 Ulrich Drepper <drepper@gmail.com>
16645 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16646 requests to save a system call. Fix check that all bytes are sent.
16648 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16649 comments for sendmmsg.
16651 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16654 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16655 with only 1 character between 0x0041 and 0x01b0.
16656 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16657 * wcsmbs/tst-mbsnrtowcs.c: New file.
16659 2012-03-29 David S. Miller <davem@davemloft.net>
16661 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16662 small copies by hand.
16664 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16667 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16668 _nss_compat_initgroups_dyn): Fall back to malloc/free
16669 for large group memberships.
16671 2012-03-28 David S. Miller <davem@davemloft.net>
16673 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16674 that branches into memcpy.
16675 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16676 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16677 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16678 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16681 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16682 implementation too.
16683 * sysdeps/sparc/mempcpy.S: New file.
16685 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16686 the IFUNC routine in the libc case.
16687 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16689 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16690 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16691 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16692 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16693 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16694 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16695 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16696 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16698 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16699 loop to 256 bytes instead of 64 bytes and fix test signedness.
16701 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16702 * sysdeps/sparc/sparc32/Makefile: rather than here...
16703 * sysdeps/sparc/sparc64/Makefile: and here.
16705 2012-03-28 Ulrich Drepper <drepper@gmail.com>
16707 * malloc/mallocbug.c: Avoid warnings about unused variables.
16709 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16712 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16713 in the right place. Discard and retry query if response is
16714 larger than input buffer size.
16716 2012-03-28 Joseph Myers <joseph@codesourcery.com>
16721 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16722 x for large integer exponent.
16723 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16724 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16725 sign of result as needed afterwards.
16726 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16727 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16728 result for underflowing pow the same as for overflow.
16729 (__kernel_standard_l): Handle powl overflow and underflow here
16730 rather than calling __kernel_standard.
16731 * math/libm-test.inc (pow_test): Add more tests.
16746 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16747 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16748 (__kernel_standard_l): New function.
16749 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16751 * math/w_acosl.c (__acosl): Likewise.
16752 * math/w_asinl.c (__asinl): Likewise.
16753 * math/w_atan2l.c (__atan2l): Likewise.
16754 * math/w_atanhl.c (__atanhl): Likewise.
16755 * math/w_coshl.c (__coshl): Likewise.
16756 * math/w_exp10l.c (__exp10l): Likewise.
16757 * math/w_exp2l.c (__exp2l): Likewise.
16758 * math/w_fmodl.c (__fmodl): Likewise.
16759 * math/w_hypotl.c (__hypotl): Likewise.
16760 * math/w_j0l.c (__j0l, __y0l): Likewise.
16761 * math/w_j1l.c (__j1l, __y1l): Likewise.
16762 * math/w_jnl.c (__jnl, __ynl): Likewise.
16763 * math/w_lgammal.c (__lgammal): Likewise.
16764 * math/w_log10l.c (__log10l): Likewise.
16765 * math/w_log2l.c (__log2l): Likewise.
16766 * math/w_logl.c (__logl): Likewise.
16767 * math/w_powl.c (__powl): Likewise.
16768 * math/w_remainderl.c (__remainderl): Likewise.
16769 * math/w_scalbl.c (sysv_scalbl): Likewise.
16770 * math/w_sinhl.c (__sinhl): Likewise.
16771 * math/w_sqrtl.c (__sqrtl): Likewise.
16772 * math/w_tgammal.c (__tgammal): Likewise.
16773 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16774 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16775 * math/libm-test.inc (acos_test): Add more tests.
16776 (acosh_test): Likewise.
16777 (asin_test): Likewise.
16778 (atanh_test): Likewise.
16779 (exp_test): Likewise.
16780 (exp10_test): Likewise.
16781 (exp2_test): Likewise.
16782 (expm1_test): Likewise.
16783 (lgamma_test): Likewise.
16784 (log_test): Likewise.
16785 (log10_test): Likewise.
16786 (log1p_test): Likewise.
16787 (log2_test): Likewise.
16788 (pow_test): Do not allow some spurious overflow exceptions.
16789 (sqrt_test): Add more tests.
16790 (tgamma_test): Likewise.
16791 (y0_test): Likewise.
16792 (y1_test): Likewise.
16793 (yn_test): Likewise.
16795 2012-03-27 Anton Blanchard <anton@samba.org>
16797 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16799 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16800 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16801 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16803 2012-03-27 David S. Miller <davem@davemloft.net>
16805 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16807 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16808 have-as-vis3 check.
16810 2012-03-27 Andreas Jaeger <aj@suse.de>
16812 * sysdeps/x86_64/elf/configure.in: Moved to ...
16813 * sysdeps/x86_64/configure.in: ... here.
16814 * sysdeps/x86_64/elf/start.S: Moved to ...
16815 * sysdeps/x86_64/start.S: ... here.
16816 * sysdeps/x86_64/elf/configure: Delete.
16818 * sysdeps/x86_64/configure.in: Merge contents from
16819 sysdeps/i386/configure.in (without i686 check).
16821 * sysdeps/i386/elf/Versions: Merge into ...
16822 * sysdeps/i386/Versions: ... this.
16823 * sysdeps/i386/elf/Versions: Delete file.
16824 * sysdeps/i386/elf/start.S: Moved to ...
16825 * sysdeps/i386/start.S: ...here.
16826 * sysdeps/i386/elf/configure.in: Merge into...
16827 * sysdeps/i386/configure.in: ...here.
16828 * sysdeps/i386/elf/configure.in: Delete file.
16829 * sysdeps/i386/elf/configure: Delete file.
16831 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16832 * debug/backtracesyms.c: ... here.
16833 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16834 * debug/backtracesymsfd.c: ... here.
16835 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16836 * sysdeps/generic/ifunc-sel.h: ... here.
16838 * sysdeps/unix/i386/start.c: Delete file.
16839 * sysdeps/unix/sparc/start.c: Delete file.
16840 * sysdeps/unix/start.c: Delete file.
16842 * sysdeps/sh/elf/configure.in: Moved to ...
16843 * sysdeps/sh/configure.in: ... here.
16844 * sysdeps/sh/elf/start.S: Moved to ...
16845 * sysdeps/sh/start.S: ... here.
16846 * sysdeps/sh/elf/configure: Delete file.
16848 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16849 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16850 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16851 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16852 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16853 * sysdeps/powerpc/powerpc64/start.S: here.
16854 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16855 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16856 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16857 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16858 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16860 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16861 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16862 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16863 * sysdeps/powerpc/powerpc32/start.S: ... here.
16864 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16865 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16866 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16868 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16869 * sysdeps/powerpc/ifunc-sel.h: ... here.
16870 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16871 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16873 * sysdeps/sparc/elf/configure.in: Moved to ...
16874 * sysdeps/sparc/configure.in: ... here.
16875 * sysdeps/sparc/elf/configure: Delete file.
16876 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16877 * sysdeps/sparc/sparc32/start.S: ... here.
16878 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16879 * sysdeps/sparc/sparc64/start.S: ... here.
16880 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16881 * sysdeps/sparc/sparc32/Makefile: ... this.
16882 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16883 * sysdeps/sparc/sparc64/Makefile: ... this.
16885 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16886 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16887 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16888 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16889 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16890 * sysdeps/s390/s390-32/setjmp.S: ... here.
16891 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16892 * sysdeps/s390/s390-32/configure.in: ... here.
16893 * sysdeps/s390/s390-32/elf/configure: Delete file.
16894 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16895 * sysdeps/s390/s390-32/start.S: ... here.
16897 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16898 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16899 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16900 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16901 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16902 * sysdeps/s390/s390-64/setjmp.S: ... here.
16903 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16904 * sysdeps/s390/s390-64/configure.in: ... here
16905 * sysdeps/s390/s390-64/elf/configure: Delete file.
16906 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16907 * sysdeps/s390/s390-64/start.S: ... here.
16908 * sysdeps/s390/s390-64/elf/configure: Delete.
16910 * configure.in: Remove support for elf directories in sysdeps.
16912 * configure: Regenerated.
16913 * sysdeps/i386/configure: Regenerated.
16914 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16915 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16916 * sysdeps/s390/s390-32/configure: Regenerated.
16917 * sysdeps/s390/s390-64/configure: Regenerated.
16918 * sysdeps/sh/configure: Regenerated.
16919 * sysdeps/sparc/configure: Regenerated.
16920 * sysdeps/x86_64/configure: Regenerated.
16922 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16926 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16927 denormal result into account.
16929 2012-03-25 Roland McGrath <roland@hack.frob.com>
16931 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16932 Reported by Allan McRae <allan@archlinux.org>.
16934 2012-03-23 Jeff Law <law@redhat.com>
16936 * nss/getnssent.c (__nss_getent): Fix typo.
16938 2012-03-23 David S. Miller <davem@davemloft.net>
16940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16942 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16944 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16945 to pad to uint64_t for each field.
16946 (dl_tls_index): Replace unsigned long with uint64_t.
16948 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16949 Paul Pluzhnikov <ppluzhnikov@google.com>
16952 * grp/Makefile (otherlibs): Don't set it.
16953 * inet/Makefile (otherlibs): Likewise.
16954 * login/Makefile (otherlibs): Likewise.
16955 * nscd/Makefile (otherlibs): Likewise.
16956 * posix/Makefile (otherlibs): Likewise.
16957 * pwd/Makefile (otherlibs): Likewise.
16958 * rt/Makefile (otherlibs): Likewise.
16959 * sunrpc/Makefile (otherlibs): Likewise.
16960 * nss/Makefile (otherlibs): Likewise.
16961 Add libnss_files to routines and static-only-routines.
16962 ($(objpfx)getent): Remove rule.
16963 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16964 static-only-routines.
16966 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16969 * math/s_cexp.c: Include <float.h>.
16970 (__cexp): Handle exp result overflowing not necessarily
16971 overflowing both real and imaginary parts of result.
16972 * math/s_cexpf.c: Likewise.
16973 * math/s_cexpl.c: Likewise.
16974 * math/libm-test.inc (cexp_test): Add more tests.
16975 * sysdeps/i386/fpu/libm-test-ulps: Update.
16976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16978 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16980 * include/link.h (ELFW): New macro.
16981 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16982 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16984 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16986 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16989 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16991 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16993 (struct La_x32_retval): Likewise.
16995 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16997 * sysdeps/x86_64/preconfigure.in: New file.
16998 * sysdeps/x86_64/preconfigure: New generated file.
17000 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17003 * math/e_exp2l.c: Include <float.h>.
17004 (__ieee754_exp2l): Handle overflow and underflow cases
17005 separately. Only pass fractional part of argument to
17007 * math/libm-test.inc (exp2_test): Add more tests.
17009 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17010 negating x to take absolute value.
17011 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17013 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17014 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17016 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17017 computing low part if x was negated.
17018 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17020 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17022 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17023 la_x32_gnu_pltexit.
17024 (pltexit): Cast int_retval to ptrdiff_t.
17025 * elf/tst-auditmod3b.c: Likewise.
17026 * elf/tst-auditmod4b.c: Likewise.
17027 * elf/tst-auditmod5b.c: Likewise.
17028 * elf/tst-auditmod6b.c: Likewise.
17029 * elf/tst-auditmod6c.c: Likewise.
17030 * elf/tst-auditmod7b.c: Likewise.
17032 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17033 and x32_gnu_pltexit.
17035 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17036 __ELF_NATIVE_CLASS.
17037 (La_x32_regs): New macro.
17038 (La_x32_retval): Likewise.
17039 (la_x32_gnu_pltenter): New function prototype.
17040 (la_x32_gnu_pltexit): Likewise.
17042 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17044 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17049 * configure.in (libc_cv_cc_nofma): Check for option to disable
17050 generation of FMA instructions.
17051 * configure: Regenerate.
17052 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17053 * sysdeps/ieee754/dbl-64/Makefile: New file.
17054 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17055 Remove brandred-fma4.
17056 (CFLAGS-brandred-fma4.c): Remove.
17057 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17058 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17060 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17063 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17065 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17066 LLONG_MAX != LONG_MAX.
17067 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17068 (_fitoa_word): Likewise.
17069 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17070 LLONG_MAX != LONG_MAX.
17071 * stdio-common/_itowa.h: Include <_itoa.h>.
17072 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17073 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17074 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17075 only if not defined.
17076 (_ITOA_WORD_TYPE): Likewise.
17077 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17078 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17080 2012-03-21 David S. Miller <davem@davemloft.net>
17082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17084 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17086 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17087 of x86_64 when setting libc_cv_slibdir, libdir and
17089 * sysdeps/unix/sysv/linux/configure: Regenerated.
17091 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17093 * manual/lang.texi (Old Varargs): Remove section.
17094 (How Variadic): Update menu.
17095 (va_start): Do not mention varargs.h.
17097 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17098 Joseph Myers <joseph@codesourcery.com>
17100 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17102 * configure: Regenerated.
17104 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17106 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17107 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17110 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17113 * Makefile (files-for-dist): Remove NOTES.
17114 (NOTES): Remove rule.
17115 * README: Don't refer to NOTES.
17116 * manual/creature.texi: Don't include macros.texi.
17117 * manual/intro.texi (creature.texi): Remove comment referring to
17120 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17121 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17122 * configure: Regenerated.
17123 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17124 LIBC_TRY_CC_OPTION.
17125 (libc_cv_as_i686): Likewise.
17126 (libc_cv_cc_avx): Likewise.
17127 (libc_cv_cc_sse2avx): Likewise.
17128 (libc_cv_cc_fma4): Likewise.
17129 (libc_cv_cc_novzeroupper): Likewise.
17130 * sysdeps/i386/configure: Regenerated.
17133 * sysdeps/i386/fpu/s_cexp.S: Remove.
17134 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17135 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17136 * math/libm-test.inc (cexp_test): Add more tests.
17137 * sysdeps/i386/fpu/libm-test-ulps: Update.
17138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17140 2012-03-21 Allan McRae <allan@archlinux.org>
17142 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17144 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17147 * math/w_exp2.c: Do not include <float.h>.
17148 (o_threshold, u_threshold): Remove.
17149 (__exp2): Calculate result before checking finiteness and calling
17151 * math/w_exp2f.c: Likewise.
17152 * math/w_exp2l.c: Likewise.
17153 * math/libm-test.inc (exp2_test): Require overflow exception for
17157 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17158 range of signed 64-bit integers before using fistpll. Remove
17159 checks for whether integers fit in mantissa bits.
17160 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17161 the range of signed 32-bit integers before using fistpl. Remove
17162 checks for whether integers fit in mantissa bits.
17163 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17164 (__ieee754_powl): Test for y outside the range of signed 64-bit
17165 integers before using fistpll. Reduce 64-bit values to 63-bit
17167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17168 divide-by-zero is raised for zero to large negative powers.
17169 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17170 (__ieee754_powl): Test for y outside the range of signed 64-bit
17171 integers before using fistpll. Reduce 64-bit values to 63-bit
17173 * math/libm-test.inc (pow_test): Add more tests.
17175 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17177 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17178 <stdio-common/_itoa.h>.
17179 * debug/segfault.c: Likewise.
17180 * elf/dl-cache.c: Likewise.
17181 * elf/dl-minimal.c: Likewise.
17182 * elf/dl-misc.c: Likewise.
17183 * elf/dl-sysdep.c: Likewise.
17184 * elf/dl-version.c: Likewise.
17185 * elf/rtld.c: Likewise.
17186 * hurd/hurdsock.c: Likewise.
17187 * hurd/lookup-retry.c: Likewise.
17188 * malloc/malloc.c: Likewise.
17189 * malloc/mtrace.c: Likewise.
17190 * nscd/nscd_getgr_r.c: Likewise.
17191 * nscd/nscd_getpw_r.c: Likewise.
17192 * nscd/nscd_getserv_r.c: Likewise.
17193 * posix/getopt_init.c: Likewise.
17194 * posix/wordexp.c: Likewise.
17195 * stdio-common/_itoa.c: Likewise.
17196 * stdio-common/printf_fphex.c: Likewise.
17197 * stdio-common/vfprintf.c: Likewise.
17198 * string/_strerror.c: Likewise.
17199 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17200 * sysdeps/i386/i686/hp-timing.h: Likewise.
17201 * sysdeps/mach/_strerror.c: Likewise.
17202 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17203 * sysdeps/mach/hurd/sethostid.c: Likewise.
17204 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17205 * sysdeps/mach/xpg-strerror.c: Likewise.
17206 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17207 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17208 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17209 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17210 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17211 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17212 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17213 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17214 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17215 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17216 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17217 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17218 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17219 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17220 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17221 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17222 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17223 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17224 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17225 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17226 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17228 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17230 * stdio-common/_itoa.h: Moved to ...
17231 * sysdeps/generic/_itoa.h: Here.
17233 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17235 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17236 instead of "_itoa.h" and "_itowa.h".
17237 * stdio-common/vfprintf.: Likewise.
17239 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17241 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17243 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17244 (__signbit): Likwise.
17245 (llrintf): Likwise.
17248 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17250 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17253 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17255 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17256 OVERFLOW_EXCEPTION_OK.
17257 * math/libm-test.inc ("Philosophy"): Update comment about
17259 (OVERFLOW_EXCEPTION): Define.
17260 (OVERFLOW_EXCEPTION_OK): Likewise.
17261 (INVALID_EXCEPTION_OK): Renumber.
17262 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17263 (IGNORE_ZERO_INF_SIGN): Likewise.
17264 (test_exceptions): Handle FE_OVERFLOW.
17265 (exp10_test): Expect overflow exceptions.
17266 (exp2_test): Likewise.
17267 (expm1_test): Likewise.
17268 (nextafter_test): Likewise.
17269 (pow_test): Likewise.
17270 (scalbn_test): Likewise.
17271 (scalbln_test): Likewise.
17273 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17275 * sysdeps/x86_64/bits/atomic.h
17276 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17278 (atomic_exchange_acq): Likewise.
17279 (__arch_exchange_and_add_body): Likewise.
17280 (__arch_add_body): Likewise.
17281 (atomic_add_negative): Likewise.
17282 (atomic_add_zero): Likewise.
17284 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17286 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17287 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17289 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17291 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17292 Check __x86_64__ instead of __WORDSIZE.
17294 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17296 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17298 2012-03-19 David S. Miller <davem@davemloft.net>
17300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17302 * sysdeps/sparc/fpu/fenv_private.h: New file.
17303 * sysdeps/sparc/fpu/math_private.h: Use it.
17304 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17306 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17307 (libc_feholdexcept_setroundl): Remove.
17308 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17310 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17311 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17313 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17315 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17316 int64_t instead of long int.
17317 (INSERT_WORDS64): Likwise.
17319 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17321 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17322 _Unwind_GetCFA return to _Unwind_Ptr first.
17324 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17327 * math/s_clog.c: Include <float.h>.
17328 (__clog): Scale large or subnormal inputs.
17329 * math/s_clogf.c: Likewise.
17330 * math/s_clogl.c: Likewise.
17331 * math/s_clog10.c: Include <float.h>.
17332 (M_LOG10_2): Define.
17333 (__clog10): Scale large or subnormal inputs.
17334 * math/s_clog10f.c: Likewise.
17335 * math/s_clog10l.c: Likewise.
17336 * math/libm-test.inc (clog_test): Add more tests.
17337 (clog10_test): Likewise.
17338 * sysdeps/i386/fpu/libm-test-ulps: Update.
17339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17342 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17344 * math/libm-test.inc (atan2_test): Add another test.
17346 * Makerules (common-objdir-compile): Remove.
17347 * sysdeps/unix/Makefile (config-generated): Do not add
17348 $(unix-generated) to variable.
17349 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17350 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17352 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17354 [generic bits/local_lim.h] (before-compile): Do not append to
17356 [generic bits/local_lim.h] (common-generated): Likewise.
17357 [generic sys/param.h] (before-compile): Do not append to variable.
17358 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17359 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17360 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17361 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17363 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17364 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17365 [generic sys/param.h] ($(addprefix
17366 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17367 [generic sys/param.h] (common-generated): Do not append to
17369 [generic sys/param.h] (sysdep_headers): Likewise.
17370 [generic bits/errno.h] (before-compile): Do not append to
17372 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17374 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17375 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17376 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17377 [generic bits/errno.h] (common-generated): Do not append to
17379 [generic bits/ioctls.h] (before-compile): Do not append to
17381 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17383 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17384 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17385 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17387 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17388 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17389 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17390 [generic bits/ioctls.h] (common-generated): Do not append to
17392 [generic sys/syscall.h] (syscall.h): Remove variable.
17393 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17395 [generic sys/syscall.h] (before-compile): Do not append to
17397 [generic sys/syscall.h] (common-generated): Likewise.
17398 * sysdeps/unix/errnos-tmpl.c: Remove file.
17399 * sysdeps/unix/errnos.awk: Likewise.
17400 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17401 * sysdeps/unix/ioctls.awk: Likewise.
17402 * sysdeps/unix/mk-local_lim.c: Likewise.
17403 * sysdeps/unix/snarf-ioctls: Likewise.
17405 2012-03-19 Richard Henderson <rth@twiddle.net>
17407 * sysdeps/i386/fpu/fenv_private.h: New file.
17408 * sysdeps/i386/fpu/math_private.h: Use it.
17409 (math_opt_barrier, math_force_eval): Remove.
17410 (libc_feholdexcept_setround_53bit): Remove.
17411 (libc_feupdateenv_53bit): Remove.
17412 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17413 (math_opt_barrier, math_force_eval): Remove.
17414 (libc_feholdexcept): Remove.
17415 (libc_feholdexcept_setround): Remove.
17416 (libc_fetestexcept, libc_fesetenv): Remove.
17417 (libc_feupdateenv_test): Remove.
17418 (libc_feupdateenv, libc_feholdsetround): Remove.
17419 (libc_feresetround): Remove.
17421 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17422 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17424 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17425 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17426 (libc_feupdateenv_testl): New.
17427 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17428 (libc_feupdateenv_testf): New.
17429 (libc_feupdateenv): Use libc_feupdateenv_test.
17430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17431 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17433 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17434 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17435 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17436 (libc_feresetround_noex): New.
17437 (libc_feresetround_noexf): New.
17438 (libc_feresetround_noexl): New.
17439 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17440 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17441 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17442 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17444 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17445 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17447 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17448 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17449 SET_RESTORE_ROUND_NOEX.
17450 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17451 SET_RESTORE_ROUND_NOEXF.
17452 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17453 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17454 (libc_feholdsetroundf): New.
17455 (libc_feresetround, libc_feresetroundf): New.
17457 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17458 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17459 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17461 * sysdeps/generic/math_private.h: Include <fenv.h>.
17462 (default_libc_feholdexcept): New.
17463 (default_libc_feholdexcept_setround): New.
17464 (default_libc_fesetenv, default_libc_feupdateenv): New.
17465 (libc_feholdexcept): Only define if undefined.
17466 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17467 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17468 (libc_feholdexcept_setroundl): Likewise.
17469 (libc_feholdexcept_setround_53bit): Likewise.
17470 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17471 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17472 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17473 (libc_feupdateenv_53bit): Likewise.
17474 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17475 (libc_feholdexcept): Convert from macro to inline function.
17476 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17477 (libc_fesetenv, libc_feupdateenv): Likewise.
17479 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17480 not previously defined.
17481 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17482 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17483 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17484 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17485 * sysdeps/ieee754/flt-32/math_private.h: New file.
17486 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17487 math_private.h below SET_FLOAT_WORD.
17488 (__isnan, __isinf_ns, __finite): Remove.
17489 (__isnanf, __isinf_nsf, __finitef): Remove.
17491 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17495 2012-03-17 David S. Miller <davem@davemloft.net>
17498 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17501 2012-03-16 David S. Miller <davem@davemloft.net>
17503 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17507 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17509 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17510 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17511 sysdep_routines when subdir is sysvipc.
17512 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17513 __getshmlba helper.
17515 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17517 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17519 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17522 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17524 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17525 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17526 (__lround): Renamed to ...
17527 (__llround): This. Replace long int with long long int.
17528 Define lround functions as aliases of llround functions.
17529 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17531 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17533 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17534 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17535 adresses to uintptr_t. Replace "long int" and "unsigned long
17536 int" with "greg_t" on va_arg.
17538 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17540 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17541 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17543 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17544 Move e_machine check before EI_CLASS check. Handle x32
17545 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17546 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17547 SKIP_EM_IA_64 and include
17548 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17550 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17551 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17552 (add_system_dir): New macro.
17554 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17555 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17557 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17568 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17570 * math/w_j0f.c (j0f): Likewise.
17572 * math/w_j0l.c (__j0l): Likewise.
17574 * math/w_j1.c (j1): Likewise.
17576 * math/w_j1f.c (j1f): Likewise.
17578 * math/w_j1l.c (__j1l): Likewise.
17580 * math/w_jn.c (jn): Likewise.
17582 * math/w_jnf.c (jnf): Likewise.
17584 * math/w_jnl.c (__jnl): Likewise.
17586 * math/libm-test.inc (j0_test): Add more tests.
17587 (j1_test): Likewise.
17588 (jn_test): Likewise. Add trailing semicolon to existing test.
17589 (y0_test): Likewise.
17590 (y1_test): Likewise.
17591 * sysdeps/i386/fpu/libm-test-ulps: Update.
17592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17596 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17597 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17598 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17599 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17600 (__tanl): Set errno for infinite argument.
17601 * sysdeps/i386/fpu/mptan.c: Remove.
17602 * sysdeps/i386/fpu/s_tan.S: Likewise.
17603 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17604 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17605 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17606 * math/libm-test.inc (tan_test): Add more tests and enable more
17607 tests for double and long double.
17608 * sysdeps/i386/fpu/libm-test-ulps: Update.
17609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17611 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17613 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17614 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17616 2012-03-16 Roland McGrath <roland@hack.frob.com>
17618 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17619 * configure.in: Use it for both main tree and add-ons.
17620 * configure: Regenerated.
17622 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17624 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17626 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17628 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17632 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17633 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17634 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17635 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17636 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17638 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17639 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17640 != 0 for prec == 2.
17641 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17642 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17643 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17644 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17645 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17646 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17647 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17648 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17649 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17650 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17651 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17652 * math/libm-test.inc (cos_test): Add more tests and enable more
17653 tests for long double.
17654 (sin_test): Likewise.
17655 (sincos_test): Likewise.
17656 * sysdeps/i386/fpu/libm-test-ulps: Update.
17657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17659 2012-03-16 David S. Miller <davem@davemloft.net>
17661 * sysdeps/sparc/fpu/math_private.h: New file.
17663 2012-03-15 David S. Miller <davem@davemloft.net>
17665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17675 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17679 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17680 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17682 * sysdeps/sparc/sparc-ifunc.h: New file.
17683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17711 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17721 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17722 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17725 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17728 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17730 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17734 2012-03-15 Andreas Jaeger <aj@suse.de>
17737 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17738 ieee754/flt-32 implementation for sin, cos and sincos.
17739 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17740 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17741 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17742 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17743 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17744 ieee754/flt-32 implementation for tan.
17746 * math/libm-test.inc (cos_test): Enable some large input tests for
17748 (sin_test): Likewise.
17749 (sincos_test): Likewise.
17750 (tan_test): Add tests for large input.
17752 * sysdeps/i386/fpu/libm-test-ulps: Update.
17754 2012-03-15 Andreas Jaeger <aj@suse.de>
17757 * math/libm-test.inc (cos_test): Add more test cases.
17758 (sin_test): Likewise.
17759 (sincos_test): Likewise.
17761 2012-03-15 Andreas Jaeger <aj@suse.de>
17764 * math/libm-test.inc (cos_test): Add a test case for large input
17766 (sin_test): Likewise.
17767 (sincos_test): Likewise.
17769 2012-03-15 Andreas Jaeger <aj@suse.de>,
17770 Joseph Myers <joseph@codesourcery.com>
17773 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17774 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17775 * sysdeps/i386/fpu/branred.c: Likewise.
17776 * sysdeps/i386/fpu/dosincos.c: Likewise.
17777 * sysdeps/i386/fpu/mpa.c: Likewise.
17778 * sysdeps/i386/fpu/s_cos.S: Likewise.
17779 * sysdeps/i386/fpu/s_sin.S: Likewise.
17780 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17781 * sysdeps/i386/fpu/sincos32.c: Likewise.
17783 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17785 (libc_feupdateenv_53bit): Define.
17786 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17788 (libc_feupdateenv_53bit): Define.
17790 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17791 53 bit (without extend i386 double precision).
17793 * math/libm-test.inc (sincos_test): Add tests for large input.
17797 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17799 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17803 2012-03-15 David S. Miller <davem@davemloft.net>
17805 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17806 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17807 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17808 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17832 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17833 fmin/fmax sysdep routines.
17834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17836 2012-03-14 David S. Miller <davem@davemloft.net>
17838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17840 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17841 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17842 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17843 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17844 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17845 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17858 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17860 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17861 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17863 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17864 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17865 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17866 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17910 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17915 * sysdeps/sparc/configure.in: New file.
17916 * sysdeps/sparc/configure: Generate.
17917 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17918 * configure: Regenerate.
17919 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17920 * config.make.in (have-as-vis3): New.
17921 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17922 available use -Av9d instead of -Av9a.
17923 * sysdeps/sparc/sparc64/Makefile: Likewise.
17924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17933 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17934 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17936 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17937 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17939 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17940 fzeros/fnegs to load 0x80000000 into a float register instead of
17942 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17944 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17948 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17949 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17950 ($(inst_includedir)/bits/syscall.h): Remove rule.
17951 ($(objpfx)bits/syscall.d): Include instead of
17952 $(objpfx)syscall-list.d.
17953 (generated): Change syscall-list.h and syscall-list.d to
17954 bits/syscall.h and bits/syscall.d.
17956 2012-03-14 Roland McGrath <roland@hack.frob.com>
17959 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17961 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17964 * math/s_csqrt.c: Include <float.h>.
17965 (__csqrt): Scale large or subnormal inputs.
17966 * math/s_csqrtf.c: Likewise.
17967 * math/s_csqrtl.c: Likewise.
17968 * math/libm-test.inc (csqrt_test): Add more tests.
17969 * sysdeps/i386/fpu/libm-test-ulps: Update.
17970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17973 * math/libm-test.inc (hypot_test): Add more tests.
17975 2012-03-13 David S. Miller <davem@davemloft.net>
17978 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17979 double-precision for the calculation instead of scaling.
17981 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17983 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17984 manipulate bits before adding and subtracting TWO52[sx].
17985 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17986 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17988 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17990 2012-03-13 David S. Miller <davem@davemloft.net>
17992 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17993 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17995 rtld-global-offsets.h
17996 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17998 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18001 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18003 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18004 'err' in the ifdef scope in which it is actually used.
18006 * nss/nss_db/db-init.c: Include string.h
18008 2012-03-12 David S. Miller <davem@davemloft.net>
18010 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18011 masking out of the most significant byte of random value used.
18012 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18013 Fix coding style in previous change.
18015 * sysdeps/unix/sysv/linux/kernel-features.h
18016 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18017 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18019 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18022 2012-03-11 David S. Miller <davem@davemloft.net>
18024 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18025 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18026 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18027 for 'resultvar' otherwise things get truncated on 64-bit.
18029 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18030 Fix masking out of the most significant byte of random value used.
18032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18034 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18038 2012-03-09 David S. Miller <davem@davemloft.net>
18040 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18041 variables with appropriate CPP guards.
18042 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18043 frame pointer, not the stack pointer. Correct layout comments. Fix test
18044 on resulting framesize and the management of the outregs buffer for pltexit.
18045 Preserve floating point return values across _dl_call_pltexit call.
18046 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18047 framesize and the management of the outregs buffer for pltexit.
18048 Preserve floating point return values across _dl_call_pltexit
18050 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18051 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18052 (print_exit): Fix format string for return register value.
18054 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18056 * sunrpc/Makefile (others): Add rpcgen.
18057 ($(objpfx)rpcgen): Remove special build rule and dependency on
18059 * sunrpc/rpcgen.c: New file.
18061 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18064 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18065 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18066 * sysdeps/i386/crti.S: Likewise.
18067 * sysdeps/i386/crtn.S: Likewise.
18068 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18069 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18070 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18071 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18072 * sysdeps/sh/crti.S: Likewise.
18073 * sysdeps/sh/crtn.S: Likewise.
18074 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18077 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18079 * locale/programs/locfile-kw.gperf: Likewise.
18080 * locale/programs/charmap-kw.h: Regenerated.
18081 * locale/programs/locfile-kw.h: Likewise.
18084 * intl/plural.y: Replace FSF snail mail address with URL.
18085 * intl/plural.c: Regenerated.
18087 2012-03-09 Richard Henderson <rth@twiddle.net>
18089 * include/math_private.h: Remove file.
18090 * math/math_private.h: Move file ...
18091 * sysdeps/generic/math_private.h: ... here.
18093 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18094 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18095 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18097 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18098 and <math_private.h>.
18099 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18100 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18101 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18102 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18103 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18104 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18105 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18106 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18107 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18108 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18109 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18110 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18111 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18112 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18113 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18114 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18115 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18116 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18117 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18118 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18120 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18121 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18123 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18124 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18129 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18132 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18133 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18134 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18135 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18136 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18137 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18139 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18140 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18141 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18142 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18143 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18144 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18145 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18146 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18147 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18148 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18149 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18150 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18151 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18152 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18153 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18154 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18155 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18156 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18157 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18158 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18159 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18160 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18162 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18163 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18164 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18165 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18166 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18167 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18168 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18169 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18170 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18171 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18172 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18173 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18174 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18177 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18178 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18179 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18180 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18181 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18182 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18183 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18184 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18185 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18186 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18187 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18188 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18189 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18190 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18191 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18192 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18193 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18194 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18195 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18196 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18197 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18198 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18199 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18200 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18201 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18202 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18203 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18204 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18205 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18206 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18207 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18208 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18209 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18210 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18211 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18212 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18213 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18214 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18215 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18216 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18217 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18218 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18219 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18220 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18221 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18222 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18223 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18224 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18225 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18226 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18227 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18228 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18229 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18230 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18231 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18232 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18233 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18234 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18235 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18236 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18237 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18238 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18239 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18240 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18241 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18242 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18243 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18244 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18245 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18246 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18247 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18248 * sysdeps/ieee754/k_standard.c: Likewise.
18249 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18252 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18253 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18258 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18259 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18261 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18268 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18276 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18290 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18292 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18295 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18296 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18297 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18298 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18299 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18300 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18301 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18302 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18303 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18304 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18308 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18322 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18323 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18326 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18331 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18332 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18333 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18334 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18335 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18336 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18337 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18338 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18339 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18340 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18341 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18342 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18344 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18346 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18347 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18348 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18351 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18352 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18354 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18355 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18356 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18357 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18358 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18359 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18360 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18361 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18362 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18363 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18364 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18365 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18366 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18367 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18368 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18369 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18370 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18371 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18372 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18373 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18374 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18375 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18376 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18377 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18378 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18379 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18380 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18381 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18382 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18383 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18384 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18385 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18386 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18387 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18388 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18389 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18390 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18391 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18392 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18393 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18394 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18395 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18396 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18397 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18398 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18399 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18400 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18401 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18402 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18403 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18404 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18405 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18406 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18407 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18408 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18409 * sysdeps/ieee754/s_lib_version.c: Likewise.
18410 * sysdeps/ieee754/s_matherr.c: Likewise.
18411 * sysdeps/ieee754/s_signgam.c: Likewise.
18412 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18413 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18414 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18415 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18416 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18417 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18418 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18419 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18420 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18421 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18422 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18423 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18424 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18425 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18426 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18427 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18428 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18429 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18430 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18431 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18432 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18434 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18436 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18437 * sunrpc/rpc_main.c: Likewise.
18438 * sunrpc/rpc_svcout.c: Likewise.
18440 2012-03-09 David S. Miller <davem@davemloft.net>
18442 * include/math_private.h: New file.
18444 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18446 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18447 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18448 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18449 from <bits/socket_type.h>.
18450 (enum __socket_type): Don't define here.
18451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18453 bits/socket_type.h.
18456 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18457 checking __USE_GNU.
18459 * Makerules ($(inst_includedir)/%.h): New rule.
18460 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18461 (install-others): Remove variable setting.
18462 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18464 2012-03-08 Richard Henderson <rth@twiddle.net>
18466 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18467 from macro to inline function; merge with the
18468 !__LIBC_INTERNAL_MATH_INLINES version.
18469 (__ieee754_sqrtf): Likewise.
18471 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18472 to inline function.
18473 (__rintf, __floor, __floorf): Likewise.
18475 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18476 macro to inline function.
18477 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18479 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18480 not <math/math_private.h>.
18482 2012-03-08 David S. Miller <davem@davemloft.net>
18484 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18486 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18488 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18490 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18492 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18493 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18495 2012-03-08 Ulrich Drepper <drepper@gmail.com>
18497 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18498 be defined individually, they must be defined as a block. Define
18499 S for printing a string instead of hidint the different by using a
18500 macro for adding the 'l'.
18501 * stdio-common/tst-fphex-wide.c: Adjust.
18503 2012-03-07 Marek Polacek <polacek@redhat.com>
18505 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18507 2012-03-08 Marek Polacek <polacek@redhat.com>
18510 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18511 * stdio-common/tst-fphex.c: Define a few macros to make the
18512 test reusable. Use them.
18513 * stdio-common/tst-fphex-wide.c: New file.
18515 2012-03-08 Joseph Myers <joseph@codesourcery.com>
18518 * manual/macros.texi (gnusystems): New macro.
18519 (nongnusystems): Likewise.
18520 (gnulinuxhurdsystems): Likewise.
18521 (gnuhurdsystems): Likewise..
18522 (gnulinuxsystems): Likewise.
18523 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18524 variants of the GNU system, not "GNU system".
18525 * manual/conf.texi: Likewise.
18526 * manual/errno.texi: Likewise. Update example of errno macro
18528 * manual/filesys.texi: Likewise.
18529 (getumask): Document as specific to GNU/Hurd.
18530 * manual/install.texi: Likewise. Reword some references to
18532 * manual/intro.texi: Likewise.
18533 * manual/io.texi: Likewise.
18534 (File Name Portability): Detail which constraints are inapplicable
18535 to all GNU systems and which are only inapplicable to GNU/Hurd.
18536 * manual/job.texi: Likewise.
18537 * manual/llio.texi: Likewise.
18538 (O_NOCTTY): Document as present on GNU/Linux.
18539 * manual/maint.texi: Likewise.
18540 * manual/memory.texi: Likewise.
18541 * manual/pattern.texi: Likewise.
18542 * manual/pipe.texi: Likewise.
18543 * manual/process.texi: Likewise.
18544 * manual/resource.texi: Likewise.
18545 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18547 * manual/setjmp.texi: Likewise.
18548 * manual/signal.texi: Likewise.
18549 * manual/startup.texi: Likewise.
18550 * manual/stdio.texi: Likewise.
18551 * manual/terminal.texi: Likewise.
18552 (ONLCR): Document as POSIX.
18553 (OXTABS): Document availability on GNU/Linux as XTABS.
18554 (ONOEOT): Document availability separately from other bits.
18555 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18556 * manual/time.texi: Likewise.
18557 * manual/users.texi: Likewise.
18558 * INSTALL: Regenerated.
18559 * sysdeps/gnu/errlist.c: Regenerated.
18561 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18562 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18563 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18565 * configure: Regenerated.
18567 2012-03-07 Joseph Myers <joseph@codesourcery.com>
18569 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18570 default includes instead of AC_HEADER_CHECK.
18571 * sysdeps/i386/configure: Regenerated.
18574 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18575 * math/s_cacoshf.c (__cacoshf): Likewise.
18576 * math/s_cacoshl.c (__cacoshl): Likewise.
18577 * math/s_casinh.c (__casinh): Set signs of result from argument.
18578 * math/s_casinhf.c (__casinhf): Likewise.
18579 * math/s_casinhl.c (__casinhl): Likewise.
18580 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18581 (casinh_test): Add more tests.
18582 * sysdeps/i386/fpu/libm-test-ulps: Update.
18583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18585 2012-03-07 Ulrich Drepper <drepper@gmail.com>
18587 * po/zh_TW.po: Update from translation team.
18589 * login/Makefile (distribute): Remove variable.
18590 * catgets/Makefile: Likewise.
18591 * mach/Makefile: Likewise.
18592 * malloc/Makefile: Likewise.
18593 * misc/Makefile: Likewise.
18594 * iconv/Makefile: Likewise.
18595 * nscd/Makefile: Likewise.
18596 * hurd/Makefile: Likewise.
18597 * manual/Makefile: Likewise.
18598 * locale/Makefile: Likewise.
18599 * intl/Makefile: Likewise.
18600 * conform/Makefile: Likewise.
18601 * nss/Makefile: Likewise.
18602 * time/Makefile: Likewise.
18603 * soft-fp/Makefile: Likewise.
18604 * dirent/Makefile: Likewise.
18605 * gmon/Makefile: Likewise.
18606 * po/Makefile: Likewise.
18607 * rt/Makefile: Likewise.
18608 * socket/Makefile: Likewise.
18609 * math/Makefile: Likewise.
18610 * signal/Makefile: Likewise.
18611 * debug/Makefile: Likewise.
18612 * elf/Makefile: Likewise.
18613 * timezone/Makefile: Likewise.
18614 * stdlib/Makefile: Likewise.
18615 * iconvdata/Makefile: Likewise.
18616 * sunrpc/Makefile: Likewise.
18617 * io/Makefile: Likewise.
18618 * argp/Makefile: Likewise.
18619 * inet/Makefile: Likewise.
18620 * hesiod/Makefile: Likewise.
18621 * grp/Makefile: Likewise.
18622 * csu/Makefile: Likewise.
18623 * wctype/Makefile: Likewise.
18624 * crypt/Makefile: Likewise.
18625 * libio/Makefile: Likewise.
18626 * string/Makefile: Likewise.
18627 * nis/Makefile: Likewise.
18628 * resolv/Makefile: Likewise.
18629 * stdio-common/Makefile: Likewise.
18630 * wcsmbs/Makefile: Likewise.
18631 * dlfcn/Makefile: Likewise.
18632 * posix/Makefile: Likewise.
18635 * timezone/Makefile: Don't install timezone files, just the programs
18638 2012-03-06 Ulrich Drepper <drepper@gmail.com>
18640 * nss/databases.def: Add missing gshadow entry.
18642 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18644 2012-03-06 Marek Polacek <polacek@redhat.com>
18647 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18648 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18649 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18650 * stdio-common/tst-long-dbl-fphex.c: New file.
18652 2012-03-06 David S. Miller <davem@davemloft.net>
18654 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18655 (set_obp_int): New function.
18656 (get_obp_int): New function.
18657 (__get_clockfreq_via_dev_openprom): Likewise.
18658 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18659 Avoid unused variable warnings on 'val' and use builtin_expect.
18660 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18662 (INLINE_CLONE_SYSCALL): Likewise.
18664 2012-03-05 David S. Miller <davem@davemloft.net>
18666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18668 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18672 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18673 only for |x| >= 40.
18674 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18676 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
18678 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18679 Replace gettimeofday with __vdso_gettimeofday.
18681 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18682 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18683 __vdso_clock_gettime and __vdso_getcpu.
18685 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18686 time with __vdso_time.
18688 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18690 * manual/lang.texi (size_t): Note types to which size_t may be
18691 equivalent with the GNU C Library, but do not describe when
18692 differences between them are significant.
18694 2012-03-05 Andreas Jaeger <aj@suse.de>
18696 * sysdeps/i386/fpu/libm-test-ulps: Update.
18698 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18701 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18702 (__ieee754_pow): Save and restore rounding mode and use
18703 round-to-nearest for main computations.
18704 * math/libm-test.inc (pow_test_tonearest): New function.
18705 (pow_test_towardzero): Likewise.
18706 (pow_test_downward): Likewise.
18707 (pow_test_upward): Likewise.
18708 (main): Call the new functions.
18709 * sysdeps/i386/fpu/libm-test-ulps: Update.
18710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18713 * math/libm-test.inc (cosh_test_tonearest): New function.
18714 (cosh_test_towardzero): Likewise.
18715 (cosh_test_downward): Likewise.
18716 (cosh_test_upward): Likewise.
18717 (sinh_test_tonearest): Likewise.
18718 (sinh_test_towardzero): Likewise.
18719 (sinh_test_downward): Likewise.
18720 (sinh_test_upward): Likewise.
18721 (main): Call the new functions.
18722 * sysdeps/i386/fpu/libm-test-ulps: Update.
18723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18725 2012-03-05 Tom de Vries <tom@codesourcery.com>
18727 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18728 default stack guard is set in last bytes.
18729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18731 2012-03-05 Kees Cook <keescook@chromium.org>
18733 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18736 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18737 possibly allocate from heap instead of stack.
18738 * stdio-common/bug-vfprintf-nargs.c: New file.
18739 * stdio-common/Makefile (tests): Add nargs overflow test.
18741 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18745 2012-03-03 Marek Polacek <polacek@redhat.com>
18747 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18748 * math/math_private.h: Likewise.
18749 * stdlib/tst-strtod.c: Likewise.
18750 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18751 * sysdeps/x86_64/bits/atomic.h: Likewise.
18753 2012-03-02 David S. Miller <davem@davemloft.net>
18755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18759 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18760 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18761 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18762 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18764 2012-03-02 Roland McGrath <roland@hack.frob.com>
18767 * manual/examples/README: New file, says the example source files
18768 can be used under GPL>=2.
18769 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18770 line containing just "*/".
18771 * manual/examples/add.c: Add copyright header (GPL>=2).
18772 * manual/examples/argp-ex1.c: Likewise.
18773 * manual/examples/argp-ex2.c: Likewise.
18774 * manual/examples/argp-ex3.c: Likewise.
18775 * manual/examples/argp-ex4.c: Likewise.
18776 * manual/examples/atexit.c: Likewise.
18777 * manual/examples/db.c: Likewise.
18778 * manual/examples/dir.c: Likewise.
18779 * manual/examples/dir2.c: Likewise.
18780 * manual/examples/execinfo.c: Likewise.
18781 * manual/examples/filecli.c: Likewise.
18782 * manual/examples/filesrv.c: Likewise.
18783 * manual/examples/fmtmsgexpl.c: Likewise.
18784 * manual/examples/genpass.c: Likewise.
18785 * manual/examples/inetcli.c: Likewise.
18786 * manual/examples/inetsrv.c: Likewise.
18787 * manual/examples/isockad.c: Likewise.
18788 * manual/examples/longopt.c: Likewise.
18789 * manual/examples/memopen.c: Likewise.
18790 * manual/examples/memstrm.c: Likewise.
18791 * manual/examples/mkfsock.c: Likewise.
18792 * manual/examples/mkisock.c: Likewise.
18793 * manual/examples/mygetpass.c: Likewise.
18794 * manual/examples/pipe.c: Likewise.
18795 * manual/examples/popen.c: Likewise.
18796 * manual/examples/rprintf.c: Likewise.
18797 * manual/examples/search.c: Likewise.
18798 * manual/examples/select.c: Likewise.
18799 * manual/examples/setjmp.c: Likewise.
18800 * manual/examples/sigh1.c: Likewise.
18801 * manual/examples/sigusr.c: Likewise.
18802 * manual/examples/stpcpy.c: Likewise.
18803 * manual/examples/strdupa.c: Likewise.
18804 * manual/examples/strftim.c: Likewise.
18805 * manual/examples/strncat.c: Likewise.
18806 * manual/examples/subopt.c: Likewise.
18807 * manual/examples/swapcontext.c: Likewise.
18808 * manual/examples/termios.c: Likewise.
18809 * manual/examples/testopt.c: Likewise.
18810 * manual/examples/testpass.c: Likewise.
18811 * manual/examples/timeval_subtract.c: Likewise.
18814 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18816 * manual/timeval_subtract.c.texi: ... here, new file.
18818 2012-03-02 David S. Miller <davem@davemloft.net>
18820 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18822 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18825 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18826 (__sin): Save and restore rounding mode and use round-to-nearest
18827 for all computations.
18828 (__cos): Save and restore rounding mode and use round-to-nearest
18829 for all computations.
18830 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18832 (tan): Save and restore rounding mode and use round-to-nearest for
18834 * math/libm-test.inc (cos_test_tonearest): New function.
18835 (cos_test_towardzero): Likewise.
18836 (cos_test_downward): Likewise.
18837 (cos_test_upward): Likewise.
18838 (sin_test_tonearest): Likewise.
18839 (sin_test_towardzero): Likewise.
18840 (sin_test_downward): Likewise.
18841 (sin_test_upward): Likewise.
18842 (tan_test_tonearest): Likewise.
18843 (tan_test_towardzero): Likewise.
18844 (tan_test_downward): Likewise.
18845 (tan_test_upward): Likewise.
18846 (main): Call the new functions.
18847 * sysdeps/i386/fpu/libm-test-ulps: Update.
18848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18851 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18852 small n, then large n, before computing and testing k+n.
18853 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18854 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18856 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18858 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18859 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18860 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18861 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18862 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18863 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18864 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18865 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18866 * math/libm-test.inc (scalbn_test): Add more tests.
18867 (scalbln_test): Likewise.
18869 * manual/filesys.texi (mode_t): Describe constraints on size and
18870 signedness, not exact equivalence to a particular type.
18872 (ino64_t): Likewise.
18874 (nlink_t): Likewise.
18875 (blkcnt_t): Likewise.
18876 (blkcnt64_t): Likewise.
18877 * manual/llio.texi (off_t): Likewise.
18880 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18881 (__ieee754_exp): Save and restore rounding mode and use
18882 round-to-nearest for all computations.
18883 * math/libm-test.inc (exp_test_tonearest): New function.
18884 (exp_test_towardzero): Likewise.
18885 (exp_test_downward): Likewise.
18886 (exp_test_upward): Likewise.
18887 (main): Call the new functions.
18888 * sysdeps/i386/fpu/libm-test-ulps: Update.
18889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18891 2012-03-01 Chris Demetriou <cgd@google.com>
18893 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18894 have predictable order.
18896 2012-03-01 David S. Miller <davem@davemloft.net>
18898 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18900 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18901 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18902 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18903 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18905 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18906 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18907 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18909 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18910 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18911 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18912 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18913 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18917 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18918 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18919 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18921 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18922 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18923 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18924 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18925 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18926 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18927 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18928 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18929 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18930 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18931 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18932 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18934 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18935 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18936 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18937 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18938 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18939 * sysdeps/sparc/elf/configure: Regenerated.
18941 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18943 * configure.in (AS, LD): Require binutils 2.20 or later.
18944 * configure: Regenerated.
18945 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18946 as required minimum version.
18947 * INSTALL: Regenerated.
18951 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18952 before squaring exponent.
18953 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18954 bottom long double and 27 bits of top long double before squaring
18956 * math/libm-test.inc (erfc_test): Add more tests.
18957 * sysdeps/i386/fpu/libm-test-ulps: Update.
18958 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18961 2012-03-01 Kai Tietz <ktietz@redhat.com>
18963 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18964 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18965 containing bit-fields.
18966 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18967 * soft-fp/single.h (_FP_UNION_S): Likewise.
18968 * soft-fp/double.h (_FP_UNION_D): Likewise.
18970 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18973 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18974 not include ../strcmp.S.
18975 [USE_AS_STRNCASECMP_L]: Likewise.
18976 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18977 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18978 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18979 (__strncasecmp_l_ia32): Define as alias to
18980 __strncasecmp_l_nonascii.
18983 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18984 * sysdeps/i386/fpu/libm-test-ulps: Update.
18985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18987 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18990 2012-02-29 Jeff Law <law@redhat.com>
18992 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18993 out of bounds read.
18995 2012-02-29 Marek Polacek <polacek@redhat.com>
18998 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18999 * elf/Makefile: Add rules to run tst-unused-dep.out.
19001 2012-02-28 David S. Miller <davem@davemloft.net>
19003 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19004 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19005 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19006 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19007 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19008 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19010 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19012 * math/libm-test.inc (llround_test): Move one test from
19013 lround_test. Use TEST_f_L in moved test.
19014 (lround_test): Move misplaced test to llround_test. Add testcase
19017 2012-02-28 Ulrich Drepper <drepper@gmail.com>
19019 * sysdeps/x86_64/fpu/e_expf.S: New file.
19020 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19022 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19025 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19026 of remain_len that may cause incomplete multi-byte character and
19028 * posix/bug-regex33.c: New file.
19029 * posix/Makefile (tests): Add bug-regex33.
19031 2012-02-28 Joseph Myers <joseph@codesourcery.com>
19033 * manual/macros.texi: New file.
19034 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19035 * manual/libc.texinfo: Include macros.texi.
19036 * manual/creatute.texi: Likewise.
19037 * manual/install.texi: Likewise.
19038 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19039 @glibcadj{} in references to the GNU C Library.
19040 * manual/charset.texi: Likewise.
19041 * manual/conf.texi: Likewise.
19042 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19043 when not using those macros.
19044 * manual/creature.texi: Likewise.
19045 * manual/crypt.texi: Likewise.
19046 * manual/errno.texi: Likewise.
19047 * manual/filesys.texi: Likewise.
19048 * manual/header.texi: Likewise.
19049 * manual/install.texi: Likewise.
19050 * manual/intro.texi: Likewise.
19051 * manual/io.texi: Likewise.
19052 * manual/job.texi: Likewise.
19053 * manual/lang.texi: Likewise.
19054 * manual/libc.texiinfo: Likewise.
19055 * manual/llio.texi: Likewise.
19056 * manual/locale.texi: Likewise.
19057 * manual/maint.texi: Likewise.
19058 * manual/math.texi: Likewise.
19059 * manual/memory.texi: Likewise.
19060 * manual/message.texi: Likewise.
19061 * manual/nss.texi: Likewise.
19062 * manual/pattern.texi: Likewise.
19063 * manual/process.texi: Likewise.
19064 * manual/resource.texi: Likewise.
19065 * manual/search.texi: Likewise.
19066 * manual/setjmp.texi: Likewise.
19067 * manual/signal.texi: Likewise.
19068 * manual/socket.texi: Likewise.
19069 * manual/startup.texi: Likewise.
19070 * manual/stdio.texi: Likewise.
19071 * manual/string.texi: Likewise.
19072 * manual/sysinfo.texi: Likewise.
19073 * manual/syslog.texi: Likewise.
19074 * manual/terminal.texi: Likewise.
19075 * manual/time.texi: Likewise.
19076 * manual/users.texi: Likewise.
19077 * INSTALL: Regenerated.
19078 * NOTES: Regenerated.
19079 * sysdeps/gnu/errlist.c: Regenerated.
19081 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19083 * include/dirent.h: Include <dirstream.h> before
19086 2012-02-28 David S. Miller <davem@davemloft.net>
19088 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19089 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19090 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19091 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19093 2012-02-27 David S. Miller <davem@davemloft.net>
19095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19097 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19098 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19101 frame pointer instead of stack pointer relative arg slot.
19102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19103 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19104 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19106 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19109 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19111 2012-02-27 David S. Miller <davem@davemloft.net>
19113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19117 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19118 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19119 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19120 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19122 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19124 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19125 later. Allow versions 5-9.
19126 * configure: Regenerated.
19127 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19128 required minimum version and 4.6 as recommended version. Do not
19129 mention bugs in GCC 2.7 and 2.8.
19130 * INSTALL: Regenerated.
19132 2012-02-27 David S. Miller <davem@davemloft.net>
19134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19138 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19139 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19140 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19141 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19143 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19144 manipulate bits before adding and subtracting TWO112[sx].
19145 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19147 2012-02-27 Roland McGrath <roland@hack.frob.com>
19150 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19151 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19152 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19153 being in POSIX, because they are in 1003.1-2008.
19155 * rt/tst-aio.c: Include <fcntl.h>.
19156 * rt/tst-aio7.c: Likewise.
19157 * rt/tst-aio64.c: Likewise.
19159 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19161 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19163 * manual/install.texi (--with-headers): Describe headers as
19164 interface headers, not private headers.
19165 (Specific advice for GNU/Linux systems): Describe use of headers
19166 from "make headers_install", not private headers from older
19168 * INSTALL: Regenerated.
19169 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19171 * sysdeps/unix/sysv/linux/configure: Regenerated.
19173 * manual/llio.texi (fclean): Remove documentation.
19175 * manual/Makefile (libc-texi-generated): New variable. Include
19177 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19178 $(libc-texi-generated), not duplicated list of files.
19179 (version.texi, stamp-version): New rules.
19180 (realclean): Remove $(libc-texi-generated), not individual files
19181 from that list. Do not remove dir-add.texinfo.
19182 * manual/libc.texinfo: Comment out uses of edition numbers and
19183 references to printed manual. Remove last-updated dates.
19184 (EDITION): Comment out.
19186 (VERSION, UPDATED): Remove.
19187 (version.texi): Include.
19189 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19191 * sysdeps/posix/spawni.c: Include <signal.h>.
19192 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19193 * sysdeps/pthread/aio_fsync.c: Likewise.
19195 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19197 * conform/Makefile (tests): Run only when not cross-compiling and
19198 when fast-check is not defined.
19200 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19201 * conform/data/limits.h-data: Fixes for POSIX2008.
19202 * conform/run-conformtest.sh: Run all tests.
19203 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19205 * include/bits/dlfcn.h: Likewise.
19206 * include/langinfo.h: Likewise.
19207 * include/monetary.h: Likewise.
19208 * include/sys/poll.h: Likewise.
19210 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19212 * posix/spawn.h: Define __need_sigset_t.
19213 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19214 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19215 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19216 to get sigevent_t only.
19217 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19218 only for __USE_GNU.
19219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19220 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19221 process_vm_writev only for __USE_GNU.
19222 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19224 * conform/Makefile: For now ignore errors from run-conformtest.
19225 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19226 POSIX to avoid namespace pollution. Don't prepend headers.
19227 * conform/data/aio.h-data: Fixes for POSIX testing.
19228 * conform/data/fcntl.h-data: Likewise.
19229 * conform/data/glob.h-data: Likewise.
19230 * conform/data/grp.h-data: Likewise.
19231 * conform/data/pthread.h-data: Likewise.
19232 * conform/data/pwd.h-data: Likewise.
19233 * conform/data/signal.h-data: Likewise.
19234 * conform/data/spawn.h-data: Likewise.
19235 * conform/data/stdio.h-data: Likewise.
19236 * conform/data/stdlib.h-data: Likewise.
19237 * conform/data/stropts.h-data: Likewise.
19238 * conform/data/sys/mman.h-data: Likewise.
19239 * conform/data/sys/stat.h-data: Likewise.
19240 * conform/data/sys/types.h-data: Likewise.
19241 * conform/data/sys/wait.h-data: Likewise.
19242 * conform/data/time.h-data: Likewise.
19243 * conform/data/unistd.h-data: Likewise.
19244 * conform/data/utime.h-data: Likewise.
19246 * io/sys/stat.h: fchmod was always in POSIX.
19247 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19248 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19249 * rt/aio.h: Define __need_timespec before including <time.h>.
19250 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19251 struct. Add forward declaration of pthread_attr_t and use it in
19253 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19254 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19255 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19256 always remove CLK_TCK definition.
19258 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19260 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19262 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19264 * conform/run-conformtest.sh: New file.
19265 * conform/Makefile: Run run-conformtest for tests.
19266 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19269 * conform/data/uchar.h-data: New file.
19270 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19271 * conform/data/arpa/inet.h-data: Likewise.
19272 * conform/data/assert.h-data: Likewise.
19273 * conform/data/complex.h-data: Likewise.
19274 * conform/data/cpio.h-data: Likewise.
19275 * conform/data/ctype.h-data: Likewise.
19276 * conform/data/dirent.h-data: Likewise.
19277 * conform/data/dlfcn.h-data: Likewise.
19278 * conform/data/errno.h-data: Likewise.
19279 * conform/data/fcntl.h-data: Likewise.
19280 * conform/data/float.h-data: Likewise.
19281 * conform/data/fmtmsg.h-data: Likewise.
19282 * conform/data/fnmatch.h-data: Likewise.
19283 * conform/data/ftw.h-data: Likewise.
19284 * conform/data/glob.h-data: Likewise.
19285 * conform/data/grp.h-data: Likewise.
19286 * conform/data/iconv.h-data: Likewise.
19287 * conform/data/inttypes.h-data: Likewise.
19288 * conform/data/langinfo.h-data: Likewise.
19289 * conform/data/libgen.h-data: Likewise.
19290 * conform/data/limits.h-data: Likewise.
19291 * conform/data/locale.h-data: Likewise.
19292 * conform/data/math.h-data: Likewise.
19293 * conform/data/monetary.h-data: Likewise.
19294 * conform/data/mqueue.h-data: Likewise.
19295 * conform/data/ndbm.h-data: Likewise.
19296 * conform/data/net/if.h-data: Likewise.
19297 * conform/data/netdb.h-data: Likewise.
19298 * conform/data/netinet/in.h-data: Likewise.
19299 * conform/data/nl_types.h-data: Likewise.
19300 * conform/data/poll.h-data: Likewise.
19301 * conform/data/pthread.h-data: Likewise.
19302 * conform/data/pwd.h-data: Likewise.
19303 * conform/data/regex.h-data: Likewise.
19304 * conform/data/sched.h-data: Likewise.
19305 * conform/data/search.h-data: Likewise.
19306 * conform/data/semaphore.h-data: Likewise.
19307 * conform/data/setjmp.h-data: Likewise.
19308 * conform/data/signal.h-data: Likewise.
19309 * conform/data/spawn.h-data: Likewise.
19310 * conform/data/stdarg.h-data: Likewise.
19311 * conform/data/stdio.h-data: Likewise.
19312 * conform/data/stdlib.h-data: Likewise.
19313 * conform/data/string.h-data: Likewise.
19314 * conform/data/strings.h-data: Likewise.
19315 * conform/data/stropts.h-data: Likewise.
19316 * conform/data/sys/ipc.h-data: Likewise.
19317 * conform/data/sys/mman.h-data: Likewise.
19318 * conform/data/sys/msg.h-data: Likewise.
19319 * conform/data/sys/resource.h-data: Likewise.
19320 * conform/data/sys/select.h-data: Likewise.
19321 * conform/data/sys/sem.h-data: Likewise.
19322 * conform/data/sys/shm.h-data: Likewise.
19323 * conform/data/sys/socket.h-data: Likewise.
19324 * conform/data/sys/stat.h-data: Likewise.
19325 * conform/data/sys/statvfs.h-data: Likewise.
19326 * conform/data/sys/time.h-data: Likewise.
19327 * conform/data/sys/timeb.h-data: Likewise.
19328 * conform/data/sys/times.h-data: Likewise.
19329 * conform/data/sys/types.h-data: Likewise.
19330 * conform/data/sys/uio.h-data: Likewise.
19331 * conform/data/sys/un.h-data: Likewise.
19332 * conform/data/sys/utsname.h-data: Likewise.
19333 * conform/data/sys/wait.h-data: Likewise.
19334 * conform/data/syslog.h-data: Likewise.
19335 * conform/data/tar.h-data: Likewise.
19336 * conform/data/termios.h-data: Likewise.
19337 * conform/data/utime.h-data: Likewise.
19338 * conform/data/utmpx.h-data: Likewise.
19339 * conform/data/varargs.h-data: Likewise.
19340 * conform/data/wchar.h-data: Likewise.
19341 * conform/data/wctype.h-data: Likewise.
19342 * conform/data/wordexp.h-data: Likewise.
19344 * include/stropts.h: New file.
19345 * include/uchar.h: New file.
19346 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19347 * include/assert.h: Likewise.
19348 * include/ctype.h: Likewise.
19349 * include/dirent.h: Likewise.
19350 * include/dlfcn.h: Likewise.
19351 * include/fcntl.h: Likewise.
19352 * include/fnmatch.h: Likewise.
19353 * include/glob.h: Likewise.
19354 * include/grp.h: Likewise.
19355 * include/libio.h: Likewise.
19356 * include/locale.h: Likewise.
19357 * include/math.h: Likewise.
19358 * include/net/if.h: Likewise.
19359 * include/netdb.h: Likewise.
19360 * include/netinet/in.h: Likewise.
19361 * include/pthread.h: Likewise.
19362 * include/pwd.h: Likewise.
19363 * include/regex.h: Likewise.
19364 * include/sched.h: Likewise.
19365 * include/search.h: Likewise.
19366 * include/setjmp.h: Likewise.
19367 * include/signal.h: Likewise.
19368 * include/stdio.h: Likewise.
19369 * include/stdlib.h: Likewise.
19370 * include/string.h: Likewise.
19371 * include/sys/cdefs.h: Likewise.
19372 * include/sys/mman.h: Likewise.
19373 * include/sys/msg.h: Likewise.
19374 * include/sys/resource.h: Likewise.
19375 * include/sys/select.h: Likewise.
19376 * include/sys/socket.h: Likewise.
19377 * include/sys/stat.h: Likewise.
19378 * include/sys/statvfs.h: Likewise.
19379 * include/sys/time.h: Likewise.
19380 * include/sys/times.h: Likewise.
19381 * include/sys/uio.h: Likewise.
19382 * include/sys/utsname.h: Likewise.
19383 * include/sys/wait.h: Likewise.
19384 * include/termios.h: Likewise.
19385 * include/time.h: Likewise.
19386 * include/ulimit.h: Likewise.
19387 * include/unistd.h: Likewise.
19388 * include/utime.h: Likewise.
19389 * include/wchar.h: Likewise.
19390 * include/wctype.h: Likewise.
19391 * include/wordexp.h: Likewise.
19393 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19395 * time/time.h: TIME_UTC must be a macro.
19396 Make timespec_get available for ISO C11 only as well.
19398 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19400 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19401 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19403 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19405 * configure.in: Use -o not -a in test for unsupported multi-arch.
19407 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19409 * manual/texinfo.tex: Update to version 2012-01-19.16.
19411 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19413 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19415 2012-02-24 Roland McGrath <roland@hack.frob.com>
19418 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19419 * manual/fdl-1.3.texi: New file.
19420 * manual/fdl-1.1.texi: File removed.
19423 * manual/libc.texinfo (FDL_VERSION): New @set.
19424 Use it for mention of FDL in cover text.
19425 (Documentation License): Use it in @include file name.
19427 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19428 Roland McGrath <roland@hack.frob.com>
19431 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19432 not LONG_LONG_MAX and LONG_LONG_MIN.
19433 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19434 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19436 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19438 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19442 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19443 manipulate bits before adding and subtracting TWO23[sx].
19444 * math/libm-test.inc (nearbyint_test): Add more tests.
19446 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19449 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19450 bits before adding and subtracting TWO23[sx].
19451 * math/libm-test.inc (rint_test): Add more tests.
19452 (rint_test_tonearest): Likewise.
19453 (rint_test_towardzero): Likewise.
19454 (rint_test_downward): Likewise.
19455 (rint_test_upward: Likewise.
19457 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19460 * include/stdc-predef.h: New file. Extracted from features.h.
19461 * include/features.h: Include stdc-predef.h.
19462 * Makefile (headers): Add stdc-predef.h.
19463 * CONFORMANCE (Compiler limitations): Update.
19465 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19467 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19469 2012-02-21 David S. Miller <davem@davemloft.net>
19471 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19472 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19474 2012-02-20 David S. Miller <davem@davemloft.net>
19476 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19477 using a normal save/restore sequence, rather than allocating a
19478 dummy stack frame just to store a frame pointer and restore.
19479 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19481 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19483 * manual/install.texi: Fix stray word in line-wrapped comment.
19485 2012-02-20 David S. Miller <davem@davemloft.net>
19487 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19488 both binutils and gcc support GOTDATA.
19490 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19491 "rd %pc" in the PIC register setup sequences.
19493 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19494 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19495 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19496 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19497 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19499 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19500 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19501 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19502 (SYSCALL_ERROR_HANDLER): Likewise.
19503 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19504 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19506 (SYSCALL_ERROR_HANDLER): Likewise.
19508 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19509 (HAVE_GCC_GOTDATA): New.
19510 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19511 relocation support in both binutils and gcc.
19512 * sysdeps/sparc/elf/configure: Regenerate.
19514 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19515 * sysdeps/sparc/sparc32/elf/configure: Delete.
19516 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19517 * sysdeps/sparc/sparc64/elf/configure: Delete.
19518 * sysdeps/sparc/elf/configure.in: New file.
19519 * sysdeps/sparc/elf/configure: Generate.
19521 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19522 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19523 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19524 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19525 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19527 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19529 * manual/install.texi: Do not mention specific glibc version
19531 * manual/libc.texinfo (VERSION, UPDATED): Update.
19532 (@copying): Use @copyright{} and range of years.
19534 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19537 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19538 [crti.S not in sysdirs] (generated): Do not append.
19539 [crti.S not in sysdirs] (omit-deps): Likewise.
19540 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19541 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19542 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19543 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19544 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19546 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19547 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19548 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19549 * csu/defs.awk: Remove file.
19550 * sysdeps/generic/initfini.c: Likewise.
19551 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19553 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19556 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19558 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19559 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19560 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19561 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19562 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19563 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19565 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19566 (__EPOLL_PACKED): Define to empty if not defined by
19568 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19572 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19574 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19575 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19576 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19577 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19579 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19583 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19585 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19587 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19588 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19589 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19592 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19594 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19595 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19597 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19599 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19600 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19602 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19604 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19607 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19609 * math/w_acos.c: Use non-signaling floating-point comparisons.
19610 * math/w_acosf.c: Likewise.
19611 * math/w_acosh.c: Likewise.
19612 * math/w_acoshf.c: Likewise.
19613 * math/w_acoshl.c: Likewise.
19614 * math/w_acosl.c: Likewise.
19615 * math/w_asin.c: Likewise.
19616 * math/w_asinf.c: Likewise.
19617 * math/w_asinl.c: Likewise.
19618 * math/w_atanh.c: Likewise.
19619 * math/w_atanhf.c: Likewise.
19620 * math/w_atanhl.c: Likewise.
19621 * math/w_exp2.c: Likewise.
19622 * math/w_exp2f.c: Likewise.
19623 * math/w_exp2l.c: Likewise.
19624 * math/w_j0.c: Likewise.
19625 * math/w_j0f.c: Likewise.
19626 * math/w_j0l.c: Likewise.
19627 * math/w_j1.c: Likewise.
19628 * math/w_j1f.c: Likewise.
19629 * math/w_j1l.c: Likewise.
19630 * math/w_jn.c: Likewise.
19631 * math/w_jnf.c: Likewise.
19632 * math/w_log.c: Likewise.
19633 * math/w_log10.c: Likewise.
19634 * math/w_log10f.c: Likewise.
19635 * math/w_log10l.c: Likewise.
19636 * math/w_log2.c: Likewise.
19637 * math/w_log2f.c: Likewise.
19638 * math/w_log2l.c: Likewise.
19639 * math/w_logf.c: Likewise.
19640 * math/w_logl.c: Likewise.
19641 * math/w_sqrt.c: Likewise.
19642 * math/w_sqrtf.c: Likewise.
19643 * math/w_sqrtl.c: Likewise.
19644 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19645 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19646 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19647 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19648 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19650 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19653 * manual/string.texi (strnlen): Use correct parameter name in
19654 equivalent expression.
19656 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19659 * manual/users.texi (seteuid): Consistently use neweuid for
19662 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19665 * manual/nss.texi (Services in the NSS configuration): Correct
19666 list of services in example configuration file.
19668 2012-02-19 Nick Bowler <nbowler@draconx.ca>
19671 * manual/arith.texi: Remove statements about negative zero
19672 behaving identically to zero.
19674 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19677 * manual/install.texi: Do not document upgrading from libc5.
19679 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19682 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19684 2012-02-18 David S. Miller <davem@davemloft.net>
19686 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19687 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19688 %o7 across the call.
19689 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19691 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19692 SETUP_PIC_REG_LEAF.
19693 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19694 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19695 * sysdeps/sparc/crtn.S: Likewise.
19697 2012-02-17 Ulrich Drepper <drepper@gmail.com>
19699 * aout/Makefile: Remove.
19701 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19704 * manual/examples/argp-ex1.c (main): Format definition in GNU
19706 * manual/examples/argp-ex2.c (main): Likewise.
19707 * manual/examples/argp-ex3.c (main): Likewise.
19708 * manual/examples/argp-ex4.c (main): Likewise.
19709 * manual/examples/longopt.c (main): Use new-style prototype
19711 * manual/examples/strncat.c (main): Specify return type and use
19712 (void) for arguments.
19713 * manual/examples/subopt.c (main): Use char **argv argument.
19715 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19718 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19721 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19724 * manual/string.texi (strchr): Change when strchrnul is
19727 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19730 * manual/locale.texi (setlocale): Document LOCPATH.
19732 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19735 * manual/process.texi (execle): Move @dots{} before last argument.
19737 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
19740 * manual/charset.texi (Generic Charset Conversion): Fix typo
19741 (LC_TYPE -> LC_CTYPE).
19743 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19746 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19747 (scalbnf): Likewise.
19748 (scalbnl): Likewise.
19749 (scalbln): Likewise.
19750 (scalblnf): Likewise.
19751 (scalblnl): Likewise.
19752 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19753 (vwarnx): Likewise.
19756 * manual/filesys.texi (telldir): Use braces around return type.
19757 * manual/llio.texi (mmap): Add space after comma.
19758 (mmap64): Likewise.
19759 * manual/math.texi (jn): Use @var{} on parameter names.
19765 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19767 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19769 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19770 (sched_get_priority_max): Likewise.
19771 * manual/signal.texi (sigvec): Add space after comma.
19772 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19774 (if_indextoname): Likewise.
19775 (if_freenameindex): Likewise.
19776 (sendto): Use ',' instead of '.' in prototype.
19777 * manual/startup.texi (syscall): Use @dots{} instead of literal
19779 * manual/stdio.texi (__fpending): Separate initial words of
19780 paragraph from @deftypefun line.
19781 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19783 (vsyslog): Use @var{} on parameter names.
19784 * manual/terminal.texi (stty): Use @var{} on parameter names.
19785 * manual/users.texi (getutmp): Use @var{} on parameter names.
19786 (getutmpx): Likewise.
19788 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19791 * manual/stdio.texi (fopen): Fix typos in description of
19794 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19797 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19798 get clock_id definition.
19800 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19803 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19804 (madvise): Cast every argument to void on its own.
19806 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19809 * manual/startup.texi (Exit Status): Fix typo.
19811 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19814 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19815 * manual/examples/argp-ex2.c: Likewise.
19816 * manual/examples/argp-ex3.c: Likewise.
19818 2012-02-16 Richard Henderson <rth@redhat.com>
19820 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19821 * sysdeps/s390/s390-32/initfini.c: Remove.
19822 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19823 * sysdeps/s390/s390-64/initfini.c: Remove.
19825 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19827 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19828 compiler output for sysdeps/generic/initfini.c.
19829 * sysdeps/sh/elf/initfini.c: Remove file.
19831 2012-02-16 David S. Miller <davem@davemloft.net>
19834 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19836 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19837 * sysdeps/sparc/crti.S: New file.
19838 * sysdeps/sparc/crtn.S: New file.
19839 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19840 * sysdeps/sparc/sparc64/Makefile: Likewise.
19842 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19845 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19847 2012-02-15 Roland McGrath <roland@hack.frob.com>
19850 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19852 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19853 (write, read, close): Likewise.
19854 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19856 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19858 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19859 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19860 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19861 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19863 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19867 2012-02-14 Marek Polacek <polacek@redhat.com>
19869 * sysdeps/x86_64/crti.S: New file.
19870 * sysdeps/x86_64/crtn.S: New file.
19871 * sysdeps/x86_64/elf/initfini.c: Remove file.
19873 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19875 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19876 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19877 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19878 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19880 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19884 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19886 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19887 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19888 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19889 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19891 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19895 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19897 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19898 __feraiseexcept instead of feraiseexcept.
19900 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19901 nanosleep invocations.
19902 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19903 strings, and add error checking for a nanosleep invocations.
19905 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19907 Replace FSF snail mail address with URLs, as per GNU coding standards.
19908 Most of the snail mail addresses were wrong anyway, and omitting
19909 them makes the source code easier to maintain. Almost all of the
19910 changes are to license notices and to locale LC_IDENTIFICATION
19911 addresses, except for this one:
19912 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19913 not its snail mail address.
19915 2012-02-09 Richard Henderson <rth@twiddle.net>
19917 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19918 of kernel-features.h.
19920 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19922 2012-02-08 Marek Polacek <polacek@redhat.com>
19924 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19925 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19926 * sysdeps/gnu/_G_config.h: Likewise.
19927 * sysdeps/generic/_G_config.h: Likewise.
19929 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19931 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19935 * sysdeps/powerpc/powerpc32/crti.S: New file.
19936 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19937 * sysdeps/powerpc/powerpc64/crti.S: New file.
19938 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19940 * Makeconfig (have-initfini): Don't set.
19941 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19942 * configure.in (nopic_initfini): Don't substitute.
19943 * config.h.in (HAVE_INITFINI): Don't #undef.
19944 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19945 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19947 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19949 Support crti.S and crtn.S provided directly by architectures.
19950 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19951 [crti.S in sysdirs] (omit-deps): Likewise.
19952 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19953 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19954 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19955 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19956 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19957 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19958 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19959 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19960 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19961 compiler output for sysdeps/generic/initfini.c.
19962 * sysdeps/i386/elf/Makefile: Remove file.
19963 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19965 2012-02-07 Marek Polacek <polacek@redhat.com>
19967 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19968 * sysdeps/gnu/_G_config.h: Likewise.
19969 * sysdeps/mach/hurd/_G_config.h: Likewise.
19971 2012-02-07 Marek Polacek <polacek@redhat.com>
19973 * math/Makefile (tests): Add tst-CMPLX2.
19974 * math/tst-CMPLX2.c: New file.
19976 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19978 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19980 * math/libm-test.inc (jn_test): Add missing L suffix.
19982 2012-02-06 Marek Polacek <polacek@redhat.com>
19984 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19985 * sysdeps/i386/fpu/e_powf.S: Likewise.
19986 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19987 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19988 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19989 * sysdeps/i386/fpu/e_pow.S: Likewise.
19990 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19991 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19992 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19993 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19994 * sysdeps/i386/fpu/e_log2.S: Likewise.
19995 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19996 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19997 * sysdeps/i386/fpu/e_powl.S: Likewise.
19998 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19999 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20000 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20001 * sysdeps/i386/fpu/e_logl.S: Likewise.
20002 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20003 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20004 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20005 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20006 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20007 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20008 * sysdeps/i386/fpu/e_log.S: Likewise.
20009 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20010 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20011 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20012 * sysdeps/i386/fpu/e_logf.S: Likewise.
20013 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20014 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20015 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20016 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20017 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20018 * sysdeps/i386/fpu/e_log10.S: Likewise.
20019 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20020 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20021 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20022 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20023 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20024 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20025 * sysdeps/i386/asm-syntax.h: Likewise.
20026 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20027 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20028 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20029 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20030 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20031 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20032 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20033 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20034 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20035 * sysdeps/powerpc/sysdep.h: Likewise.
20036 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20037 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20039 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20042 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20044 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20046 * sysdeps/i386/sysdep.h: Include <features.h>.
20047 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20050 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20052 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20054 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20057 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20059 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20060 (SETUP_PIC_REG): Use GET_PC_THUNK.
20061 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20064 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20066 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20067 for non-PIC compilation.
20068 (SETUP_PIC_REG): Add .p2align directive.
20069 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20070 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20071 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20072 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20073 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20074 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20075 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20076 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20077 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20078 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20079 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20080 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20081 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20082 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20083 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20084 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20085 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20086 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20087 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20088 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20089 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20090 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20091 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20092 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20093 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20094 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20095 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20096 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20097 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20098 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20099 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20100 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20101 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20102 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20103 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20104 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20105 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20106 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20107 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20108 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20109 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20111 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20113 * math/tst-CMPLX.c: Include <stdio.h>.
20115 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20117 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20119 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20120 * sysdeps/sparc/bits/mathdef.h: Likewise.
20122 2012-01-31 Marek Polacek <polacek@redhat.com>
20124 * libio/libio.h: Don't define _PARAMS.
20125 * locale/programs/config.h: Don't define PARAMS.
20126 * stdlib/strtol_l.c: Likewise.
20127 (__strtol_l): Remove PARAMS from the prototype.
20129 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20131 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20132 names. Just use the correct names. Remove unnecessary wrapper
20134 * malloc/arena.c: Likewise.
20135 * malloc/hooks.c: Likewise.
20137 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20138 ARENA_TEST says not to. Simplify test for creation of a new arena.
20139 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20141 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20143 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20145 (update_get_addr): New function.
20146 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20147 GET_ADDR_MODULE parameter.
20149 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20151 * crypt/cert.c: Remove __STDC__ conditionals.
20152 * crypt/crypt-entry.c: Likewise.
20153 * crypt/crypt_util.c: Likewise.
20154 * libio/filedoalloc.c: Likewise.
20155 * libio/fileops.c: Likewise.
20156 * libio/genops.c: Likewise.
20157 * libio/iofclose.c: Likewise.
20158 * libio/iofdopen.c: Likewise.
20159 * libio/iofopen.c: Likewise.
20160 * libio/iofopen64.c: Likewise.
20161 * libio/iogetdelim.c: Likewise.
20162 * libio/iopopen.c: Likewise.
20163 * libio/obprintf.c: Likewise.
20164 * libio/oldfileops.c: Likewise.
20165 * libio/oldiofclose.c: Likewise.
20166 * libio/oldiofdopen.c: Likewise.
20167 * libio/oldiofopen.c: Likewise.
20168 * libio/oldiopopen.c: Likewise.
20169 * libio/wfiledoalloc.c: Likewise.
20170 * libio/wgenops.c: Likewise.
20171 * locale/programs/xmalloc.c: Likewise.
20172 * misc/syslog.c: Likewise.
20173 * stdio-common/xbug.c: Likewise.
20174 * string/memchr.c: Likewise.
20175 * string/memcmp.c: Likewise.
20176 * string/memrchr.c: Likewise.
20177 * string/rawmemchr.c: Likewise.
20178 * sysdeps/posix/getcwd.c: Likewise.
20179 * time/strftime_l.c: Likewise.
20181 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20183 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20184 * config.make.in (config-cflags-sse2avx): Define.
20185 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20188 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20190 * scripts/config.guess: Update from upstream config git repository.
20191 * scripts/config.sub: Likewise.
20193 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20195 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20197 (R_TILEPRO_*, R_TILEGX_*): New macros.
20199 * scripts/firstversions.awk: Fix bug in version range handling.
20201 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20203 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20205 * include/sys/epoll.h: New file.
20206 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20209 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20211 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20212 Avoid unnecessary __WORDSIZE == 64 test.
20213 (fmaxf): Use VEX format if possible.
20218 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20219 * math/math_private.h: Remove libc_fegetround* and
20221 * sysdeps/i386/configure.in: Check for -msse2avx.
20222 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20223 also if SSE2AVX is defined.
20224 Remove libc_fegetround* and libc_fesetround*.
20225 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20226 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20227 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20229 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20230 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20231 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20232 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20233 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20235 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20237 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20239 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20241 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20243 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20246 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20248 * Makeconfig (libm): Define.
20249 * elf/Makefile: Add rules to build and run tst-relsort1.
20250 * elf/tst-relsort1.c: New file.
20251 * elf/tst-relsort1mod1.c: New file.
20252 * elf/tst-relsort1mod2.c: New file.
20254 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20256 * math/s_ldexp.c: Remove __STDC__ conditionals.
20257 * math/s_ldexpf.c: Likewise.
20258 * math/s_ldexpl.c: Likewise.
20259 * math/s_nextafter.c: Likewise.
20260 * math/s_nexttowardf.c: Likewise.
20261 * math/s_significand.c: Likewise.
20262 * math/s_significandf.c: Likewise.
20263 * math/s_significandl.c: Likewise.
20264 * math/w_jnl.c: Likewise.
20265 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20266 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20267 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20268 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20269 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20270 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20271 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20272 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20273 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20274 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20275 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20276 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20277 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20278 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20279 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20280 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20281 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20282 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20283 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20284 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20285 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20286 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20287 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20288 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20289 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20290 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20291 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20292 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20293 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20294 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20295 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20296 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20297 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20298 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20299 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20300 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20301 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20302 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20303 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20304 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20305 * sysdeps/ieee754/k_standard.c: Likewise.
20306 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20307 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20308 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20309 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20310 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20311 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20312 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20313 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20314 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20315 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20316 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20317 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20318 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20319 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20320 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20321 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20322 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20323 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20324 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20325 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20326 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20327 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20328 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20329 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20330 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20331 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20332 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20333 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20334 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20335 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20336 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20337 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20338 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20339 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20340 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20341 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20342 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20344 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20345 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20346 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20348 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20349 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20350 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20351 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20352 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20353 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20354 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20355 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20356 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20357 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20358 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20359 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20360 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20361 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20362 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20363 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20364 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20365 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20366 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20367 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20368 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20369 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20370 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20371 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20372 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20373 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20374 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20375 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20376 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20377 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20378 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20379 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20380 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20381 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20382 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20383 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20384 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20385 * sysdeps/ieee754/s_matherr.c: Likewise.
20386 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20387 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20388 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20391 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20393 * crypt/md5.h: Remove __STDC__ conditionals.
20394 * libio/libioP.h: Likewise.
20395 * locale/programs/config.h: Likewise.
20396 * sysdeps/generic/sysdep.h: Likewise.
20397 * sysdeps/i386/asm-syntax.h: Likewise.
20398 * sysdeps/s390/asm-syntax.h: Likewise.
20399 * sysdeps/unix/sysdep.h: Likewise.
20400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20403 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20405 * libio/libio.h: Remove __STDC__ conditionals.
20406 * malloc/obstack.h: Likewise.
20407 * math/complex.h: Likewise.
20408 * math/math.h: Likewise.
20409 * sysdeps/generic/_G_config.h: Likewise.
20410 * sysdeps/gnu/_G_config.h: Likewise.
20411 * sysdeps/mach/hurd/_G_config.h: Likewise.
20412 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20413 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20414 * sysdeps/sparc/bits/mathdef.h: Likewise.
20416 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20419 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20420 Clean up HAS_* macros.
20421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20422 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20424 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20426 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20427 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20428 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20429 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20430 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20432 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20434 * elf/tst-unique3.cc (gets): Remove declaration.
20435 * elf/tst-unique3lib.cc (gets): Likewise.
20436 * elf/tst-unique3lib2.cc (gets): Likewise.
20437 * elf/tst-unique4.cc (gets): Likewise.
20439 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20441 * include/stdio.h: Add C++ protection. Add gets declarations and
20443 * debug/tst-chk1.c: Don't declare gets here.
20444 * stdio-common/tst-gets.c: Likewise.
20446 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20448 * posix/glob: Remove directory.
20450 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20452 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20454 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20456 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20457 of the non-standard EPFNOSUPPORT.
20459 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20461 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20462 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20463 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20465 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20467 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20469 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20471 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20473 * nscd/grpcache.c (cache_addgr): Likewise.
20474 * nscd/hstcache.c (cache_addhst): Likewise.
20475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20476 * nscd/pwdcache.c (cache_addpw): Likewise.
20477 * nscd/servicescache.c (cache_addserv): Likewise.
20479 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20481 * malloc/malloc.c: Various cleanups.
20482 * malloc/hooks.c: Likewise.
20484 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20485 * stdlib/bug-fmtmsg1.c: New file.
20487 * stdlib/fmtmsg.c (init): Add missing unlock.
20488 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20490 2012-01-12 Marek Polacek <polacek@redhat.com>
20492 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20495 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20497 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20498 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20499 macro to ensure uniqueness of label name.
20500 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20501 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20503 2012-01-11 Ulrich Drepper <drepper@gmail.com>
20505 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20507 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20508 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20509 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20510 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20512 2012-01-10 Ulrich Drepper <drepper@gmail.com>
20514 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20516 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20517 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20518 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20520 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20522 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20523 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20524 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20527 * math/bits/math-finite.h: Add ldexp support.
20529 2012-01-10 Marek Polacek <polacek@redhat.com>
20531 * locale/programs/localedef.h (show_archive_content): Add noreturn
20534 2012-01-09 Ulrich Drepper <drepper@gmail.com>
20536 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20538 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20540 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20542 * io/Makefile (headers): Add bits/poll2.h.
20544 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20547 typo #include statement.
20549 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20551 * include/sys/cdefs.h: Define __attribute_alloc_size.
20552 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20553 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20554 * elf/pldd.c: Likewise.
20555 * iconv/iconv_charmap.c: Likewise.
20556 * iconv/iconvconfig.c: Likewise.
20557 * iconv/strtab.c: Likewise.
20558 * locale/programs/locale.c: Likewise.
20559 * locale/programs/localedef.h: Likewise.
20560 * locale/programs/simple-hash.c: Likewise.
20561 * nscd/nscd.h: Likewise.
20562 * nss/makedb.c: Likewise.
20563 * sysdeps/generic/ldconfig.h: Likewise.
20564 * locale/programs/localedef.c: Remove xmalloc prototype.
20565 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20567 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20569 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20572 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20574 * math/Makefile (tests): Add tst-CMPLX.
20575 * math/tst-CMPLX.c: New file.
20577 * math/complex.h (CMPLXL): Fix typo.
20579 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20580 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20582 * debug/tst-chk1.c: Add poll and ppoll tests.
20583 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20584 * include/sys/poll.h: Add hidden proto for ppoll.
20585 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20586 * sysdeps/mach/hurd/ppoll.c: Likewise.
20587 * io/ppoll.c: Likewise.
20588 * debug/poll_chk.c: New file.
20589 * debug/ppoll_chk.c: New file.
20590 * include/bits/poll2.h: New file.
20591 * io/bits/poll2.h: New file.
20594 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20596 * configure.in: static is always set to yes. Remove.
20597 * config.make.in: Don't set build-static.
20598 * Makeconfig: Remove use of build-static.
20599 * dlfcn/Makefile: Likewise.
20600 * elf/Makefile: Likewise.
20601 * math/Makefile: Likewise.
20602 * misc/Makefile: Likewise.
20603 * nptl/Makefile: Likewise.
20604 * sysdeps/mach/hurd/Makefile: Likewise.
20606 * configure.in: PWD_P is not used anymore.
20607 * config.make.in: Remove PWD_P entry.
20609 * configure.in: Remove last remnants of RANLIB.
20610 No need to check for signed size_t anymore.
20611 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20613 Remove __builtin_expect test because we require at least gcc 3.4.
20614 * aclocal.m4: Likewise.
20616 * wcsmbs/mbrtoc16.c: Implement using towc function.
20617 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20618 * wcsmbs/wcsmbsload.c: Likewise.
20619 * iconv/gconv_simple.c: Likewise.
20620 * iconv/gconv_int.h: Likewise.
20621 * iconv/gconv_builtin.h: Likewise.
20622 * iconv/iconv_prog.c: Remove CHAR16 handling.
20624 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20626 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20628 * configure.in: Remove --with-elf and --enable-bounded options.
20629 Dont set base_machine for ia64. More non-ELF conditions removed.
20630 Remove testing and setting of leading underscore information.
20631 * config.make.in (build-bounded): Set to no.
20632 * config.h.in: Remove NO_UNDERSCORES entry.
20633 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20635 * csu/start.c: Remove !NO_UNDERSCORE code.
20636 * locale/localeinfo.h: Likewise.
20637 * sysdeps/generic/machine-gmon.h: Likewise.
20638 * sysdeps/generic/sysdep.h: Likewise.
20639 * sysdeps/i386/sysdep.h: Likewise.
20640 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20641 * sysdeps/mach/sysdep.h: Likewise.
20642 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20643 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20644 * sysdeps/sh/sysdep.h: Likewise.
20645 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20646 * sysdeps/unix/i386/sysdep.S: Likewise.
20647 * sysdeps/unix/sparc/start.c: Likewise.
20648 * sysdeps/unix/sparc/sysdep.S: Likewise.
20649 * sysdeps/unix/sparc/sysdep.h: Likewise.
20650 * sysdeps/unix/start.c: Likewise.
20651 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20652 * sysdeps/x86_64/sysdep.h: Likewise.
20654 2012-01-07 Ulrich Drepper <drepper@gmail.com>
20657 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20659 * argp/argp-fmtstream.h: Use const instead __const.
20660 * argp/argp.h: Likewise.
20661 * assert/assert.h: Likewise.
20662 * bits/fenv.h: Likewise.
20663 * bits/sched.h: Likewise.
20664 * bits/sigset.h: Likewise.
20665 * bits/sigthread.h: Likewise.
20666 * catgets/nl_types.h: Likewise.
20667 * conform/data/pthread.h-data: Likewise.
20668 * crypt/crypt-private.h: Likewise.
20669 * crypt/crypt.h: Likewise.
20670 * crypt/crypt_util.c: Likewise.
20671 * ctype/ctype.h: Likewise.
20672 * debug/execinfo.h: Likewise.
20673 * debug/mbsnrtowcs_chk.c: Likewise.
20674 * debug/mbsrtowcs_chk.c: Likewise.
20675 * debug/wcsnrtombs_chk.c: Likewise.
20676 * debug/wcsrtombs_chk.c: Likewise.
20677 * debug/wcstombs_chk.c: Likewise.
20678 * dirent/dirent.h: Likewise.
20679 * dlfcn/dlfcn.h: Likewise.
20680 * elf/neededtest4.c: Likewise.
20681 * grp/grp.h: Likewise.
20682 * gshadow/gshadow.h: Likewise.
20683 * iconv/gconv.h: Likewise.
20684 * iconv/gconv_int.h: Likewise.
20685 * iconv/gconv_simple.c: Likewise.
20686 * iconv/iconv.h: Likewise.
20687 * iconv/loop.c: Likewise.
20688 * iconv/skeleton.c: Likewise.
20689 * include/aio.h: Likewise.
20690 * include/aliases.h: Likewise.
20691 * include/argz.h: Likewise.
20692 * include/arpa/inet.h: Likewise.
20693 * include/assert.h: Likewise.
20694 * include/dirent.h: Likewise.
20695 * include/dlfcn.h: Likewise.
20696 * include/execinfo.h: Likewise.
20697 * include/fcntl.h: Likewise.
20698 * include/fenv.h: Likewise.
20699 * include/glob.h: Likewise.
20700 * include/grp.h: Likewise.
20701 * include/libintl.h: Likewise.
20702 * include/mntent.h: Likewise.
20703 * include/netdb.h: Likewise.
20704 * include/pwd.h: Likewise.
20705 * include/rpc/netdb.h: Likewise.
20706 * include/sched.h: Likewise.
20707 * include/search.h: Likewise.
20708 * include/shadow.h: Likewise.
20709 * include/signal.h: Likewise.
20710 * include/stdio.h: Likewise.
20711 * include/stdlib.h: Likewise.
20712 * include/string.h: Likewise.
20713 * include/sys/socket.h: Likewise.
20714 * include/sys/stat.h: Likewise.
20715 * include/sys/statfs.h: Likewise.
20716 * include/sys/statvfs.h: Likewise.
20717 * include/sys/syslog.h: Likewise.
20718 * include/sys/time.h: Likewise.
20719 * include/sys/uio.h: Likewise.
20720 * include/time.h: Likewise.
20721 * include/unistd.h: Likewise.
20722 * include/utmp.h: Likewise.
20723 * include/wchar.h: Likewise.
20724 * include/wctype.h: Likewise.
20725 * inet/aliases.h: Likewise.
20726 * inet/arpa/inet.h: Likewise.
20727 * inet/netinet/ether.h: Likewise.
20728 * inet/netinet/in.h: Likewise.
20729 * intl/libintl.h: Likewise.
20730 * io/bits/fcntl2.h: Likewise.
20731 * io/fcntl.h: Likewise.
20732 * io/ftw.h: Likewise.
20733 * io/sys/poll.h: Likewise.
20734 * io/sys/stat.h: Likewise.
20735 * io/sys/statfs.h: Likewise.
20736 * io/sys/statvfs.h: Likewise.
20737 * io/utime.h: Likewise.
20738 * libio/bits/stdio.h: Likewise.
20739 * libio/bits/stdio2.h: Likewise.
20740 * libio/libio.h: Likewise.
20741 * libio/libioP.h: Likewise.
20742 * libio/stdio.h: Likewise.
20743 * locale/lc-ctype.c: Likewise.
20744 * locale/locale.h: Likewise.
20745 * login/utmp.h: Likewise.
20746 * malloc/arena.c: Likewise.
20747 * malloc/malloc.c: Likewise.
20748 * malloc/malloc.h: Likewise.
20749 * malloc/mcheck.c: Likewise.
20750 * malloc/mtrace.c: Likewise.
20751 * math/bits/mathcalls.h: Likewise.
20752 * math/fenv.h: Likewise.
20753 * math/math_private.h: Likewise.
20754 * misc/bits/error.h: Likewise.
20755 * misc/bits/syslog.h: Likewise.
20756 * misc/err.h: Likewise.
20757 * misc/error.h: Likewise.
20758 * misc/fstab.h: Likewise.
20759 * misc/mntent.h: Likewise.
20760 * misc/regexp.h: Likewise.
20761 * misc/search.h: Likewise.
20762 * misc/sgtty.h: Likewise.
20763 * misc/sys/mman.h: Likewise.
20764 * misc/sys/syslog.h: Likewise.
20765 * misc/sys/uio.h: Likewise.
20766 * misc/sys/xattr.h: Likewise.
20767 * misc/ttyent.h: Likewise.
20768 * nis/rpcsvc/ypclnt.h: Likewise.
20769 * nss/nss.h: Likewise.
20770 * posix/bits/unistd.h: Likewise.
20771 * posix/fnmatch.h: Likewise.
20772 * posix/glob.h: Likewise.
20773 * posix/sched.h: Likewise.
20774 * posix/spawn.h: Likewise.
20775 * posix/sys/wait.h: Likewise.
20776 * posix/unistd.h: Likewise.
20777 * posix/wordexp.h: Likewise.
20778 * pwd/pwd.h: Likewise.
20779 * resolv/netdb.h: Likewise.
20780 * resource/sys/resource.h: Likewise.
20781 * rt/aio.h: Likewise.
20782 * rt/bits/mqueue2.h: Likewise.
20783 * rt/mqueue.h: Likewise.
20784 * shadow/shadow.h: Likewise.
20785 * signal/signal.h: Likewise.
20786 * socket/send.c: Likewise.
20787 * socket/sendto.c: Likewise.
20788 * socket/sys/socket.h: Likewise.
20789 * stdio-common/printf.h: Likewise.
20790 * stdlib/bits/stdlib.h: Likewise.
20791 * stdlib/fmtmsg.h: Likewise.
20792 * stdlib/monetary.h: Likewise.
20793 * stdlib/stdlib.h: Likewise.
20794 * stdlib/ucontext.h: Likewise.
20795 * streams/stropts.h: Likewise.
20796 * string/argz.h: Likewise.
20797 * string/bits/string2.h: Likewise.
20798 * string/string.h: Likewise.
20799 * string/strings.h: Likewise.
20800 * sunrpc/rpc/auth.h: Likewise.
20801 * sunrpc/rpc/auth_des.h: Likewise.
20802 * sunrpc/rpc/clnt.h: Likewise.
20803 * sunrpc/rpc/netdb.h: Likewise.
20804 * sunrpc/rpc/pmap_clnt.h: Likewise.
20805 * sunrpc/rpc/xdr.h: Likewise.
20806 * sysdeps/generic/inttypes.h: Likewise.
20807 * sysdeps/generic/net/if.h: Likewise.
20808 * sysdeps/generic/sys/swap.h: Likewise.
20809 * sysdeps/gnu/net/if.h: Likewise.
20810 * sysdeps/gnu/utmpx.h: Likewise.
20811 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20812 * sysdeps/i386/i486/bits/string.h: Likewise.
20813 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20814 * sysdeps/s390/bits/string.h: Likewise.
20815 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20816 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20817 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20818 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20819 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20820 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20821 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20822 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20823 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20824 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20825 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20826 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20827 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20828 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20829 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20830 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20831 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20832 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20833 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20834 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20835 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20836 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20837 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20838 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20839 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20840 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20841 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20842 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20843 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20844 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20845 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20846 * sysvipc/sys/ipc.h: Likewise.
20847 * sysvipc/sys/msg.h: Likewise.
20848 * sysvipc/sys/sem.h: Likewise.
20849 * sysvipc/sys/shm.h: Likewise.
20850 * termios/termios.h: Likewise.
20851 * time/sys/time.h: Likewise.
20852 * time/time.h: Likewise.
20853 * wcsmbs/bits/wchar2.h: Likewise.
20854 * wcsmbs/uchar.h: Likewise.
20855 * wcsmbs/wchar.h: Likewise.
20856 * wctype/wctype.h: Likewise.
20859 * Makeconfig: Remove all but ELF support including AIX support.
20860 * Makerules: Likewise.
20861 * config.h.in: Likewise.
20862 * config.make.in: Likewise.
20863 * configure: Likewise.
20864 * configure.in: Likewise.
20865 * csu/Makefile: Likewise.
20866 * csu/version.c: Likewise.
20867 * debug/Makefile: Likewise.
20868 * dlfcn/Makefile: Likewise.
20869 * elf/Makefile: Likewise.
20870 * extra-lib.mk: Likewise.
20871 * iconv/Makefile: Likewise.
20872 * include/libc-symbols.h: Likewise.
20873 * include/shlib-compat.h: Likewise.
20874 * resolv/Makefile: Likewise.
20875 * resolv/res_libc.c: Likewise.
20876 * rt/Makefile: Likewise.
20877 * sysdeps/i386/asm-syntax.h: Likewise.
20878 * sysdeps/i386/sysdep.h: Likewise.
20879 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20880 * sysdeps/mach/sysdep.h: Likewise.
20881 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20882 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20883 * sysdeps/s390/asm-syntax.h: Likewise.
20884 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20885 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20886 * sysdeps/sh/sysdep.h: Likewise.
20887 * sysdeps/unix/sparc/sysdep.h: Likewise.
20888 * sysdeps/wordsize-32/divdi3.c: Likewise.
20889 * sysdeps/x86_64/sysdep.h: Likewise.
20891 * argp/Versions: Remove _argp_unlock_xxx.
20894 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20895 * abilist/libBrokenLocale.abilist: Likewise.
20896 * abilist/libanl.abilist: Likewise.
20897 * abilist/libc.abilist: Likewise.
20898 * abilist/libcrypt.abilist: Likewise.
20899 * abilist/libdl.abilist: Likewise.
20900 * abilist/libm.abilist: Likewise.
20901 * abilist/libnsl.abilist: Likewise.
20902 * abilist/libpthread.abilist: Likewise.
20903 * abilist/libresolv.abilist: Likewise.
20904 * abilist/librt.abilist: Likewise.
20905 * abilist/libthread_db.abilist: Likewise.
20906 * abilist/libutil.abilist: Likewise.
20907 * abilist/libnss_db.abilist: New file.
20909 * scripts/abilist.awk: Add support for indirect functions.
20911 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20913 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20915 * shlib-versions: Remove entries for ports architectures.
20917 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20919 * elf/stackguard-macros.h: Remove support for IA-64.
20920 * elf/tst-auditmod1.c: Likewise.
20921 * sysdeps/generic/ldsodefs.h: Likewise.
20923 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20924 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20928 * configure.in: Remove --enable-omitfp support.
20930 * config.make.in: Likewise.
20931 * Makeconfig: Likewise.
20932 * manual/install.texi: Likewise.
20934 In case anyone cares, the IA-64 architecture could move to ports.
20935 * sysdeps/ia64/*: Removed.
20936 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20937 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20940 * configure.in: Remove entries for unsupported architectures.
20943 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20944 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20946 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20947 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20948 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20949 fall back to using wcrtomb.
20950 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20951 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20953 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20954 * wcsmbs/tst-c16c32-1.c: New file.
20956 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20959 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20961 * elf/tst-unique3.cc: Add explicit declaration of gets.
20962 * elf/tst-unique3lib.cc: Likewise.
20963 * elf/tst-unique3lib2.cc: Likewise.
20964 * elf/tst-unique4.cc: Likewise.
20966 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20968 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20971 * assert/assert.h (static_assert): Don't define for C++.
20972 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20973 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20975 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20977 * iconv/loop.c (single loop): Fix assertion in storing of
20980 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20982 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20984 * posix/getconf.c: Update copyright year.
20985 * nss/getent.c: Likewise.
20986 * nss/makedb.c: Likewise.
20987 * iconv/iconvconfig.c: Likewise.
20988 * iconv/iconv_prog.c: Likewise.
20989 * elf/ldconfig.c: Likewise.
20990 * elf/pldd.c: Likewise.
20991 * elf/sotruss.ksh: Likewise.
20992 * catgets/gencat.c: Likewise.
20993 * csu/version.c: Likewise.
20994 * elf/ldd.bash.in: Likewise.
20995 * elf/sprof.c (print_version): Likewise.
20996 * locale/programs/locale.c: Likewise.
20997 * locale/programs/localedef.c: Likewise.
20998 * login/programs/pt_chown.c: Likewise.
20999 * nscd/nscd.c (print_version): Likewise.
21000 * debug/xtrace.sh: Likewise.
21001 * malloc/memusage.sh: Likewise.
21002 * malloc/mtrace.pl: Likewise.
21003 * debug/catchsegv.sh: Likewise.
21005 2011-12-30 Jakub Jelinek <jakub@redhat.com>
21007 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21010 2011-12-24 Ulrich Drepper <drepper@gmail.com>
21013 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21014 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21016 * iconv/gconv_int.h: Likewise.
21017 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21018 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21019 from libc for GLIBC_2.16.
21020 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21021 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21022 * wcsmbs/uchar.h: Really define mbstate_t.
21023 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21024 * wcsmbs/c16rtomb.c: New file.
21025 * wcsmbs/mbrtoc16.c: New file.
21026 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21027 for C/POSIX locale.
21028 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21029 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21031 * wcsmbs/wchar.h: Add missing __restrict.
21033 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21036 * time/Makefile (routines): Add timespec_get.
21037 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21038 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21039 timespec for ISO C11.
21040 * time/timespec_get.c: New file.
21041 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21042 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21045 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21046 * stdlib/stdlib.h: Declare aligned_alloc.
21047 * Versions.def: Add GLIBC_2.16 for libc.
21048 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21051 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21054 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21058 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21061 * assert/assert.h (static_assert): Define.
21063 * version.h: Update for 2.16 development version.
21066 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21069 * version.h (RELEASE): Bump for 2.15 release.
21070 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21072 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21073 Patch by Marek Polacek <mpolacek@redhat.com>.
21075 * bits/byteswap.h: Protect long long constants with __extension__.
21076 * sysdeps/i386/bits/byteswap.h: Likewise.
21077 * sysdeps/ia64/bits/byteswap.h: Likewise.
21078 * sysdeps/s390/bits/byteswap.h: Likewise.
21079 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21081 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21084 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21085 destination buffer.
21086 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21088 2011-12-23 Marek Polacek <polacek@redhat.com>
21090 * elf/dl-addr.c (determine_info): Add inline keyword.
21091 * elf/tst-auditmod4b.c (check_avx): Likewise.
21092 * elf/tst-auditmod6b.c (check_avx): Likewise.
21093 * elf/tst-auditmod6c.c (check_avx): Likewise.
21094 * elf/tst-auditmod7b.c (check_avx): Likewise.
21096 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21098 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21101 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21104 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21105 processing for last bytes.
21107 2011-08-06 Bruno Haible <bruno@clisp.org>
21110 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21111 U+0385, not to U+1FEE.
21114 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21115 entry for U+00A5 U+0301.
21117 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21120 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21121 buffer for the output is too small.
21123 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21127 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21128 SSE flags if possible.
21130 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21133 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21134 processing for last bytes.
21136 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21138 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21139 (syscall-list-default-options, syscall-list-default-condition)
21140 (syscall-list-includes): Define.
21141 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21142 list of ABIs and options and #if conditions for each ABI. Do not
21143 handle common syscalls between ABIs specially.
21144 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21146 (syscall-list-variants, syscall-list-32bit-options)
21147 (syscall-list-32bit-condition, syscall-list-64bit-options)
21148 (syscall-list-64bit-condition): Define.
21149 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21150 (syscall-list-variants, syscall-list-32bit-options)
21151 (syscall-list-32bit-condition, syscall-list-64bit-options)
21152 (syscall-list-64bit-condition): Define.
21153 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21155 (syscall-list-variants, syscall-list-32bit-options)
21156 (syscall-list-32bit-condition, syscall-list-64bit-options)
21157 (syscall-list-64bit-condition): Define.
21158 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21160 (syscall-list-variants, syscall-list-32bit-options)
21161 (syscall-list-32bit-condition, syscall-list-64bit-options)
21162 (syscall-list-64bit-condition): Define.
21164 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21166 * locale/iso-639.def: Add brx entry.
21169 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21170 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21172 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21173 __feraiseexcept_renamed.
21175 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21178 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21179 EPOLLET with unsigned values.
21180 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21181 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21183 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21184 to large cancellation.
21185 * math/s_cacoshf.c: Likewise.
21186 * math/s_cacoshl.c: Likewise.
21188 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21192 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21193 * math/s_cacoshf.c: Likewise.
21194 * math/s_cacoshl.c: Likewise.
21196 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21199 * iconv/gconv.h: Define __GCONV_SWAP.
21200 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21201 * iconvdata/utf-16.c: Likewise.
21202 * iconvdata/utf-32.c: Likewise.
21204 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21207 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21208 numerator after shifting it by one limb.
21210 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21212 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21213 under [__USE_EXTERN_INLINES].
21215 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21218 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21220 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21222 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21223 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21225 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21226 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21227 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21228 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21229 for strncasecmp/strncasecmp_l compilation.
21230 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21231 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21233 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21236 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21239 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21242 * time/tzfile.c (__tzfile_read): Check values from file header.
21244 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21246 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21247 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21248 * powerpc/powerpc32/dl-start.S: Likewise.
21249 * powerpc/powerpc32/elf/start.S: Likewise.
21250 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21251 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21252 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21253 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21254 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21255 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21256 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21257 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21258 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21259 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21260 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21261 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21262 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21263 * powerpc/powerpc32/memset.S: Likewise.
21264 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21265 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21266 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21267 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21268 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21269 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21270 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21271 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21272 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21273 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21274 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21275 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21276 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21278 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21280 * math/libm-test.inc: Added more nearbyint tests.
21281 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21282 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21283 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21286 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21288 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21291 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21293 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21294 Add wcscpy-ssse3 wcscpy-c.
21295 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21296 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21297 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21298 * sysdeps/x86_64/wcschr.S: New file.
21299 * sysdeps/x86_64/wcsrchr.S: New file.
21300 * string/test-strcmp.c: Remove checking of wcscmp function for
21302 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21303 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21304 wcsrchr-sse2 wcsrchr-c.
21305 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21306 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21307 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21308 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21309 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21310 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21311 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21312 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21313 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21314 * wcsmbc/wcschr.c (WCSCHR): New macro.
21316 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21318 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21319 * wcsmbs/test-wcsrchr.c: New file.
21320 * string/test-strrchr.c: Add wcsrchr support.
21322 * wcsmbs/test-wcscpy.c: New file.
21323 * string/test-strcpy.c: Add wcscpy support.
21326 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21328 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21331 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21334 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21336 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21338 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21339 Minor optimizations.
21341 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21342 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21343 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21345 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21347 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21348 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21349 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21350 for gcc to avoid warnings.
21351 * inet/Makefile (tests): Add tst-checks.
21352 * inet/tst-checks.c: New file.
21354 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21357 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21360 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21361 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21363 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21365 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21367 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21370 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21372 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21374 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21375 conditional on GCC version.
21376 (__arch_compare_and_exchange_val_8_acq)
21377 (__arch_compare_and_exchange_val_16_acq)
21378 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21379 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21380 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21382 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21384 * sysdeps/sh/backtrace.c: New file.
21386 2011-12-02 Andreas Schwab <schwab@redhat.com>
21388 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21391 2011-12-01 Andreas Schwab <schwab@redhat.com>
21393 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21394 falling back to utime.
21396 2011-11-30 Andreas Schwab <schwab@redhat.com>
21398 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21399 expectations for float.
21401 2011-11-29 Andreas Schwab <schwab@redhat.com>
21403 * locale/weight.h (findidx): Add parameter len.
21404 * locale/weightwc.h (findidx): Likewise.
21405 * posix/fnmatch_loop.c (FCT): Adjust caller.
21406 * posix/regcomp.c (build_equiv_class): Likewise.
21407 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21408 * posix/regexec.c (check_node_accept_bytes): Likewise.
21409 * string/strcoll_l.c (STRCOLL): Likewise.
21410 * string/strxfrm_l.c (STRXFRM): Likewise.
21412 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21414 * Makefile.in: Remove CVSOPT handling.
21415 * configure.in: Remove use of AC_REVISION.
21416 * iconvdata/Makefile (distribute): No need to filter out CVS.
21417 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21420 2011-11-16 Andreas Schwab <schwab@redhat.com>
21422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21423 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21424 [USE_AS_STRNCASECMP_L]: Likewise.
21425 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21426 NO_TLS_DIRECT_SEG_REFS.
21427 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21428 Fix argument offsets for non-PIC.
21429 [USE_AS_STRNCASECMP_L]: Likewise.
21430 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21431 NO_TLS_DIRECT_SEG_REFS.
21433 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21435 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21437 * locale/loadlocale.c (_nl_load_locale): Likewise.
21439 2011-11-15 Andreas Schwab <schwab@redhat.com>
21441 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21442 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21443 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21444 (SYSCALL_GETTIME): Set errno on error.
21446 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21447 count references to noai6ai_cached.
21449 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21451 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21453 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21454 FD_CLOEXEC for /proc/self/maps.
21456 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21457 FD_CLOEXEC for /proc/meminfo.
21459 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21462 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21463 FD_CLOEXEC for given file.
21465 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21467 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21468 FD_CLOEXEC for /etc/hosts.
21469 (_gethtent): Likewise.
21471 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21473 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21474 cancellation and set FD_CLOEXEC for /etc/netgroup.
21476 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21477 reading /etc/publickey.
21479 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21480 allow cancellation when reading /etc/group.
21482 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21484 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21486 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21487 when using data file.
21489 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21491 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21492 (write_nis_obj): Use "c" and "e" in fopen.
21494 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21496 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21498 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21500 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21502 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21505 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21507 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21509 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21511 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21512 file parsing and set FD_CLOEXEC.
21514 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21516 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21518 2011-11-14 Andreas Schwab <schwab@redhat.com>
21520 * malloc/arena.c (arena_get2): Don't call reused_arena when
21521 _int_new_arena failed.
21523 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21525 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21526 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21527 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21528 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21529 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21530 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21531 to compile strcasecmp and strncasecmp.
21532 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21533 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21535 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21537 2011-11-13 Ulrich Drepper <drepper@gmail.com>
21539 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21540 locale-defines.sym to gen-as-const-headers.
21541 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21542 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21544 to compile strcasecmp and strncasecmp.
21545 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21546 strcasecmp_l and strncasecmp_l.
21547 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21548 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21549 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21550 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21551 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21552 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21553 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21554 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21555 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21556 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21557 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21559 2011-11-12 Ulrich Drepper <drepper@gmail.com>
21561 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21562 result of SYSDEP_GETTIME_CPU to retval.
21563 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21564 parameter list to macro. Remove trailing semicolon. Adjust users.
21566 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21569 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21571 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21573 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21574 from unused variable.
21576 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21578 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21581 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21584 * sunrpc/rpc_prot.c (rejected): Fix case value.
21586 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21587 unsigned long long int to avoid warnings in shift.
21589 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21591 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21594 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21595 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21596 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21598 * nis/nis_table.c (nis_list): Use variable of correct type for
21599 result of __follow_path call.
21601 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21603 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21604 of math functions ceil, trunc, floor, round, and sqrt, when
21605 avaliable on the platform.
21606 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21608 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21609 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21610 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21612 2011-10-30 Marek Polacek <mpolacek@redhat.com>
21614 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21615 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21617 2011-11-11 Roland McGrath <roland@hack.frob.com>
21619 * include/unistd.h: Fix __readlink return type.
21620 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21622 2011-11-11 Ulrich Drepper <drepper@gmail.com>
21624 * stdlib/ucontext.h: Undo last change for makecontext.
21626 2011-11-11 Andreas Schwab <schwab@redhat.com>
21628 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21630 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21631 * setjmp/setjmp.h: Mark functions as non-leaf.
21632 * setjmp/bits/setjmp2.h: Likewise.
21633 * stdlib/ucontext.h: Likewise.
21635 2011-11-10 Andreas Schwab <schwab@redhat.com>
21637 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21638 (reused_arena): Don't check arena limit.
21639 (arena_get2): Atomically check arena limit.
21641 2011-11-08 Ulrich Drepper <drepper@gmail.com>
21643 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21644 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21649 2011-11-07 Andreas Schwab <schwab@redhat.com>
21651 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21652 handler when locking.
21654 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21655 Fix size of allocated buffer.
21657 2011-11-04 Andreas Schwab <schwab@redhat.com>
21660 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21661 declarations for long double functions.
21662 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21664 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21666 2011-11-03 Andreas Schwab <schwab@redhat.com>
21668 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21671 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21674 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21676 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21678 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21680 * include/alloca.h (stackinfo_alloca_round): Define.
21681 (extend_alloca): Use it.
21682 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21683 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21686 * scripts/check-local-headers.sh: Ignore libaudit.h.
21688 * nscd/Makefile (extra-objs): Make recursively expanded.
21690 2011-11-01 Ulrich Drepper <drepper@gmail.com>
21692 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21693 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21695 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21696 * posix/tst-rfc3484-2.c: Likewise.
21697 * posix/tst-rfc3484-3.c: Likewise.
21699 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21701 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21703 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21704 process_vm_writev from libc using GLIBC_2.15 version.
21706 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21708 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21710 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21713 2011-10-31 Ulrich Drepper <drepper@gmail.com>
21716 * nss/getent.c (initgroups_keys): Show error message in case no group
21719 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21720 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21721 __bump_nl_timestamp.
21722 * nscd/connections (nscd_init): When host database is served open
21723 netlink socket and request notification about configuration changes.
21724 (main_loop_poll): Track netlink file descriptor and bump timestamp
21725 in case data becomes available.
21726 (main_loop_epoll): Likewise.
21727 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21728 (database_pers_head): Add extra_data fileds.
21729 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21730 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21731 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21733 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21734 in6ai data, call __free_in6ai.
21735 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21736 Add -DHAVE_NETLINK.
21737 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21738 interface information. Reuse previous data if netlink timestamp
21740 (__bump_nl_timestamp): New function.
21741 (__free_in6ai): New function.
21743 2011-10-30 Ulrich Drepper <drepper@gmail.com>
21745 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21746 close_not_cancel_no_status here.
21747 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21749 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21752 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21755 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21756 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21757 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21759 2011-07-03 Andreas Jaeger <aj@suse.de>
21762 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21763 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21764 * math/libm-test.inc (sin_test): Add test case.
21766 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21769 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21770 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21772 * elf/chroot_canon.c (chroot_canon): Cleanups.
21774 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21777 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21778 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21780 * string/test-strchr.c: Make usable for strchrnul testing.
21781 * string/test-strchrnul.c: New file.
21782 * string/Makefile (strop-tests): Add strchrnul.
21784 * po/it.po: Update from translation team.
21785 * po/es.po: Likewise.
21787 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21789 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21790 the three constants needed as parameters. Drop the others.
21791 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21792 __m128i_strloadu_tolower.
21793 Create and initialize variable zero and use it in all the places
21794 where _mm_setzero_si128 was used.
21796 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21797 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21798 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21799 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21801 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21802 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21803 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21804 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21805 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21806 __mpranred, __mptan.
21807 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21808 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21809 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21810 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21811 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21812 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21813 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21814 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21815 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21817 2011-10-28 Andreas Schwab <schwab@redhat.com>
21819 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21820 redefine if SHARED.
21821 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21823 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21824 wide char related routines to wcsmbs subdir.
21826 2011-10-27 Andreas Schwab <schwab@redhat.com>
21829 * misc/sys/cdefs.h (__THROWNL): Define.
21830 * posix/unistd.h: Use __THREADNL instead of __THREAD
21831 for memory synchronization functions.
21833 2011-10-26 Roland McGrath <roland@hack.frob.com>
21836 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21838 * manual/stdio.texi (Obstack Streams): Node removed.
21840 2011-10-26 Andreas Schwab <schwab@redhat.com>
21842 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21843 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21844 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21846 * math/math_private.h (math_force_eval): Allow non-addressable
21848 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21850 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21852 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21853 file is not needed.
21855 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21856 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21857 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21858 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21859 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21860 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21861 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21862 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21864 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21865 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21866 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21867 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21868 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21869 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21870 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21871 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21872 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21873 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21874 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21875 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21877 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21878 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21879 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21880 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21881 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21882 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21884 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21885 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21887 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21888 place. Use VEX encoding when compiling for AVX.
21890 2011-10-25 Andreas Schwab <schwab@redhat.com>
21892 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21893 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21895 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21897 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21899 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21900 useless if() expression.
21901 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21902 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21903 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21904 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21905 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21906 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21907 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21908 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21909 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21910 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21911 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21912 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21913 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21914 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21915 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21916 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21917 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21918 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21919 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21921 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21923 2011-10-25 Andreas Schwab <schwab@redhat.com>
21925 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21927 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21929 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21931 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21932 .text section. Avoid duplicate constants.
21933 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21934 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21935 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21937 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21938 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21939 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21940 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21941 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21942 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21943 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21944 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21945 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21946 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21947 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21948 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21949 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21950 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21951 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21953 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21954 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21955 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21956 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21957 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21958 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21959 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21960 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21961 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21962 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21963 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21964 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21965 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21966 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21967 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21968 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21969 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21970 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21971 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21972 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21973 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21974 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21975 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21976 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21977 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21979 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21981 * sysdeps/x86_64/dla.h: Move to ...
21982 * sysdeps/x86_64/fpu/dla.h: ...here.
21983 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21984 situations. Use __builtin_fma only for gcc 4.6 and up.
21986 * config.make.in: Add have-mfma4 entry.
21987 * configure.in: Substitute libc_cv_cc_fma4.
21988 * math/Makefile (dbl-only-routines): Add sincostab.
21989 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21990 Use __sincostab not sincos.
21991 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21993 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21995 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21996 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21998 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21999 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22000 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22001 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22003 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22004 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22006 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22007 define aliases when function name is a macro.
22008 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22009 sysdeps/ieee754/dbl-64/sincos.tbl.
22010 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22011 fma4-enabled routines.
22012 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22013 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22014 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22015 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22016 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22017 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22018 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22019 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22020 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22021 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22022 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22023 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22024 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22025 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22026 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22027 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22028 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22029 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22030 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22031 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22032 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22033 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22034 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22035 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22036 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22037 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22038 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22039 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22040 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22041 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22043 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22045 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22048 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22049 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22050 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22054 2011-10-24 Andreas Schwab <schwab@redhat.com>
22056 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22058 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22060 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22062 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22064 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22066 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22067 Remove unused variable magic_bits.
22068 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22070 * string/strnlen.c: Define and use STRNLEN macro.
22071 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22072 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22073 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22074 * wcsmbs/wcslen.c: Define and use WCSLEN.
22075 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22076 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22077 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22078 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22079 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22080 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22081 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22083 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22086 strnlen-sse2-no-bsf.
22087 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22088 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22089 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22090 Add strnlen support.
22091 (USE_AS_STRNLEN): New macro.
22092 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22093 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22094 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22095 * sysdeps/x86_64/wcslen.S: New file.
22097 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22100 XMM-moves are used for copying on small sizes.
22102 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22104 * wcsmbs/Makefile (strop-tests): Add wcschr.
22105 * wcsmbs/test-wcschr.c: New file.
22106 * string/test-strchr.c: Update.
22107 Add wcschr support.
22110 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22112 * wcsmbs/Makefile (strop-tests): Add wcslen.
22113 * wcsmbs/test-wcslen.c: New file.
22114 * string/test-strlen.c: Update.
22115 Add wcslen support.
22118 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22120 * po/it.po: Update from translation team.
22122 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22124 * sysdeps/x86_64/wcscmp.S: Update.
22125 Fix wrong comparison semantics.
22126 wcscmp shall use signed comparison not unsigned.
22127 Don't use substraction to avoid overflow bug.
22128 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22129 * wcsmbc/wcscmp.c: Likewise.
22130 * string/test-strcmp.c: Likewise.
22131 Add new tests to check cases with negative values.
22133 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22135 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22136 * sysdeps/x86_64/dla.h: ...here. New file.
22137 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22138 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22141 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22142 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22144 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22145 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22147 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22149 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22150 __ynl_finite aliases.
22152 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22156 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22158 [DLA_FMA] (EMULV): Use DLA_FMA.
22159 [DLA_FMA] (MUL12): Use EMULV.
22160 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22161 that are not needed.
22162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22163 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22164 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22165 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22167 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22170 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22172 * math/s_nan.c: Undef __nan.
22173 * math/s_nanf.c: Undef __nanf.
22174 * math/s_nanl.c: Undef __nanl.
22175 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22178 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22180 * math/s_catan.c: Add branch predictions.
22181 * math/s_catanf.c: Likewise.
22182 * math/s_catanh.c: Likewise.
22183 * math/s_catanhf.c: Likewise.
22184 * math/s_catanhl.c: Likewise.
22185 * math/s_catanl.c: Likewise.
22186 * math/s_cexp.c: Likewise.
22187 * math/s_cexpf.c: Likewise.
22188 * math/s_cexpl.c: Likewise.
22189 * math/s_clog.c: Likewise.
22190 * math/s_clog10.c: Likewise.
22191 * math/s_clog10f.c: Likewise.
22192 * math/s_clog10l.c: Likewise.
22193 * math/s_clogf.c: Likewise.
22194 * math/s_clogl.c: Likewise.
22195 * math/s_csqrt.c: Likewise.
22196 * math/s_csqrtf.c: Likewise.
22197 * math/s_csqrtl.c: Likewise.
22198 * math/s_ctanf.c: Likewise.
22199 * math/s_ctanh.c: Likewise.
22200 * math/s_ctanhf.c: Likewise.
22201 * math/s_ctanhl.c: Likewise.
22202 * math/s_ctanl.c: Likewise.
22204 * math/math_private.h: Define __nan, __nanf, __nanl.
22205 * math/s_cacosh.c: Include <math_private.h>.
22206 * math/s_cacoshl.c: Likewise.
22207 * math/s_casinh.c: Likewise.
22208 * math/s_casinhf.c: Likewise.
22209 * math/s_casinhl.c: Likewise.
22210 * math/s_ccos.c: Rely entire on ccosh.
22211 * math/s_ccosf.c: Rely entire on ccoshf.
22212 * math/s_ccosl.c: Rely entirely on ccoshl.
22213 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22214 Remove tests for FE_INVALID.
22215 * math/s_ccoshf.c: Likewise.
22216 * math/s_ccoshl.c: Likewise.
22217 * math/s_csin.c: Likewise.
22218 * math/s_csinf.c: Likewise.
22219 * math/s_csinh.c Likewise.
22220 * math/s_csinhf.c: Likewise.
22221 * math/s_csinhl.c: Likewise.
22222 * math/s_csinl.c: Likewise.
22223 * math/s_ctan.c: Likewise.
22224 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22225 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22226 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22228 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22231 compilation problems.
22233 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22236 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22238 * sysdeps/i386/configure.in: Test for -mfma4 option.
22239 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22240 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22241 COMMON_CPUID_INDEX_80000001.
22242 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22243 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22244 use it if FMA3 is not supported.
22245 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22247 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22248 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22250 2011-10-20 Andreas Schwab <schwab@redhat.com>
22253 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22254 it would create a cycle with a link time dependency.
22256 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22258 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22260 * string/Makefile (strop-tests): Add rawmemchr.
22261 * string/test-rawmemchr.c: New file.
22263 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22264 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22265 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22266 when compiling str{,n}casecmp and when AVX is available. Hook up
22267 new optimized code in initializers.
22269 2011-10-19 Andreas Schwab <schwab@redhat.com>
22271 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22272 __feraiseexcept instead of feraiseexcept.
22274 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22276 * math/math_private.h: Define defaults for libc_fetestexcept and
22278 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22279 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22280 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22281 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22282 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22283 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22284 libc_fetestexcept and libc_feupdateenv.
22286 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22287 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22288 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22289 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22290 libc_feholdexcept_setround.
22292 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22293 Add s_nearbyint-c and s_nearbyintf-c.
22294 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22295 nearbyintf inlines.
22296 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22297 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22298 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22299 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22301 * math/math_private.h: Define defaults for libc_fegetround,
22302 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22303 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22304 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22305 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22306 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22307 standard functions.
22308 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22309 Remove comments and hacks for old compiler versions.
22310 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22311 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22312 libc_feholdexceptl.
22314 2011-10-18 Andreas Schwab <schwab@redhat.com>
22316 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22317 (__feraiseexcept_renamed): Add __NTH.
22318 (feraiseexcept): Add __NTH. Rename local variables to fix
22319 namespace violations.
22321 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22323 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22325 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22327 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22328 recently added interfaces.
22329 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22331 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22332 about macro parameter expansion.
22334 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22335 __NO_MATH_INLINES is defined. Cleanups.
22337 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22338 and __floorf is target has SSE4.1.
22339 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22340 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22341 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22342 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22344 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22346 (floorf): Likewise.
22348 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22350 2011-10-17 Andreas Schwab <schwab@redhat.com>
22352 * misc/sys/cdefs.h: Fix last change.
22354 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22357 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22359 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22361 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22362 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22363 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22364 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22365 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22366 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22367 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22368 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22369 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22370 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22371 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22372 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22373 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22374 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22375 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22376 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22377 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22378 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22379 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22380 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22381 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22382 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22384 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22385 ceil, ceilf, floor, floorf.
22387 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22388 Perform IRELATIVE relocations last.
22390 * elf/do-rel.h: Add another parameter nrelative, replacing the
22391 local variable with the same name. Change name of the function
22392 to end in Rel or Rela (uppercase).
22393 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22394 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22395 elf_dynamic_do_##reloc function.
22397 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22399 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22400 is sufficient, at least on modern CPUs.
22402 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22404 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22405 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22407 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22409 * math/bits/math-finite.h: Add entries for exp.
22410 * math/e_expl.c: Add __*_finite alias.
22411 * sysdeps/i386/fpu/e_exp.S: Likewise.
22412 * sysdeps/i386/fpu/e_expf.S: Likewise.
22413 * sysdeps/i386/fpu/e_expl.c: Likewise.
22414 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22415 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22416 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22417 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22418 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22419 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22420 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22422 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22423 is sufficient, at least on modern CPUs.
22425 * ctype/ctype-info.c (__ctype_init): Define.
22426 * include/ctype.h (__ctype_init): Declare.
22427 (__ctype_b_loc): The variable is always initialized.
22428 (__ctype_toupper_loc): Likewise.
22429 (__ctype_tolower_loc): Likewise.
22430 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22431 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22433 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22435 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22437 * configure.in: Also look in $cxxmachine/include for C++ system
22440 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22442 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22443 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22444 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22445 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22446 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22447 (USE_AS_WMEMCMP): New macro.
22449 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22450 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22451 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22452 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22454 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22455 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22456 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22457 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22458 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22459 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22460 (USE_AS_WMEMCMP): New macro.
22461 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22462 * sysdeps/string/test-memcmp.c: Update.
22463 Fix simple_wmemcmp.
22465 * wcsmbs/wmemcmp.c: Update.
22466 (WMEMCMP): New macro.
22469 2011-10-12 Andreas Jaeger <aj@suse.de>
22472 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22474 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22476 * libio/iofwide.c (do_length): Avoid warning.
22478 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22480 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22482 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22484 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22485 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22486 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22487 * sysdeps/i386/i686/fpu/e_log.S: New file.
22488 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22489 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22491 * ctype/ctype.h: Add support for inlined isXXX functions when
22492 compiling C++ code.
22494 2011-10-14 Andreas Schwab <schwab@redhat.com>
22496 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22498 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22500 2011-10-13 Roland McGrath <roland@hack.frob.com>
22503 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22505 2011-10-13 Andreas Schwab <schwab@redhat.com>
22507 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22508 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22511 * sysdeps/x86_64/memrchr.S: Check for zero size.
22513 * string/stratcliff.c: Add memrchr tests.
22515 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22518 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22519 rawmemchr-sse2 rawmemchr-sse2-bsf.
22520 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22521 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22522 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22523 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22524 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22525 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22526 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22527 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22528 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22529 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22530 * string/memrchr.c (MEMRCHR): New macro.
22532 2011-10-12 Ulrich Drepper <drepper@gmail.com>
22534 Add integration with gcc's -ffinite-math-only and optimize wrapper
22536 * Versions.def: Define GLIBC_2.15 version for libm.
22537 * math/Makefile (headers): Add bits/math-finite.h.
22538 * math/bits/math-finite.h: New file.
22539 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22540 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22541 * math/e_acoshl.c: Add __*_finite alias.
22542 * math/e_acosl.c: Likewise.
22543 * math/e_asinl.c: Likewise.
22544 * math/e_atan2l.c: Likewise.
22545 * math/e_atanhl.c: Likewise.
22546 * math/e_coshl.c: Likewise.
22547 * math/e_exp10.c: Likewise.
22548 * math/e_exp10f.c: Likewise.
22549 * math/e_exp10l.c: Likewise.
22550 * math/e_exp2l.c: Likewise.
22551 * math/e_fmodl.c: Likewise.
22552 * math/e_gammal_r.c: Likewise.
22553 * math/e_hypotl.c: Likewise.
22554 * math/e_j0l.c: Likewise.
22555 * math/e_j1l.c: Likewise.
22556 * math/e_jnl.c: Likewise.
22557 * math/e_lgammal_r.c: Likewise.
22558 * math/e_log10l.c: Likewise.
22559 * math/e_log2l.c: Likewise.
22560 * math/e_logl.c: Likewise.
22561 * math/e_powl.c: Likewise.
22562 * math/e_sinhl.c: Likewise.
22563 * math/e_sqrtl.c: Likewise.
22564 * math/e_scalb.c: Completely rewritten and optimized.
22565 * math/e_scalbf.c: Likewise.
22566 * math/e_scalbl.c: Likewise.
22567 * math/w_acos.c: Likewise.
22568 * math/w_acosf.c: Likewise.
22569 * math/w_acosl.c: Likewise.
22570 * math/w_acosh.c: Likewise.
22571 * math/w_acoshf.c: Likewise.
22572 * math/w_acoshl.c: Likewise.
22573 * math/w_asin.c: Likewise.
22574 * math/w_asinf.c: Likewise.
22575 * math/w_asinl.c: Likewise.
22576 * math/w_atan2.c: Likewise.
22577 * math/w_atan2f.c: Likewise.
22578 * math/w_atan2l.c: Likewise.
22579 * math/w_atanh.c: Likewise.
22580 * math/w_atanhf.c: Likewise.
22581 * math/w_atanhl.c: Likewise.
22582 * math/w_exp10.c: Likewise.
22583 * math/w_exp10f.c: Likewise.
22584 * math/w_exp10l.c: Likewise.
22585 * math/w_fmod.c: Likewise.
22586 * math/w_fmodf.c: Likewise.
22587 * math/w_fmodl.c: Likewise.
22588 * math/w_j0.c: Likewise.
22589 * math/w_j0f.c: Likewise.
22590 * math/w_j0l.c: Likewise.
22591 * math/w_j1.c: Likewise.
22592 * math/w_j1f.c: Likewise.
22593 * math/w_j1l.c: Likewise.
22594 * math/w_jn.c: Likewise.
22595 * math/w_jnf.c: Likewise.
22596 * math/w_log.c: Likewise.
22597 * math/w_logf.c: Likewise.
22598 * math/w_logl.c: Likewise.
22599 * math/w_log10.c: Likewise.
22600 * math/w_log10f.c: Likewise.
22601 * math/w_log10l.c: Likewise.
22602 * math/w_log2.c: Likewise.
22603 * math/w_log2f.c: Likewise.
22604 * math/w_log2l.c: Likewise.
22605 * math/w_pow.c: Likewise.
22606 * math/w_powf.c: Likewise.
22607 * math/w_powl.c: Likewise.
22608 * math/w_remainder.c: Likewise.
22609 * math/w_remainderf.c: Likewise.
22610 * math/w_remainderl.c: Likewise.
22611 * math/w_scalb.c: Likewise.
22612 * math/w_scalbf.c: Likewise.
22613 * math/w_scalbl.c: Likewise.
22614 * math/w_sqrt.c: Likewise.
22615 * math/w_sqrtf.c: Likewise.
22616 * math/w_sqrtl.c: Likewise.
22617 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22618 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22620 * math/math_private.h: Declare __kernel_standard_f.
22621 * math/w_cosh.c: Remove cruft and optimize a bit.
22622 * math/w_coshf.c: Likewise.
22623 * math/w_coshl.c: Likewise.
22624 * math/w_exp2.c: Likewise.
22625 * math/w_exp2f.c: Likewise.
22626 * math/w_exp2l.c: Likewise.
22627 * math/w_hypot.c: Likewise.
22628 * math/w_hypotf.c: Likewise.
22629 * math/w_hypotl.c: Likewise.
22630 * math/w_lgamma.c: Likewise.
22631 * math/w_lgamma_r.c: Likewise.
22632 * math/w_lgammaf.c: Likewise.
22633 * math/w_lgammaf_r.c: Likewise.
22634 * math/w_lgammal.c: Likewise.
22635 * math/w_lgammal_r.c: Likewise.
22636 * math/w_sinh.c: Likewise.
22637 * math/w_sinhf.c: Likewise.
22638 * math/w_sinhl.c: Likewise.
22639 * math/w_tgamma.c: Likewise.
22640 * math/w_tgammaf.c: Likewise.
22641 * math/w_tgammal.c: Likewise.
22642 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22643 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22644 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22645 Minor optimizations. Pretty printing. Remove cruft.
22646 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22647 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22648 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22649 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22650 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22651 * sysdeps/i386/fpu/e_asin.S: Likewise.
22652 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22653 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22654 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22655 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22656 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22657 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22658 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22659 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22660 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22661 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22662 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22663 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22664 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22665 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22666 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22667 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22668 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22669 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22670 * sysdeps/i386/fpu/e_log.S: Likewise.
22671 * sysdeps/i386/fpu/e_log10.S: Likewise.
22672 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22673 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22674 * sysdeps/i386/fpu/e_log2.S: Likewise.
22675 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22676 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22677 * sysdeps/i386/fpu/e_logf.S: Likewise.
22678 * sysdeps/i386/fpu/e_logl.S: Likewise.
22679 * sysdeps/i386/fpu/e_pow.S: Likewise.
22680 * sysdeps/i386/fpu/e_powf.S: Likewise.
22681 * sysdeps/i386/fpu/e_powl.S: Likewise.
22682 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22683 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22684 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22685 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22686 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22687 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22688 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22689 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22690 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22691 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22692 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22693 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22694 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22695 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22696 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22697 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22698 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22699 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22700 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22701 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22702 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22703 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22704 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22705 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22706 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22707 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22708 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22709 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22710 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22711 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22712 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22713 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22714 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22715 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22716 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22717 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22718 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22719 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22720 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22721 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22722 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22723 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22725 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22726 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22727 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22728 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22729 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22730 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22731 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22732 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22733 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22734 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22735 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22736 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22737 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22738 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22739 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22740 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22741 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22742 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22743 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22744 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22745 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22746 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22747 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22748 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22749 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22750 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22751 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22752 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22753 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22754 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22755 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22756 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22757 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22758 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22759 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22760 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22761 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22762 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22764 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22765 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22766 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22767 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22768 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22769 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22770 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22771 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22772 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22773 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22774 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22775 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22776 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22777 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22778 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22779 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22780 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22781 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22782 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22783 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22784 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22785 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22786 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22787 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22788 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22789 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22790 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22791 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22792 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22793 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22794 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22795 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22796 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22797 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22798 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22799 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22800 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22801 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22802 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22803 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22804 (__isnanf): Likewise.
22805 (__isinf_ns): Likewise.
22806 (__isinf_nsf): Likewise.
22807 (__finite): Likewise.
22808 (__finitef): Likewise.
22809 (__ieee754_sqrt): Define as macro.
22810 (__ieee754_sqrtf): Define as macro.
22811 (__ieee754_sqrtl): Define as macro.
22812 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22814 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22815 __FINITE_MATH_ONLY__ consistent.
22816 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22818 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22820 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22823 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22825 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22827 * po/ja.po: Update from translation team.
22829 2011-10-08 Roland McGrath <roland@hack.frob.com>
22831 * locale/programs/locarchive.c (prepare_address_space): New function.
22832 (create_archive, enlarge_archive, open_archive): Use it.
22834 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22835 inside [SHARED], where it is used.
22837 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22839 * nss/getent.c (netgroup_keys): Remove unused variable.
22840 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22842 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22844 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22845 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22847 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22848 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22849 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22850 * math/Makefile (libm-calls): Add s_isinf_ns.
22851 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22852 * math/multc3.c: Likewise.
22853 * math/s_casin.c: Likewise.
22854 * math/s_casinf.c: Likewise.
22855 * math/s_casinl.c: Likewise.
22856 * math/s_ccos.c: Likewise.
22857 * math/s_ccosf.c: Likewise.
22858 * math/s_ccosl.c: Likewise.
22859 * math/s_ctan.c: Likewise.
22860 * math/s_ctanf.c: Likewise.
22861 * math/s_ctanh.c: Likewise.
22862 * math/s_ctanhf.c: Likewise.
22863 * math/s_ctanhl.c: Likewise.
22864 * math/s_ctanl.c: Likewise.
22865 * math/w_fmod.c: Likewise.
22866 * math/w_fmodf.c: Likewise.
22867 * math/w_fmodl.c: Likewise.
22868 * math/w_remainder.c: Likewise.
22869 * math/w_remainderf.c: Likewise.
22870 * math/w_remainderl.c: Likewise.
22871 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22872 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22873 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22875 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22876 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22877 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22878 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22880 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22882 * stdio-common/printf_fphex.c: Likewise.
22883 * stdio-common/printf_size.c: Likewise.
22885 * math/e_exp10.c: Include math_private.h using <...> not "...".
22886 * math/e_exp10f.c: Likewise.
22887 * math/e_exp10l.c: Likewise.
22888 * math/e_exp2l.c: Likewise.
22889 * math/e_j0l.c: Likewise.
22890 * math/e_j1l.c: Likewise.
22891 * math/e_jnl.c: Likewise.
22892 * math/e_lgammal_r.c: Likewise.
22893 * math/e_rem_pio2l.c: Likewise.
22894 * math/e_scalb.c: Likewise.
22895 * math/e_scalbf.c: Likewise.
22896 * math/e_scalbl.c: Likewise.
22897 * math/k_cosl.c: Likewise.
22898 * math/k_sinl.c: Likewise.
22899 * math/k_tanl.c: Likewise.
22900 * math/s_cacoshf.c: Likewise.
22901 * math/s_catan.c: Likewise.
22902 * math/s_catanf.c: Likewise.
22903 * math/s_catanh.c: Likewise.
22904 * math/s_catanhf.c: Likewise.
22905 * math/s_catanhl.c: Likewise.
22906 * math/s_catanl.c: Likewise.
22907 * math/s_ccosh.c: Likewise.
22908 * math/s_ccoshf.c: Likewise.
22909 * math/s_ccoshl.c: Likewise.
22910 * math/s_cexp.c: Likewise.
22911 * math/s_cexpf.c: Likewise.
22912 * math/s_cexpl.c: Likewise.
22913 * math/s_clog.c: Likewise.
22914 * math/s_clog10.c: Likewise.
22915 * math/s_clog10f.c: Likewise.
22916 * math/s_clog10l.c: Likewise.
22917 * math/s_clogf.c: Likewise.
22918 * math/s_clogl.c: Likewise.
22919 * math/s_csin.c: Likewise.
22920 * math/s_csinf.c: Likewise.
22921 * math/s_csinh.c: Likewise.
22922 * math/s_csinhf.c: Likewise.
22923 * math/s_csinhl.c: Likewise.
22924 * math/s_csinl.c: Likewise.
22925 * math/s_csqrt.c: Likewise.
22926 * math/s_csqrtf.c: Likewise.
22927 * math/s_csqrtl.c: Likewise.
22928 * math/s_ctan.c: Likewise.
22929 * math/s_ctanf.c: Likewise.
22930 * math/s_ctanh.c: Likewise.
22931 * math/s_ctanhf.c: Likewise.
22932 * math/s_ctanhl.c: Likewise.
22933 * math/s_ctanl.c: Likewise.
22934 * math/s_ldexp.c: Likewise.
22935 * math/s_ldexpf.c: Likewise.
22936 * math/s_ldexpl.c: Likewise.
22937 * math/s_significand.c: Likewise.
22938 * math/s_significandf.c: Likewise.
22939 * math/s_significandl.c: Likewise.
22940 * math/w_acos.c: Likewise.
22941 * math/w_acosf.c: Likewise.
22942 * math/w_acosh.c: Likewise.
22943 * math/w_acoshf.c: Likewise.
22944 * math/w_acoshl.c: Likewise.
22945 * math/w_acosl.c: Likewise.
22946 * math/w_asin.c: Likewise.
22947 * math/w_asinf.c: Likewise.
22948 * math/w_asinl.c: Likewise.
22949 * math/w_atan2.c: Likewise.
22950 * math/w_atan2f.c: Likewise.
22951 * math/w_atan2l.c: Likewise.
22952 * math/w_atanh.c: Likewise.
22953 * math/w_atanhf.c: Likewise.
22954 * math/w_atanhl.c: Likewise.
22955 * math/w_cosh.c: Likewise.
22956 * math/w_coshf.c: Likewise.
22957 * math/w_coshl.c: Likewise.
22958 * math/w_dremf.c: Likewise.
22959 * math/w_exp10.c: Likewise.
22960 * math/w_exp10f.c: Likewise.
22961 * math/w_exp10l.c: Likewise.
22962 * math/w_exp2.c: Likewise.
22963 * math/w_exp2f.c: Likewise.
22964 * math/w_fmod.c: Likewise.
22965 * math/w_fmodf.c: Likewise.
22966 * math/w_fmodl.c: Likewise.
22967 * math/w_hypot.c: Likewise.
22968 * math/w_hypotf.c: Likewise.
22969 * math/w_hypotl.c: Likewise.
22970 * math/w_j0.c: Likewise.
22971 * math/w_j0f.c: Likewise.
22972 * math/w_j0l.c: Likewise.
22973 * math/w_j1.c: Likewise.
22974 * math/w_j1f.c: Likewise.
22975 * math/w_j1l.c: Likewise.
22976 * math/w_jn.c: Likewise.
22977 * math/w_jnf.c: Likewise.
22978 * math/w_jnl.c: Likewise.
22979 * math/w_lgamma.c: Likewise.
22980 * math/w_lgamma_r.c: Likewise.
22981 * math/w_lgammaf.c: Likewise.
22982 * math/w_lgammaf_r.c: Likewise.
22983 * math/w_lgammal.c: Likewise.
22984 * math/w_lgammal_r.c: Likewise.
22985 * math/w_log.c: Likewise.
22986 * math/w_log10.c: Likewise.
22987 * math/w_log10f.c: Likewise.
22988 * math/w_log10l.c: Likewise.
22989 * math/w_log2.c: Likewise.
22990 * math/w_log2f.c: Likewise.
22991 * math/w_log2l.c: Likewise.
22992 * math/w_logf.c: Likewise.
22993 * math/w_logl.c: Likewise.
22994 * math/w_pow.c: Likewise.
22995 * math/w_powf.c: Likewise.
22996 * math/w_powl.c: Likewise.
22997 * math/w_remainder.c: Likewise.
22998 * math/w_remainderf.c: Likewise.
22999 * math/w_remainderl.c: Likewise.
23000 * math/w_scalb.c: Likewise.
23001 * math/w_scalbf.c: Likewise.
23002 * math/w_scalbl.c: Likewise.
23003 * math/w_sinh.c: Likewise.
23004 * math/w_sinhf.c: Likewise.
23005 * math/w_sinhl.c: Likewise.
23006 * math/w_sqrt.c: Likewise.
23007 * math/w_sqrtf.c: Likewise.
23008 * math/w_sqrtl.c: Likewise.
23009 * math/w_tgamma.c: Likewise.
23010 * math/w_tgammaf.c: Likewise.
23011 * math/w_tgammal.c: Likewise.
23013 * po/ja.po: Update from translation team.
23015 2011-09-29 Andreas Jaeger <aj@suse.de>
23018 * sunrpc/netname.c (netname2host): Fix logic.
23022 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23024 * math/w_remainder.c (__remainder): Likewise.
23025 * math/w_remainderf.c (__remainderf): Likewise.
23026 * math/libm-test.inc (remainder_test): Add test cases.
23028 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23030 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23033 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23035 * string/test-memcmp.c: Avoid unncessary #defines.
23036 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23038 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23040 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23041 Use new sse2 version for core i3 - i7 as it's faster
23042 than sse42 version.
23043 (bit_Prefer_PMINUB_for_stringop): New.
23044 * sysdeps/x86_64/rawmemchr.S: Update.
23045 Replace with faster SSE2 version.
23046 * sysdeps/x86_64/memrchr.S: New file.
23047 * sysdeps/x86_64/memchr.S: Update.
23048 Replace with faster SSE2 version.
23050 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23052 * elf/dl-load.c (lose): Add cast to avoid warning.
23054 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23056 * po/ca.po: Update from translation team.
23058 * inet/getnetgrent_r.c: Hook up nscd.
23059 * nscd/Makefile (routines): Add nscd_netgroup.
23060 (nscd-modules): Add netgroupcache.
23061 (CFLAGS-netgroupcache.c): Define.
23062 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23063 (cache_search): Add const to second parameter.
23064 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23066 (dbs): Add netgrdb entry.
23067 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23068 (verify_persistent_db): Handle netgrdb.
23069 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23070 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23072 (netgroup_response_header): Define.
23073 (innetgroup_response_header): Define.
23074 (datahead): Add netgroup_response_header and innetgroup_response_header
23076 * nscd/nscd.conf: Add entries for netgroup cache.
23077 * nscd/nscd.h (dbtype): Add netgrdb.
23078 (_PATH_NSCD_NETGROUP_DB): Define.
23079 (netgroup_iov_disabled): Declare.
23080 (xmalloc, xcalloc, xrealloc): Move declarations here.
23081 (cache_search): Adjust prototype.
23082 Add netgroup-related prototypes.
23083 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23084 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23085 (__nscd_innetgr): Declare.
23086 * nscd/selinux.c (perms): Use access_vector_t as element type and
23087 add netgroup-related initializers.
23088 * nscd/netgroupcache.c: New file.
23089 * nscd/nscd_netgroup.c: New file.
23090 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23091 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23092 For four parameters use innetgr.
23093 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23094 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23095 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23096 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23098 * nscd/connections.c (register_traced_file): Don't register file
23099 for disabled databases.
23101 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23103 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23105 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23106 from tree and freeing node.
23108 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23110 * nss/nsswitch.c (__nss_database_lookup): Handle
23111 nss_parse_service_list out of memory case.
23113 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23115 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23116 out of memory case.
23118 2011-10-04 Andreas Schwab <schwab@redhat.com>
23120 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23121 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23123 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23124 elf_machine_rela, elf_machine_lazy_rel.
23125 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23126 (ELF_DYNAMIC_DO_REL): Likewise.
23127 (ELF_DYNAMIC_DO_RELA): Likewise.
23128 (ELF_DYNAMIC_RELOCATE): Likewise.
23129 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23130 to ELF_DYNAMIC_DO_REL.
23131 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23132 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23133 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23135 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23136 skip_ifunc, don't call ifunc function if non-zero.
23137 (elf_machine_rela): Likewise.
23138 (elf_machine_lazy_rel): Likewise.
23139 (elf_machine_lazy_rela): Likewise.
23140 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23141 (elf_machine_lazy_rel): Likewise.
23142 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23144 (elf_machine_lazy_rel): Likewise.
23145 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23147 (elf_machine_lazy_rel): Likewise.
23148 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23149 (elf_machine_lazy_rel): Likewise.
23150 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23151 (elf_machine_lazy_rel): Likewise.
23152 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23153 (elf_machine_lazy_rel): Likewise.
23154 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23155 (elf_machine_lazy_rel): Likewise.
23156 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23157 (elf_machine_lazy_rel): Likewise.
23158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23159 (elf_machine_lazy_rel): Likewise.
23161 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23163 * nss/nss_files/files-init.c (_nss_files_init): Use static
23164 initialization for all the *_traced_file variables.
23166 2011-09-28 Andreas Schwab <schwab@redhat.com>
23168 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23170 2011-09-27 Roland McGrath <roland@hack.frob.com>
23173 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23175 2011-09-27 Andreas Schwab <schwab@redhat.com>
23177 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23178 Reread the line before reparsing it.
23180 2011-09-26 Andreas Schwab <schwab@redhat.com>
23182 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23184 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23185 Maxim Kuvyrkov <maxim@codesourcery.com>
23186 Joseph Myers <joseph@codesourcery.com>
23188 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23189 if needed for __stack_chk_guard.
23191 2011-09-19 Roland McGrath <roland@hack.frob.com>
23193 * sysdeps/posix/spawni.c (script_execute): Always define it.
23194 It will be optimized away if unused.
23195 (maybe_script_execute): New function.
23196 (__spawni): Call it.
23198 * Makerules: Don't include tls.make.
23199 (config-tls): Always set to thread.
23200 * tls.make.c: File removed.
23202 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23204 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23205 * config.make.in (CPPFLAGS-config): New substituted variable.
23207 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23209 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23212 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23213 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23215 2011-09-15 Roland McGrath <roland@hack.frob.com>
23217 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23218 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23219 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23220 (CALL_FAIL): Likewise.
23221 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23222 (CALL_FAIL): Macro removed.
23223 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23225 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23227 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23228 for __FINITE_MATH_ONLY__ == 1.
23230 2011-09-15 Andreas Schwab <schwab@redhat.com>
23232 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23233 __ieee754_sqrt instead of sqrt.
23234 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23235 __ieee754_sqrtf instead of sqrtf.
23236 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23237 __floorf instead of floorf.
23238 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23239 __floorf, __truncf instead of floorf, truncf.
23241 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23243 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23245 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23246 __extern_always_inline.
23247 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23250 2011-09-14 Andreas Schwab <schwab@redhat.com>
23252 * elf/rtld.c (dl_main): Also relocate in dependency order when
23253 doing symbol dependency testing.
23255 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23258 Always define `refsym'.
23260 2011-09-13 Andreas Schwab <schwab@redhat.com>
23262 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23263 (__FD_ELT): Renamed from __FDELT.
23264 * misc/bits/select2.h (__FD_ELT): Likewise.
23265 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23266 __FD_MASK instead of __FDELT, __FDMASK.
23267 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23269 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23272 * elf/Makefile (gen-ldd): Fix pattern.
23274 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23275 (init_tls): Likewise.
23277 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23279 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23281 2011-09-12 Andreas Schwab <schwab@redhat.com>
23283 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23284 `struct cmsghdr *' instead of `void *'.
23285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23288 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23290 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23292 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23293 ldd_rewrite_script.
23295 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23297 * configure.in: Remove --with-tls option.
23298 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23299 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23300 out in case it is missing.
23301 * sysdeps/ia64/elf/configure.in: Likewise.
23302 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23303 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23304 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23305 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23306 * sysdeps/sh/elf/configure.in: Likewise.
23307 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23308 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23309 * sysdeps/x86_64/elf/configure.in: Likewise.
23310 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23311 * sysdeps/mach/hurd/tls.h: Likewise.
23314 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23317 * configure.in: Fix use of AC_INIT.
23319 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23321 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23323 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23325 * malloc/hooks.c: Likewise.
23328 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23329 variables statically.
23330 (narenas): Initialize.
23331 (list_lock): Initialize.
23332 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23333 initializtion of main_arena and list_lock. Small cleanups.
23334 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23335 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23336 Add initializers to main_arena and mp_.
23337 (malloc_state): Remove pagesize member. Change all users to use
23340 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23341 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23342 is always initialized.
23344 * malloc/malloc.c: Removed unused configurations and dead code.
23345 * malloc/arena.c: Likewise.
23346 * malloc/hooks.c: Likewise.
23347 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23349 * include/tls.h: Removed. USE___THREAD must always be defined.
23350 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23351 * elf/dl-libc.c: Likewise.
23352 * elf/dl-tsd.c: Likewise.
23353 * include/errno.h: Likewise.
23354 * include/netdb.h: Likewise.
23355 * include/resolv.h: Likewise.
23356 * inet/herrno-loc.c: Likewise.
23357 * inet/herrno.c: Likewise.
23358 * malloc/arena.c: Likewise.
23359 * malloc/hooks.c: Likewise.
23360 * malloc/malloc.c: Likewise.
23361 * resolv/res-state.c: Likewise.
23362 * resolv/res_libc.c: Likewise.
23363 * sysdeps/i386/dl-machine.h: Likewise.
23364 * sysdeps/ia64/dl-machine.h: Likewise.
23365 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23366 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23367 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23368 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23369 * sysdeps/sh/dl-machine.h: Likewise.
23370 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23371 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23372 * sysdeps/unix/i386/sysdep.S: Likewise.
23373 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23374 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23375 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23376 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23377 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23378 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23379 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23383 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23384 * sysdeps/x86_64/dl-machine.h: Likewise.
23385 * tls.make.c: Likewise.
23387 * configure.in: Remove --with-__thread option. Make tests for
23388 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23389 tls_model attribute fail if no support is available. Remove
23391 * Makeconfig: Adjust for dropped configure option. All features are
23393 * Makerules: Likewise.
23394 * Versions.def: Likewise.
23395 * argp/argp-fmtstream.c: Likewise.
23396 * argp/argp-fmtstream.h: Likewise.
23397 * argp/argp-help.c: Likewise.
23398 * assert/assert.c: Likewise.
23399 * config.h.in: Likewise.
23400 * config.make.in: Likewise.
23401 * configure: Likewise.
23402 * configure.in: Likewise.
23403 * csu/Versions: Likewise.
23404 * csu/init.c: Likewise.
23405 * elf/tst-audit2.c: Likewise.
23406 * elf/tst-tls10.c: Likewise.
23407 * elf/tst-tls10.h: Likewise.
23408 * elf/tst-tls11.c: Likewise.
23409 * elf/tst-tls12.c: Likewise.
23410 * elf/tst-tls14.c: Likewise.
23411 * elf/tst-tlsmod11.c: Likewise.
23412 * elf/tst-tlsmod12.c: Likewise.
23413 * elf/tst-tlsmod13.c: Likewise.
23414 * elf/tst-tlsmod13a.c: Likewise.
23415 * elf/tst-tlsmod14a.c: Likewise.
23416 * elf/tst-tlsmod15b.c: Likewise.
23417 * elf/tst-tlsmod16a.c: Likewise.
23418 * elf/tst-tlsmod16b.c: Likewise.
23419 * elf/tst-tlsmod7.c: Likewise.
23420 * elf/tst-tlsmod8.c: Likewise.
23421 * elf/tst-tlsmod9.c: Likewise.
23422 * gmon/gmon.c: Likewise.
23423 * grp/fgetgrent_r.c: Likewise.
23424 * grp/putgrent.c: Likewise.
23425 * hurd/fopenport.c: Likewise.
23426 * include/libc-symbols.h: Likewise.
23427 * include/tls.h: Likewise.
23428 * intl/gettextP.h: Likewise.
23429 * intl/loadinfo.h: Likewise.
23430 * locale/global-locale.c: Likewise.
23431 * locale/localeinfo.h: Likewise.
23432 * mach/devstream.c: Likewise.
23433 * malloc/arena.c: Likewise.
23434 * malloc/set-freeres.c: Likewise.
23435 * misc/err.c: Likewise.
23436 * misc/getttyent.c: Likewise.
23437 * misc/mntent_r.c: Likewise.
23438 * posix/getopt.c: Likewise.
23439 * posix/wordexp.c: Likewise.
23440 * pwd/fgetpwent_r.c: Likewise.
23441 * resolv/Versions: Likewise.
23442 * resolv/res_hconf.c: Likewise.
23443 * shadow/fgetspent_r.c: Likewise.
23444 * shadow/putspent.c: Likewise.
23445 * stdio-common/printf_fphex.c: Likewise.
23446 * stdio-common/tmpfile.c: Likewise.
23447 * stdlib/abort.c: Likewise.
23448 * stdlib/fmtmsg.c: Likewise.
23449 * sunrpc/auth_unix.c: Likewise.
23450 * sunrpc/clnt_perr.c: Likewise.
23451 * sunrpc/clnt_tcp.c: Likewise.
23452 * sunrpc/clnt_udp.c: Likewise.
23453 * sunrpc/clnt_unix.c: Likewise.
23454 * sunrpc/openchild.c: Likewise.
23455 * sunrpc/svc_simple.c: Likewise.
23456 * sunrpc/svc_tcp.c: Likewise.
23457 * sunrpc/svc_udp.c: Likewise.
23458 * sunrpc/svc_unix.c: Likewise.
23459 * sunrpc/xdr.c: Likewise.
23460 * sunrpc/xdr_array.c: Likewise.
23461 * sunrpc/xdr_rec.c: Likewise.
23462 * sunrpc/xdr_ref.c: Likewise.
23463 * sunrpc/xdr_stdio.c: Likewise.
23465 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23467 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23469 2011-07-03 Andreas Jaeger <aj@suse.de>
23471 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23472 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23473 regenerate with gen-libm-tests.pl.
23475 2010-05-12 Petr Baudis <pasky@suse.cz>
23478 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23479 around j0() zero points by switching to j1().
23480 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23481 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23482 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23483 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23485 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23487 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23489 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23492 Patch in part by Pavel Roskin <proski@gnu.org>.
23495 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23497 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23498 Free memory block if necessary.
23501 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23502 be NULL. Don't lock in this case.
23504 2011-09-09 Roland McGrath <roland@hack.frob.com>
23506 * elf/elf.h (ELFOSABI_GNU): New macro.
23507 (ELFOSABI_LINUX): Define to that.
23509 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23511 * string/strncat.c (strncat): Undef the symbol in case it has been
23512 defined in bits/string.h.
23514 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23516 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23518 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23521 2011-08-17 Andreas Jaeger <aj@suse.de>
23523 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23525 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23526 Ian Lance Taylor <iant@google.com>
23528 * math/libm-test.inc (lround_test): New testcase.
23529 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23531 2011-09-08 Ulrich Drepper <drepper@gmail.com>
23533 * Makefile: Remove support for automatic cvs check-ins.
23534 * Makerules: Likewise.
23535 * config.make.in: Likewise.
23536 * configure.in: Likewise.
23537 * intl/Makefile: Likewise.
23538 * locale/Makefile: Likewise.
23539 * po/Makefile: Likewise.
23540 * posix/Makefile: Likewise.
23541 * sysdeps/gnu/Makefile: Likewise.
23542 * sysdeps/mach/hurd/Makefile: Likewise.
23543 * sysdeps/sparc/sparc32/Makefile: Likewise.
23546 * posix/Makefile (bug-regex32-ENV): Define.
23547 Patch by John Stanley <jpsinthemix@verizon.net>.
23549 * misc/Makefile (headers): Add bits/select2.h.
23550 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23551 * misc/bits/select2.h: New file.
23552 * include/bits/select2.h: New file.
23553 * debug/Makefile (routines): Add fdelt_chk.
23554 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23555 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23557 * debug/fdelt_chk.c: New file.
23559 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23560 * wcsmbs/test-wmemcmp.c: Likewise.
23561 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23562 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23564 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23566 * string/Makefile (strop-tests): Add memcmp.
23567 * string/test-wmemcmp.c: New file.
23568 * string/test-memcmp.c: Add wmemcmp support.
23570 2011-09-08 Roland McGrath <roland@hack.frob.com>
23573 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23576 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23577 garbage value in a __mach_port_mod_refs call in the cases of the
23578 task-self and thread-self ports.
23580 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23582 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23584 2011-09-08 Andreas Schwab <schwab@redhat.com>
23586 * elf/dl-load.c (lose): Check for non-null L.
23588 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23590 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23592 * elf/dl-libc.c (dlerror_run): Pass back error code from
23596 * elf/dl-load.c (lose): Free l_origin if it is valid.
23598 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23600 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23601 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23602 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23603 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23604 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23605 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23607 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23609 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23610 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23611 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23612 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23613 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23614 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23615 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23616 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23617 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23618 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23620 2011-08-15 Alan Modra <amodra@gmail.com>
23623 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23624 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23625 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23626 ppc_mcount to static-only-routines.
23627 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23629 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23630 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23632 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23634 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23635 for finite and infinity parameters.
23637 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23639 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23640 and add nop instructions for throughput optimization.
23641 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23643 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23645 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23646 aligned copy for power7 with vector-scalar instructions.
23647 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23649 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23654 2011-09-07 Andreas Schwab <schwab@redhat.com>
23657 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23660 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23662 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23663 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23664 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23665 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23668 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23670 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23671 Forgot to demangle the pointer.
23673 * sysdeps/i386/sysdep.h: Define atom_text_section.
23674 * sysdeps/x86_64/sysdep.h: Likewise.
23675 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23676 section with atom_text_section.
23677 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23678 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23679 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23680 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23681 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23683 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23684 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23685 already be defined. Change to take two parameters and don't assign
23686 result to variable. Adjust all users.
23687 Define INTERNAL_GETTIME if not already defined.
23688 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23691 HAVE_CLOCK_GETTIME_VSYSCALL.
23692 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23695 gettimeofday vsyscall, just use time.
23697 2011-09-06 Andreas Schwab <schwab@redhat.com>
23699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23702 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23704 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23706 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23708 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23709 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23710 syscall if possible.
23712 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23714 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23715 e_ident. Don't pass to find_mapsXX.
23716 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23718 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23721 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23722 * sysdeps/x86_64/multiarch/strchr.S: Update.
23723 Check bit_slow_BSF bit.
23724 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23725 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23726 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23728 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23731 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23733 (tryshell): Define.
23734 (__spawni): Change last parameter to be flag. Test
23735 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23736 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23737 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23738 * posix/spawni.c: Likewise.
23739 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23740 * posix/spawnp.c: Likewise. Change normal version to use
23741 SPAWN_XFLAGS_USE_PATH.
23742 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23743 SPAWN_XFLAGS_TRY_SHELL.
23746 * posix/glob.h: Remove gcc 1.x support.
23749 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23751 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23753 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23754 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23756 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23757 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23758 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23759 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23760 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23761 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23763 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23765 * sysdeps/x86_64/wcscmp.S: New file.
23767 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23768 wcscmp-c wcscmp-sse2
23769 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23770 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23771 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23772 * wcsmbs/wcscmp.c: Allow renaming.
23774 2011-09-05 David S. Miller <davem@davemloft.net>
23776 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23777 stack slot, rather than the struct return pointer slot.
23778 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23779 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23781 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23783 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23785 * po/ja.po: Update from translation team.
23788 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23789 kernel in 64-bit binaries.
23791 2011-09-01 David S. Miller <davem@davemloft.net>
23793 * elf/elf.h (HWCAP_SPARC_*): Move to..
23794 * sysdeps/sparc/sysdep.h: this new file and add new values.
23795 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23796 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23797 _DL_HWCAP_COUNT to 24.
23798 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23800 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23801 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23802 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23803 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23804 instead of magic constants.
23805 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23807 2011-08-31 David S. Miller <davem@davemloft.net>
23809 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23811 Reimplement to do errno handling inline.
23812 (SYSCALL_ERROR_HANDLER): New macro.
23813 (__SYSCALL_STRING): Do not do errno handling in asm.
23814 (__CLONE_SYSCALL_STRING): Delete.
23815 (__INTERNAL_SYSCALL_STRING): Delete.
23816 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23817 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23818 (PSEUDO): Reimplement to do errno handling inline.
23819 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23820 (SYSCALL_ERROR_HANDLER): New macro.
23821 (__SYSCALL_STRING): Do not do errno handling in asm.
23822 (__CLONE_SYSCALL_STRING): Delete.
23823 (__INTERNAL_SYSCALL_STRING): Delete.
23824 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23825 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23827 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23828 (inline_syscall*): Add 'err' argument.
23829 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23830 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23831 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23832 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23834 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23835 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23837 2011-08-30 Andreas Schwab <schwab@redhat.com>
23839 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23841 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23843 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23846 2011-08-24 David S. Miller <davem@davemloft.net>
23848 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23850 2011-08-24 Andreas Schwab <schwab@redhat.com>
23852 * elf/Makefile: Add rules to build and run unload8 test.
23853 * elf/unload8.c: New file.
23854 * elf/unload8mod1.c: New file.
23855 * elf/unload8mod1x.c: New file.
23856 * elf/unload8mod2.c: New file.
23857 * elf/unload8mod3.c: New file.
23859 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23862 2011-08-23 David S. Miller <davem@davemloft.net>
23864 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23865 subtract stack bias.
23866 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23867 %sp not %fp in calculations.
23868 (_JMPBUF_UNWINDS_ADJ): Likewise.
23870 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23871 (aio_suspend): Call it to force an exception region around the
23872 AIO_MISC_WAIT() invocation.
23874 2011-08-23 Andreas Schwab <schwab@redhat.com>
23876 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23879 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23881 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23883 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23884 and <dl-machine.h>.
23885 (Elf64_FuncDesc): Remove.
23887 2011-08-22 David S. Miller <davem@davemloft.net>
23889 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23890 sigaltstack check, add missing cfi directives.
23891 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23892 missing cfi directives, and sigaltstack handling.
23894 2011-08-16 Andreas Schwab <schwab@redhat.com>
23897 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23898 object is seen twice.
23899 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23901 * elf/Makefile (distribute): Add tst-initorder2.c.
23902 (tests): Add tst-initorder2.
23903 (modules-names): Add tst-initorder2a tst-initorder2b
23904 tst-initorder2c tst-initorder2d. Add rules to build them.
23905 ($(objpfx)tst-initorder2.out): New rule.
23906 * elf/tst-initorder2.c: New file.
23907 * elf/tst-initorder2.exp: New file.
23909 2011-08-22 Andreas Schwab <schwab@redhat.com>
23911 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23913 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23914 dependencies back to end of function.
23916 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23917 $(elfobjdir)/ld.so.
23919 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23921 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23922 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23924 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23925 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23926 of __vdso_gettimeofday.
23927 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23928 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23930 (_libc_vdso_platform_setup): Remove initialization of
23931 __vdso_gettimeofday and __vdso_time.
23933 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23935 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23936 and fgetc_unlocked.
23937 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23940 * elf/dl-open.c (add_to_global): Report additions to the global scope
23941 for LD_DEBUG=scopes.
23942 (dl_open_worker): Also print scope of newly loaded dependencies.
23943 (_dl_show_scope): Indicate if there is no scope.
23946 * stdio-common/Makefile (tests): Add bug24.
23947 * stdio-common/bug24.c: New file.
23949 2011-08-19 Andreas Jaeger <aj@suse.de>
23952 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23953 non-existant file when using close-on-exec mode.
23955 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23958 the very first instruction.
23960 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23961 the CFI state in the end.
23962 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23963 inclusion of dl-trampoline.h.
23964 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23966 2011-08-19 Andreas Schwab <schwab@redhat.com>
23968 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23969 expectations for long double.
23971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23972 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23974 2011-08-14 David S. Miller <davem@davemloft.net>
23976 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23977 artificual limit depends upon the system page size.
23979 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23981 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23982 * resolv/Makefile: Define CFLAGS-libresolv.
23984 2011-08-17 Andreas Schwab <schwab@redhat.com>
23986 * nss/makedb.c (compute_tables): Make variables used in nested
23989 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23991 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23992 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23993 if buffer was too small.
23995 * elf/pldd.c (main): Attach to all threads in the process.
23996 Rewrite /proc handling to use *at functions.
23998 2011-08-16 Ulrich Drepper <drepper@gmail.com>
24000 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24001 specifies first scope to show.
24002 (dl_open_worker): Update callers. Move printing scope of new
24003 object to before the relocation.
24004 * elf/rtld.c (dl_main): Update _dl_show_scope call.
24005 * sysdeps/generic/ldsodefs.h: Update declaration.
24007 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24008 string for the scope number.
24010 2011-08-14 Ulrich Drepper <drepper@gmail.com>
24012 * nscd/servicescache.c (cache_addserv): Make sure written is always
24015 2011-08-14 Roland McGrath <roland@hack.frob.com>
24017 * sysdeps/i386/i486/bits/atomic.h
24018 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24019 statement expression, so as to suppress "set but not used" warning.
24020 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24022 * string/strncat.c (STRNCAT): Use prototype definition.
24024 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24025 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24027 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24028 (localedef-modules): Add localedef.
24029 (locale-modules): Add locale.
24031 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24032 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24033 to avoid a warning.
24035 2011-08-14 David S. Miller <davem@davemloft.net>
24037 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24038 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24040 2011-08-13 Ulrich Drepper <drepper@gmail.com>
24042 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24043 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24044 * elf/rtld.c (dl_main): Set l_name of vDSO.
24045 Call _dl_show_scope when DL_DEBUG_SCOPES.
24046 (process_dl_debug): Recognize scopes flag and also set it for all.
24047 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24048 Declare _dl_show_scope.
24050 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24051 (do_dlopen): Pass caller_dlopen to dl_open.
24052 (__libc_dlopen_mode): Initialize caller_dlopen.
24054 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24055 of libc. Make tolower call locale-independent. Optimize a bit by
24056 using isdigit instead of isalnum.
24057 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24059 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24061 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24062 was a dependency or dynamically loaded.
24064 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24066 * intl/l10nflist.c: Allow architecture-specific pop function.
24067 * sysdeps/x86_64/l10nflist.c: New file.
24069 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24072 2011-08-10 Andreas Schwab <schwab@redhat.com>
24074 * include/dirent.h: Add libc_hidden_proto for scandirat and
24075 scandirat64. Don't declare __scandirat64.
24076 * dirent/scandirat.c: Add libc_hidden_def.
24077 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24078 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24080 2011-08-10 David S. Miller <davem@davemloft.net>
24082 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24084 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24085 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24086 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24088 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24090 * Versions.def [libc]: Add GLIBC_2.15.
24091 * dirent/Makefile (routines): Add scandirat and scandirat64.
24092 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24094 * dirent/dirent.h: Declare scandirat and scandirat64.
24095 * dirent/scandirat.c: New file.
24096 * dirent/scandirat64.c: New file.
24097 * sysdeps/wordsize-64/scandirat.c: New file.
24098 * sysdeps/wordsize-64/scandirat64.c: New file.
24099 * dirent/opendir.c: Define opendirat.
24100 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24102 * dirent/scandir64.c: Adjust for scandir.c change.
24103 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24104 __scandirat64, and __scandir_cancel_handler.
24105 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24106 additional parameter and use openat instead of open (outside of ld.so).
24107 Add new __opendir as wrapper around __opendirat.
24108 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24109 here without requiring old scandirat implementation.
24111 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24113 * dirent/scandir.c (cancel_handler): Renamed to
24114 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24115 defined. Adjust users.
24116 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24117 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24119 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24121 * string/test-string.h (IMPL): Use __STRING to expand name and then
24124 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24127 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24129 * string/Makefile: Update.
24130 (strop-tests): Append strncat.
24131 * string/test-wcscmp.c: New file.
24132 New comprehensive test for wcscmp.
24133 * string/test-strcmp.c: Update.
24134 (WIDE): New define.
24136 2011-07-22 Andreas Schwab <schwab@redhat.com>
24138 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24141 2011-07-26 Andreas Schwab <schwab@redhat.com>
24143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24144 encoding to ACE if AI_IDN.
24146 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24148 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24149 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24151 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24153 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24154 Fix overflow bug in strncat.
24155 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24157 * string/test-strncat.c: Update.
24158 Add new tests for checking overflow bugs.
24160 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24163 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24164 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24165 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24166 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24167 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24168 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24169 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24170 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24172 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24173 (USE_AS_STRCAT): Define.
24174 Add strcat and strncat support.
24175 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24177 2011-07-25 Andreas Schwab <schwab@redhat.com>
24179 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24180 __n bigger than INT_MAX+1.
24181 (__strncmp_g): Likewise.
24183 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24185 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24186 * libio/stido.h: Likewise.
24188 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24193 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24194 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24195 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24196 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24197 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24200 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24205 (_dl_x86_64_save_sse): Likewise.
24207 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24211 (_dl_x86_64_save_sse): Likewise.
24213 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24215 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24217 2011-07-21 Andreas Schwab <schwab@redhat.com>
24219 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24221 (_dl_x86_64_save_sse): Use correct AVX check.
24223 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24225 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24226 bug in strncpy/strncat.
24227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24229 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24231 * string/tester.c (test_strcat): Add tests for different alignments
24232 of source and destination.
24233 (test_strncat): Likewise.
24235 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24238 * posix/glob.c (glob): Check passed in values before using them in
24239 expressions to avoid some overflows.
24240 (glob_in_dir): Likewise.
24243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24244 check for AVX enablement so that we don't crash with old kernels and
24246 * elf/tst-audit4.c: Add same checks here.
24247 * elf/tst-audit6.c: Likewise.
24249 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24251 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24253 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24255 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24257 * po/cs.po: Update from translation team.
24258 * po/bg.po: Likewise.
24260 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24262 * misc/sys/cdefs.h: Add support for const attribute.
24263 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24264 to gnu_dev_{major,minor,makedev} functions.
24266 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24268 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24270 2011-07-20 Andreas Schwab <schwab@redhat.com>
24272 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24275 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24277 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24278 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24279 register in order to avoid conflicts with the soft frame pointer
24280 being held in r11 when necessary.
24281 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24282 (INTERNAL_VSYSCALL_NCS): Likewise.
24284 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24286 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24287 * elf/dl-fini.c (_dl_fini): Adjust caller.
24288 * elf/dl-close.c (_dl_close_worker): Likewise.
24289 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24291 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24293 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24294 "aux_cache->nlibs < 0".
24296 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24297 in the reload-count case.
24299 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24302 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24303 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24304 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24305 * sysdeps/x86_64/multiarch/strcat.S: New file.
24306 * sysdeps/x86_64/multiarch/strncat.S: New file.
24307 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24308 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24309 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24310 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24311 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24312 (USE_AS_STRCAT): Define.
24313 Add strcat and strncat support.
24314 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24315 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24316 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24317 * string/strncat.c: Update.
24318 (USE_AS_STRNCAT): Define.
24319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24320 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24322 * sysdeps/x86_64/multiarch/init-arch.h
24323 (bit_Prefer_PMINUB_for_stringop): New.
24324 (index_Prefer_PMINUB_for_stringop): Likewise.
24325 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24326 bit_Prefer_PMINUB_for_stringop.
24328 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24330 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24332 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24333 of casting of buffer.
24334 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24335 buffer32 and buffer64.
24336 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24337 writes instead of casting of buffer.
24338 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24340 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24343 2011-07-19 Andreas Schwab <schwab@redhat.com>
24345 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24347 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24349 * nscd/nscd.c (termination_handler): Don't do anything for a database
24350 if it has not yet been initialized.
24352 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24354 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24356 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24358 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24360 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24362 * po/nl.po: Update from translation team.
24363 * po/sv.po: Likewise.
24365 2011-07-16 Roland McGrath <roland@hack.frob.com>
24367 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24368 now disallowed by GCC.
24370 * configure.in (use-default-link): Default to yes if a test -shared
24371 link meets our qualifications.
24372 * configure: Regenerated.
24374 * config.make.in (output-format): New variable.
24375 * configure.in: Check for ld --print-output-format support.
24376 * configure: Regenerated.
24377 * Makerules ($(common-objpfx)format.lds)
24378 [$(output-format) != unknown]: Just use $(output-format),
24379 instead of the linker-script munging.
24381 2011-07-14 Roland McGrath <roland@hack.frob.com>
24383 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24384 of $(common-objpfx)shlib.lds.
24385 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24387 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24388 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24390 * configure.in (-z relro check): Adjust test code to add a large
24391 writable data section after it.
24392 * configure: Regenerated.
24394 2011-07-11 Roland McGrath <roland@hack.frob.com>
24396 * configure.in (-z relro check): Fix test code to make the variable
24398 * configure: Regenerated.
24400 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24402 * nscd/nscd.h (struct traced_file): Define.
24403 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24404 elements. Add traced_files.
24405 (inotify_fd): Declare.
24406 (register_traced_file): Declare.
24407 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24408 (inotify_fd): Export.
24409 (resolv_conf_descr): Remove.
24410 (nscd_init): Move inotify descriptor creation to main.
24411 Don't register files for notification here.
24412 (register_traced_file): New function.
24413 (invalidate_cache): Don't use reset_res to determine whether to call
24414 res_init, go through the list of registered files.
24415 (main_loop_poll): The inotify descriptors are now stored in the
24416 structures for the traced files.
24417 (main_loop_epoll): Likewise
24418 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24419 to __nss_disable_nscd.
24420 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24421 for a database anymore. Check the records for all the registered
24423 * nss/Makefile (libnss_files-routines): Add files-init.
24424 (libnss_db-routines): Add db-init.
24425 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24426 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24427 * nss/nss_db/db-init.c: New file.
24428 * nss/nss_files/files-init.c: New file.
24429 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24430 __nss_lookup_function.
24431 (__nss_lookup_function): Call nss_load_library.
24432 (nss_load_all_libraries): New function.
24433 (__nss_disable_nscd): Take parameter with callback function for files
24434 to register. Set is_nscd. Load all the DSOs for the NSS modules
24435 used for the cached services.
24436 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24437 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24438 options for features to all the files in nscd.
24440 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24442 2011-07-10 Roland McGrath <roland@hack.frob.com>
24444 * csu/elf-init.c (__libc_csu_init): Comment typo.
24446 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24448 * po/pl.po: Update from translation team.
24449 * po/ja.po: Likewise.
24450 * po/ru.po: Likewise.
24451 * po/ko.po: Likewise.
24452 * po/fr.po: Likewise.
24454 2011-07-09 Roland McGrath <roland@hack.frob.com>
24456 * configure.in (.ctors/.dtors header and trailer check):
24457 Use an empirical test on a built program.
24458 * configure: Regenerated.
24460 * configure.in (-z relro check): Use an empirical test on a built DSO.
24461 Detect, but do not require, on ia64.
24462 * configure: Regenerated.
24464 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24465 Update tests that use readelf to use $READELF instead.
24466 * configure: Regenerated.
24468 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24470 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24471 if the result is not used.
24473 2011-07-05 Andreas Jaeger <aj@suse.de>
24476 * stdlib/tst-strtod.c: Add testcase.
24478 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24480 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24481 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24482 The latter has a higher limit. Take additional parameter to pass to
24484 (__pathconf): Pass file to __statfs_link_max.
24485 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24487 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24491 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24492 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24494 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24495 (__statfs_filesize_max): Likewise.
24496 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24498 2011-07-05 Andreas Jaeger <aj@suse.de>
24500 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24502 2011-07-06 Marek Polacek <mpolacek@redhat.com>
24504 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24506 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24509 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24511 * Makefile (strop-tests): Add strncat.
24512 * string/test-strncat.c: New file.
24514 2011-06-30 Marek Polacek <mpolacek@redhat.com>
24516 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24518 2011-06-21 Andreas Jaeger <aj@suse.de>
24520 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24521 Copy rule from iconvdata/Makefile.
24523 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24526 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24527 but no long options are defined, just return 'W'.
24529 2011-06-22 Marek Polacek <mpolacek@redhat.com>
24532 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24534 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24536 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24538 (innetgr): Likewise.
24540 2011-07-05 Roland McGrath <roland@hack.frob.com>
24542 * config.make.in (install_root): Default to $(DESTDIR).
24544 2011-07-05 Ulrich Drepper <drepper@gmail.com>
24546 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24548 2011-07-02 Roland McGrath <roland@hack.frob.com>
24550 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24552 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24553 containing directory rather than embedding absolute directory names.
24555 * scripts/check-local-headers.sh: Rewritten using awk.
24556 Match by word, not by line. Print error messages for matches.
24557 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24559 * Makerules [shlib-lds-flags empty]:
24560 ($(common-objpfx)libc_pic.opts): New target.
24561 ($(common-objpfx)libc_pic.os.clean): New target.
24562 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24564 * config.make.in (OBJCOPY): New variable.
24565 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24566 * configure: Regenerated.
24568 * config.make.in (use-default-link): New variable.
24569 * configure.in (use_default_link): Grok --with-default-link to set it.
24570 * configure: Regenerated.
24571 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24572 (shlib-lds, shlib-lds-flags): Define to empty.
24574 * Makerules (shlib-lds): New variable.
24575 (shlib-lds-flags): New variable.
24576 (build-shlib, build-moduile, build-module-asneeded): Use it.
24577 ($(common-objpfx)libc.so): Use $(shlib-lds).
24578 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24579 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24581 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24582 DT_FLAGS/DT_FLAGS_1 with zero flags.
24584 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24585 linker script munging.
24587 2011-07-02 Ulrich Drepper <drepper@gmail.com>
24589 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24591 * crypt/sha512.c (sha512_process_block): Perform total addition using
24592 128-bit if possible.
24593 (__sha512_finish_ctx): Likewise.
24594 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24596 * crypt/sha256.c (SWAP64): Define.
24597 (sha256_process_block): Perform total addition using 64-bit if
24599 (__sha256_finish_ctx): Likewise.
24601 2011-07-01 Ulrich Drepper <drepper@gmail.com>
24603 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24604 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24605 * nscd/hstcache.c (cache_addhst): Likewise.
24606 * nscd/grpcache.c (cache_addgr): Likewise.
24607 * nscd/aicache.c (addhstaiX): Likewise
24608 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24610 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
24612 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24613 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24614 * nscd/hstcache.c (cache_addhst): Likewise.
24615 * nscd/grpcache.c (cache_addgr): Likewise.
24616 * nscd/aicache.c (addhstaiX): Likewise
24618 2011-07-01 Andreas Schwab <schwab@redhat.com>
24620 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24621 domain only when needed.
24623 2011-06-30 Andreas Schwab <schwab@redhat.com>
24625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24626 is always restored.
24628 2011-06-29 Ulrich Drepper <drepper@gmail.com>
24630 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24631 are re-adding the entry.
24632 * nscd/servicescache.c (cache_addserv): Likewise.
24634 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24636 * sysdeps/generic/dl-irel.h: fix protection against multiple
24638 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24640 2011-06-28 Ulrich Drepper <drepper@gmail.com>
24643 * malloc/memusage.sh: Fix quoting in message.
24644 * debug/xtrace.sh: Likewise.
24646 * configure.in: Remove support for --experimental-malloc option, make
24648 * config.make.in: Likewise.
24649 * malloc/Makefile: Likewise.
24651 2011-06-27 Andreas Schwab <schwab@redhat.com>
24653 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24654 two-byte characters.
24656 2011-06-27 Roland McGrath <roland@hack.frob.com>
24658 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24659 AC_CACHE_CHECK invocation.
24660 * configure: Regenerated.
24662 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24664 2011-06-27 Ulrich Drepper <drepper@gmail.com>
24667 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24668 bit from old_res_options.
24670 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24672 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24673 value type for setfct.
24675 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24677 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24678 __gettimeofday instead of gettimeofday.
24680 2011-06-26 Ulrich Drepper <drepper@gmail.com>
24682 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24684 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24686 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24688 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24691 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24693 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24694 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24695 strcpy-sse2-unaligned strncpy-sse2-unaligned
24696 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24697 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24698 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24699 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24700 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24701 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24702 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24703 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24704 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24705 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24706 (STRCPY): Support SSE2 and SSSE3 versions.
24708 2011-06-24 Ulrich Drepper <drepper@gmail.com>
24711 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24712 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24713 kernels which artificially limit size of requests.
24715 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24717 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24718 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24719 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24720 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24721 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24722 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24723 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24724 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24725 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24726 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24727 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24728 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24729 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24730 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24731 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24733 Enable unaligned load optimization for Intel Core i3, i5 and i7
24735 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24737 (index_Fast_Unaligned_Load): Define.
24738 (HAS_FAST_UNALIGNED_LOAD): Define.
24740 2011-06-23 Marek Polacek <mpolacek@redhat.com>
24742 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24744 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24747 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24748 until it is clear that the information is realy needed.
24749 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24751 2011-06-22 Andreas Schwab <schwab@redhat.com>
24753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24755 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24758 /sys/devices/system/cpu/online if it is usable.
24760 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24761 reading the information from the /proc filesystem to once a second.
24763 2011-06-21 Andreas Jaeger <aj@suse.de>
24765 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24766 NULL after inclusion of kernel headers.
24768 2011-06-21 Ulrich Drepper <drepper@gmail.com>
24770 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24771 calls to internal_setent.
24774 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24775 addresses using gethostbyname4_r ignore IPv4 addresses.
24777 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24778 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24780 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24782 2011-06-20 David S. Miller <davem@davemloft.net>
24784 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24786 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24788 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24789 (elf_irel): Use it.
24790 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24791 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24792 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24793 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24794 * sysdeps/x86_64/dl-irel.h: Likewise.
24796 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24797 * elf/dl-sym.c: Likewise.
24799 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24801 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24802 need to dereference resplen2.
24804 2011-06-14 Andreas Schwab <schwab@redhat.com>
24806 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24808 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24810 * Makeconfig: Define vardbdir and inst_vardbdir.
24811 * nss/Makefile: Add rules to install db-Makefile.
24813 * nss/nss_db/db-XXX.c: Cleanup.
24815 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24816 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24818 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24819 * nss/makedb.c: Implement -g option to specify that value strings
24820 are generated and should not be added to table iterated over for
24822 * nss/nss_db/db-initgroups.c: New file.
24824 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24827 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24828 (internal_getgrouplist): Adjust to name change.
24829 Update use_initgroups_entry if this is not the first call.
24830 * nss/databases.def: Add initgroups entry.
24832 * nss/makedb.c (compute_tables): Check result of multiple hash table
24833 sizes to minimize maximum chain length.
24835 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24837 * Versions.def: Add entry for libnss_db.
24838 * shlib-versions: Likewise.
24839 * nss/Makefile: Add rules to build libnss_db.
24840 * nss/Versions: Add libnss_db information. Organize libnss_files
24842 * nss/db-Makefile: Add gshadow support. Change rules for the new
24843 makedb progra. Some minor improvements to generate smaller files.
24844 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24846 * nss/makedb.c: ...here.
24847 Improve database format to be smaller and require less memory at
24849 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24851 * nss/nss_db/db-netgrp.c: Likewise.
24852 * nss/nss_db/db-open.c: Likewise.
24853 * nss/nss_files/flies-XXX.x: Adjust comments.
24854 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24855 * nss/nss_files/files-grp.c: Likewise.
24856 * nss/nss_files/files-hosts.c: Likewise.
24857 * nss/nss_files/files-network.c: Likewise.
24858 * nss/nss_files/files-proto.c: Likewise.
24859 * nss/nss_files/files-pwd.c: Likewise.
24860 * nss/nss_files/files-rpc.c: Likewise.
24861 * nss/nss_files/files-service.c: Likewise.
24862 * nss/nss_files/files-sgrp.c: Likewise.
24863 * nss/nss_files/files-spwd.c: Likewise.
24864 * nss/nss_db/db-alias.c: Removed.
24865 * nss/nss_db/dummy-db.h: Removed.
24867 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24869 * nss/makedb.c: Rewritten to not use database library.
24870 * nss/Makefile: Update to build new makedb program.
24872 2011-06-14 Andreas Jaeger <aj@suse.de>
24874 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24875 memset declaration.
24877 2011-06-10 Andreas Schwab <schwab@redhat.com>
24879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24882 2011-06-10 Roland McGrath <roland@hack.frob.com>
24884 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24885 * elf/Makefile ($(objpfx)ld.so): Likewise.
24887 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24888 Don't list ld.so twice in dependencies.
24890 * posix/bug-regex31.c: Include <stdlib.h>.
24892 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24894 * nis/nss_compat/compat-spwd.c
24895 (getspent_next_nss_netgr): Remove unused variable.
24896 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24898 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24899 nonmembers" output to use the right array.
24901 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24903 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24905 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24906 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24907 * catgets/gencat.c (read_input_file): Likewise.
24908 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24910 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24911 variable definition inside #if's controlling its use.
24913 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24915 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24917 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24919 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24922 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24924 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24925 * configure: Regenerated.
24927 * Makerules: Revert last change.
24928 * elf/Makefile: Likewise.
24930 2011-06-09 Roland McGrath <roland@hack.frob.com>
24932 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24933 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24934 (reloc-link): Likewise.
24936 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24938 * elf/Makefile: Add rules to build pldd.
24939 * elf/pldd.c: New file.
24940 * elf/pldd-xx.c: New file.
24942 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24944 * version.h: Update for 2.15 development version.
24946 2011-06-07 David S. Miller <davem@davemloft.net>
24948 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24950 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24951 elf_machine_lazy_rel): Likewise.
24952 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24953 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24954 elf_machine_lazy_rel): Likewise.
24955 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24956 dl_hwcap via passed in argument.
24957 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24960 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24962 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24964 2011-06-06 Roland McGrath <roland@hack.frob.com>
24967 * manual/fdl-1.1.texi: New file, verbatim from:
24968 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24969 * manual/lgpl-2.1.texi: New file, verbatim from:
24970 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24971 * manual/Makefile (licenses): New variable, list those new file names.
24973 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24975 * manual/fdl.texi: File removed.
24976 * manual/lesser.texi: File removed.
24977 * manual/libc.texinfo (Copying, Documentation License):
24978 Use new @include file names, put @appendix directive before @include.
24980 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24983 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24984 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24985 (mq_open): Add __NTH.
24987 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24990 Assume Intel Core i3/i5/i7 processor if AVX is available.
24992 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24994 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24997 2011-05-31 Andreas Schwab <schwab@redhat.com>
24999 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25000 memory. Use alloca_account. Fix memory leak when retrying.
25002 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25004 * version.h (RELEASE): Bump for 2.14 release.
25005 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25007 * config.make.in (RANLIB): Remove entry.
25009 2011-05-30 Ulrich Drepper <drepper@gmail.com>
25011 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25012 (libc.pot): Work around missing support for .ksh extension in xgettext.
25015 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25016 if both request failed.
25017 (send_dg): In case of server errors clear resplen or *resplen2.
25020 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25021 when there are multiple maps.
25022 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25023 (_dl_fini): Remove test here.
25025 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25027 2011-05-29 Ulrich Drepper <drepper@gmail.com>
25030 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25031 bit from old_res_options.
25032 (gaih_inet): Likewise.
25035 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25038 * resolv/res_init.c (res_setoptions): Make the code more compact.
25041 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25045 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25047 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25050 * malloc/malloc.h: Declare malloc hook variables as volatile.
25052 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25056 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25057 raise in the comment.
25058 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25059 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25060 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25062 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25065 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25066 grow the buffers more if it already has to be sufficient.
25067 (build_wcs_upper_buffer): Likewise.
25068 * posix/regexec.c (check_matching): Likewise.
25069 (clean_state_log_if_needed): Likewise.
25070 (extend_buffers): Don't enlarge buffers beyond size of the input
25072 Patches mostly by Emil Wojak <emil@wojak.eu>.
25073 * posix/bug-regex32.c: New file.
25074 * posix/Makefile (tests): Add bug-regex32.
25076 * locale/findlocale.c (_nl_find_locale): Return right away if
25077 _nl_explode_name failed.
25078 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25080 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25082 * debug/xtrace.sh: Unify messages.
25083 * malloc/memusage.sh: Likewise.
25086 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25087 time symbol from vDSO. Substitute with vsyscall if not available.
25088 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25091 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25092 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25093 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25094 Add sendmmsg and internal_sendmmsg.
25095 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25096 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25097 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25099 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25100 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25101 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25103 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25106 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25107 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25109 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25113 * iconvdata/Makefile (tests): Add bug-iconv9.
25114 * iconvdata/bug-iconv9.c: New file.
25116 2011-05-27 Andreas Schwab <schwab@redhat.com>
25119 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25121 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25123 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25124 (struct user_regs_struct): Change intcs field back to cs.
25126 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25128 * po/ja.po: Update from translation team.
25130 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25133 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25134 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25136 2011-05-20 Andreas Schwab <schwab@redhat.com>
25138 * stdlib/longlong.h: Update from GCC.
25140 2011-05-23 Andreas Schwab <schwab@redhat.com>
25142 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25144 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25145 Add parameter name.
25146 (__sysconf): Pass it down.
25148 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25151 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25153 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25154 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25155 add in in __libc_use_alloca calls. Adjust callers.
25156 (glob): Use malloc in some situations.
25158 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25159 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25162 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25164 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25165 and CLOCK_BOOTTIME_ALARM.
25168 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25171 * string/_strerror.c (__strerror_r): Print negative errors as signed
25175 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25176 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25177 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25179 * configure.in: Fix typo in redirection and correct removal of test
25180 files in two cases.
25183 * locale/setlocale.c (new_composite_name): Fix test to check for
25184 identical name of all categories.
25187 * libio/filedoalloc.c (local_isatty): New function.
25188 (_IO_file_doallocate): Use local_isatty.
25189 * stdio-common/perror.c (perror): In case a new stream is used
25190 forward the stream error.
25191 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25194 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25199 * include/alloca.h (extend_alloca_account): Define.
25202 * posix/regex.h: Fix comments with documentation of user-accessible
25203 fields after compilation and describe correct free'ing of pattern
25204 after re_compile_pattern.
25205 Patch by Reuben Thomas <rrt@sc3d.org>.
25207 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25209 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25210 and -mno-altivec to prevent the compiler from using Altivec and/or
25211 VSX instructions when the corresponding registers are not available.
25213 2011-05-19 Andreas Schwab <schwab@redhat.com>
25215 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25217 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25219 * libio/freopen.c (freopen): Use __dup2, not dup2.
25220 * libio/freopen64.c (freopen64): Likewise.
25222 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25225 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25226 * math/Makefile (tests): Add test-powl.
25227 (CFLAGS-test-powl.c): Define.
25228 * math/test-powl.c: New file.
25230 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25232 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25234 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25237 * iconvdata/gb18030.c: Update to GB18020-2005.
25239 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25241 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25242 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25243 Patch by Aharon Robbins <arnold@skeeve.com>.
25246 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25250 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25251 through underflows.
25254 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25255 point to strings before performing equality test for error_one_per_line
25259 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25262 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25263 (struct user_fpregs_struct): Avoid __uint*_t types.
25266 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25267 symbol info. Use it instead of calling _dl_addr locally.
25268 (lock_and_info): New function.
25269 (tr_freehook): Call lock_and_info and pass symbol info as additional
25270 parameter to tr_where.
25271 (tr_mallochook): Likewise.
25272 (tr_reallochook): Likewise.
25273 (tr_memalignhook): Likewise.
25275 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25276 used and couldn't be at all thread-safe.
25278 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25280 * libio/freopen.c (freopen): Don't close old file descriptor
25281 before the new one is opened. Instead dup the new file descriptor
25282 to the old one after the new stream is created.
25283 * libio/freopen64.c (freopen64): Likewise.
25284 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25285 * libio/fileops.c (_IO_new_file_close_it): Handle new
25286 _IO_FLAGS2_NOCLOSE flag.
25287 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25288 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25289 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25290 _IO_FLAGS2_NOCLOSE flag.
25291 * include/unistd.h: Add hidden_proto for dup3.
25292 Define __have_dup3.
25293 * io/dup3.c: Define hidden symbol.
25294 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25297 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25298 when an incomplete long option is used.
25299 * posix/tst-getopt_long1.c: New file.
25300 * posix/Makefile (tests): Add tst-getopt_long1.
25303 * scripts/config.guess: Update from autoconf-2.68.
25304 * scripts/config.sub: Likewise.
25307 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25309 (has_cpuclock): ...this. New function.
25310 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25311 macro here based on has_cpuclock code.
25314 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25315 First byte (not low byte) is now always NUL.
25316 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25319 Use non-cancelable interfaces.
25322 * locale/iso-639.def: Add entry for Sorani.
25325 * include/stdlib.h: Move include protection to the right place.
25326 Define abort_msg_s. Declare __abort_msg with it.
25327 * stdlib/abort.c (__abort_msg): Adjust type.
25328 * assert/assert.c (__assert_fail_base): New function. Majority
25329 of code from __assert_fail. Allocate memory for __abort_msg with
25331 (__assert_fail): Now call __assert_fail_base.
25332 * assert/assert-perr.c: Remove bulk of implementation. Use
25333 __assert_fail_base.
25334 * include/assert.hL Declare __assert_fail_base.
25335 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25337 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25339 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25343 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25344 until all modules are registered in the DTV.
25345 * elf/Makefile: Add rules to build and run tst-tls19.
25346 * elf/tst-tls19.c: New file.
25347 * elf/tst-tls19mod1.c: New file.
25348 * elf/tst-tls19mod2.c: New file.
25349 * elf/tst-tls19mod3.c: New file.
25350 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25353 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25357 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25358 two-byte sequence errors.
25359 * iconvdata/Makefile (tests): Add bug-iconv8.
25360 * iconvdata/bug-iconv8.c: New file.
25363 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25366 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25369 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25370 (dummy_getcfa): New function.
25371 (init): Get _Unwind_GetCFA address, use dummy if not found.
25372 (backtrace_helper): In recursion check, also check whether CFA changes.
25373 (__backtrace): Completely initialize arg.
25375 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25376 storing incomplete byte sequence in state object. Avoid testing for
25377 guaranteed too small input if we know there is enough data available.
25379 2011-05-11 Andreas Schwab <schwab@redhat.com>
25381 * Makeconfig (+link-pie): Indent.
25382 * Rules (binaries-pie): Define if $(have-fpie) and
25384 (binaries-shared): Also filter out $(binaries-pie).
25385 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25386 * nscd/Makefile (others-pie): Add nscd.
25387 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25388 ($(objpfx)nscd): Remove command override.
25389 * login/Makefile (others-pie): Add pt_chown.
25390 ($(objpfx)pt_chown): Remove command override.
25391 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25392 remove command overrides.
25394 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25396 * libio/tst_putwc.c: Fix error messages.
25399 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25400 currently writing and seek to current position when not.
25401 * libio/Makefile (tests): Add bug-fclose1.
25402 * libio/bug-fclose1.c: New file.
25404 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25407 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25408 don't set DF_1_NODELETE here.
25409 (do_lookup_x): When entering new entry test for copy relocation
25410 and if necessary set DF_1_NODELETE flag.
25411 * elf/tst-unique4.cc: New file.
25412 * elf/tst-unique4.h: New file.
25413 * elf/tst-unique4lib.cc: New file.
25414 * elf/Makefile: Add rules to build and run tst-unique4.
25415 Patch by Piotr Bury <pbury@goahead.com>.
25417 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25420 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25423 * misc/mntent_r.c (addmntent): Flush the stream after the output
25426 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25427 (is_trusted_path_normalize): Skip initial colon. Append slash
25428 to empty buffer. Duplicate is_trusted_path code but allow
25429 constructed patch to be prefix.
25430 (is_dst): Allow $ORIGIN followed by /.
25431 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25432 Correct testing of result of is_trusted_path_normalize
25433 (decompose_rpath): Fix warning.
25435 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25438 * grp/initgroups.c (internal_getgrouplist): When we found the service
25439 list through the initgroups entry in nsswitch.conf do not always
25440 continue on a successful lookup. Don't always use the
25441 __nss_group_database value if it is set.
25442 * nss/nsswitch.conf (initgroups): Change action for successful db
25443 lookup to continue for compatibility.
25445 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25448 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25450 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25452 * iconvdata/tst-tables.sh: Likewise.
25453 * iconvdata/cp770.c: New file.
25454 * iconvdata/cp771.c: New file.
25455 * iconvdata/cp772.c: New file.
25456 * iconvdata/cp773.c: New file.
25457 * iconvdata/cp774.c: New file.
25458 * iconvdata/testdata/CP770: New file.
25459 * iconvdata/testdata/CP770..UTF8: New file.
25460 * iconvdata/testdata/CP771: New file.
25461 * iconvdata/testdata/CP771..UTF8: New file.
25462 * iconvdata/testdata/CP772: New file.
25463 * iconvdata/testdata/CP772..UTF8: New file.
25464 * iconvdata/testdata/CP773: New file.
25465 * iconvdata/testdata/CP773..UTF8: New file.
25466 * iconvdata/testdata/CP774: New file.
25467 * iconvdata/testdata/CP774..UTF8: New file.
25469 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25471 * iconvdata/gen-8bit-gap.sh: Likewise.
25472 * iconvdata/gen-8bit.sh: Likewise.
25474 * locale/iso-639.def: Add ary entry.
25477 * locale/C-translit.h.in: Add U20A1 transliteration.
25480 * locale/iso-639.def: Add wae entry.
25481 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25484 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25488 * locale/C-translit.h.in: Add entry for U20B9.
25489 Patch by pravin.d.s@gmail.com.
25491 2011-05-08 Ulrich Drepper <drepper@gmail.com>
25494 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25495 ENAMETOOLONG use generic getcwd.
25496 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25497 in rtld. Use *stat64.
25498 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25499 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25500 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25501 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25502 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25503 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25504 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25505 __fstatat64 macros.
25506 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25507 * dirent/rewinddir.c: Add libc_hidden_def.
25508 * sysdeps/mach/hurd/rewinddir.c: Likewise.
25509 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
25511 * include/dirent.h (__alloc_dir): Add flags parameter.
25512 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25513 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25515 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25516 from fdopendir if O_CLOEXEC is already set.
25518 2011-03-15 Alan Modra <amodra@gmail.com>
25520 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25521 l_tls_firstbyte_offset non-zero. Save padding offset in
25522 l_tls_firstbyte_offset for later use.
25523 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25524 freeing static tls block.
25526 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25528 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25529 where #ifdef was intended. The intent is to prevent ARG_MAX from
25530 being defined by the kernel headers.
25532 2011-05-07 Ulrich Drepper <drepper@gmail.com>
25535 * resolv/resolv.h: Define RES_NOTLDQUERY.
25536 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25537 no-tld-query and set RES_NOTLDQUERY.
25538 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25539 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25540 modern BIND to search name as TLD unless forbidden.
25542 2011-05-07 Petr Baudis <pasky@suse.cz>
25543 Ulrich Drepper <drepper@gmail.com>
25546 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25547 (is_trusted_path): ...to here.
25548 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25549 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25550 using is_trusted_path_normalize() in setuid scripts.
25552 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25554 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25555 __BEGIN/__END_DECLS.
25557 2011-05-06 Ulrich Drepper <drepper@gmail.com>
25559 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25560 NSS_STATUS_NOTFOUND if no record was found.
25562 2011-05-05 Andreas Schwab <schwab@redhat.com>
25564 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25565 (headers-not-in-tirpc): Remove rpc/netdb.h
25566 * resolv/netdb.h: Revert last change.
25568 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25570 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25571 circular dependency between libgcc.a and libc.a.
25573 2011-05-05 Andreas Schwab <schwab@redhat.com>
25575 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25576 * nis/Makefile: Don't install rpcsvc/*.
25577 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25578 instead of <rpc/types.h>.
25579 (MAXHOSTNAMELEN): Define.
25581 2011-05-03 Andreas Schwab <schwab@redhat.com>
25583 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25585 2011-04-28 Maciej Babinski <mbabinski@google.com>
25588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25589 gethostbyname4_r when IPv6 results are possible.
25591 2011-05-02 Ulrich Drepper <drepper@gmail.com>
25594 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25595 _PC_PIPE_BUF handling.
25597 2011-04-30 Bruno Haible <bruno@clisp.org>
25600 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25601 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25603 * inet/getnameinfo.c (getnameinfo): Likewise.
25605 2011-04-29 Ulrich Drepper <drepper@gmail.com>
25607 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25608 to groups setting in database lookup.
25609 * nss/nsswitch.conf: Add initgroups entry.
25611 2011-04-22 Ulrich Drepper <drepper@gmail.com>
25614 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25616 Patch by Eric Blake <eblake@redhat.com>.
25618 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25620 * sunrpc/Makefile (need-export-routines): Add svc_run.
25621 (routines): Remove svc_run.
25622 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25623 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25624 * sunrpc/svc_run.c (svc_run): Likewise.
25625 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25627 2011-04-21 Ulrich Drepper <drepper@gmail.com>
25629 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25630 problem in reallocation in last patch.
25632 2011-04-20 Ulrich Drepper <drepper@gmail.com>
25634 * sunrpc/Makefile: Move inclusion of Rules.
25636 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25638 * nss/nss_files/files-initgroups.c: New file.
25639 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25640 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25641 _nss_files_initgroups_dyn.
25643 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25645 * elf/elf.h (R_ARM_IRELATIVE): Define.
25647 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25649 * po/ru.po: Update from translation team.
25651 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25653 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25656 2011-02-06 Mike Frysinger <vapier@gentoo.org>
25659 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25660 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25661 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25662 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25663 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25665 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25667 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25669 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25670 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25671 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25673 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25676 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25678 * stdlib/bug-getcontext.c: New file.
25679 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25681 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25683 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25684 instructions into .machine "z9-109".
25685 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25686 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25688 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25690 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25691 between environment variables and auxiliary vector.
25693 2011-04-16 Ulrich Drepper <drepper@gmail.com>
25695 * Makefile: Add rules to build linkobj/libc.so.
25696 * include/libc-symbols.h: Define libc_hidden_nolink.
25697 * include/rpc/auth.h: Mark functions which are to be hidden.
25698 * include/rpc/auth_des.h: Likewise.
25699 * include/rpc/auth_unix.h: Likewise.
25700 * include/rpc/clnt.h: Likewise.
25701 * include/rpc/des_crypt.h: Likewise.
25702 * include/rpc/key_prot.h: Likewise.
25703 * include/rpc/pmap_clnt.h: Likewise.
25704 * include/rpc/pmap_prot.h: Likewise.
25705 * include/rpc/pmap_rmt.h: Likewise.
25706 * include/rpc/rpc_msg.h: Likewise.
25707 * include/rpc/svc.h: Likewise.
25708 * include/rpc/svc_auth.h: Likewise.
25709 * include/rpc/xdr.h: Likewise.
25710 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25711 * nss/Makefile: Likewise.
25712 * sunrpc/Makefile: Don't install headers. Build library with normal
25713 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25714 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25715 for the compat linking library. Remove use of INTDEF/INTUSE.
25716 * sunrpc/auth_none.c: Likewise.
25717 * sunrpc/auth_unix.c: Likewise.
25718 * sunrpc/authdes_prot.c: Likewise.
25719 * sunrpc/authuxprot.c: Likewise.
25720 * sunrpc/clnt_gen.c: Likewise.
25721 * sunrpc/clnt_perr.c: Likewise.
25722 * sunrpc/clnt_raw.c: Likewise.
25723 * sunrpc/clnt_simp.c: Likewise.
25724 * sunrpc/clnt_tcp.c: Likewise.
25725 * sunrpc/clnt_udp.c: Likewise.
25726 * sunrpc/clnt_unix.c: Likewise.
25727 * sunrpc/des_crypt.c: Likewise.
25728 * sunrpc/des_soft.c: Likewise.
25729 * sunrpc/get_myaddr.c: Likewise.
25730 * sunrpc/key_call.c: Likewise.
25731 * sunrpc/key_prot.c: Likewise.
25732 * sunrpc/netname.c: Likewise.
25733 * sunrpc/pm_getmaps.c: Likewise.
25734 * sunrpc/pm_getport.c: Likewise.
25735 * sunrpc/pmap_clnt.c: Likewise.
25736 * sunrpc/pmap_prot.c: Likewise.
25737 * sunrpc/pmap_prot2.c: Likewise.
25738 * sunrpc/pmap_rmt.c: Likewise.
25739 * sunrpc/publickey.c: Likewise.
25740 * sunrpc/rpc_cmsg.c: Likewise.
25741 * sunrpc/rpc_common.c: Likewise.
25742 * sunrpc/rpc_dtable.c: Likewise.
25743 * sunrpc/rpc_prot.c: Likewise.
25744 * sunrpc/rpc_thread.c: Likewise.
25745 * sunrpc/rtime.c: Likewise.
25746 * sunrpc/svc.c: Likewise.
25747 * sunrpc/svc_auth.c: Likewise.
25748 * sunrpc/svc_authux.c: Likewise.
25749 * sunrpc/svc_raw.c: Likewise.
25750 * sunrpc/svc_run.c: Likewise.
25751 * sunrpc/svc_simple.c: Likewise.
25752 * sunrpc/svc_tcp.c: Likewise.
25753 * sunrpc/svc_udp.c: Likewise.
25754 * sunrpc/svc_unix.c: Likewise.
25755 * sunrpc/svcauth_des.c: Likewise.
25756 * sunrpc/xcrypt.c: Likewise.
25757 * sunrpc/xdr.c: Likewise.
25758 * sunrpc/xdr_array.c: Likewise.
25759 * sunrpc/xdr_float.c: Likewise.
25760 * sunrpc/xdr_intXX_t.c: Likewise.
25761 * sunrpc/xdr_mem.c: Likewise.
25762 * sunrpc/xdr_rec.c: Likewise.
25763 * sunrpc/xdr_ref.c: Likewise.
25764 * sunrpc/xdr_sizeof.c: Likewise.
25765 * sunrpc/xdr_stdio.c: Likewise.
25767 2011-04-10 Ulrich Drepper <drepper@gmail.com>
25770 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25771 * sysdeps/ia64/dl-tls.h: Likewise.
25772 * sysdeps/powerpc/dl-tls.h: Likewise.
25773 * sysdeps/s390/dl-tls.h: Likewise.
25774 * sysdeps/sh/dl-tls.h: Likewise.
25775 * sysdeps/sparc/dl-tls.h: Likewise.
25776 * sysdeps/x86_64/dl-tls.h: Likewise.
25777 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25779 2011-03-14 Andreas Schwab <schwab@redhat.com>
25781 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25782 rpath element also skip the following colon.
25783 (expand_dynamic_string_token): Add is_path parameter and pass
25784 down to DL_DST_REQUIRED and _dl_dst_substitute.
25785 (decompose_rpath): Call expand_dynamic_string_token with
25786 non-zero is_path. Ignore empty rpaths.
25787 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25790 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25795 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25798 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25799 Patch by Filipe David Manana <fdmanana@apache.org>.
25801 2011-04-07 Andreas Schwab <schwab@redhat.com>
25803 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25804 Maintain aligned stack.
25805 (CHECK_RSP): Remove unused macro.
25807 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25809 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25810 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25812 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25814 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25816 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25818 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25821 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25822 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25823 * sysdeps/x86_64/memmove.c: New file.
25824 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25825 (memcpy): Renamed to ...
25826 (__new_memcpy): This.
25827 (memcpy): Provide GLIBC_2_14 memcpy.
25828 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25829 (memcpy): Provide GLIBC_2_2_5 memcpy.
25831 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25834 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25836 2011-03-30 Andreas Schwab <schwab@redhat.com>
25838 * misc/syncfs.c: New file.
25839 * misc/Makefile (routines): Add syncfs.
25840 * posix/unistd.h: Declare syncfs.
25841 * sysdeps/unix/syscalls.list: Add syncfs.
25843 2011-04-01 Andreas Schwab <schwab@redhat.com>
25845 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25847 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25848 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25849 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25850 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25852 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25853 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25855 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25857 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25858 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25859 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25861 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25863 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25865 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25866 sync_file_range.c with -fexceptions.
25867 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25868 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25869 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25870 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25871 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25872 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25873 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25874 sync_file_range as cancellation point
25875 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25876 now a wrapper around __call_sync_file_range with cancellation handling.
25877 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25878 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25879 function name to __call_sync_file_range.
25880 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25881 Add call_sync_file_range.
25883 2011-04-01 Andreas Schwab <schwab@redhat.com>
25885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25888 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25890 * iconv/iconv.h: Fix typo in comment.
25891 * io/fcntl.h: Likewise.
25892 * libio/stdio.h: Likewise.
25893 * posix/spawn.h: Likewise.
25894 * posix/unistd.h: Likewise.
25895 * stdlib/stdlib.h: Likewise.
25896 * time/time.h: Likewise.
25897 * wcsmbs/wchar.h: Likewise.
25899 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25900 open_by_handle): Add.
25901 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25902 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25903 Augment a few comments.
25904 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25905 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25906 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25907 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25909 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25912 * io/fcntl.h (AT_EMPTY_PATH): Define.
25914 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25916 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25917 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25918 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25920 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25921 * Versions.def: Add GLIBC_2.14.
25922 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25925 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25927 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25929 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25931 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25934 * string/test-strncmp.c (do_page_test): New function.
25935 (check2): Likewise.
25936 (test_main): Call check2.
25937 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25939 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25942 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25943 Handle cache information in CPU leaf 4.
25944 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25946 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25949 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25950 character representation.
25951 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25953 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25955 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25956 END(__isnan) to END(__isnanf) to match function entry point/label
25957 EALIGN(__isnanf,...).
25959 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25961 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25963 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25966 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25967 copy from the symbol referenced in the relocation to initialize the
25969 Patch by Piotr Bury <pbury@goahead.com>.
25970 * elf/Makefile: Add rules to build and tst-unique3.
25971 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25972 * elf/tst-unique3.cc: New file.
25973 * elf/tst-unique3.h: New file.
25974 * elf/tst-unique3lib.cc: New file.
25975 * elf/tst-unique3lib2.cc: New file.
25977 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25979 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25981 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25982 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25985 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25987 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25988 to-be-loaded object along a path to loader is ld.so.
25990 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25991 Ulrich Drepper <drepper@gmail.com>
25993 * sysdeps/x86_64/memset.S: After aligning destination, code
25994 branches to different locations depending on the value of
25995 misalignment, when multiarch is enabled. Fix this.
25997 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25999 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26000 Set _x86_64_preferred_memory_instruction for AMD processsors.
26001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26002 Set bit_Prefer_SSE_for_memop for AMD processors.
26004 2011-03-04 Ulrich Drepper <drepper@gmail.com>
26006 * libio/fmemopen.c (fmemopen): Optimize a bit.
26008 2011-03-03 Andreas Schwab <schwab@redhat.com>
26010 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26012 2011-03-03 Roland McGrath <roland@redhat.com>
26014 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26016 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26018 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26019 __bzero_ultra1 instead of __memset_ultra1.
26021 2011-02-23 Andreas Schwab <schwab@redhat.com>
26022 Ulrich Drepper <drepper@gmail.com>
26025 * include/link.h (struct link_map): Add l_orig_initfini.
26026 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26027 returning unsuccessfully.
26028 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26029 close of a file loaded at startup, restore the original l_initfini
26031 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26032 list, store the pointer.
26033 * elf/Makefile ($(objpfx)noload-mem): New rule.
26034 (noload-ENV): Define.
26035 (tests): Add $(objpfx)noload-mem.
26036 * elf/noload.c: Include <memcheck.h>.
26037 (main): Call mtrace. Close all opened handles.
26039 2011-02-17 Andreas Schwab <schwab@redhat.com>
26042 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26043 dependencies are missing.
26045 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26047 Fix __if_freereq crash: Unlike the generic version which uses free,
26049 * sysdeps/mach/hurd/ifreq.h: New file.
26051 2011-01-27 Petr Baudis <pasky@suse.cz>
26052 Ulrich Drepper <drepper@gmail.com>
26055 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26056 to extend_alloca().
26057 * stdio-common/bug23.c: New file.
26058 * stdio-common/Makefile (tests): Add bug23.
26060 2010-09-28 Andreas Schwab <schwab@redhat.com>
26061 Ulrich Drepper <drepper@gmail.com>
26064 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26065 before performing relro protection. At old place add assertion
26066 to make sure nothing changed.
26068 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26069 Glauber de Oliveira Costa <glommer@gmail.com>
26071 * elf/elf.h: Add new ARM TLS relocs.
26073 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26076 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26078 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26080 * sysdeps/wordsize-64/tst-writev.c: New file.
26082 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26084 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26085 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26086 insns in _dl_start to prevent a TOC reference before relocs are
26089 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26092 * Makeconfig: Remove RANLIB definition.
26093 * Makerules: Don't use RANLIB.
26094 * aclocal.m4: Remove ranlib test.
26095 * configure.in: No need to check for ranlib.
26096 * elf/rtld-Rules: Don't use RANLIB.
26098 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26100 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26102 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26103 inclusion protection macro.
26105 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26106 SIGRTMIN and SIGRTMAX and print information in that case only when
26107 SIGRTMIN is defined.
26109 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26111 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26112 arginfo fn returning -1.
26114 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26115 and thousands string is zero terminated.
26117 2011-02-03 Andreas Schwab <schwab@redhat.com>
26119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26120 sysdeps/unix/sysv/linux/bits/socket.h.
26122 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26124 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26125 (__CPU_COUNT): Remove old macros.
26126 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26127 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26128 (__CPU_ALLOC, __CPU_FREE): Add macros.
26129 (__sched_cpualloc, __sched_cpufree): Add declarations.
26131 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26133 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26134 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26135 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26136 (readdhstai): Return value of addhstaiX call.
26137 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26138 (addgrbyX): Return value returned by cache_addgr.
26139 (readdgrbyname): Return value returned by addgrbyX.
26140 (readdgrbygid): Likewise.
26141 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26142 (addpwbyX): Return value returned by cache_addpw.
26143 (readdpwbyname): Return value returned by addhstbyX.
26144 (readdpwbyuid): Likewise.
26145 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26146 (addservbyX): Return value returned by cache_addserv.
26147 (readdservbyname): Return value returned by addservbyX:
26148 (readdservbyport): Likewise.
26149 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26150 (addhstbyX): Return value returned by cache_addhst.
26151 (readdhstbyname): Return value returned by addhstbyX.
26152 (readdhstbyaddr): Likewise.
26153 (readdhstbynamev6): Likewise.
26154 (readdhstbyaddrv6): Likewise.
26155 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26156 (readdinitgroups): Return value returned by addinitgroupsX.
26157 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26158 (prune_cache): Keep track of timeout value of re-added entries.
26159 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26160 * nscd/nscd.h: Adjust prototypes of readd* functions.
26162 2011-02-04 Roland McGrath <roland@redhat.com>
26164 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26165 (nis_stats): Likewise.
26166 * nis/nis_modify.c (nis_modify): Likewise.
26167 * nis/nis_remove.c (nis_remove): Likewise.
26168 * nis/nis_add.c (nis_add): Likewise.
26170 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26172 * posix/fnmatch_loop.c: Add some consts.
26174 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26176 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26179 * config.make.in (config-cflags-novzeroupper): Define.
26180 * configure.in: Substitute libc_cv_cc_novzeroupper.
26181 * elf/Makefile (AVX-CFLAGS): Define.
26182 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26183 (CFLAGS-tst-auditmod4a.c): Likewise.
26184 (CFLAGS-tst-auditmod4b.c): Likewise.
26185 (CFLAGS-tst-auditmod6b.c): Likewise.
26186 (CFLAGS-tst-auditmod6c.c): Likewise.
26187 (CFLAGS-tst-auditmod7b.c): Likewise.
26188 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26190 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26192 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26193 function to the callback.
26194 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26196 2011-02-02 Andreas Schwab <schwab@redhat.com>
26198 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26201 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26204 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26206 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26208 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26211 * elf/Makefile: Add rules to build and run new test.
26212 * elf/tst-initorder.c: New file.
26213 * elf/tst-initorder.exp: New file.
26214 * elf/tst-initordera1.c: New file.
26215 * elf/tst-initordera2.c: New file.
26216 * elf/tst-initordera3.c: New file.
26217 * elf/tst-initordera4.c: New file.
26218 * elf/tst-initorderb1.c: New file.
26219 * elf/tst-initorderb2.c: New file.
26220 * elf/tst-order-a1.c: New file.
26221 * elf/tst-order-a2.c: New file.
26222 * elf/tst-order-a3.c: New file.
26223 * elf/tst-order-a4.c: New file.
26224 * elf/tst-order-b1.c: New file.
26225 * elf/tst-order-b2.c: New file.
26226 * elf/tst-order-main.c: New file.
26227 New test case by George Gensure <werkt0@gmail.com>.
26229 2010-10-01 Andreas Schwab <schwab@redhat.com>
26231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26232 decoding ACE if AI_CANONIDN.
26234 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26236 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26238 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26240 * version.h (RELEASE): Bump for 2.13 release.
26241 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26243 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26245 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26247 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26248 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26249 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26250 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26251 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26252 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26254 * posix/getconf.c: Update copyright year.
26255 * catgets/gencat.c: Likewise.
26256 * csu/version.c: Likewise.
26257 * debug/catchsegv.sh: Likewise.
26258 * debug/xtrace.sh: Likewise.
26259 * elf/ldconfig.c: Likewise.
26260 * elf/ldd.bash.in: Likewise.
26261 * elf/sprof.c (print_version): Likewise.
26262 * iconv/iconv_prog.c: Likewise.
26263 * iconv/iconvconfig.c: Likewise.
26264 * locale/programs/locale.c: Likewise.
26265 * locale/programs/localedef.c: Likewise.
26266 * malloc/memusage.sh: Likewise.
26267 * malloc/mtrace.pl: Likewise.
26268 * nscd/nscd.c (print_version): Likewise.
26269 * nss/getent.c: Likewise.
26271 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26272 PF_CAIF, and PF_ALG.
26273 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26275 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26277 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26278 (modules-names): Use them.
26279 (ifunc-test-modules, ifunc-pie-tests): Define.
26280 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26281 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26282 (test-extras): Likewise.
26283 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26284 $(compile-command.c).
26285 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26286 (all-built-dso): Define.
26287 (check-textrel.out, check-execstack.out): Depend on it.
26289 * configure.in: Don't override --enable-multi-arch.
26291 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26294 * nscd/hstcache.c (tryagain): Define.
26295 (cache_addhst): Return tryagain not notfound for temporary errors.
26296 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26299 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26302 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26303 to make the syscall.
26304 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26307 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26308 and fall back to matching as normal character if the string ends before
26309 the matching ']' is found. This is what POSIX requires.
26310 * posix/testfnm.c: Adjust test result.
26311 * posix/globtest.sh: Adjust test result. Add new test.
26312 * posix/tst-fnmatch.input: Likewise.
26313 * posix/tst-fnmatch2.c: Add new test.
26315 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26317 * elf/Makefile (check-execstack): Revert last change. Depend on
26319 (check-execstack.h): New target.
26320 (generated): Add check-execstack.h.
26321 * elf/check-execstack.c: Include "check-execstack.h".
26322 (main): Revert last change.
26323 (handle_file): Return zero if GNU_STACK is absent and
26324 DEFAULT_STACK_PERMS doesn't include PF_X.
26326 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26328 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26329 in child fails because the descriptor is already closed.
26330 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26331 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26332 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26335 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26339 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26340 temporary buffer used to handle multi lookups locally.
26341 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26343 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26345 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26348 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26350 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26351 alignment for SSE2.
26353 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26356 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26357 characters. When rounding increased number of integer digits recompute
26359 * stdio-common/tst-grouping.c: New file.
26360 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26362 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26364 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26365 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26367 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26369 * bits/select.h: Likewise.
26371 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26373 * po/ja.po: Update from translation team.
26375 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26378 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26379 implementation just like for lxstat, fxstatat, et al.
26381 2010-12-27 Jim Meyering <meyering@redhat.com>
26384 * posix/regexec.c (build_trtable): Return failure indication upon
26385 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26387 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26390 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26391 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26392 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26393 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26396 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26399 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26400 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26402 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26404 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26405 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26406 script has SORT_BY_INIT_PRIORITY.
26407 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26408 NO_CTORS_DTORS_SECTIONS is defined.
26409 * elf/soinit.c: Likewise.
26410 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26411 NO_CTORS_DTORS_SECTIONS is defined.
26412 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26413 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26414 * sysdeps/sh/init-first.c: Likewise.
26415 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26417 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26419 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26420 always use the slow path.
26422 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26424 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26425 similar rule which adds the sysdep directories to the header search in
26426 order to pick up the correct platform stackinfo.h.
26427 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26428 perform test if it is, otherwise return successfully without testing.
26429 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26430 DEFAULT_STACK_PERMS define in stackinfo.h.
26431 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26432 defined in stackinfo.h.
26433 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26434 DEFAULT_STACK_PERMS defined in stackinfo.h.
26435 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26436 * sysdeps/ia64/stackinfo.h: Likewise.
26437 * sysdeps/s390/stackinfo.h: Likewise.
26438 * sysdeps/sh/stackinfo.h: Likewise.
26439 * sysdeps/sparc/stackinfo.h: Likewise.
26440 * sysdeps/x86_64/stackinfo.h: Likewise.
26441 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26442 PF_X for powerpc64. Retain PF_X for powerpc32.
26444 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26446 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26448 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26449 GETDENTS_64BIT_ALIGNED.
26451 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26453 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26455 2010-12-10 Andreas Schwab <schwab@redhat.com>
26457 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26460 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26461 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26463 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26464 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26466 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26469 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26472 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26474 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26476 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26478 * po/it.po: Update from translation team.
26480 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26482 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26485 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26487 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26489 2010-11-24 Andreas Schwab <schwab@redhat.com>
26491 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26493 (gaih_getanswer_slice): Likewise.
26495 2010-10-20 Jakub Jelinek <jakub@redhat.com>
26497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26499 2010-05-31 Petr Baudis <pasky@suse.cz>
26502 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26503 silently even in the chroot mode.
26505 2010-11-22 Ulrich Drepper <drepper@gmail.com>
26507 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26508 last patch a bit. Pretty printing
26510 2010-05-31 Petr Baudis <pasky@suse.cz>
26513 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26514 initialization of skip_initgroups_dyn.
26516 2010-11-19 Ulrich Drepper <drepper@gmail.com>
26518 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26519 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26521 2010-11-16 Ulrich Drepper <drepper@gmail.com>
26523 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26525 2010-11-11 Andreas Schwab <schwab@redhat.com>
26527 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26528 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26529 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26530 ($(objpfx)tst-fnmatch-mem): New rule.
26531 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26532 * posix/tst-fnmatch.c (main): Call mtrace.
26534 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26537 Support Intel processor model 6 and model 0x2c.
26539 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
26541 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26544 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26547 * string/test-strncasecmp.c (check_result): New function.
26548 (do_one_test): Use it.
26549 (check1): New function.
26550 (test_main): Use it.
26551 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26552 Support strcasecmp and strncasecmp.
26554 2010-11-08 Ulrich Drepper <drepper@gmail.com>
26557 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26558 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26560 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26562 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26566 * sysdeps/x86_64/multiarch/bzero.S: New file.
26567 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26568 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26569 * sysdeps/x86_64/multiarch/memset.S: New file.
26570 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26572 Set bit_Prefer_SSE_for_memop for Intel processors.
26573 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26575 (index_Prefer_SSE_for_memop): Define.
26576 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26578 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
26580 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26581 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26583 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26586 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26587 (__x86_64_raw_data_cache_size_half): Likewise.
26588 (__x86_64_raw_shared_cache_size): Likewise.
26589 (__x86_64_raw_shared_cache_size_half): Likewise.
26591 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26592 (__x86_64_raw_data_cache_size_half): Likewise.
26593 (__x86_64_raw_shared_cache_size): Likewise.
26594 (__x86_64_raw_shared_cache_size_half): Likewise.
26595 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26596 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26597 and __x86_64_raw_shared_cache_size_half. Round
26598 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26599 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26600 to multiple of 256 bytes.
26602 2010-11-03 Ulrich Drepper <drepper@gmail.com>
26605 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26606 of inacessible symlinks. Verify result of symlink before returning it.
26607 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26608 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26610 2010-10-28 Erich Ritz <erichritz@gmail.com>
26612 * math/math.h (isinf): Fix typo in comment.
26614 2010-11-01 Ulrich Drepper <drepper@gmail.com>
26616 * po/da.po: Update from translation team.
26618 2010-10-26 Ulrich Drepper <drepper@gmail.com>
26620 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26621 is added to the list.
26623 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26624 Ulrich Drepper <drepper@gmail.com>
26626 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26627 the global list here. Move code to...
26628 (_dl_add_to_namespace_list): ...here. New function.
26629 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26630 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26631 * elf/dl-load.c (lose): Don't remove the element from the list.
26632 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26633 (_dl_map_object): Likewise.
26635 2010-10-25 Ulrich Drepper <drepper@gmail.com>
26638 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26639 into all bytes of SSE register.
26640 Patch by Richard Li <richardpku@gmail.com>.
26642 2010-10-24 Ulrich Drepper <drepper@gmail.com>
26645 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26648 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26650 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26651 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26652 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26653 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26658 2010-10-22 Andreas Schwab <schwab@redhat.com>
26660 * include/dlfcn.h (__RTLD_SECURE): Define.
26661 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26662 mode & __RTLD_SECURE instead.
26663 (open_path): Rename preloaded parameter to secure.
26664 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26665 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26666 * elf/dl-deps.c (openaux): Likewise.
26667 * elf/rtld.c (struct map_args): Remove is_preloaded.
26668 (map_doit): Don't use it.
26669 (dl_main): Likewise.
26670 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26671 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26673 2010-09-09 Andreas Schwab <schwab@redhat.com>
26675 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26676 (sysd-rules-targets): Remove duplicates.
26677 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26678 rtld-%.$o dependency.
26680 2010-10-18 Andreas Schwab <schwab@redhat.com>
26682 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26683 _dl_map_object do it.
26685 2010-10-19 Ulrich Drepper <drepper@gmail.com>
26687 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26688 fast fma builtins, define the macros in the C99 standard.
26689 (FP_FAST_FMAF): Likewise.
26690 (FP_FAST_FMAL): Likewise.
26691 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26693 * bits/mathdef.h: Update copyright year.
26694 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26696 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26698 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26699 builtins, define the macros in the C99 standard.
26700 (FP_FAST_FMAF): Likewise.
26701 (FP_FAST_FMAL): Likewise.
26702 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26704 (FP_FAST_FMAF): Likewise.
26706 2010-10-15 Jakub Jelinek <jakub@redhat.com>
26709 * math/libm-test.inc (fma_test): Some new testcases.
26710 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26711 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26712 y and infinite z. Do multiplication by C already in long double.
26713 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26715 y and infinite z. Do bitwise or of inexact bit into u.d.
26716 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26717 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26718 * sysdeps/i386/fpu/s_fma.S: Removed.
26719 * sysdeps/i386/fpu/s_fmal.S: Removed.
26721 2010-10-16 Jakub Jelinek <jakub@redhat.com>
26724 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26726 computation is not scheduled after fetestexcept. Fix value
26727 of minimum denormal long double.
26729 2010-10-14 Jakub Jelinek <jakub@redhat.com>
26732 * math/libm-test.inc (fma_test): Add some more tests.
26733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26736 2010-10-15 Andreas Schwab <schwab@redhat.com>
26738 * scripts/data/localplt-s390-linux-gnu.data: New file.
26739 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26741 2010-10-13 Jakub Jelinek <jakub@redhat.com>
26744 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26745 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26747 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26749 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26751 if one of x and y is very large and the other is subnormal.
26752 * sysdeps/s390/fpu/s_fmaf.c: New file.
26753 * sysdeps/s390/fpu/s_fma.c: New file.
26754 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26755 * sysdeps/powerpc/fpu/s_fma.S: New file.
26756 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26757 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26758 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26760 2010-10-12 Jakub Jelinek <jakub@redhat.com>
26763 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26765 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26766 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26767 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26768 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26769 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26770 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26771 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26773 2010-10-12 Ulrich Drepper <drepper@redhat.com>
26776 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26777 * posix/bug-regex31.input: Add test case.
26779 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26781 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26782 * posix/bug-regex31.input: New file.
26785 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26786 (parse_sub_exp): Fix last change, use postorder.
26788 * posix/bug-regex31.c: New file.
26789 * posix/Makefile: Add rules to build and run bug-regex31.
26791 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26794 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26797 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26798 to have entries in sys_siglist.
26801 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26804 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26807 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26808 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26809 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26810 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26811 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26812 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26813 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26814 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26815 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26816 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26817 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26818 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26819 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26820 * math/ftestexcept.c (fetestexcept): Likewise.
26821 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26822 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26823 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26824 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26825 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26826 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26827 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26829 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26832 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26835 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26837 * string/bug-strstr1.c: New file.
26838 * string/Makefile: Add rules to build and run bug-strstr1.
26840 2010-10-05 Eric Blake <eblake@redhat.com>
26843 * string/str-two-way.h (two_way_long_needle): Always clear memory
26844 when skipping input due to the shift table.
26846 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26849 * malloc/mcheck.c: Handle large requests.
26852 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26853 for strncmp and strncasecmp.
26854 * string/stratcliff.c: Add tests for strcmp and strncmp.
26855 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26857 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26859 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26862 2010-09-30 Andreas Jaeger <aj@suse.de>
26864 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26865 (CGROUP_SUPER_MAGIC): Define.
26866 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26867 Handle btrfs and cgroup file systems.
26868 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26871 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26873 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26874 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26876 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26879 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26880 trying to locate the ELF header.
26882 2010-09-27 Andreas Schwab <schwab@redhat.com>
26885 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26886 Mask out sign-bit copies when constructing f_fsid.
26888 2010-09-24 Petr Baudis <pasky@suse.cz>
26890 * debug/stack_chk_fail_local.c: Add missing licence exception.
26891 * debug/warning-nop.c: Likewise.
26893 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26895 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26896 implementing getdents64 using getdents syscall, set d_type if
26897 __ASSUME_GETDENTS32_D_TYPE.
26899 2010-09-16 Andreas Schwab <schwab@redhat.com>
26901 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26902 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26904 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26907 * posix/unistd.h: Undo change of feature selection for ftruncate from
26910 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26912 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26915 2010-09-20 Andreas Schwab <schwab@redhat.com>
26917 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26919 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26921 2010-09-14 Andreas Schwab <schwab@redhat.com>
26923 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26924 variables after CHECK_SP call.
26925 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26927 2010-09-13 Andreas Schwab <schwab@redhat.com>
26928 Ulrich Drepper <drepper@redhat.com>
26930 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26931 re-relocationg ld.so.
26932 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26933 _dl_init_paths call.
26934 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26937 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26939 * resolv/res_init.c (__res_vinit): Count the default server we added.
26941 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26942 Ulrich Drepper <drepper@redhat.com>
26945 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26946 (____longjmp_chk): Use %ebx for saving value across system call.
26949 2010-09-06 Andreas Schwab <schwab@redhat.com>
26951 * manual/Makefile: Don't mix pattern rules with normal rules.
26953 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26955 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26957 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26958 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26959 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26960 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26961 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26964 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26967 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26968 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26970 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26972 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26973 * sysdeps/x86_64/addmul_1.S: Likewise.
26974 * sysdeps/x86_64/lshift.S: Likewise.
26975 * sysdeps/x86_64/mul_1.S: Likewise.
26976 * sysdeps/x86_64/rshift.S: Likewise.
26977 * sysdeps/x86_64/sub_n.S: Likewise.
26978 * sysdeps/x86_64/submul_1.S: Likewise.
26980 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26982 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26983 Define __sched_param instead of SCHED_* and sched_param when
26984 <bits/sched.h> is included with __need_schedparam defined.
26985 * bits/sched.h [__need_schedparam]
26986 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26987 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26988 (__defined_schedparam): Define to 1.
26989 (__sched_param): New structure, identical to sched_param.
26990 (__need_schedparam): Undefine.
26992 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26994 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26995 (epoll_create1): Declare.
26997 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26999 2010-08-31 Andreas Schwab <schwab@redhat.com>
27002 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27003 shifting retval into place.
27005 2010-09-01 Ulrich Drepper <drepper@redhat.com>
27007 * nis/rpcsvc/nis.h: Update copyright notice.
27008 * nis/rpcsvc/nis.x: Likewise.
27009 * nis/rpcsvc/nis_callback.h: Likewise.
27010 * nis/rpcsvc/nis_callback.x: Likewise.
27011 * nis/rpcsvc/nis_object.x: Likewise.
27012 * nis/rpcsvc/nis_tags.h: Likewise.
27013 * nis/rpcsvc/yp.h: Likewise.
27014 * nis/rpcsvc/yp.x: Likewise.
27015 * nis/rpcsvc/ypupd.h: Likewise.
27016 * nis/yp_xdr.c: Likewise.
27017 * nis/ypupdate_xdr.c: Likewise.
27019 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27020 mainly the body of pmap_getport. Add parameters to specify timeouts.
27021 (pmap_getport): Use __libc_rpc_getport.
27022 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27023 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27024 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27026 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27031 2010-08-27 Roland McGrath <roland@redhat.com>
27033 * sysdeps/i386/i686/multiarch/Makefile
27034 (CFLAGS-varshift.c): New variable.
27036 2010-08-27 Ulrich Drepper <drepper@redhat.com>
27038 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27039 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27041 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27043 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27045 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27047 * sysdeps/x86_64/strlen.S: Unroll the loop.
27048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27049 strlen-sse2 strlen-sse2-bsf.
27050 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27051 __strlen_no_bsf if bit_Slow_BSF is set.
27052 (__strlen_sse42): Removed.
27053 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27054 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27056 2010-08-25 Roland McGrath <roland@redhat.com>
27058 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27059 * sysdeps/x86_64/multiarch/varshift.c: New file.
27060 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27061 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27062 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27063 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27065 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27067 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27068 strlen-sse2 strlen-sse2-bsf.
27069 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27070 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27071 (__strlen_sse2): Removed.
27072 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27073 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27075 bit_Slow_BSF for Atom.
27076 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27077 (index_Slow_BSF): Define.
27078 (HAS_SLOW_BSF): Define.
27080 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27083 * resolv/res_init.c (__res_vinit): When no server address at all
27084 is given default to loopback.
27086 2010-08-24 Roland McGrath <roland@redhat.com>
27088 * configure.in: Remove config-name.h generation.
27089 * configure: Regenerated.
27090 * config-name.in: File removed.
27091 * scripts/config-uname.sh: New file.
27092 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27093 ($(objdir)config-name.h): New target.
27095 * sunrpc/rpc_parse.h: Avoid nested comment.
27097 2010-08-24 Richard Henderson <rth@redhat.com>
27098 Ulrich Drepper <drepper@redhat.com>
27099 H.J. Lu <hongjiu.lu@intel.com>
27101 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27103 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27104 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27105 _mm_alignr_epi8 with _mm_loadu_si128.
27106 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27107 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27108 (__m128i_shift_right): Removed.
27109 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27110 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27111 * sysdeps/x86_64/multiarch/varshift.h: New file.
27112 * sysdeps/x86_64/multiarch/varshift.S: New file.
27114 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27116 * configure.in: Move assembler checks to before sysdep dir checking.
27118 2010-08-20 Petr Baudis <pasky@suse.cz>
27120 * LICENSES: Sync the sunrpc license.
27122 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27124 * sunrpc/auth_des.c: Update copyright notice once again.
27125 * sunrpc/auth_none.c: Likewise.
27126 * sunrpc/auth_unix.c: Likewise.
27127 * sunrpc/authdes_prot.c: Likewise.
27128 * sunrpc/authuxprot.c: Likewise.
27129 * sunrpc/bindrsvprt.c: Likewise.
27130 * sunrpc/clnt_gen.c: Likewise.
27131 * sunrpc/clnt_perr.c: Likewise.
27132 * sunrpc/clnt_raw.c: Likewise.
27133 * sunrpc/clnt_simp.c: Likewise.
27134 * sunrpc/clnt_tcp.c: Likewise.
27135 * sunrpc/clnt_udp.c: Likewise.
27136 * sunrpc/clnt_unix.c: Likewise.
27137 * sunrpc/des_crypt.c: Likewise.
27138 * sunrpc/des_soft.c: Likewise.
27139 * sunrpc/get_myaddr.c: Likewise.
27140 * sunrpc/getrpcport.c: Likewise.
27141 * sunrpc/key_call.c: Likewise.
27142 * sunrpc/key_prot.c: Likewise.
27143 * sunrpc/openchild.c: Likewise.
27144 * sunrpc/pm_getmaps.c: Likewise.
27145 * sunrpc/pm_getport.c: Likewise.
27146 * sunrpc/pmap_clnt.c: Likewise.
27147 * sunrpc/pmap_prot.c: Likewise.
27148 * sunrpc/pmap_prot2.c: Likewise.
27149 * sunrpc/pmap_rmt.c: Likewise.
27150 * sunrpc/rpc/auth.h: Likewise.
27151 * sunrpc/rpc/auth_unix.h: Likewise.
27152 * sunrpc/rpc/clnt.h: Likewise.
27153 * sunrpc/rpc/des_crypt.h: Likewise.
27154 * sunrpc/rpc/key_prot.h: Likewise.
27155 * sunrpc/rpc/netdb.h: Likewise.
27156 * sunrpc/rpc/pmap_clnt.h: Likewise.
27157 * sunrpc/rpc/pmap_prot.h: Likewise.
27158 * sunrpc/rpc/pmap_rmt.h: Likewise.
27159 * sunrpc/rpc/rpc.h: Likewise.
27160 * sunrpc/rpc/rpc_des.h: Likewise.
27161 * sunrpc/rpc/rpc_msg.h: Likewise.
27162 * sunrpc/rpc/svc.h: Likewise.
27163 * sunrpc/rpc/svc_auth.h: Likewise.
27164 * sunrpc/rpc/types.h: Likewise.
27165 * sunrpc/rpc/xdr.h: Likewise.
27166 * sunrpc/rpc_clntout.c: Likewise.
27167 * sunrpc/rpc_cmsg.c: Likewise.
27168 * sunrpc/rpc_common.c: Likewise.
27169 * sunrpc/rpc_cout.c: Likewise.
27170 * sunrpc/rpc_dtable.c: Likewise.
27171 * sunrpc/rpc_hout.c: Likewise.
27172 * sunrpc/rpc_main.c: Likewise.
27173 * sunrpc/rpc_parse.c: Likewise.
27174 * sunrpc/rpc_parse.h: Likewise.
27175 * sunrpc/rpc_prot.c: Likewise.
27176 * sunrpc/rpc_sample.c: Likewise.
27177 * sunrpc/rpc_scan.c: Likewise.
27178 * sunrpc/rpc_scan.h: Likewise.
27179 * sunrpc/rpc_svcout.c: Likewise.
27180 * sunrpc/rpc_tblout.c: Likewise.
27181 * sunrpc/rpc_util.c: Likewise.
27182 * sunrpc/rpc_util.h: Likewise.
27183 * sunrpc/rpcinfo.c: Likewise.
27184 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27185 * sunrpc/rpcsvc/key_prot.x: Likewise.
27186 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27187 * sunrpc/rpcsvc/mount.x: Likewise.
27188 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27189 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27190 * sunrpc/rpcsvc/rex.x: Likewise.
27191 * sunrpc/rpcsvc/rstat.x: Likewise.
27192 * sunrpc/rpcsvc/rusers.x: Likewise.
27193 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27194 * sunrpc/rpcsvc/spray.x: Likewise.
27195 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27196 * sunrpc/rtime.c: Likewise.
27197 * sunrpc/svc.c: Likewise.
27198 * sunrpc/svc_auth.c: Likewise.
27199 * sunrpc/svc_authux.c: Likewise.
27200 * sunrpc/svc_raw.c: Likewise.
27201 * sunrpc/svc_run.c: Likewise.
27202 * sunrpc/svc_simple.c: Likewise.
27203 * sunrpc/svc_tcp.c: Likewise.
27204 * sunrpc/svc_udp.c: Likewise.
27205 * sunrpc/svc_unix.c: Likewise.
27206 * sunrpc/svcauth_des.c: Likewise.
27207 * sunrpc/xcrypt.c: Likewise.
27208 * sunrpc/xdr.c: Likewise.
27209 * sunrpc/xdr_array.c: Likewise.
27210 * sunrpc/xdr_float.c: Likewise.
27211 * sunrpc/xdr_mem.c: Likewise.
27212 * sunrpc/xdr_rec.c: Likewise.
27213 * sunrpc/xdr_ref.c: Likewise.
27214 * sunrpc/xdr_sizeof.c: Likewise.
27215 * sunrpc/xdr_stdio.c: Likewise.
27217 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27220 2010-08-19 Andreas Schwab <schwab@redhat.com>
27222 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27224 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27226 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27227 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27228 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27229 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27230 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27231 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27232 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27233 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27234 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27235 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27236 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27237 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27238 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27239 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27241 2010-07-26 Anton Blanchard <anton@samba.org>
27243 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27244 * malloc/arena.c (heap_trim): Likewise.
27246 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27248 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27251 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27253 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27255 * sysdeps/i386/elf/Makefile: New file.
27257 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27259 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27260 from fanotify_init.
27261 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27264 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27266 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27268 * sysdeps/multiarch/strcmp.S: Likewise.
27270 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27272 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27273 strncase_l-nonascii.
27274 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27275 Add strncase_l-ssse3.
27276 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27277 * sysdeps/x86_64/strcmp.S: Likewise.
27278 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27279 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27280 * sysdeps/x86_64/strncase.S: New file.
27281 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27282 * sysdeps/x86_64/strncase_l.S: New file.
27283 * string/Makefile (strop-tests): Add strncasecmp.
27284 * string/test-strncasecmp.c: New file.
27286 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27289 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27290 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27292 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27294 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27296 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27298 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27299 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27300 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27302 2010-05-01 Alan Modra <amodra@gmail.com>
27304 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27305 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27306 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27307 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27308 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27309 tidying. Don't tail-call __sigjmp_save for static lib.
27310 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27312 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27313 (CALL_MCOUNT): Add eh info, and nop after bl.
27314 (TAIL_CALL_SYSCALL_ERROR): New macro.
27315 (PSEUDO_RET): Use it.
27316 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27317 Correct save location of integer regs and cr.
27318 (_dl_profile_resolve): Correct cr save location. Delete nops
27319 after bl when SHARED. Reduce cfi size a little by better
27320 placement of cfi directives.
27321 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27322 make a stack frame. Instead use parm save area as a temp.
27323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27324 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27326 Don't make a stack frame for parent, use parm save area.
27327 Increase child stack frame to 112 bytes. Don't save unused reg,
27328 and adjust reg usage. Set up cfi on error recovery and
27329 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27331 (__makecontext): Add dummy nop after jump to exit.
27332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27333 Use correct parm save area and cr save, reduce stack frame.
27334 Correct cfi for possible PSEUDO_RET frame setup.
27335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27336 Branch to local label emitted by PSEUDO_RET rather than
27339 2010-08-12 Andreas Schwab <schwab@redhat.com>
27342 * locale/programs/locale.c (print_assignment): New function.
27343 (show_locale_vars): Use it.
27345 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27347 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27349 (struct statfs64): Likewise.
27350 (_STATFS_F_FLAGS): Define.
27351 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27352 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27353 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27354 (ST_VALID): Define locally.
27355 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27356 __statvfs_getflags, use the provided value.
27357 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27358 __ASSUME_STATFS_F_FLAGS.
27360 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27362 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27363 Add sys/fanotify.h.
27364 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27365 fanotify_mask for GLIBC_2.13.
27366 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27367 fanotify_init and fanotify_mark.
27368 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27369 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27371 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27373 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27374 prlimit64 for GLIBC_2.13.
27375 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27377 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27380 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27381 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27382 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27383 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27385 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27388 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27389 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27391 * nss/Makefile: Add rules to build and run tst-nss-test1.
27392 * shlib-versions: Add entry for libnss_test1.
27393 * nss/nss_test1.c: New file.
27394 * nss/tst-nss-test1.c: New file.
27396 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27397 (__nss_configure_lookup): Set appropriate entry in
27398 __nss_configure_lookup to true.
27399 * nss/nsswitch.h: Define enum with indeces of databases in
27400 databases and __nss_database_custom arrays. Declare
27401 __nss_database_custom.
27402 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27403 to avoid using nscd when custom rules are installed.
27404 * nss/getXXbyYY_r.c: Likewise.
27405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27407 * nss/nss_files/files-parse.c: Whitespace fixes.
27409 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27412 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27413 * posix/fnmatch_loop.c: Likewise.
27415 2010-07-17 Andi Kleen <ak@linux.intel.com>
27417 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27418 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27419 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27420 * Versions.def [GLIBC_2.13]: Add.
27422 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27424 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27425 Also fail if tpwd after pwuid call is NULL.
27427 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27429 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27430 when converting to ms.
27432 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27434 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27435 EOPNOTSUPP errors with ENOTTY.
27436 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27437 EOPNOTSUPP errors with ENOTTY.
27439 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27441 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27442 Add strcasecmp_l-ssse3.
27443 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27445 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27446 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27447 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27449 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27451 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27453 * string/Makefile (strop-tests): Add strcasecmp.
27454 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27455 strcasecmp_l-nonascii.
27456 (gen-as-const-headers): Add locale-defines.sym.
27457 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27458 * sysdeps/x86_64/strcasecmp.S: New file.
27459 * sysdeps/x86_64/strcasecmp_l.S: New file.
27460 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27461 * sysdeps/x86_64/locale-defines.sym: New file.
27462 * string/test-strcasecmp.c: New file.
27464 * string/test-strcasestr.c: Test both ends of the range of characters.
27465 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27467 2010-07-29 Roland McGrath <roland@redhat.com>
27470 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27472 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27474 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27477 2010-07-27 Andreas Schwab <schwab@redhat.com>
27479 * manual/memory.texi (Malloc Tunable Parameters): Document
27482 2010-07-26 Roland McGrath <roland@redhat.com>
27485 * configure.in (-fgnu89-inline check): Set and substitute
27486 gnu89_inline, not libc_cv_gnu89_inline.
27487 * configure: Regenerated.
27488 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27490 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27492 * string/test-strnlen.c: New file.
27493 * string/Makefile (strop-tests): Add strnlen.
27494 * string/tester.c (test_strnlen): Add a few more test cases.
27495 * string/tst-strlen.c: Better error reporting.
27497 * sysdeps/x86_64/strnlen.S: New file.
27499 2010-07-24 Ulrich Drepper <drepper@redhat.com>
27501 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27502 lower-latency instructions.
27504 2010-07-23 Ulrich Drepper <drepper@redhat.com>
27506 * string/test-strcasestr.c: New file.
27507 * string/test-strstr.c: New file.
27508 * string/Makefile (strop-tests): Add strstr and strcasestr.
27509 * string/str-two-way.h: Don't undefine MAX.
27510 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27512 2010-07-21 Andreas Schwab <schwab@redhat.com>
27514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27515 strcasestr-nonascii.
27516 (CFLAGS-strcasestr-nonascii.c): Define.
27517 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27518 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27519 Remove unused attribute.
27521 2010-07-20 Roland McGrath <roland@redhat.com>
27523 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27524 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27525 ld.so.cache was broken. With it, there is no way to disable dsocaps
27526 like LD_HWCAP_MASK can disable hwcaps.
27528 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27530 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27532 2010-07-16 Ulrich Drepper <drepper@redhat.com>
27534 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27535 call in strcasestr.
27536 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27537 __strcasestr_sse42_nonascii.
27538 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27539 strcasestr-nonascii.c.
27540 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27542 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
27544 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27545 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27546 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27547 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27549 2010-07-09 Ulrich Drepper <drepper@redhat.com>
27551 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27554 2010-07-06 Andreas Schwab <schwab@redhat.com>
27557 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27560 2010-07-06 Ulrich Drepper <drepper@redhat.com>
27562 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27563 _PC_PIPE_BUF using F_GETPIPE_SZ.
27565 2010-07-05 Roland McGrath <roland@redhat.com>
27567 * manual/arith.texi (Rounding Functions): Fix rint description
27568 implicit in round description.
27570 2010-07-02 Ulrich Drepper <drepper@redhat.com>
27572 * elf/Makefile: Fix linking for a few tests to make recent linker
27575 2010-06-30 Andreas Schwab <schwab@redhat.com>
27577 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27578 $(common-objpfx)libc_nonshared.a.
27580 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
27582 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27583 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27584 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27585 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27586 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27587 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27588 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27589 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27604 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27605 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27606 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27607 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27608 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27609 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27610 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27611 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27612 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27613 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27614 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27615 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27631 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27633 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27634 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27635 * string/memmove.c (memmove): Renamed to ...
27636 (MEMMOVE): ...this. Default to memmove.
27637 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27638 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27641 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27642 mempcpy-ssse3-back memmove-ssse3-back.
27643 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27645 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27646 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27647 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27648 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27649 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27650 * sysdeps/x86_64/multiarch/memmove.c: New file.
27651 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27652 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27653 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27654 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27655 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27656 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27658 (index_Fast_Copy_Backward): Define.
27659 (HAS_ARCH_FEATURE): Define.
27660 (HAS_FAST_REP_STRING): Define.
27661 (HAS_FAST_COPY_BACKWARD): Define.
27663 2010-06-21 Andreas Schwab <schwab@redhat.com>
27665 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27666 Restore proper fallback handling.
27668 2010-06-19 Ulrich Drepper <drepper@redhat.com>
27671 * posix/group_member.c (__group_member): Correct checking loop.
27673 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27674 OOM in getpwuid_r correctly. Return error number when the caller
27675 should return, otherwise -1.
27676 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27677 call returning > 0 value.
27678 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27680 2010-06-07 Andreas Schwab <schwab@redhat.com>
27682 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27683 libc_nonshared.a from targets in modules-names.
27685 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27687 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27690 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
27692 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27693 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27694 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27695 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27697 2010-06-02 Andreas Schwab <schwab@redhat.com>
27699 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27701 2010-06-14 Ulrich Drepper <drepper@redhat.com>
27703 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27708 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27709 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27710 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27712 2010-06-14 Roland McGrath <roland@redhat.com>
27714 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27716 2010-06-07 Jakub Jelinek <jakub@redhat.com>
27718 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27719 __REDIRECT followed by __THROW.
27720 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27721 * posix/getopt.h (getopt): Likewise.
27723 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27725 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27726 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27727 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27729 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27730 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27732 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
27734 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27736 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27740 Properly check family and model.
27742 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27744 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27746 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
27748 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27750 2010-05-21 Ulrich Drepper <drepper@redhat.com>
27752 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27755 2010-05-19 Andreas Schwab <schwab@redhat.com>
27757 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27760 2010-05-21 Andreas Schwab <schwab@redhat.com>
27762 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27763 and internal_recvmmsg.
27764 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27765 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27766 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27767 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27769 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27770 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27771 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27773 2010-05-20 Andreas Schwab <schwab@redhat.com>
27775 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27777 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
27779 POWER7 optimizations.
27780 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27781 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27783 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27785 * version.h: Update for 2.13 development version.
27787 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27789 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27790 exceptions. Return 0.
27792 2010-05-07 Roland McGrath <roland@redhat.com>
27794 * elf/ldconfig.c (main): Add a const.
27796 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27798 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27799 (args_options): Add no-idn option.
27800 (ahosts_keys_int): Add idn_flags to ai_flags.
27801 (parse_option): Handle 'i' option to clear idn_flags.
27803 * malloc/malloc.c (_int_free): Possible race in the most recently
27804 added check. Only act on the data if no current modification
27807 See ChangeLog.17 for earlier changes.