1 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4 Use testrun.sh to run libm tests.
7 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9 2013-04-06 Marko Myllynen <myllynen@redhat.com>
12 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16 * Makefile.in (regen-ulps): New target.
17 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19 [ifneq (no,$(PERL)] (regen-ulps): New target.
20 [ifeq (no,$(PERL)] (regen-ulps): New target.
21 * math/libm-test.inc (ulps_file_name): Define.
22 (output_dir): New variable.
23 (options): Add "output-dir" option.
24 (parse_opt): Handle 'o' case.
25 (main): If output_dir is non-NULL use it as a prefix
27 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34 fail configure if __sync_val_compare_and_swap is not inlined.
35 * sysdeps/i386/configure: Regenerate.
36 * configure.in: Build for i686 when configured for i386.
37 * configure: Regenerate.
38 * README: Remove i386 reference.
40 2013-04-06 Carlos O'Donell <carlos@redhat.com>
42 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
43 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
47 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
48 (lmsnanval): New variables.
49 (F): Add conversion tests.
50 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53 * stdio-common/tstdiomisc.c (F): Properly collect individual
57 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
59 Instead, use input NaN values or generate a qNaN by arithmetic
60 operation. Also fix bugs to comply with the standard.
61 * math/libm-test.inc (remainder_test): Add more tests.
64 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
65 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
66 input NaN values or generate a qNaN by arithmetic operation.
68 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
71 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
74 2013-04-03 Joseph Myers <joseph@codesourcery.com>
77 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
79 * math/s_cexpf.c (__cexpf): Likewise.
80 * math/s_cexpl.c (__cexpl): Likewise.
81 * math/libm-test.inc (cexp_test): Add more tests.
83 2013-04-03 Andreas Schwab <schwab@suse.de>
86 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
87 order arrays from heap if bigger than alloca cutoff.
89 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
91 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
92 (SNAN_TESTS_double): Refer to GCC PR56831.
93 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
96 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
98 * Rules (bench): Move bench.out after the run is complete.
100 * Rules (bench): Echo currently running benchmark.
102 * benchtests/Makefile (bench): Add atan and slowatan.
103 * benchtests/atan-inputs: New file.
104 * benchtests/slowatan-inputs: New file.
105 * benchtests/slowatan.c: New file.
107 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
108 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
112 * sysdeps/unix/sysv/linux/kernel-features.h
113 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
114 __ASSUME_XFS_RESTRICTED_CHOWN.
115 * sysdeps/unix/sysv/linux/pathconf.c
116 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
117 Save and restore errno.
119 2013-04-02 Joseph Myers <joseph@codesourcery.com>
122 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
123 arguments using __kernel_casinh.
124 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
125 arguments using __kernel_casinhf.
126 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
127 arguments using __kernel_casinhl.
128 * math/libm-test.inc (cacosh_test): Add more tests.
129 * sysdeps/i386/fpu/libm-test-ulps: Update.
130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
132 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
134 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
135 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
137 * bench/Makefile (bench): Add sin and slowsin.
138 * benchtests/sin-inputs: New file.
139 * benchtests/slowsin-inputs: New file.
140 * benchtests/slowsin.c: New file.
142 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
143 (bench): Add slowexp and slowpow.
144 (exp-ITER): Increase iterations.
145 (pow-ITER): Likewise.
146 * benchtests/exp-inputs: Change input.
147 * benchtests/pow-inputs: Likewise.
148 * benchtests/slowexp-inputs: New file.
149 * benchtests/slowexp.c: New file.
150 * benchtests/slowpow-inputs: New file.
151 * benchtests/slowpow.c: New file.
153 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
155 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
157 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
158 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
159 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
160 * benchtests/Makefile: Add rint benchtest.
161 * benchtests/rint-inputs: Input for rint benchtest.
163 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
165 * Versions.def (libm): Add GLIBC_2.18.
166 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
167 hidden libm prototypes.
168 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
169 * math/Makefile (libm-calls): Add s_issignaling.
170 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
171 __issignalingf, __issignalingl. Adjust all libm.abilist files.
172 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
174 * math/math.h [__USE_GNU] (issignaling): New macro.
175 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
176 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
177 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
178 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
179 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
180 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
181 * manual/arith.texi (issignaling): New section.
182 * manual/libm-err-tab.pl (@all_functions): Update comment.
183 * math/gen-libm-test.pl (parse_args): Apply special handling for
185 * math/libm-test.inc (print_float, issignaling_test): New
187 (check_float_internal): Add issignaling checks.
188 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
190 * sysdeps/powerpc/math-tests.h: New file.
191 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
193 * math/test-snan.c (TEST_FUNC): Likewise.
195 2013-03-30 David S. Miller <davem@davemloft.net>
197 * po/de.po: Update from translation team.
199 2013-03-30 Joseph Myers <joseph@codesourcery.com>
202 * math/k_casinh.c (__kernel_casinh): Handle arguments with
203 imaginary part less than 1.0 and real part less than 0.5
205 * math/k_casinhf.c (__kernel_casinhf): Likewise.
206 * math/k_casinhl.c (__kernel_casinhl): Likewise.
207 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
208 (cacos_test): Add more tests.
209 (casin_test): Likewise.
210 (casinh_test): Likewise.
211 * sysdeps/i386/fpu/libm-test-ulps: Update.
212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
214 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
216 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
219 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
220 (__pow_mp): Replace ONE and MONE with their values.
221 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
222 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
223 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
224 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
225 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
226 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
228 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
230 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
231 (__pow_mp): Replace ZERO and MZERO with their values.
232 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
233 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
234 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
236 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
237 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
240 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
242 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
244 2013-03-28 Roland McGrath <roland@hack.frob.com>
246 * include/stdlib.h [!SHARED] (__call_tls_dtors):
247 Declare with __attribute__ ((weak)).
248 * stdlib/exit.c (__libc_atexit) [!SHARED]:
249 Call __call_tls_dtors only if it's not NULL.
251 2013-03-28 Roland McGrath <roland@hack.frob.com>
253 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
254 didn't do it already, then set _dl_phdr and _dl_phnum based on the
255 magic __ehdr_start linker symbol if it's defined.
256 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
257 them up here if it was already done.
259 * elf/dl-support.c (_dl_phdr): Make pointer to const.
260 (_dl_aux_init): Use const in cast when setting it.
261 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
262 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
263 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
265 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
267 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
268 * csu/libc-tls.c: Nor here.
269 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
271 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
272 (__libc_message): Never call vsyslog.
274 2013-03-28 Alan Modra <amodra@gmail.com>
276 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
278 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
281 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
284 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
288 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
291 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
292 Don't add gid passed as argument.
294 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
296 2013-03-27 Joseph Myers <joseph@codesourcery.com>
299 * math/k_casinh.c (__kernel_casinh): Handle arguments with
300 imaginary part between 1.0 and 1.5 and real part less than 0.5
302 * math/k_casinhf.c (__kernel_casinhf): Likewise.
303 * math/k_casinhl.c (__kernel_casinhl): Likewise.
304 * math/libm-test.inc (cacos_test): Add more tests.
305 (casin_test): Likewise.
306 (casinh_test): Likewise.
307 * sysdeps/i386/fpu/libm-test-ulps: Update.
308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
310 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
312 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
316 (__dbl_mp): Likewise.
317 (add_magnitudes): Likewise.
318 (sub_magnitudes): Likewise.
326 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
328 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
329 (__dubcos): Likewise.
330 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
331 (__ieee754_acos): Likewise.
332 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
333 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
335 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
336 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
339 (checkint): Likewise.
340 * sysdeps/ieee754/dbl-64/e_remainder.c
341 (__ieee754_remainder): Likewise.
342 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
345 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
347 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
348 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
349 MANTISSA_STORE_T to store computations on mantissa. Use
350 macros for rounding and division.
352 (__dbl_mp): Likewise.
353 (add_magnitudes): Likewise.
354 (sub_magnitudes): Likewise.
357 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
358 powers of two in terms of TWOPOW macro.
359 (mp_no): Make type of mantissa as MANTISSA_T.
360 [!RADIXI]: Define RADIXI.
361 [!TWO52]: Define TWO52.
362 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
364 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
366 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
367 llroundl symbol when building for PPC32.
369 2013-03-24 Mark H Weaver <mhw@netris.org>
371 * manual/arith.texi (Normalization Functions): Fix prototypes for
372 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
374 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
377 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
378 high value to check if expl overflow.
379 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
380 to check for underflow and overflow.
381 * math/libm-test.inc: Add exp test.
383 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
386 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
389 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
391 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
394 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
396 * math/gen-libm-test.pl (parse_args, special_functions): Properly
397 wrap blocks consisting of several statements.
399 * sysdeps/generic/math-tests.h: New file.
400 * sysdeps/i386/fpu/math-tests.h: Likewise.
401 * math/test-snan.c: Include it.
402 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
404 2013-03-21 Joseph Myers <joseph@codesourcery.com>
407 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
408 (__ieee754_j0l): Do not improve calculations using cos of twice
409 input for inputs above LDBL_MAX / 2.0L.
410 (__ieee754_y0l): Likewise.
411 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
412 (__ieee754_j1l): Do not improve calculations using cos of twice
413 input for inputs above LDBL_MAX / 2.0L.
414 (__ieee754_y1l): Likewise.
415 * math/libm-test.inc (j0_test): Add another test.
419 * sysdeps/i386/fpu/libm-test-ulps: Update.
421 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
423 * Rules ($(objpfx)bench-%.c): Include code from a C source
426 2013-03-21 Joseph Myers <joseph@codesourcery.com>
429 * math/k_casinh.c (__kernel_casinh): Handle arguments with
430 imaginary part 1.0 and real part less than 0.5 specially.
431 * math/k_casinhf.c (__kernel_casinhf): Likewise.
432 * math/k_casinhl.c (__kernel_casinhl): Likewise.
433 * math/libm-test.inc (cacos_test): Add more tests.
434 (casin_test): Likewise.
435 (casinh_test): Likewise.
436 * sysdeps/i386/fpu/libm-test-ulps: Update.
437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
439 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
441 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
442 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
444 2013-03-20 Joseph Myers <joseph@codesourcery.com>
446 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
447 * config.make.in (config-cflags-sse4): Remove variable.
448 (config-cflags-avx): Likewise.
449 (config-cflags-sse2avx): Likewise.
450 (config-cflags-novzeroupper): Likewise.
451 (config-asflags-i686): Likewise.
452 (have-mfma4): Likewise.
453 (have-as-vis3): Likewise.
455 * configure.in (MIG): Do not AC_SUBST.
456 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
457 (libc_cv_cc_sse4): Do not AC_SUBST.
458 (libc_cv_cc_avx): Likewise.
459 (libc_cv_cc_sse2avx): Likewise.
460 (libc_cv_cc_novzeroupper): Likewise.
461 (libc_cv_cc_fma4): Likewise.
462 (libc_cv_as_i686): Likewise.
463 (libc_cv_sparc_as_vis3): Likewise.
464 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
466 (config-asflags-i686): Likewise.
467 (config-cflags-avx): Likewise.
468 (config-cflags-sse2avx): Likewise.
469 (have-mfma4): Likewise.
470 (config-cflags-novzeroupper): Likewise.
471 * sysdeps/mach/configure.in (MIG): Likewise.
472 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
473 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
475 (config-cflags-avx): Likewise.
476 (config-cflags-sse2avx): Likewise.
477 (have-mfma4): Likewise.
478 (config-cflags-novzeroupper): Likewise.
479 * configure: Regenerated.
480 * sysdeps/i386/configure: Likewise.
481 * sysdeps/mach/configure: Likewise.
482 * sysdeps/sparc/configure: Likewise.
483 * sysdeps/x86_64/configure: Likewise.
485 2013-03-20 Roland McGrath <roland@hack.frob.com>
488 * locale/programs/localedef.c (options): Put N_ translation marker
489 on argument names, not just descriptions.
491 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
493 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
495 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
498 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
500 2013-03-19 Roland McGrath <roland@hack.frob.com>
502 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
503 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
504 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
505 [!BEFORE_ABORT] (before_abort): New function.
506 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
507 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
508 (writev_for_fatal): New function.
509 (WRITEV_FOR_FATAL): New macro; call that.
510 (backtrace_and_maps): New function.
511 (BEFORE_ABORT): New macro; call that.
512 (struct str_list): Type removed.
513 (__libc_message, __libc_fatal): Functions removed.
514 Include <sysdeps/posix/libc_fatal.c> instead.
516 2013-03-19 Joseph Myers <joseph@codesourcery.com>
518 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
520 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
523 2013-03-19 Andreas Schwab <schwab@suse.de>
525 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
526 * sysdeps/gnu/configure: Regenerate.
528 * configure.in: Substitute libc_cv_rtlddir.
529 * configure: Regenerate.
530 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
531 * Makeconfig (rtlddir, inst_rtlddir): New variables.
532 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
533 * elf/Makefile (install-others, CFLAGS-interp.c)
534 (ldso_install, common-ldd-rewrite): Likewise.
535 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
536 $(inst_slibdir)/$(rtld-installed-name).
537 * scripts/rellns-sh: Add -p option.
538 * Makerules (make-shlib-link): Use rellns-sh to get relative name
541 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
543 * manual/nptl.texi: Renamed to ...
544 * manual/threads.texi: ... this.
545 * manual/Makefile (chapters): Update.
547 2013-03-18 Roland McGrath <roland@hack.frob.com>
550 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
551 on argument names, not just descriptions.
552 * malloc/memusagestat.c (options): Likewise.
553 * nss/getent.c (options): Likewise.
555 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
558 * iconv/iconv_prog.c (options): Put N_ translation marker
559 on argument names, not just descriptions.
560 * iconv/iconvconfig.c (options): Likewise.
562 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
564 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
565 implementation which is faster on all x86_64 architectures.
566 Tested on AMD, Intel Nehalem, SNB, IVB.
567 * sysdeps/x86_64/strnlen.S: Likewise.
569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
570 Remove all multiarch strlen and strnlen versions.
571 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
572 Remove strlen and strnlen related parts.
574 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
576 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
578 * sysdeps/x86_64/multiarch/strlen.S: Remove.
579 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
580 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
581 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
582 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
583 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
585 2013-03-17 Carlos O'Donell <carlos@redhat.com>
587 * manual/memory.texi (Malloc Tunable Parameters):
588 Sort parameters alphabetically. Add comments for missing entries.
590 2013-03-17 David S. Miller <davem@davemloft.net>
592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
594 2013-03-16 Joseph Myers <joseph@codesourcery.com>
597 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
598 for arguments at most half maximum finite value.
599 * math/libm-test.inc (j0_test): Add more tests.
603 * sysdeps/i386/fpu/libm-test-ulps: Update.
604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
607 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
608 1 / x and functions P and Q for arguments above 0x1p256L.
609 (__ieee754_y0l): Likewise.
610 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
611 (__ieee754_y1l): Likewise.
612 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
617 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
619 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
622 2013-03-15 Roland McGrath <roland@hack.frob.com>
624 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
625 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
626 zero since it's initialized to EXEC_PAGESIZE.
628 * sysdeps/unix/sysv/linux/ldsodefs.h
629 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
630 * sysdeps/generic/ldsodefs.h: ... here.
632 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
634 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
636 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
638 * math/test-snan.c: Renamed from
639 sysdeps/powerpc/fpu/test-powerpc-snan.c.
640 * math/Makefile (tests): Add test-snan.
641 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
644 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
645 SUFFIX. Initialize qNaN_var with __builtin_nan family of
647 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
648 __builtin_nan family of functions.
649 * math/libm-test.inc (initialize): Initialize qnan_value with
650 __builtin_nan family of functions.
651 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
653 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
655 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
656 storage class. Initialize qNaN_var and sNaN_var with
657 __builtin_nan and __builtin_nans families of functions,
660 * math/libm-test.inc (acosh_test): Also test with qNaN input.
661 (sqrt_test): Remove duplicate test with qNaN input.
662 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
663 (round_test, signbit_test, significand_test): Note missing +/-Inf
664 as well as qNaN tests.
666 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
667 qNaN_var. Fix a few strings, too.
668 * math/libm-test.inc (nan_value): Rename to qnan_value.
669 * math/gen-libm-test.pl (%beautify): Adjust to that.
670 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
671 * math/test-misc.c (main): Likewise.
672 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
673 to __qnan_bytes, and __qnan_union, respectively.
674 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
676 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
677 and lqnanval, respectively.
678 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
679 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
680 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
681 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
683 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
684 * math/test-misc.c (main) [__x86_64__]: Enable test for long
687 * math/test-misc.c (main): Fix copy'n'pastos.
688 * misc/tst-efgcvt.c (special): Likewise.
690 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
693 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
695 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
696 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
697 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
698 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
700 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
702 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
703 macro to return vdso values correctly in IFUNC implementations.
704 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
705 Optimization by using IFUNC.
707 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
708 Richard Henderson <rth@redhat.com>
709 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
711 * Makefile.in (bench): New target.
712 * NEWS: Mention the benchmark framework.
713 * Rules (bench): Likewise.
714 (binaries-bench): Generate binaries for functions to
716 * benchtests/Makefile: New makefile for benchmark tests.
717 * benchtests/bench-skeleton.c: New skeleton file for benchmark
719 * benchtests/exp-inputs: New input file for EXP function.
720 * benchtests/pow-inputs: New input file for POW function.
721 * scripts/bench.pl: New script to generate source files for
724 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
726 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
727 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
728 computations on mantissa. Use macros for rounding and
731 (__dbl_mp): Likewise.
732 (add_magnitudes): Likewise.
733 (sub_magnitudes): Likewise.
736 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
737 powers of two in terms of TWOPOW macro.
738 (mp_no): Make type of mantissa as MANTISSA_T.
739 [!RADIXI]: Define RADIXI.
740 [!TWO52]: Define TWO52.
741 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
743 * manual/nptl.texi (cindex): Modify threads to pthreads.
745 2013-03-15 Joseph Myers <joseph@codesourcery.com>
747 * sysdeps/x86_64/preconfigure: Regenerated.
749 2013-03-14 Joseph Myers <joseph@codesourcery.com>
752 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
754 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
755 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
757 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
758 * math/libm-test.inc (j0_test): Do not allow one spurious
762 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
764 * manual/Makefile (chapters): Add nptl.
765 * manual/debug.texi (Debugging Support): Add link to Threads
767 * manual/nptl.texi: New file.
769 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
771 2013-03-14 Petr Baudis <pasky@ucw.cz>
773 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
774 for non-NULL pointer before the memory validity test. Pointed
775 out by Holger Brunck <holger.brunck@keymile.com>.
777 2013-03-13 Andreas Schwab <schwab@suse.de>
779 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
782 2013-03-13 Joseph Myers <joseph@codesourcery.com>
784 * timezone/zic.c: Update from tzcode 2013b.
786 2013-03-12 Carlos O'Donell <carlos@redhat.com>
788 * manual/install.texi (Configuring and compiling):
789 Mention i686 and i586.
790 * INSTALL: Regenerate.
792 2013-03-12 Roland McGrath <roland@hack.frob.com>
794 * sysdeps/init_array/elf-init.c: New file.
796 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
797 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
799 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
800 __gmon_start__ as global, but as static with a .preinit_array pointer.
801 * sysdeps/init_array/gmon-start.c: New file. Use that.
802 * sysdeps/init_array/crti.S: New file, empty except for comments.
803 * sysdeps/init_array/crtn.S: Likewise.
805 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
807 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
810 Remove Prefer_SSE_for_memop.
811 * sysdeps/x86_64/multiarch/init-arch.h: Remove
812 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
813 HAS_PREFER_SSE_FOR_MEMOP.
814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
816 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
817 Remove bzero, memset ifunc support.
818 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
819 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
820 * sysdeps/x86_64/multiarch/memset.S: Likewise.
821 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
823 2013-03-11 Andreas Schwab <schwab@suse.de>
826 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
829 (GLIBC_2.16): Remove pthread_atfork.
831 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
833 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
834 (ptestcases.h): Likewise.
836 2013-03-08 Roland McGrath <roland@hack.frob.com>
838 * Makeconfig ($(common-objpfx)config.status): Depend on
839 sysdeps/*/preconfigure{,.in} too.
841 2013-03-08 Joseph Myers <joseph@codesourcery.com>
843 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
844 (__free_hook): Use void * instead of __malloc_ptr_t.
845 (__malloc_hook): Likewise.
846 (__realloc_hook): Likewise.
847 (__memalign_hook): Likewise.
848 (__after_morecore_hook): Likewise.
849 * malloc/arena.c (save_malloc_hook): Likewise.
850 (save_free_hook): Likewise.
851 * malloc/hooks.c (malloc_hook_ini): Likewise.
852 (realloc_hook_ini): Likewise.
853 (memalign_hook_ini): Likewise.
854 * malloc/malloc.c (malloc_hook_ini): Likewise.
855 (realloc_hook_ini): Likewise.
856 (memalign_hook_ini): Likewise.
857 (__free_hook): Likewise.
858 (__malloc_hook): Likewise.
859 (__realloc_hook): Likewise.
860 (__memalign_hook): Likewise.
861 (__libc_malloc): Likewise.
862 (__libc_free): Likewise.
863 (__libc_realloc): Likewise.
864 (__libc_memalign): Likewise.
865 (__libc_valloc): Likewise.
866 (__libc_pvalloc): Likewise.
867 (__libc_calloc): Likewise.
868 (__posix_memalign): Likewise.
869 * malloc/morecore.c (__sbrk): Likewise.
870 (__default_morecore): Likewise.
872 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
874 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
875 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
878 * malloc/malloc.h (__malloc_size_t): Remove macro.
879 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
881 (old_memalign_hook): Likewise.
882 (old_realloc_hook): Likewise.
883 (struct hdr): Likewise.
885 (mallochook): Likewise.
886 (memalignhook): Likewise.
887 (reallochook): Likewise.
888 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
889 (tr_old_realloc_hook): Likewise.
890 (tr_old_memalign_hook): Likewise.
891 (tr_mallochook): Likewise.
892 (tr_reallochook): Likewise.
893 (tr_memalignhook): Likewise.
895 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
897 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
898 default_ldbl_pack and using as default implementation.
899 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
901 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
902 redundant definition.
903 (ldbl_insert_mantissa): Likewise.
904 (ldbl_canonicalize): Likewise.
905 (ldbl_nearbyint): Likewise.
906 (ldbl_pack): Rename to ldbl_pack_ppc.
907 (ldbl_unpack): Rename to ldbl_unpack_ppc.
908 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
909 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
911 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
914 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
915 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
916 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
918 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
919 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
920 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
922 2013-03-07 Andreas Jaeger <aj@suse.de>
924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
927 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
929 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
930 Include mpa.h and declare __MPEXP.
931 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
932 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
933 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
934 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
935 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
936 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
937 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
939 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
940 (__slowpow): Use long double EXPL and LOGL functions to
942 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
943 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
944 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
945 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
946 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
947 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
950 intermediate variable to calculate exponent.
952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
956 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
957 [!NO__SQR]: Define __sqr.
958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
959 and NO__SQR. Remove all code except __mul and __sqr. Include
960 sysdeps/ieee754/dbl-64/mpa.c.
961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
964 * posix/Makefile (tests): Add tst-pathconf.
965 * posix/tst-pathconf.c: New test case.
966 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
968 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
970 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
972 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
974 2013-03-06 Andreas Jaeger <aj@suse.de>
976 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
977 definition via __MAP_ANONYMOUS.
979 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
980 it's not part of Linux headers.
982 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
983 (MAP_HUGE_MASK): Define.
985 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
987 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
988 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
990 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
991 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
993 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
994 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
996 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
998 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
999 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1000 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1001 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1002 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1003 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1005 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1008 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1009 Handle f2fs and efivarfs.
1011 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1014 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1015 (EFIVARFS_MAGIC): Add.
1016 (F2FS_LINK_MAX): Add.
1018 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1020 * stdio-common/vfprintf.c: Replace __builtin_expect with
1023 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1026 * sysdeps/generic/bp-sym.h: Remove file.
1027 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1028 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1029 <bp-sym.h> and <bp-asm.h>.
1030 (__longjmp): Don't use BP_SYM.
1031 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1033 (memcpy): Don't use BP_SYM.
1034 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1035 <bp-sym.h> and <bp-asm.h>.
1036 (memcpy): Don't use BP_SYM.
1037 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1039 (memcpy): Don't use BP_SYM.
1040 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1042 (memset): Don't use BP_SYM.
1043 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1044 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1045 (__bzero): Don't use BP_SYM.
1046 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1047 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1048 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1049 <bp-sym.h> and <bp-asm.h>.
1050 (memcmp): Don't use BP_SYM. Remove comment about bounded
1052 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1053 <bp-sym.h> and <bp-asm.h>.
1054 (memcpy): Don't use BP_SYM.
1055 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1056 <bp-sym.h> and <bp-asm.h>.
1057 (memset): Don't use BP_SYM.
1058 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1059 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1060 (__bzero): Don't use BP_SYM.
1061 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1062 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1063 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1064 <bp-sym.h> and <bp-asm.h>.
1065 (strncmp): Don't use BP_SYM. Remove comment about bounded
1067 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1068 <bp-sym.h> and <bp-asm.h>.
1069 (memcpy): Don't use BP_SYM.
1070 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1071 <bp-sym.h> and <bp-asm.h>.
1072 (memset): Don't use BP_SYM.
1073 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1074 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1075 (__bzero): Don't use BP_SYM.
1076 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1077 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1078 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1079 <bp-sym.h> and <bp-asm.h>.
1080 (__memchr): Don't use BP_SYM.
1081 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1082 <bp-sym.h> and <bp-asm.h>.
1083 (memcmp): Don't use BP_SYM. Remove comment about bounded
1085 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1086 <bp-sym.h> and <bp-asm.h>.
1087 (memcpy): Don't use BP_SYM.
1088 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1089 <bp-sym.h> and <bp-asm.h>.
1090 (__mempcpy): Don't use BP_SYM.
1091 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1092 <bp-sym.h> and <bp-asm.h>.
1093 (__memrchr): Don't use BP_SYM.
1094 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1095 <bp-sym.h> and <bp-asm.h>.
1096 (memset): Don't use BP_SYM.
1097 (__bzero): Likewise.
1098 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1099 <bp-sym.h> and <bp-asm.h>.
1100 (__rawmemchr): Don't use BP_SYM.
1101 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1102 <bp-sym.h> and <bp-asm.h>.
1103 (__STRCMP): Don't use BP_SYM.
1104 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1105 <bp-sym.h> and <bp-asm.h>.
1106 (strchr): Don't use BP_SYM.
1107 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1108 <bp-sym.h> and <bp-asm.h>.
1109 (__strchrnul): Don't use BP_SYM.
1110 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1111 <bp-sym.h> and <bp-asm.h>.
1112 (strlen): Don't use BP_SYM.
1113 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1114 <bp-sym.h> and <bp-asm.h>.
1115 (strncmp): Don't use BP_SYM. Remove comment about bounded
1117 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1118 <bp-sym.h> and <bp-asm.h>.
1119 (__strnlen): Don't use BP_SYM.
1120 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1121 <bp-sym.h> and <bp-asm.h>.
1122 (__GI__setjmp): Don't use BP_SYM.
1123 (_setjmp): Likewise.
1124 (__sigsetjmp): Likewise.
1125 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1126 (L(start_addresses)): Don't use BP_SYM.
1128 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1130 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1131 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1132 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1133 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1134 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1136 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1137 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1138 about bounded pointers.
1139 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1140 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1141 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1143 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1144 about bounded pointers. Remove GKM FIXME comments.
1145 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1146 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1148 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1149 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1150 Remove GKM FIXME comments.
1151 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1152 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1153 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1155 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1156 about bounded pointers. Remove GKM FIXME comment.
1157 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1159 (strncmp): Don't use BP_SYM. Remove comment about bounded
1161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1162 <bp-sym.h> and <bp-asm.h>.
1163 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1165 <bp-sym.h> and <bp-asm.h>.
1166 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1169 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1171 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1174 2013-03-05 David S. Miller <davem@davemloft.net>
1176 * po/es.po: Update from translation team.
1178 2013-03-05 Andreas Jaeger <aj@suse.de>
1180 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1181 <bits/mman-linux.h>.
1182 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1184 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1185 <bits/mman-linux.h> to end of file.
1186 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1188 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1189 <bits/mman-linux.h> to end of file.
1190 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1192 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1193 <bits/mman-linux.h> to end of file.
1195 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1196 (MCL_CURRENT, MCL_FUTURE): Define here.
1198 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1201 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1203 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1205 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1207 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1208 fourth parameter needed for rt_sigprocmask syscall.
1209 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1210 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1211 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1212 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1213 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1214 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1216 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1219 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1220 comment about bounded pointers.
1221 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1222 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1224 2013-03-04 Andreas Jaeger <aj@suse.de>
1226 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1229 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1230 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1231 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1232 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1233 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1234 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1236 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1239 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1240 __ieee754_sqrl instead of __sqrl.
1242 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1244 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1245 * sysdeps/powerpc/fpu_control.h: ... here.
1246 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1247 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1248 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1249 * sysdeps/powerpc/bits/mathinline.h: ... here.
1251 2013-03-01 Roland McGrath <roland@hack.frob.com>
1253 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1254 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1255 to just [NEED_DL_SYSINFO_DSO].
1256 * elf/dl-support.c: Likewise.
1257 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1258 * elf/rtld.c (dl_main): Likewise.
1259 * elf/setup-vdso.h (setup_vdso): Likewise.
1260 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1261 * sysdeps/unix/sysv/linux/dl-sysdep.c
1262 (_dl_discover_osversion): Likewise.
1264 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1266 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1267 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1269 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1271 * NEWS: Mention libm performance improvements and non-x86 PI
1274 * csu/libc-start.c (__pthread_initialize_minimal): Change
1276 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1278 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1281 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1282 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1283 <bp-sym.h> and <bp-asm.h>.
1284 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1285 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1287 (memcpy): Don't use BP_SYM.
1288 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1290 (__mpn_add_n): Don't use BP_SYM.
1291 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1292 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1294 (__mpn_addmul_1): Don't use BP_SYM.
1295 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1296 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1298 (_setjmp): Don't use BP_SYM.
1299 (__novmx_setjmp): Likewise.
1300 (__GI__setjmp): Likewise.
1301 (__vmx_setjmp): Likewise.
1302 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1304 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1305 (__bzero): Don't use BP_SYM.
1306 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1307 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1308 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1309 <bp-sym.h> and <bp-asm.h>.
1310 (memcpy): Don't use BP_SYM.
1311 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1312 <bp-sym.h> and <bp-asm.h>.
1313 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1314 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1315 <bp-sym.h> and <bp-asm.h>.
1316 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1317 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1319 (__mpn_lshift): Don't use BP_SYM.
1320 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1321 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1323 (memset): Don't use BP_SYM.
1324 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1325 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1326 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1328 (__mpn_mul_1): Don't use BP_SYM.
1329 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1330 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1331 <bp-sym.h> and <bp-asm.h>.
1332 (memcmp): Don't use BP_SYM.
1333 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1334 <bp-sym.h> and <bp-asm.h>.
1335 (memcpy): Don't use BP_SYM.
1336 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1337 <bp-sym.h> and <bp-asm.h>.
1338 (memset): Don't use BP_SYM.
1339 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1340 <bp-sym.h> and <bp-asm.h>.
1341 (strncmp): Don't use BP_SYM.
1342 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1343 <bp-sym.h> and <bp-asm.h>.
1344 (memcpy): Don't use BP_SYM.
1345 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1346 <bp-sym.h> and <bp-asm.h>.
1347 (memset): Don't use BP_SYM.
1348 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1349 <bp-sym.h> and <bp-asm.h>.
1350 (__memchr): Don't use BP_SYM.
1351 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1352 <bp-sym.h> and <bp-asm.h>.
1353 (memcmp): Don't use BP_SYM.
1354 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1355 <bp-sym.h> and <bp-asm.h>.
1356 (memcpy): Don't use BP_SYM.
1357 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1358 <bp-sym.h> and <bp-asm.h>.
1359 (__mempcpy): Don't use BP_SYM.
1360 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1361 <bp-sym.h> and <bp-asm.h>.
1362 (__memrchr): Don't use BP_SYM.
1363 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1364 <bp-sym.h> and <bp-asm.h>.
1365 (memset): Don't use BP_SYM.
1366 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1367 <bp-sym.h> and <bp-asm.h>.
1368 (__rawmemchr): Don't use BP_SYM.
1369 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1370 <bp-sym.h> and <bp-asm.h>.
1371 (__STRCMP): Don't use BP_SYM.
1372 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1373 <bp-sym.h> and <bp-asm.h>.
1374 (strchr): Don't use BP_SYM.
1375 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1376 <bp-sym.h> and <bp-asm.h>.
1377 (__strchrnul): Don't use BP_SYM.
1378 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1379 <bp-sym.h> and <bp-asm.h>.
1380 (strlen): Don't use BP_SYM.
1381 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1382 <bp-sym.h> and <bp-asm.h>.
1383 (strncmp): Don't use BP_SYM.
1384 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1385 <bp-sym.h> and <bp-asm.h>.
1386 (__strnlen): Don't use BP_SYM.
1387 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1389 (__mpn_rshift): Don't use BP_SYM.
1390 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1391 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1392 <bp-sym.h> and <bp-asm.h>.
1393 (__sigsetjmp): Don't use BP_SYM.
1394 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1395 (L(start_addresses)): Don't use BP_SYM.
1397 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1399 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1400 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1401 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1402 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1404 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1405 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1406 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1407 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1409 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1411 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1412 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1414 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1416 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1417 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1418 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1420 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1422 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1424 (strncmp): Don't use BP_SYM,
1425 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1427 (__mpn_sub_n): Don't use BP_SYM.
1428 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1429 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1431 (__mpn_submul_1): Don't use BP_SYM.
1432 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1434 <bp-sym.h> and <bp-asm.h>.
1435 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1437 <bp-sym.h> and <bp-asm.h>.
1438 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1441 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1444 Use ZK to minimize writes to Z.
1445 (sub_magnitudes): Simplify code a bit.
1446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1447 Use ZK to minimize writes to Z.
1448 (sub_magnitudes): Simplify code a bit.
1450 2013-02-27 Roland McGrath <roland@hack.frob.com>
1452 * csu/gmon-start.c: Add special exception to license text.
1454 2013-02-27 Richard Henderson <rth@redhat.com>
1456 * scripts/config.guess: Update from config.git.
1457 * scripts/config.sub: Likewise.
1459 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1461 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1463 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1465 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1467 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1469 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1471 2013-02-26 Roland McGrath <roland@hack.frob.com>
1473 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1474 [$(build-shared = yes].
1476 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1478 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1479 (__mul): Reduce iterations for calculating mantissa.
1481 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1483 (__mpranred): Likewise.
1486 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1487 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1489 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1491 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1492 Define __attribute__.
1494 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1496 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1498 * posix/regex_internal.h (__attribute): Remove.
1499 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1500 (re_string_context_at): Likewise.
1501 (bitset_not): Use __attribute__ and mark function as possibly
1503 (bitset_merge): Likewise.
1504 (bitset_mask): Likewise.
1505 (re_string_char_size_at): Likewise.
1506 (re_string_wchar_at): Likewise.
1507 (re_string_elem_size_at): Likewise.
1509 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1511 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1515 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1520 (__dbl_mp): Likewise.
1521 (add_magnitudes): Likewise.
1522 (sub_magnitudes): Likewise.
1526 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1529 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1532 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1536 up changes with default code.
1537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1540 2013-02-24 Allan McRae <allan@archlinux.org>
1542 * manual/socket.texi (The Internet Namespace): Order menu items
1543 to match that in the file.
1545 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1546 node listing of the info page menu.
1548 2013-02-21 Joseph Myers <joseph@codesourcery.com>
1551 * sysdeps/i386/bp-asm.h: Remove file.
1552 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1553 (PARMS): Do not use macros from bp-asm.h.
1557 (__mpn_add_n): Do not use BP_SYM
1558 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1560 (PARMS): Do not use macros from bp-asm.h.
1563 (__mpn_addmul_1): Do not use BP_SYM
1564 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1566 (PARMS): Do not use macros from bp-asm.h.
1568 (_setjmp): Likewise. Do not use BP_SYM.
1569 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1571 (PARMS): Do not use macros from bp-asm.h.
1573 (setjmp): Likewise. Do not use BP_SYM.
1574 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1576 (PARMS): Do not use macros from bp-asm.h.
1577 (__frexp): Do not use BP_SYM.
1579 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1581 (PARMS): Do not use macros from bp-asm.h.
1582 (__frexpf): Do not use BP_SYM.
1584 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1586 (PARMS): Do not use macros from bp-asm.h.
1587 (__frexpl): Do not use BP_SYM.
1589 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1591 (PARMS): Do not use macros from bp-asm.h.
1592 (__remquo): Do not use BP_SYM.
1594 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1596 (PARMS): Do not use macros from bp-asm.h.
1597 (__remquof): Do not use BP_SYM.
1598 (remquof): Likewise.
1599 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1601 (PARMS): Do not use macros from bp-asm.h.
1602 (__remquol): Do not use BP_SYM.
1603 (remquol): Likewise.
1604 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1606 (PARMS): Do not use macros from bp-asm.h.
1609 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1610 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1612 (PARMS): Do not use macros from bp-asm.h.
1613 (strlen): Do not use BP_SYM.
1614 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1616 (PARMS): Do not use macros from bp-asm.h.
1620 (__mpn_add_n): Do not use BP_SYM.
1621 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1623 (PARMS): Do not use macros from bp-asm.h.
1626 (__mpn_addmul_1): Do not use BP_SYM.
1627 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1630 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1632 (PARMS): Do not use macros from bp-asm.h.
1635 (__mpn_lshift): Do not use BP_SYM.
1636 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1638 (PARMS): Do not use macros from bp-asm.h.
1642 (memcpy): Likewise. Do not use BP_SYM.
1643 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1644 libc_hidden_def and weak_alias.
1645 (mempcpy): Do not use BP_SYM in weak_alias.
1646 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1648 (PARMS): Do not use macros from bp-asm.h.
1651 [!BZERO_P] (CHR): Likewise.
1652 (memset): Likewise. Do not use BP_SYM.
1653 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1655 (PARMS): Do not use macros from bp-asm.h.
1658 (__mpn_mul_1): Do not use BP_SYM.
1659 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1661 (PARMS): Do not use macros from bp-asm.h.
1664 (__mpn_rshift): Do not use BP_SYM.
1665 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1667 (PARMS): Do not use macros from bp-asm.h.
1670 (strchr): Likewise. Do not use BP_SYM.
1671 (index): Do not use BP_SYM in weak_alias.
1672 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1674 (PARMS): Do not use macros from bp-asm.h.
1677 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1678 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1680 (PARMS): Do not use macros from bp-asm.h.
1681 (strlen): Do not use BP_SYM.
1682 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1684 (PARMS): Do not use macros from bp-asm.h.
1688 (__mpn_sub_n): Do not use BP_SYM.
1689 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1691 (PARMS): Do not use macros from bp-asm.h.
1694 (__mpn_submul_1): Do not use BP_SYM.
1695 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1697 (PARMS): Do not use macros from bp-asm.h.
1701 (__mpn_add_n): Do not use BP_SYM.
1702 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1705 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1707 (PARMS): Do not use macros from bp-asm.h.
1710 (memcmp): Do not use BP_SYM.
1711 (bcmp): Do not use BP_SYM in weak_alias.
1712 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1714 (PARMS): Do not use macros from bp-asm.h.
1718 (memcpy): Likewise. Do not use BP_SYM.
1719 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1721 (PARMS): Do not use macros from bp-asm.h.
1725 (memmove): Likewise. Do not use BP_SYM.
1726 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1728 (PARMS): Do not use macros from bp-asm.h.
1732 (__mempcpy): Likewise. Do not use BP_SYM.
1733 (mempcpy): Do not use BP_SYM in weak_alias.
1734 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1736 (PARMS): Do not use macros from bp-asm.h.
1739 [!BZERO_P] (CHR): Likewise.
1740 (memset): Likewise. Do not use BP_SYM.
1741 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1743 (PARMS): Do not use macros from bp-asm.h.
1745 (strcmp): Do not use BP_SYM.
1746 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1748 (PARMS): Do not use macros from bp-asm.h.
1751 [USE_AS_STRTOK_R] (SAVE): Likewise.
1752 (FUNCTION): Likewise. Do not use BP_SYM.
1753 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1755 (strtok_r): Likewise.
1756 (__GI___strtok_r): Likewise.
1757 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1758 (PARMS): Do not use macros from bp-asm.h.
1761 (__mpn_lshift): Do not use BP_SYM.
1762 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1763 (PARMS): Do not use macros from bp-asm.h.
1766 (__memchr): Do not use BP_SYM.
1767 (memchr): Do not use BP_SYM in weak_alias.
1768 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1769 (PARMS): Do not use macros from bp-asm.h.
1772 (memcmp): Do not use BP_SYM.
1773 (bcmp): Do not use BP_SYM in weak_alias.
1774 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1775 (PARMS): Do not use macros from bp-asm.h.
1778 (__mpn_mul_1): Do not use BP_SYM.
1779 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1781 (PARMS): Do not use macros from bp-asm.h.
1784 (__rawmemchr): Do not use BP_SYM.
1785 (rawmemchr): Do not use BP_SYM in weak_alias.
1786 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1787 (PARMS): Do not use macros from bp-asm.h.
1790 (__mpn_rshift): Do not use BP_SYM.
1791 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1792 (PARMS): Do not use macros from bp-asm.h.
1794 (__sigsetjmp): Likewise. Do not use BP_SYM.
1795 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1796 (_start): Do not use BP_SYM.
1797 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1798 (PARMS): Do not use macros from bp-asm.h.
1801 (__stpcpy): Likewise. Do not use BP_SYM.
1802 (stpcpy): Do not use BP_SYM in weak_alias.
1803 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1805 (PARMS): Do not use macros from bp-asm.h.
1809 (__stpncpy): Likewise. Do not use BP_SYM.
1810 (stpncpy): Do not use BP_SYM in weak_alias.
1811 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1812 (PARMS): Do not use macros from bp-asm.h.
1815 (strchr): Likewise. Do not use BP_SYM.
1816 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1818 (PARMS): Do not use macros from bp-asm.h.
1821 (__strchrnul): Likewise. Do not use BP_SYM.
1822 (strchrnul): Do not use BP_SYM in weak_alias.
1823 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1825 (PARMS): Do not use macros from bp-asm.h.
1827 (strcspn): Do not use BP_SYM.
1828 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1830 (PARMS): Do not use macros from bp-asm.h.
1833 (strpbrk): Likewise. Do not use BP_SYM.
1834 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1836 (PARMS): Do not use macros from bp-asm.h.
1839 (strrchr): Likewise. Do not use BP_SYM.
1840 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1841 (PARMS): Do not use macros from bp-asm.h.
1843 (strspn): Do not use BP_SYM.
1844 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1845 (PARMS): Do not use macros from bp-asm.h.
1849 (FUNCTION): Likewise. Do not use BP_SYM.
1850 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1852 (strtok_r): Likewise.
1853 (__GI___strtok_r): Likewise.
1854 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1855 (PARMS): Do not use macros from bp-asm.h.
1859 (__mpn_sub_n): Do not use BP_SYM.
1860 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1862 (PARMS): Do not use macros from bp-asm.h.
1865 (__mpn_submul_1): Do not use BP_SYM.
1866 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1868 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1870 (PARMS): Do not use macros from bp-asm.h.
1875 (__clone): Do not use BP_SYM.
1876 (clone): Do not use BP_SYM in weak_alias.
1877 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1879 (PARMS): Do not use macros from bp-asm.h.
1881 (__mmap64): Do not use BP_SYM.
1882 (mmap64): Do not use BP_SYM in weak_alias.
1883 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1884 <bp-sym.h> and <bp-asm.h>.
1885 (PARMS): Do not use macros from bp-asm.h.
1886 (__posix_fadvise64_l64): Do not use BP_SYM.
1887 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1888 (PARMS): Do not use macros from bp-asm.h.
1890 (semtimedop): Do not use BP_SYM.
1891 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1894 2013-02-21 Allan McRae <allan@archlinux.org>
1896 * manual/message.texi (Charset conversion in gettext):
1897 Move @end statement to beginning of line.
1899 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1906 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1911 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1913 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1914 tail-call to the resolved function if pltexit isn't needed.
1916 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1919 or Y being zero as being unlikely.
1920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1923 2013-02-20 Carlos O'Donell <carlos@redhat.com>
1925 * manual/nss.texi (System Databases and Name Service Switch):
1926 Remove frobnicate @pxref.
1928 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1930 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1931 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1933 2013-02-20 Petr Machata <pmachata@redhat.com>
1935 * elf/elf.h (R_ARM_TARGET1): New macro.
1936 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1937 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1938 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1939 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1940 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1941 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1942 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1943 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1944 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1945 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1946 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1947 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1948 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1949 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1950 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1951 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1952 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1953 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1954 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1955 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1956 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1957 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1958 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1959 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1960 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1961 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1962 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1963 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1964 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1965 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1966 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1967 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1968 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1969 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1970 (R_ARM_THM_GOT_BREL12): Likewise.
1971 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1972 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1973 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1974 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1975 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1976 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1977 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1978 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1979 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1981 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1983 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1984 __attribute_used__ to __attribute__ ((unused)).
1986 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1988 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1994 2013-02-19 Joseph Myers <joseph@codesourcery.com>
1997 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1999 (ENTER): Remove both macro definitions.
2001 (CHECK_BOUNDS_LOW): Likewise.
2002 (CHECK_BOUNDS_HIGH): Likewise.
2003 (CHECK_BOUNDS_BOTH): Likewise.
2004 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2005 (RETURN_BOUNDED_POINTER): Likewise.
2006 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2007 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2008 (POP_ERRNO_LOCATION_RETURN): Likewise.
2009 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2010 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2011 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2013 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2014 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2015 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2016 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2017 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2018 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2019 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2020 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2021 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2022 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2023 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2024 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2025 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2026 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2028 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2029 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2031 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2032 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2033 * sysdeps/i386/i586/memset.S (memset): Likewise.
2034 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2035 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2036 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2038 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2039 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2040 Change uses of L(2) to L(out).
2041 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2042 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2043 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2044 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2045 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2047 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2048 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2050 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2051 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2052 (RETURN): Do not use macro LEAVE.
2053 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2054 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2055 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2056 * sysdeps/i386/i686/memset.S (memset): Likewise.
2057 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2058 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2059 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2060 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2062 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2063 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2064 L(1_2) and L(1_3) into L(1).
2065 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2066 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2067 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2068 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2069 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2070 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2071 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2072 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2073 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2075 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2076 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2077 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2078 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2079 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2080 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2081 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2082 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2083 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2084 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2085 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2086 * sysdeps/i386/strspn.S (strspn): Likewise.
2087 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2089 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2090 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2091 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2092 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2094 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2095 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2096 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2098 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2100 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2102 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2105 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2107 * math/atest-exp.c (exp_mpn): Remove ROUND.
2108 * math/atest-exp2.c (exp_mpn): Likewise.
2109 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2111 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2112 * stdlib/tst-tls-atexit-lib.c: Likewise.
2113 * stdlib/tst-tls-atexit.c: Likewise.
2115 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2117 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2118 and __attribute_alloc_size__.
2120 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2122 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2123 __attribute_alloc_size__.
2124 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2125 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2127 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2129 * include/programs/xmalloc.h: New file.
2130 * catgets/gencat.c: Include it.
2131 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2132 * elf/pldd.c: Likewise.
2133 * iconv/iconv_charmap.c: Likewise.
2134 * iconv/iconvconfig.c: Likewise.
2135 * iconv/strtab.c: Likewise.
2136 * locale/programs/locale.c: Likewise.
2137 * locale/programs/localedef.h: Likewise.
2138 * locale/programs/simple-hash.c: Likewise.
2139 * nscd/nscd.h: Likewise.
2140 * nss/makedb.c: Likewise.
2141 * sysdeps/generic/ldconfig.h: Likewise.
2143 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2145 * Versions.def: Add GLIBC_2.18.
2146 * include/link.h (struct link_map): New member l_tls_dtor_count.
2147 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2148 (__call_tls_dtors): Likewise.
2149 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2150 __cxa_thread_atexit_impl.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2159 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2167 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2168 (tests): Add test case tst-tls-atexit.
2169 (modules-names): Add shared library for tst-tls-atexit.
2170 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2171 (GLIBC_PRIVATE): Add __call_tls_dtors.
2172 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2174 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2175 * stdlib/tst-tls-atexit.c: New test case.
2176 * stdlib/tst-tls-atexit-lib.c: New test case.
2178 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2180 * elf/Versions (ld): Add _dl_find_dso_for_object.
2181 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2182 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2183 (dl_open_worker): Use _dl_find_dso_for_object.
2184 * elf/dl-sym.c (do_sym): Likewise.
2185 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2187 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2189 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2190 Syntactic changes only.
2191 (_dl_runtime_profile): Do a tail-call to the resolved function.
2193 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2196 * sysdeps/x86_64/bp-asm.h: Remove file.
2197 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2198 <bp-sym.h> and <bp-asm.h>.
2199 (__clone): Do not use BP_SYM.
2200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2201 <bp-sym.h> and <bp-asm.h>.
2202 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2203 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2205 (_setjmp): Do not use BP_SYM.
2206 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2208 (setjmp): Do not use BP_SYM.
2209 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2211 (mempcpy): Do not use BP_SYM in weak_alias.
2212 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2214 (strchr): Do not use BP_SYM.
2215 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2217 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2218 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2219 (_start): Do not use BP_SYM.
2220 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2222 (strcat): Do not use BP_SYM.
2223 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2225 (STRCMP): Do not use BP_SYM.
2226 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2228 (STRCPY): Do not use BP_SYM.
2229 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2231 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2233 (FUNCTION): Do not use BP_SYM.
2234 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2236 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2238 2013-02-17 Andreas Jaeger <aj@suse.de>
2240 * time/Versions: Sort entries.
2241 * string/Versions: Likewise.
2242 * resolv/Versions: Likewise.
2243 * posix/Versions: Likewise.
2244 * iconv/Versions: Likewise.
2245 * elf/Versions: Likewise.
2246 * wcsmbs/Versions: Likewise.
2248 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2250 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2251 loop termination condition.
2253 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2254 variable to calculate EZ.
2257 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2258 the lower precision input.
2260 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2263 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2264 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2265 (run-via-rtld-prefix): Do not handle %-bp tests.
2266 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2267 (all-object-suffixes): Remove .ob.
2268 (bppfx): Remove variable.
2269 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2270 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2271 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2272 [$(build-bounded) = yes] (libtype.ob): Likewise.
2273 * Makerules (elide-routines.ob): Remove variable.
2274 (do-tests-clean): Do not handle *-bp.out.
2275 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2276 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2277 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2278 (tests): Do not include $(tests-bp.out).
2279 (xtests): Do not include $(xtests-bp.out).
2280 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2281 [$(build-bounded) = yes] ($(addprefix
2282 $(objpfx),$(binaries-bounded))): Remove rule.
2283 ($(objpfx)%-bp.out): Remove rule.
2284 * config.make.in (build-bounded): Remove variable.
2285 * crypt/Makefile [$(build-bounded) = yes]
2286 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2287 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2289 [$(build-bounded) = yes] (install-lib): Likewise.
2290 [$(build-bounded) = yes] (generated): Likewise.
2291 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2293 * intl/Makefile [$(build-bounded) = yes]
2294 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2295 * math/Makefile [$(build-bounded) = yes]
2296 ($(tests:%=$(objpfx)%-bp): Likewise.
2297 * misc/Makefile [$(build-bounded) = yes]
2298 ($(objpfx)tst-tsearch-bp): Likewise.
2299 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2300 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2302 * string/Makefile (o-objects.ob): Remove variable.
2303 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2304 (CFLAGS-.ob): Remove variable.
2305 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2306 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2307 both definitions of variable.
2308 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2309 (ASFLAGS-.ob): Remove variable.
2311 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2314 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2315 Remove __BOUNDED_POINTERS__ from condition.
2316 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2317 * string/bits/string2.h [!__NO_STRING_INLINES &&
2318 !__BOUNDED_POINTERS__]: Likewise.
2319 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2321 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2322 Remove conditional code.
2323 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2324 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2325 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2329 * csu/libc-start.c: Do not include <bp-sym.h>.
2330 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2331 * elf/dl-open.c: Do not include <bp-sym.h>.
2332 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2333 * math/fegetenv.c: Do not include <bp-sym.h>.
2334 (fegetenv): Do not use BP_SYM in versioned symbols.
2335 * nptl/sysdeps/pthread/bits/libc-lockP.h
2336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2339 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2341 (__pthread_mutex_destroy): Likewise.
2342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2343 (__pthread_mutex_lock): Likewise.
2344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2345 (__pthread_mutex_trylock): Likewise.
2346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2347 (__pthread_mutex_unlock): Likewise.
2348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2349 (__pthread_mutexattr_init): Likewise.
2350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2351 (__pthread_mutexattr_destroy): Likewise.
2352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2353 (__pthread_mutexattr_settype): Likewise.
2354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2355 (__pthread_rwlock_init): Likewise.
2356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2357 (__pthread_rwlock_destroy): Likewise.
2358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2359 (__pthread_rwlock_rdlock): Likewise.
2360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2361 (__pthread_rwlock_tryrdlock): Likewise.
2362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2363 (__pthread_rwlock_wrlock): Likewise.
2364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2365 (__pthread_rwlock_trywrlock): Likewise.
2366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2367 (__pthread_rwlock_unlock): Likewise.
2368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2369 (__pthread_key_create): Likewise.
2370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2371 (__pthread_setspecific): Likewise.
2372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2373 (__pthread_getspecific): Likewise.
2374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2377 (_pthread_cleanup_push_defer): Likewise.
2378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2379 (_pthread_cleanup_pop_restore): Likewise.
2380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2381 (pthread_setcancelstate): Likewise.
2382 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2384 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2385 (memchr): Do not use BP_SYM in weak_alias.
2386 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2387 (fegetenv): Do not use BP_SYM in versioned symbols.
2388 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2389 (fesetenv): Do not use BP_SYM in versioned symbols.
2390 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2391 (feupdateenv): Do not use BP_SYM in versioned symbols.
2392 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2393 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2394 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2395 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2396 (open64): Do not use BP_SYM in weak_alias.
2397 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2398 (fegetenv): Do not use BP_SYM in versioned symbols.
2399 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2400 (fesetenv): Do not use BP_SYM in versioned symbols.
2401 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2402 (feupdateenv): Do not use BP_SYM in versioned symbols.
2403 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2404 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2405 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2406 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2407 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2408 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2409 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2411 (__libc_start_main): Do not use BP_SYM.
2413 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2416 redundant return line.
2420 (sub_magnitudes): Likewise.
2426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2430 (sub_magnitudes): Likewise.
2437 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2439 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2440 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2443 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2444 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2445 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2446 of __mul for squares.
2447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2451 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2452 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2454 2013-02-13 Joseph Myers <joseph@codesourcery.com>
2457 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2459 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2460 prototype or function definition. Rename ubp_* variables and
2461 parameters. Remove argv definitions conditional on
2462 [__BOUNDED_POINTERS__].
2463 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2464 * elf/dl-runtime.c (_dl_fixup): Likewise.
2465 * include/set-hooks.h (RUN_HOOK): Likewise.
2466 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2468 * string/strcpy.c (strcpy): Do not use __unbounded.
2469 * sysdeps/generic/frame.h (struct layout): Likewise.
2470 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2471 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2472 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2473 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2474 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2475 (__backtrace): Likewise.
2476 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2478 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2479 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2480 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2482 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2483 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2484 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2485 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2486 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2487 Do not use __unbounded.
2488 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2489 Rename __unboundedrlimits parameter to rlimits in prototype.
2490 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2491 Do not use __unbounded.
2492 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2494 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2495 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2496 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2497 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2498 __ptrvalue or __unbounded.
2499 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2500 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2502 (__new_msgctl): Do not use __ptrvalue.
2503 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2505 (__libc_msgrcv): Do not use __ptrvalue.
2506 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2507 startup_info): Do not use __unbounded.
2508 (__libc_start_main): Likewise. Rename ubp_* variables and
2509 parameters. Remove argv definitions conditional on
2510 [__BOUNDED_POINTERS__].
2511 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2513 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2515 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2517 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2519 (__new_shmctl): Do not use __ptrvalue.
2520 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2521 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2523 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2524 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2525 (__libc_sigaction): Likewise.
2526 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2527 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2529 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2531 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
2533 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2535 * string/mempcpy.c: Implement by calling memcpy.
2537 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2539 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2541 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2544 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2545 values in the mantissa.
2547 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2548 minimize writes to Z.
2549 (sub_magnitudes): Simplify code a bit.
2551 2013-02-12 Roland McGrath <roland@hack.frob.com>
2553 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2554 from the message. The linker prefixes all warnings with that already.
2556 2013-02-12 Andreas Schwab <schwab@suse.de>
2559 * posix/regexec.c (extend_buffers): Add parameter min_len.
2560 (check_matching): Pass minimum needed length.
2561 (clean_state_log_if_needed): Likewise.
2562 (get_subexp): Likewise.
2563 * posix/Makefile (tests): Add bug-regex34.
2564 (bug-regex34-ENV): Define.
2565 * posix/bug-regex34.c: New file.
2568 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2569 elements compare against the byte sequence of it, not its name.
2570 * posix/Makefile (tests): Add bug-regex35.
2571 (bug-regex35-ENV): Define.
2572 * posix/bug-regex35.c: New file.
2574 2013-02-11 Tom de Vries <tom@codesourcery.com>
2576 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2578 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2579 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2580 (CHECK_EOL): Add undef.
2582 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
2584 * bits/stdlib-bsearch.h: New file.
2585 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2586 * stdlib/stdlib.h: Likewise.
2588 2013-02-11 Roland McGrath <roland@hack.frob.com>
2590 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2591 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2593 * manual/search.texi (Array Search Function): Add missing const in
2595 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2596 declaration to use rlim_t.
2597 (Basic Scheduling Functions): Remove erroneous const from
2598 sched_getparam prototype. Remove erroneous * from
2599 sched_get_priority_max and sched_get_priority_min prototypes.
2600 (Resource Usage): Fix summary @comment on vtimes to refer to
2601 sys/vtimes.h rather than vtimes.h.
2602 Add missing *s in vtimes prototype.
2603 (Limits on Resources): Fix ulimit prototype to return long int.
2604 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2605 prototypes to use long int rather than double.
2606 (BSD Random): Fix initstate and setstate to use char *, not void *.
2607 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2608 prototype to make second argument 'struct aiocb64 *const[]'.
2609 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2610 (Status of AIO Operations): Remove erroneous const in aio_return and
2611 aio_return64 prototypes.
2612 (Synchronizing I/O): Fix sync prototype to return void.
2613 * manual/startup.texi (Suboptions): Remove an erroneous const in
2614 getsubopt prototype.
2615 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2616 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2617 use size_t rather than int.
2618 (Scanning All Users): Likewise for getpwent_r.
2619 (Setting Groups): Add missing const to setgroups prototype.
2620 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2621 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2622 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2623 'const void *' rather than 'const char *'.
2624 (Host Address Functions): Likewise for inet_ntop.
2625 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2626 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2627 ssize_t for return value.
2628 (Sending Data): Likewise for send, sendto, sendmsg.
2629 (Socket Option Functions): Add a missing const in setsockopt prototype.
2630 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2631 use wchar_t for the argument.
2632 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2633 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2635 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2636 double/float/long double for second argument.
2637 Fix return types of significand, significandf, significandl.
2638 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2639 argument in fchmod prototype.
2640 (File Owner): Use uid_t and gid_t in fchown prototype.
2641 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2642 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2643 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2644 use 'const struct dirent **' as argument types to CMP function pointer
2646 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2647 (File Times): Fix summary magic @comment for struct utimbuf and utime
2648 to refer to utime.h, not time.h.
2649 * manual/string.texi (Argz Functions): Add missing const in
2650 argz_extract and argz_next prototypes.
2651 (Finding Tokens in a String): Likewise for basename.
2652 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2653 (Copying and Concatenation): Fix typo in wmemmove prototype.
2654 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2655 (Signal Stack): Remove erroneous const in sigstack prototype.
2656 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2658 (Simple Calendar Time): Likewise for stime.
2659 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2661 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2662 say sys/sysctl.h instead.
2663 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2664 and vsyslog prototypes.
2666 2013-02-11 Tom de Vries <tom@codesourcery.com>
2668 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2671 2013-02-11 Roland McGrath <roland@hack.frob.com>
2673 * misc/sys/mman.h: Fix typo in mremap comment.
2675 2013-02-08 Roland McGrath <roland@hack.frob.com>
2677 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2678 the '\0' terminator.
2680 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2683 * debug/segfault.c: Don't include <bp-checks.h>.
2684 * sysdeps/generic/bp-checks.h: Remove file.
2685 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2686 (__GETDENTS): Don't use CHECK_N.
2687 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2688 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2689 (__getgroups): Don't use CHECK_N.
2690 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2691 (setgroups): Don't use CHECK_N.
2692 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2693 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2694 (__libc_msgrcv): Don't use CHECK_N.
2695 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2696 (__libc_msgsnd): Don't use CHECK_N.
2697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2699 (__libc_pread): Don't use CHECK_N.
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2701 include <bp-checks.h>.
2702 (__libc_pread64): Don't use CHECK_N.
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2704 include <bp-checks.h>.
2705 (__libc_pwrite): Don't use CHECK_N.
2706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2707 include <bp-checks.h>.
2708 (__libc_pwrite64): Don't use CHECK_N.
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2711 (__libc_pread): Don't use CHECK_N.
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2713 include <bp-checks.h>.
2714 (__libc_pread64): Don't use CHECK_N.
2715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2716 include <bp-checks.h>.
2717 (__libc_pwrite): Don't use CHECK_N.
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2719 include <bp-checks.h>.
2720 (__libc_pwrite64): Don't use CHECK_N.
2721 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2722 (do_pread): Don't use CHECK_N.
2723 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2724 (do_pread64): Don't use CHECK_N.
2725 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2726 (do_pwrite): Don't use CHECK_N.
2727 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2728 (do_pwrite64): Don't use CHECK_N.
2729 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2730 (__libc_readv): Don't use CHECK_N.
2731 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2732 (semop): Don't use CHECK_N.
2733 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2735 (semtimedop): Don't use CHECK_N.
2736 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2737 (__libc_pread): Don't use CHECK_N.
2738 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2740 (__libc_pread64): Don't use CHECK_N.
2741 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2743 (__libc_pwrite): Don't use CHECK_N.
2744 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2746 (__libc_pwrite64): Don't use CHECK_N.
2747 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2749 (__libc_msgrcv): Don't use CHECK_N.
2750 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2751 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2752 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2753 (__libc_writev): Don't use CHECK_N.
2755 2013-02-08 Roland McGrath <roland@hack.frob.com>
2757 * string/strcpy.c: Removed unused variable.
2759 * Makeconfig (+sysdep-includes): Define with := rather than =.
2760 Use an existing include/ subdir of each sysdeps dir before it.
2762 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2764 * nscd/connection.c (register_traced_file): Comment function.
2765 [HAVE_INOTIFY] (union __inev): Define.
2766 [HAVE_INOTIFY] (inotify_check_files): New function.
2767 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2768 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2770 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2772 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2774 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2775 loaded if not already and that a failure is permanent.
2777 2013-02-08 Carlos O'Donell <carlos@redhat.com>
2780 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2781 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2783 2013-02-08 Joseph Myers <joseph@codesourcery.com>
2786 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2787 (CHECK_1_NULL_OK): Likewise.
2788 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2789 (__fxstat): Do not use CHECK_1.
2790 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2792 (___fxstat64): Do not use CHECK_1.
2793 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2795 (__fxstatat): Do not use CHECK_1.
2796 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2798 (__fxstatat64): Do not use CHECK_1.
2799 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2801 (__fxstat): Do not use CHECK_1.
2802 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2804 (__fxstatat): Do not use CHECK_1.
2805 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2807 (__getresgid): Do not use CHECK_1.
2808 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2810 (__getresuid): Do not use CHECK_1.
2811 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2813 (__lxstat): Do not use CHECK_1.
2814 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2816 (__old_msgctl): Do not use CHECK_1.
2817 (__new_msgctl): Likewise.
2818 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2820 (__new_setrlimit): Do not use CHECK_1.
2821 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2823 (__old_shmctl): Do not use CHECK_1.
2824 (__new_shmctl): Likewise.
2825 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2827 (__xstat): Do not use CHECK_1.
2828 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2829 (__lxstat): Do not use CHECK_1.
2830 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2832 (___lxstat64): Do not use CHECK_1.
2833 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2834 (__old_msgctl): Do not use CHECK_1.
2835 (__new_msgctl): Likewise.
2836 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2838 (__gettimeofday): Do not use CHECK_1.
2839 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2840 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2841 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2843 (__gettimeofday): Do not use CHECK_1.
2844 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2845 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2846 (__new_shmctl): Do not use CHECK_1.
2847 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2849 (do_sigtimedwait): Do not use CHECK_1.
2850 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2852 (do_sigwaitinfo): Do not use CHECK_1.
2853 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2855 (msgctl): Do not use CHECK_1.
2856 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2858 (shmctl): Do not use CHECK_1.
2859 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2860 (ustat): Do not use CHECK_1.
2861 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2863 (__fxstat): Do not use CHECK_1.
2864 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2866 (__fxstatat): Do not use CHECK_1.
2867 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2869 (__lxstat): Do not use CHECK_1.
2870 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2872 (__xstat): Do not use CHECK_1.
2873 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2874 (__xstat): Do not use CHECK_1.
2875 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2876 (___xstat64): Do not use CHECK_1.
2879 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2881 (CHECK_BOUNDS_HIGH): Likewise.
2882 * string/strcpy.c: Do not include <bp-checks.h>.
2883 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2885 2013-02-07 Roland McGrath <roland@hack.frob.com>
2887 * nscd/nscd-client.h (__nscd_drop_map_ref):
2888 Add __attribute__ ((unused)).
2889 * nis/nss-nisplus.h (niserr2nss): Likewise.
2891 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2892 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2894 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2895 Remove inline keyword.
2896 * include/rounding-mode.h (round_away): Likewise.
2897 * libio/wfileops.c (adjust_wide_data): Likewise.
2898 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2899 (__m128i_strloadu_tolower): Likewise.
2900 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2901 (__m128i_strloadu_tolower): Likewise.
2902 * time/mktime.c (ydhms_diff): Likewise.
2903 * locale/elem-hash.h (elem_hash): Likewise.
2904 * locale/setlocale.c (setdata): Likewise.
2905 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2906 (re_string_wchar_at): Likewise.
2907 (bitset_not, bitset_merge, bitset_mask): Likewise.
2908 [!(__GNUC__ > 3)] (inline): Remove macro.
2909 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2910 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2911 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2912 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2913 * string/memcmp.c (memcmp_bytes): Likewise.
2914 * locale/programs/locarchive.c (compute_hashval): Likewise.
2915 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2916 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2917 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2918 * nss/getent.c (print_rpc, print_protocols): Likewise.
2919 (print_passwd, print_group, print_aliases): Likewise.
2920 * nis/nss-nisplus.h (niserr2nss): Likewise.
2921 * nscd/connections.c (restart_p): Likewise.
2922 Change return type to bool.
2924 2013-02-05 Roland McGrath <roland@hack.frob.com>
2926 * Makeconfig (all-Depend-files): Add existing
2927 $(sorted-subdirs:=/Depend) files.
2928 (all-subdirs): Remove nss.
2929 * sysdeps/unix/inet/Subdirs: Add it here instead.
2930 * hesiod/Depend: New file.
2932 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2933 instead of calling alloca.
2935 * io/lseek.c (__lseek): Rename to __libc_lseek.
2936 Define __lseek as an alias.
2938 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2940 2013-02-04 Carlos O'Donell <carlos@redhat.com>
2942 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2943 else clause and remove check for non-standard endianness.
2945 2013-02-04 David S. Miller <davem@davemloft.net>
2947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2949 2013-02-04 Joseph Myers <joseph@codesourcery.com>
2952 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2953 (__ubp_memchr): Remove prototype.
2954 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2955 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2956 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2957 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2958 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2960 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2961 (__ubp_memchr): Likewise.
2962 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2963 (__ubp_memchr): Likewise.
2964 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2965 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2966 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2967 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2969 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2970 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2971 (__getcwd): Do not use CHECK_STRING.
2972 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2974 (__real_chown): Do not use CHECK_STRING.
2975 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2977 (fchownat): Do not use CHECK_STRING.
2978 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2980 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2982 (__lchown): Do not use CHECK_STRING.
2983 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2984 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2985 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2986 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2988 include <bp-checks.h>.
2989 (truncate64): Do not use CHECK_STRING.
2990 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2992 (__real_chown): Do not use CHECK_STRING.
2993 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2995 (__lchown): Do not use CHECK_STRING.
2996 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2998 (__chown): Do not use CHECK_STRING.
2999 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3001 (truncate64): Do not use CHECK_STRING.
3002 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3004 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3005 (__xmknod): Do not use CHECK_STRING.
3006 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3008 (__xmknodat): Do not use CHECK_STRING.
3009 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3010 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3012 2013-02-04 Andreas Schwab <schwab@suse.de>
3015 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3016 * include/netdb.h: Likewise for h_errno.
3017 * elf/tst-stackguard1.c: Include <tls.h>.
3019 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3021 * elf/link.h (struct link_map): Extend the l_addr comment.
3022 * include/link.h (struct link_map): Likewise.
3024 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3027 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3028 (BOUNDED_1): Remove macro.
3029 * debug/backtrace.c: Don't include <bp-checks.h>.
3030 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3031 (__backtrace): Likewise.
3032 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3034 (__backtrace): Don't use BOUNDED_1.
3035 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3037 (__backtrace): Don't use BOUNDED_1.
3038 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3039 (__backtrace): Don't use BOUNDED_1.
3040 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3041 (shmat): Don't use BOUNDED_N.
3043 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3046 * sysdeps/generic/bp-start.h: Remove file.
3047 * csu/libc-start.c: Don't include <bp-start.h>.
3048 (LIBC_START_MAIN): Set up __environ directly instead of using
3049 INIT_ARGV_and_ENVIRON.
3050 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3054 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3056 (CHECK_FCNTL): Likewise.
3057 (CHECK_N_PAGES): Likewise.
3060 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3062 (CHECK_SIGSET_NULL_OK): Likewise.
3063 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3065 (sigpending): Don't use CHECK_SIGSET.
3066 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3068 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3069 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3071 (do_sigsuspend): Don't use CHECK_SIGSET.
3072 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3074 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3075 (do_sigwait): Don't use CHECK_SIGSET.
3076 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3078 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3079 include <bp-checks.h>.
3080 (sigpending): Don't use CHECK_SIGSET.
3081 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3082 include <bp-checks.h>.
3083 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3084 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3086 (sigpending): Don't use CHECK_SIGSET.
3087 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3089 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3092 * sysdeps/generic/bp-semctl.h: Remove file.
3093 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3094 <bp-checks.h> and <bp-semctl.h>.
3095 (__old_semctl): Don't use CHECK_SEMCTL.
3096 (__new_semctl): Likewise.
3097 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3099 (__old_semctl): Don't use CHECK_SEMCTL.
3100 (__new_semctl): Likewise.
3101 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3102 <bp-checks.h> and <bp-semctl.h>.
3103 (__old_semctl): Don't use CHECK_SEMCTL.
3104 (__new_semctl): Likewise.
3105 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3106 <bp-checks.h> and <bp-semctl.h>.
3107 (semctl): Don't use CHECK_SEMCTL.
3110 * Makerules (elide-bp-thunks): Remove variable.
3111 (elide-routines.oS): Don't use $(elide-bp-thunks).
3112 (elide-routines.os): Likewise.
3113 (elide-routines.o): Likewise.
3114 (elide-routines.op): Likewise.
3115 (elide-routines.og): Likewise.
3116 (objects): Don't use $(bp-thunks).
3117 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3119 (common-generated): Do not add s-proto-bp.d.
3120 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3123 Do not generate makefile rules for bounded-pointer thunks.
3124 * sysdeps/generic/bp-thunks.h: Remove file.
3125 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3126 * sysdeps/unix/s-proto-bp.S: Likewise.
3129 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3130 parts of result separately when argument is not close to line from
3131 -i to i and one part of argument is small.
3132 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3133 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3134 * math/libm-test.inc (cacos_test): Add more tests.
3135 (casin_test): Likewise.
3136 (casinh_test): Likewise.
3137 * sysdeps/i386/fpu/libm-test-ulps: Update.
3138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3140 2013-01-31 David S. Miller <davem@davemloft.net>
3142 * po/de.po: Update from translation team.
3144 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3146 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3148 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3150 * configure.in (_AC_PROG_CC_C89): New definition.
3151 * configure: Regenerate.
3153 * configure.in (AC_PROG_CPP): New definition.
3154 * configure: Regenerate.
3156 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3158 * debug/tst-backtrace.h: New file.
3159 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3160 (ret): Remove variable.
3162 (FAIL): Remove macro.
3163 (NO_INLINE): Likewise.
3164 (fn1): Use match function instead of strstr.
3165 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3166 (ret): Remove variable.
3168 (FAIL): Remove macro.
3169 (NO_INLINE): Likewise.
3170 (fn): Use match function instead of strstr.
3171 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3172 (ret): Remove variable.
3174 (FAIL): Remove macro.
3175 (NO_INLINE): Likewise.
3176 (handle_signal): Use match function instead of strstr.
3177 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3178 (ret): Remove variable.
3180 (FAIL): Remove macro.
3181 (NO_INLINE): Likewise.
3182 (handle_signal): Use match function instead of strstr.
3184 2013-01-23 Roland McGrath <roland@hack.frob.com>
3186 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3188 2013-01-23 David S. Miller <davem@davemloft.net>
3190 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3191 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3192 argument of CAS if possible.
3193 * sysdeps/sparc/sparc64/bits/atomic.h
3194 (__arch_compare_and_exchange_val_32_acq): Likewise.
3195 (__arch_compare_and_exchange_val_64_acq): Likewise.
3197 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3199 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3200 * sysdeps/posix/ulimit.c: ... this.
3202 * sysdeps/unix/bsd/ulimit.c: Remove file.
3204 2013-01-23 Adam Conrad <adconrad@0c3.net>
3206 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3207 (LDFLAGS-tst-array5): Likewise.
3209 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3212 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3213 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3214 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3215 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3217 2013-01-21 David S. Miller <davem@davemloft.net>
3219 * sysdeps/sparc/backtrace.c: New file.
3220 * sysdeps/sparc/sparc32/backtrace.h: New file.
3221 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3222 * sysdeps/sparc/sparc64/backtrace.h: New file.
3223 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3224 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3227 2013-01-21 Andreas Schwab <schwab@suse.de>
3230 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3233 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3239 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3240 Mark Mitchell <mark@codesourcery.com>
3241 Tom de Vries <tom@codesourcery.com>
3242 Paul Pluzhnikov <ppluzhnikov@google.com>
3244 * debug/tst-backtrace2.c: New file.
3245 * debug/tst-backtrace3.c: Likewise.
3246 * debug/tst-backtrace4.c: Likewise.
3247 * debug/tst-backtrace5.c: Likewise.
3248 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3249 (CFLAGS-tst-backtrace3.c): Likewise.
3250 (CFLAGS-tst-backtrace4.c): Likewise.
3251 (CFLAGS-tst-backtrace5.c): Likewise.
3252 (LDFLAGS-tst-backtrace2): Likewise.
3253 (LDFLAGS-tst-backtrace3): Likewise.
3254 (LDFLAGS-tst-backtrace4): Likewise.
3255 (LDFLAGS-tst-backtrace5): Likewise.
3256 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3257 tst-backtrace4 and tst-backtrace5.
3259 2013-01-18 Anton Blanchard <anton@samba.org>
3260 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3262 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3263 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3264 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3265 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3267 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3268 "+r" and remove output regs list as redundant. Add explicit inline
3269 asm to specify register of return val to work around compiler codegen
3270 bug. Remove (int) cast on return value. Add return type parameter to
3271 use in macro so that this macro does not truncate return value for
3273 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3274 pass to INTERNAL_VSYSCALL_NCS.
3275 (INLINE_VSYSCALL): Add 'long int' as return type to
3276 INTERNAL_VSYSCALL_NCS macro invocation.
3277 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3278 INTERNAL_VSYSCALL_NCS macro invocation.
3279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3281 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3284 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3285 Fix application of SIMD FP exception mask.
3287 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3288 mp_no from a power of two.
3289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3290 __mpexp_twomm1. Use __pow_mp.
3292 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3295 2013-01-17 David S. Miller <davem@davemloft.net>
3297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3299 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3302 * include/complex.h: Condition contents on [!_COMPLEX_H].
3303 (__kernel_casinhf): New prototype.
3304 (__kernel_casinh): Likewise.
3305 (__kernel_casinhl): Likewise.
3306 * math/Makefile (libm_calls): Add k_casinh.
3307 * math/k_casinh.c: New file.
3308 * math/k_casinhf.c: Likewise.
3309 * math/k_casinhl.c: Likewise.
3310 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3311 finite nonzero arguments.
3312 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3313 finite nonzero arguments.
3314 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3315 finite nonzero arguments.
3316 * math/s_casinh.c: Do not include <float.h>.
3317 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3318 * math/s_casinhf.c: Do not include <float.h>.
3319 (__casinhf): Move code for finite nonzero arguments to
3321 * math/s_casinhl.c: Do not include <float.h>.
3322 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3324 (__casinhl): Move code for finite nonzero arguments to
3326 * math/libm-test.inc (cacos_test): Add more tests.
3327 * sysdeps/i386/fpu/libm-test-ulps: Update.
3328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3330 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3332 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3333 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3334 [!HAVE_MREMAP]: Remove [defined linux] case.
3335 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3337 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3339 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3341 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3343 * elf/elf.h (R_386_SIZE32): New relocation.
3344 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3346 (elf_machine_rela): Likewise.
3347 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3348 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3350 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3352 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3353 (FP_FAST_FMA): Do not define.
3354 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3355 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3356 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3357 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3358 !_SOFT_FLOAT]: Likewise.
3359 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3360 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3362 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3363 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3364 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3365 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3366 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3367 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3370 2013-01-16 Andreas Schwab <schwab@suse.de>
3373 * include/stdlib.h (__mktemp): Add declaration.
3374 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3375 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3377 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3379 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3381 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3382 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3383 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3385 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3386 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3388 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3390 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3391 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3392 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3394 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3395 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3397 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3399 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3401 2013-01-15 David S. Miller <davem@davemloft.net>
3403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3404 trunc{,f} to libm-sysdep_routes.
3405 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3415 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3416 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3417 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3418 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3419 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3420 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3423 nearbyint{,f} to libm-sysdep_routes.
3424 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3435 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3437 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3438 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3440 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3441 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3442 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3444 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3445 libc_feholdexcept and libc_fesetenv.
3447 2013-01-15 Mike Frysinger <vapier@gentoo.org>
3449 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3451 2013-01-14 David S. Miller <davem@davemloft.net>
3453 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3454 (SPARC_ASM_VIS2_IFUNC): Likewise.
3455 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3457 use of 'siam' instruction.
3458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3467 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3487 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3489 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3491 routines to libm-sysdep_routines.
3492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3495 fdim/fdimf to libm-sysdep_routines.
3496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3504 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3505 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3506 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3507 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3509 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3511 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3514 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3519 local variable MPTWO.
3520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3523 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3525 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3528 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3530 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3532 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3534 * manual/pattern.texi (glob_t): Document gl_flags.
3535 (glob64_t): Likewise.
3537 2013-01-11 David S. Miller <davem@davemloft.net>
3539 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3540 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3541 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
3542 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3543 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3544 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3545 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3546 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3547 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3548 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3549 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3550 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3551 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3553 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3554 sparc V9 rather than using V8 code.
3555 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3556 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3558 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3560 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3563 2013-01-11 Roland McGrath <roland@hack.frob.com>
3565 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3566 not in the main loop.
3567 * configure: Regenerated.
3569 2013-01-11 Joseph Myers <joseph@codesourcery.com>
3571 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3572 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3574 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3575 [!__GLIBC_HAVE_LONG_LONG] case.
3576 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3577 condition to just #else.
3578 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3579 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3580 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3581 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3583 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3584 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3585 #elif condition to just #else.
3586 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3587 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3588 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3589 #elif condition to just #else.
3591 2013-01-11 Steve Ellcey <sellcey@mips.com>
3593 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3594 (EF_MIPS_ARCH_64): Fix value.
3595 (EF_MIPS_ARCH_32R2): New.
3596 (EF_MIPS_ARCH_64R2): New.
3598 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3600 * Makeconfig (+link-pie-before-libc): New.
3601 (+link-pie-after-libc): Likewise.
3602 (+link-pie-tests): Likewise.
3603 (+link-pie): Rewritten.
3604 (link-before-libc): Remove $(config-LDFLAGS).
3605 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3606 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3607 (config-LDFLAGS): Renamed to ...
3608 (rtld-LDFLAGS): This.
3609 (rtld-tests-LDFLAGS): New macro.
3610 (link-libc-rpath-link): Likewise.
3611 (link-libc-tests-rpath-link): Likewise.
3612 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3613 (link-libc): Prepand $(link-libc-rpath-link).
3614 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3615 (test-program-prefix): New macro.
3616 (test-via-rtld-prefix): Likewise.
3617 (test-program-cmd): Likewise.
3618 (host-test-program-cmd): Likewise.
3619 * Makefile ($(common-objpfx)testrun.sh): Replace
3620 $(run-program-prefix) with $(test-program-prefix).
3621 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3623 ($(common-objpfx)shlib.lds): Likewise.
3624 (build-module-helper): Likewise.
3625 ($(common-objpfx)format.lds): Likewise.
3626 * Rules (binaries-pie-tests): New.
3627 (binaries-pie-notests): Likewise.
3628 (binaries-pie): Rewritten.
3629 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3630 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3631 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3632 (make-test-out): Replace $(host-built-program-cmd) with
3633 $(host-test-program-cmd).
3634 * config.make.in (build-hardcoded-path-in-tests): New variable.
3635 * configure.in (--enable-hardcoded-path-in-tests): New configure
3637 (hardcoded_path_in_tests): New AC_SUBST.
3638 * configure: Regenerated.
3639 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3640 $(built-program-cmd) with $(test-program-cmd).
3641 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3642 (test_program_cmd): This.
3643 * elf/Makefile ($(objpfx)order.out): Run test with
3644 $(test-program-prefix).
3645 ($(objpfx)order2.out): Likewise.
3646 ($(objpfx)tst-initorder.out): Likewise.
3647 ($(objpfx)tst-initorder2.out): Likewise.
3648 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3649 $(test-program-cmd).
3650 ($(objpfx)tst-array1-static.out): Likewise.
3651 ($(objpfx)tst-array2.out): Likewise.
3652 ($(objpfx)tst-array3.out): Likewise.
3653 ($(objpfx)tst-array4.out): Likewise.
3654 ($(objpfx)tst-array5.out): Likewise.
3655 ($(objpfx)tst-array5-static.out): Likewise.
3656 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3657 $(test-program-cmd).
3658 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3659 $(run-program-prefix) with $(test-program-prefix).
3660 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3661 (test_program_prefix): This.
3662 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3663 $(run-program-prefix) with $(test-program-prefix).
3664 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3665 (test_program_prefix): This.
3666 * iconvdata/tst-tables.sh: Likewise.
3667 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3668 $(run-program-prefix) with $(test-program-prefix).
3669 ($(objpfx)tst-translit.out): Likewise.
3670 ($(objpfx)tst-gettext2.out): Likewise.
3671 ($(objpfx)tst-gettext4.out): Likewise.
3672 ($(objpfx)tst-gettext6.out): Likewise.
3673 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3674 (test_program_prefix): This.
3675 * intl/tst-gettext2.sh: Likewise.
3676 * intl/tst-gettext4.sh Likewise.
3677 * intl/tst-gettext6.sh: Likewise.
3678 * intl/tst-translit.sh: Likewise.
3679 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3680 with $(test-program-cmd).
3681 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3682 $(run-program-prefix) with $(test-program-prefix).
3683 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3684 (test_program_prefix): This.
3685 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3686 $(run-program-prefix) with $(test-program-prefix).
3687 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3688 (test_program_prefix): This.
3689 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3690 * posix/Makefile ($(objpfx)globtest.out): Replace
3691 $(run-via-rtld-prefix) and $(test-wrapper) with
3692 $(test-program-prefix) and $(test-via-rtld-prefix).
3693 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3694 $(test-program-prefix).
3695 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3696 $(host-test-program-cmd).
3697 (tst-spawn-ARGS): Likewise.
3698 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3699 $(test-program-prefix).
3700 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3701 (test_via_rtld_prefix): This.
3702 (test_wrapper): Renamed to ...
3703 (test_program_prefix): This.
3704 (run_program_prefix): Replaced by test_program_prefix.
3705 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3706 (test_program_prefix): This.
3707 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3708 with $(host-test-program-cmd).
3709 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3710 $(run-program-prefix) with $(test-program-prefix).
3711 ($(objpfx)tst-printf.out): Likewise.
3712 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3713 $(test-program-cmd).
3714 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3715 (test_program_prefix): This.
3716 * stdio-common/tst-unbputc.sh: Likewise.
3717 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3718 $(run-program-prefix) with $(test-program-prefix).
3719 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3720 (test_program_prefix): This.
3721 * string/Makefile ($(objpfx)tst-svc.out): Replace
3722 $(built-program-cmd) with $(test-program-cmd).
3724 2013-01-11 Andreas Jaeger <aj@suse.de>
3727 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3728 value. Sync with Linux 3.7.
3730 2013-01-10 David S. Miller <davem@davemloft.net>
3732 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3733 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3734 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3736 2013-01-10 Roland McGrath <roland@hack.frob.com>
3738 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3740 * configure: Regenerated.
3742 2013-01-10 David S. Miller <davem@davemloft.net>
3744 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3745 sparc V9 rather than using V8 code.
3746 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3747 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3749 2013-01-10 Roland McGrath <roland@hack.frob.com>
3751 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3752 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3753 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3754 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3755 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3756 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3757 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3758 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3759 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3760 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3761 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3762 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3763 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3764 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3765 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3766 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3767 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3768 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3769 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3770 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3771 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3772 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3773 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3774 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3775 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3776 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3777 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3779 2013-01-10 David S. Miller <davem@davemloft.net>
3781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3783 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3785 * posix/Makefile (tests-static): New variable.
3786 (tests): Add $(tests-static).
3787 (tst-exec-static-ARGS): New variable.
3788 (tst-spawn-static-ARGS): Likewise.
3789 * posix/tst-exec-static.c: New file.
3790 * posix/tst-spawn-static.c: Likewise.
3791 * posix/tst-exec.c: Support run directly.
3792 * posix/tst-spawn.c: Likewise.
3794 2013-01-10 Joseph Myers <joseph@codesourcery.com>
3796 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3798 * math/bits/mathcalls.h (llrint): Likewise.
3799 (llround): Likewise.
3800 * stdlib/stdlib.h (struct drand48_data): Likewise.
3801 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3802 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3803 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3805 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3807 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3808 (elf_greg_t): Likewise.
3809 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3810 (__jmp_buf): Likewise.
3811 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3813 (llrint): Likewise, for all definitions.
3814 (llrintl): Likewise.
3816 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3817 Remove [__GNUC__] condition.
3818 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3819 condition to just [__USE_ISOC99].
3820 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3822 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3825 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3826 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3828 (_POSIX_V6_ILP32_OFF32): Likewise.
3829 (_XBS5_ILP32_OFF32): Likewise.
3830 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3831 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3833 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3835 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3837 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3838 doubles __mpexp_twomm1. Adjust usage.
3839 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3842 2013-01-10 Andreas Schwab <schwab@suse.de>
3845 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3846 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3848 2013-01-09 David S. Miller <davem@davemloft.net>
3851 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3852 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3853 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3854 TCP_FASTOPEN): Define.
3855 (tcp_repair_opt): New structure.
3856 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3858 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3859 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3860 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3861 (tcp_cookie_transactions): New structure.
3863 2013-01-09 Anton Blanchard <anton@samba.org>
3865 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3866 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3867 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3868 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3870 2013-01-09 Joseph Myers <joseph@codesourcery.com>
3872 * include/features.h (__USE_ANSI): Remove.
3874 2013-01-09 Roland McGrath <roland@hack.frob.com>
3876 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3878 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3880 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3882 * sysdeps/s390/fpu/libm-test-ulps: Update.
3884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3886 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3891 (__mp_dbl): Likewise.
3892 (__dbl_mp): Likewise.
3893 (add_magnitudes): Likewise.
3894 (sub_magnitudes): Likewise.
3900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3905 (__mp_dbl): Likewise.
3906 (__dbl_mp): Likewise.
3907 (add_magnitudes): Likewise.
3908 (sub_magnitudes): Likewise.
3914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3919 (__mp_dbl): Likewise.
3920 (__dbl_mp): Likewise.
3921 (add_magnitudes): Likewise.
3922 (sub_magnitudes): Likewise.
3929 2013-01-08 Joseph Myers <joseph@codesourcery.com>
3931 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3932 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3933 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3934 2 && __USE_EXTERN_INLINES]: Likewise.
3936 2013-01-08 Andreas Jaeger <aj@suse.de>
3939 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3941 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3942 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3944 2013-01-07 Anton Blanchard <anton@samba.org>
3946 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3947 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3948 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3949 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3950 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3951 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3952 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3953 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3955 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3956 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3957 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3958 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3959 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3960 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3961 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3962 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3963 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3964 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3965 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3966 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3967 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3968 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3969 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3970 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3971 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3972 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3973 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3974 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3975 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3976 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3978 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3979 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3980 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3981 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3982 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3983 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3984 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3985 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3986 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3987 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3988 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3990 2013-01-07 Joseph Myers <joseph@codesourcery.com>
3992 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3993 (__MALLOC_PMT): Likewise.
3994 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3995 [__GNUC__], only on [_LIBC].
3996 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3997 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3998 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3999 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4000 forward declaration.
4001 (realloc_hook_ini): Likewise.
4002 (memalign_hook_ini): Likewise.
4003 (__libc_memalign): Do not use __MALLOC_PMT in variable
4005 (__libc_valloc): Likewise.
4006 (__libc_pvalloc): Likewise.
4007 (__libc_calloc): Likewise.
4008 (__posix_memalign): Likewise.
4011 * math/s_casinh.c: Include <float.h>.
4012 (__casinh): Do not do computation with squaring and square root
4013 for large arguments.
4014 * math/s_casinhf.c: Include <float.h>.
4015 (__casinhf): Do not do computation with squaring and square root
4016 for large arguments.
4017 * math/s_casinhl.c: Include <float.h>.
4018 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4019 (__casinhl): Do not do computation with squaring and square root
4020 for large arguments.
4021 * math/libm-test.inc (casin_test): Add more tests.
4022 (casinh_test): Likewise.
4023 * sysdeps/i386/fpu/libm-test-ulps: Update.
4024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4026 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4028 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4029 (__x86_64_raw_data_cache_size): Likewise.
4030 (__x86_64_data_cache_size_half): Likewise.
4031 (__x86_64_raw_data_cache_size_half): Likewise.
4032 (__x86_64_shared_cache_size): Likewise.
4033 (__x86_64_raw_shared_cache_size): Likewise.
4034 (__x86_64_shared_cache_size_half): Likewise.
4035 (__x86_64_raw_shared_cache_size_half): Likewise.
4036 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4038 (__x86_data_cache_size): This.
4039 (__x86_64_raw_data_cache_size): Renamed to ...
4040 (__x86_raw_data_cache_size): This.
4041 (__x86_64_data_cache_size_half): Renamed to ...
4042 (__x86_data_cache_size_half): This.
4043 (__x86_64_raw_data_cache_size_half): Renamed to ...
4044 (__x86_raw_data_cache_size_half): This.
4045 (__x86_64_shared_cache_size): Renamed to ...
4046 (__x86_shared_cache_size): This.
4047 (__x86_64_raw_shared_cache_size): Renamed to ...
4048 (__x86_raw_shared_cache_size): This.
4049 (__x86_64_shared_cache_size_half): Renamed to ...
4050 (__x86_shared_cache_size_half): This.
4051 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4052 (__x86_raw_shared_cache_size_half): This.
4053 * sysdeps/x86_64/memcpy.S: Updated.
4054 * sysdeps/x86_64/memset.S: Likewise.
4055 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4056 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4057 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4059 2013-01-04 David S. Miller <davem@davemloft.net>
4061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4063 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4065 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4066 1 to avoid redefinition warning.
4067 (__USE_GNU): Don't define.
4068 (init_signaling_nan): Protoize.
4070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4072 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4074 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4076 (__cpymn): Likewise.
4077 (norm): Remove commented code.
4079 (__mp_dbl): Likewise.
4081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4082 (__cpymn): Likewise.
4083 (norm): Remove commented code.
4085 (__mp_dbl): Likewise.
4088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4089 mp_no value for 1.0 and 2.0.
4090 (norm): Use RADIXI instead of radixi.d.
4092 (__mul): Use 0.0 instead of zero.d.
4093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4094 mp_no value for 1.0 and 2.0.
4095 (norm): Use RADIXI instead of radixi.d.
4097 (__mul): Use 0.0 instead of zero.d.
4099 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4102 * math/s_casinh.c (__casinh): Reduce finite argument to first
4103 quadrant then set signs of results at the end.
4104 * math/s_casinhf.c (__casinhf): Likewise.
4105 * math/s_casinhl.c (__casinhl): Likewise.
4106 * math/libm-test.inc (casin_test): Add more tests.
4107 (casinh_test): Likewise.
4108 * sysdeps/i386/fpu/libm-test-ulps: Update.
4109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4111 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4113 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4115 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4117 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4120 (__mp_dbl): Likewise.
4123 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4124 and adjust the header comment.
4126 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4127 variable name from declaration.
4129 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4132 Initialize COMMON_CPUID_INDEX_7 element.
4133 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4134 (CPUID_RTM): Likewise.
4135 (HAS_RTM): Likewise.
4136 (COMMON_CPUID_INDEX_7): New enum.
4138 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4141 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4142 size is zero, record memory as freed.
4144 2013-01-03 Andreas Jaeger <aj@suse.de>
4146 * po/ia.po: Add new Interlingua translation.
4148 2012-01-03 Allan McRae <allan@archlinux.org>
4150 * locale/programs/localedef.c: Fix description of '--posix' flag.
4152 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4154 * NEWS: Update dates in second copyright notice.
4155 * README: Update copyright dates in example.
4156 * manual/libc.texinfo: Update copyright dates.
4157 * scripts/test-installation.pl: Update copyright date in --version
4160 * hurd/ctty-input.c: Fix copyright notice formatting.
4161 * hurd/ctty-output.c: Likewise.
4162 * hurd/dtable.c: Likewise.
4163 * hurd/hurd-raise.c: Likewise.
4164 * hurd/hurdprio.c: Likewise.
4165 * hurd/msgportdemux.c: Likewise.
4166 * misc/sys/file.h: Likewise.
4167 * misc/sys/ioctl.h: Likewise.
4168 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4169 * sysdeps/mach/hurd/chdir.c: Likewise.
4170 * sysdeps/mach/hurd/fchdir.c: Likewise.
4171 * sysdeps/mach/hurd/rename.c: Likewise.
4172 * sysdeps/mach/hurd/rmdir.c: Likewise.
4173 * sysdeps/mach/hurd/seekdir.c: Likewise.
4174 * sysdeps/mach/hurd/setsid.c: Likewise.
4175 * sysdeps/posix/wait3.c: Likewise.
4177 * All files with FSF copyright notices: Update copyright dates
4178 using scripts/update-copyrights.
4179 * intl/plural.c: Regenerated.
4180 * locale/programs/charmap-kw.h: Likewise.
4181 * locale/programs/locfile-kw.h: Likewise.
4183 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4185 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4188 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4189 calculation loop and add branch prediction.
4191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4192 check access beyond bounds of m1np.
4194 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4196 (__inv): Remove local variable MPTWO to use the global
4198 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4199 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4201 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4202 MP3HALFS static const.
4204 2013-01-01 David S. Miller <davem@davemloft.net>
4206 * po/ca.po: Update from translation team.
4208 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4210 * scripts/update-copyrights: New file.
4211 * Makeconfig: Reformat copyright notice.
4212 * ctype/ctype.h: Likewise.
4213 * debug/swprintf_chk.c: Likewise.
4214 * elf/dl-cache.c: Likewise.
4215 * elf/dl-debug.c: Likewise.
4216 * elf/dl-object.c: Likewise.
4217 * grp/initgroups.c: Likewise.
4218 * hurd/Makefile: Likewise.
4219 * hurd/hurd/signal.h: Likewise.
4220 * hurd/hurdfault.c: Likewise.
4221 * hurd/hurdioctl.c: Likewise.
4222 * hurd/hurdlookup.c: Likewise.
4223 * hurd/intr-msg.c: Likewise.
4224 * iconv/gconv_open.c: Likewise.
4225 * libio/swprintf.c: Likewise.
4226 * locale/lc-ctype.c: Likewise.
4227 * locale/nl_langinfo.c: Likewise.
4228 * mach/Machrules: Likewise.
4229 * mach/Makefile: Likewise.
4230 * malloc/obstack.h: Likewise.
4231 * manual/Makefile: Likewise.
4232 * manual/tsort.awk: Likewise.
4233 * misc/bits/stab.def: Likewise.
4234 * nis/nis_print_group_entry.c: Likewise.
4235 * nis/nis_table.c: Likewise.
4236 * nis/nss_compat/compat-pwd.c: Likewise.
4237 * nis/nss_compat/compat-spwd.c: Likewise.
4238 * po/Makefile: Likewise.
4239 * posix/fnmatch.c: Likewise.
4240 * posix/regex.h: Likewise.
4241 * resolv/Makefile: Likewise.
4242 * resolv/nss_dns/dns-network.c: Likewise.
4243 * resolv/res_hconf.c: Likewise.
4244 * scripts/gen-sorted.awk: Likewise.
4245 * soft-fp/soft-fp.h: Likewise.
4246 * stdio-common/printf.h: Likewise.
4247 * stdlib/monetary.h: Likewise.
4248 * stdlib/random.c: Likewise.
4249 * stdlib/random_r.c: Likewise.
4250 * sysdeps/generic/Makefile: Likewise.
4251 * sysdeps/gnu/Makefile: Likewise.
4252 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4254 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4255 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4256 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4266 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4267 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4268 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4271 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4272 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4275 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4276 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4280 * sysdeps/mach/hurd/errnos.awk: Likewise.
4281 * sysdeps/mach/hurd/fork.c: Likewise.
4282 * sysdeps/mach/hurd/getcwd.c: Likewise.
4283 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4284 * sysdeps/mach/hurd/mmap.c: Likewise.
4285 * sysdeps/mach/hurd/utimes.c: Likewise.
4286 * sysdeps/mach/hurd/xmknod.c: Likewise.
4287 * sysdeps/posix/profil.c: Likewise.
4288 * sysdeps/posix/readdir_r.c: Likewise.
4289 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4290 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4291 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4292 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4294 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4295 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4296 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4298 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4299 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4300 * sysdeps/pthread/lio_listio.c: Likewise.
4301 * sysdeps/sparc/dl-procinfo.h: Likewise.
4302 * sysdeps/unix/i386/sysdep.S: Likewise.
4303 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4304 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4305 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4306 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4308 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4309 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4310 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4311 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4312 * sysdeps/wordsize-32/divdi3.c: Likewise.
4313 * time/sys/time.h: Likewise.
4314 * wcsmbs/Makefile: Likewise.
4316 2013-01-01 David S. Miller <davem@davemloft.net>
4318 * po/fr.po: Update from translation team.
4320 * catgets/gencat.c: Update copyright year.
4321 * csu/version.c: Likewise.
4322 * debug/catchsegv.sh: Likewise.
4323 * debug/pcprofiledump.c: Likewise.
4324 * debug/xtrace.sh: Likewise.
4325 * elf/ldconfig.c: Likewise.
4326 * elf/ldd.bash.in: Likewise.
4327 * elf/pldd.c: Likewise.
4328 * elf/sotruss.ksh: Likewise.
4329 * elf/sprof.c: Likewise.
4330 * iconv/iconv_prog.c: Likewise.
4331 * iconv/iconvconfig.c: Likewise.
4332 * locale/programs/locale.c: Likewise.
4333 * locale/programs/localedef.c: Likewise.
4334 * login/programs/pt_chown.c: Likewise.
4335 * malloc/memusage.sh: Likewise.
4336 * malloc/memusagestat.c: Likewise.
4337 * malloc/mtrace.pl: Likewise.
4338 * nscd/nscd.c: Likewise.
4339 * nss/getent.c: Likewise.
4340 * nss/makedb.c: Likewise.
4341 * posix/getconf.c: Likewise.
4343 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4345 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4348 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4350 * math/bits/mathcalls.h (modf): Use __nonnull.
4352 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4354 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4355 (split): Use macro CN instead of the bare value.
4356 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4358 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4359 instead of the bare value.
4362 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4364 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4366 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4368 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4370 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4371 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4372 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4373 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4375 2012-12-28 Andreas Jaeger <aj@suse.de>
4377 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4378 values are from Linux 3.7.
4380 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4381 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4383 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4385 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4388 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4390 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4391 variables with preprocessor constants.
4392 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4393 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4394 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4396 2012-12-27 Bruno Haible <bruno@clisp.org>
4399 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4402 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4404 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4405 and use variable directly.
4406 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4408 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4410 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4411 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4413 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4414 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4415 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4416 include directive. Remove local variable MPONE.
4417 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4418 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4419 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4421 2012-12-25 David S. Miller <davem@davemloft.net>
4423 * version.h (RELEASE): Set to "development".
4424 (VERSION): Set to "2.17.90".
4425 * NEWS: Add 2.18 section.
4427 2012-12-21 David S. Miller <davem@davemloft.net>
4429 * po/hr.po: Update from translation team.
4431 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4433 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4435 2012-12-19 Steve Ellcey <sellcey@mips.com>
4437 * NEWS: Mention new memcpy for MIPS.
4439 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4441 * manual/contrib.texi (Contributors): Spelling correction.
4443 2012-12-15 David S. Miller <davem@davemloft.net>
4445 * po/ru.po: Update from translation team.
4447 2012-12-13 David S. Miller <davem@davemloft.net>
4449 * NEWS: Mention IFUNC testsuite enhancements.
4451 * po/pl.po: Update from translation team.
4452 * po/bg.po: Likewise.
4454 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4455 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4457 2012-12-11 David S. Miller <davem@davemloft.net>
4459 * po/sv.po: Update from translation team.
4461 * po/vi.po: Update from translation team.
4463 * po/cs.po: Update from translation team.
4465 * po/de.po: Update from translation team.
4466 * po/eo.po: Likewise.
4467 * po/nl.po: Likewise.
4469 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4472 * manual/argp.texi (Argp Helper Functions): Move node to follow
4476 * manual/conf.texi (Limits on File System Capacity): Mention if
4477 terminating null is included in the max size.
4479 2012-12-10 Andreas Jaeger <aj@suse.de>
4481 * po/cs.po: Update from translation team.
4483 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4485 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4486 void pointer and cast to uintptr_t.
4487 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4489 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4490 * sysdeps/s390/s390-64/memset.S: Likewise.
4492 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
4495 * menual/message.texi (Message Translation): Fix typos.
4496 (Helper programs for gettext): Likewise.
4498 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4501 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4504 2012-12-07 David S. Miller <davem@davemloft.net>
4506 * po/libc.pot: Update.
4508 2012-12-07 Richard Henderson <rth@redhat.com>
4511 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4512 normal/normal case to before the switch.
4513 (_FP_DIV): Likewise.
4515 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4516 Mike Frysinger <vapier@gentoo.org>
4518 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4519 check for __NR_fadvise64_64.
4521 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4523 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4524 0, not just to plain "0" as a statement.
4525 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4528 2012-12-06 Joseph Myers <joseph@codesourcery.com>
4530 * NEWS: Use sourceware.org in Bugzilla URL.
4532 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4535 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4537 * stdio-common/tst-put-error.c (do_test): Add newline to the
4538 padded test to ensure flush.
4540 2012-12-05 Jeff Law <law@redhat.com>
4542 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4544 2012-12-05 Joseph Myers <joseph@codesourcery.com>
4546 * README: Don't refer to ports add-on as distributed separately.
4547 Mention AArch64 in list of systems supported in the ports add-on.
4549 * LICENSES: Add more non-FSF copyright and license notices.
4551 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4554 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4556 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4557 10000 as width of padded output.
4559 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4561 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4563 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4564 variable LX with __attribute__ ((unused)).
4565 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4567 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4568 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4569 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4570 with __attribute__ ((unused)).
4572 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
4574 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4576 2012-12-04 Joseph Myers <joseph@codesourcery.com>
4578 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4579 (CFLAGS-nldbl-acos.c): New variable.
4580 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4581 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4582 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4583 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4584 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4585 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4586 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4587 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4588 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4589 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4590 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4591 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4592 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4593 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4594 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4595 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4596 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4597 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4598 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4599 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4600 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4601 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4602 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4603 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4604 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4605 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4606 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4607 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4608 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4609 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4610 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4611 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4612 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4613 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4614 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4615 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4616 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4617 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4618 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4619 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4620 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4621 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4622 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4623 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4624 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4625 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4626 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4627 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4628 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4629 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4630 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4631 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4632 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4633 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4634 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4635 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4636 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4637 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4638 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4639 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4640 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4641 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4642 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4643 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4644 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4645 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4646 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4647 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4648 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4649 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4650 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4651 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4652 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4653 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4654 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4655 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4656 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4657 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4658 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4659 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4660 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4661 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4662 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4663 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4664 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4665 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4666 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4667 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4668 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4669 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4670 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4671 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4672 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4673 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4674 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4675 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4676 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4679 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4682 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4683 whole low double instead of just low 47 bits when splitting values
4686 2012-12-03 Allan McRae <allan@archlinux.org>
4688 * manual/stdio.texi (Predefined Printf Handlers): Remove
4689 @hsep and @vsep usage.
4691 2012-12-03 Mike Frysinger <vapier@gentoo.org>
4693 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4694 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4696 2012-12-03 Jeff Law <law@redhat.com>
4698 * time/sys/time.h (settimeofday): Do not mark TV argument
4701 2012-12-01 Mike Frysinger <vapier@gentoo.org>
4703 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4704 when currently writing and seek to current position when not.
4705 * libio/Makefile (tests): Remove bug-fclose1.
4706 * libio/bug-fclose1.c: Delete.
4708 2012-12-01 Joseph Myers <joseph@codesourcery.com>
4710 * manual/arith.texi (feenableexcept): Fix typo.
4711 (fedisableexcept): Likewise.
4713 2012-11-30 Roland McGrath <roland@hack.frob.com>
4715 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4716 second, differently-typed declaration, rather than a cast.
4718 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4720 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4721 * include/rpc/svc.h: ... here.
4723 2012-11-30 Aurelien Jarno <aurel32@debian.org>
4726 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4727 depending n and resplen2 to catch cases where answer
4730 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4732 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4733 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4735 2012-11-29 Mike Frysinger <vapier@gentoo.org>
4737 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4739 2012-11-29 Roland McGrath <roland@hack.frob.com>
4741 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4743 2012-11-28 Jeff Law <law@redhat.com>
4746 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4747 dataset_temporary. Track alloca usage into alloca_used.
4748 If dataset is large allocate and release it via malloc/free.
4750 2012-06-04 Florian Weimer <fweimer@redhat.com>
4753 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4755 2012-11-28 David S. Miller <davem@davemloft.net>
4757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4759 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4762 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4763 of pi/2 rounded to nearest to 64 bits.
4764 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4766 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4769 2012-11-28 Jeff Law <law@redhat.com>
4770 Martin Osvald <mosvald@redhat.com>
4773 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4774 * sunrpc/svc.c: Include time.h.
4775 (__svc_accept_failed): New function.
4776 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4777 any reason other than EINTR, call __svc_accept_failed.
4778 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4779 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4781 2012-11-28 Andreas Schwab <schwab@suse.de>
4783 * scripts/abilist.awk: Also handle indirect functions in .opd
4786 2012-11-28 Joseph Myers <joseph@codesourcery.com>
4789 * sysdeps/x86/fpu/powl_helper.c: New file.
4790 * sysdeps/x86/fpu/Makefile: Likewise.
4791 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4793 (__ieee754_powl): Use __powl_helper for finite arguments except
4794 integer exponents below 8.
4795 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4797 (__ieee754_powl): Use __powl_helper for finite arguments except
4798 integer exponents below 8.
4799 * math/libm-test.inc (pow_test): Add more tests and enable some
4800 previously disabled tests.
4801 * sysdeps/i386/fpu/libm-test-ulps: Update.
4802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4804 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4805 Carlos O'Donell <carlos_odonell@mentor.com>
4807 * nss/makedb.c (is_prime): Assert that input is odd and greater
4808 than 4. Note that fact in a comment too.
4809 (next_prime): Add 4 to input.
4811 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4814 * libio/Makefile (tests): Add test case tst-fwrite-error.
4815 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4816 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4817 * libio/tst-fwrite-error.c: New test case.
4819 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4821 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4822 before casting to void *.
4823 * include/libc-internal.h (__pointer_type): New macro.
4824 (__integer_if_pointer_type_sub): Likewise.
4825 (__integer_if_pointer_type): Likewise.
4826 (cast_to_integer): Likewise.
4827 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4828 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4829 before casting to atomic64_t.
4830 (atomic_exchange_acq): Likewise.
4831 (__arch_exchange_and_add_body): Likewise.
4832 (__arch_add_body): Likewise.
4833 (atomic_add_negative): Likewise.
4834 (atomic_add_zero): Likewise.
4836 2012-11-26 Joseph Myers <joseph@codesourcery.com>
4838 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4839 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4840 (add_fdes): Likewise.
4841 (linear_search_fdes): Likewise.
4842 (binary_search_unencoded_fdes): Likewise.
4844 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4846 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4848 2012-11-24 Adam Conrad <adconrad@0c3.net>
4850 * configure.in: Autodetect C++ header directories.
4851 * configure: Regenerated.
4853 2012-11-23 Mike Frysinger <vapier@gentoo.org>
4855 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4857 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4861 2012-11-22 Joseph Myers <joseph@codesourcery.com>
4863 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4864 LDBL_MANT_DIG == 106]: Disable some tests.
4865 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4867 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4871 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4872 input for small inputs. Return +/- pi/2 for large inputs.
4873 * math/libm-test.inc (atan_test): Add more tests.
4875 * sysdeps/generic/unwind-dw2-fde-glibc.c
4876 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4877 __attribute__ ((unused)).
4880 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4881 x * y if x and y are nonzero and z is zero.
4884 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4885 nonzero exponents with absolute value below 0x1p-117 to +/-
4889 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4890 up arguments below 2**-450, not just those below 2**-500.
4891 * math/libm-test.inc (hypot_test): Add another test.
4894 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4895 Return a+b for ratio over 2**120, not 2**60.
4896 * math/libm-test.inc (hypot_test): Add another test.
4898 * math/libm-test.inc (clog_test): Use
4899 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4900 (clog10_test): Likewise.
4903 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4905 2012-11-22 Andreas Schwab <schwab@suse.de>
4907 * sysdeps/i386/fpu/libm-test-ulps: Update.
4909 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4911 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4912 printf output with newline.
4914 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4917 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4918 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4919 -z nodlopen, -z initfirst and -z execstack support.
4920 * configure: Regenerated.
4922 * elf/elf.h (DF_1_NODIRECT): New macro.
4923 (DF_1_IGNMULDEF): Likewise.
4924 (DF_1_NOKSYMS): Likewise.
4925 (DF_1_NOHDR): Likewise.
4926 (DF_1_EDITED): Likewise.
4927 (DF_1_NORELOC): Likewise.
4928 (DF_1_SYMINTPOSE): Likewise.
4929 (DF_1_GLOBAUDIT): Likewise.
4930 (DF_1_SINGLETON): Likewise.
4931 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4932 DT_1_SUPPORTED_MASK bits.
4933 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4935 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4937 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4939 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4941 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4944 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4945 (sendmmsg): Move declarations...
4946 * socket/sys/socket.h: ... here.
4947 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4948 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4950 * socket/recvmmsg.c: ... this new file.
4951 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4952 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4953 definition of __sendmmsg hidden.
4954 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4955 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4956 Move ENOSYS stub into and include it from...
4957 * socket/sendmmsg.c: ... this new file.
4958 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4959 (sysdep_routines): Move recvmmsg and sendmmsg...
4960 * socket/Makefile (routines): ... here.
4961 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4962 (GLIBC_PRIVATE): Add __sendmmsg.
4963 * include/sys/socket.h (__sendmmsg): Add declarations.
4964 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4967 2012-11-20 Joseph Myers <joseph@codesourcery.com>
4969 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4970 variable I1 with __attribute__ ((unused)).
4971 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4973 2012-11-19 Joseph Myers <joseph@codesourcery.com>
4975 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4976 DUMMY variables with __attribute__ ((unused)).
4978 * bits/byteswap.h: Include <bits/types.h>.
4979 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4981 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4983 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4984 string_t. Do not manually set errno.
4985 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4986 length with __strnlen. Make sure to both set errno and return it on
4989 2012-11-19 David S. Miller <davem@davemloft.net>
4991 With help from Joseph Myers.
4992 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4993 very large arguments properly.
4994 * math/libm-test.inc (atan_test): New tests.
4995 (atan2_test): New tests.
4996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4997 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4999 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5002 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5005 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5006 [POSIX] (EADDRNOTAVAIL): Likewise.
5007 [POSIX] (EAFNOSUPPORT): Likewise.
5008 [POSIX] (EALREADY): Likewise.
5009 [POSIX] (ECONNABORTED): Likewise.
5010 [POSIX] (ECONNREFUSED): Likewise.
5011 [POSIX] (ECONNRESET): Likewise.
5012 [POSIX] (EDESTADDRREQ): Likewise.
5013 [POSIX] (EDQUOT): Likewise.
5014 [POSIX] (EHOSTUNREACH): Likewise.
5015 [POSIX] (EIDRM): Likewise.
5016 [POSIX] (EISCONN): Likewise.
5017 [POSIX] (ELOOP): Likewise.
5018 [POSIX] (EMULTIHOP): Likewise.
5019 [POSIX] (ENETDOWN): Likewise.
5020 [POSIX] (ENETUNREACH): Likewise.
5021 [POSIX] (ENOBUFS): Likewise.
5022 [POSIX] (ENODATA): Likewise.
5023 [POSIX] (ENOLINK): Likewise.
5024 [POSIX] (ENOMSG): Likewise.
5025 [POSIX] (ENOPROTOOPT): Likewise.
5026 [POSIX] (ENOSR): Likewise.
5027 [POSIX] (ENOSTR): Likewise.
5028 [POSIX] (ENOTCONN): Likewise.
5029 [POSIX] (ENOTSOCK): Likewise.
5030 [POSIX] (EOPNOTSUPP): Likewise.
5031 [POSIX] (EOVERFLOW): Likewise.
5032 [POSIX] (EPROTO): Likewise.
5033 [POSIX] (EPROTONOSUPPORT): Likewise.
5034 [POSIX] (EPROTOTYPE): Likewise.
5035 [POSIX] (ESTALE): Likewise.
5036 [POSIX] (ETIME): Likewise.
5037 [POSIX] (ETXTBSY): Likewise.
5038 [POSIX] (EWOULDBLOCK): Likewise.
5039 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5040 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5041 [POSIX] (SEEK_CUR): Likewise.
5042 [POSIX] (SEEK_END): Likewise.
5043 [POSIX || UNIX98] (mode_t): Do not require.
5044 [POSIX] (off_t): Likewise.
5045 [POSIX] (pid_t): Likewise.
5046 [POSIX] (sys/stat.h): Do not allow header.
5047 [POSIX] (unistd.h): Likewise.
5048 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5049 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5050 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5051 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5053 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5054 sigevent): Specify elements.
5055 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5057 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5058 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5060 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5061 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5062 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5063 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5064 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5065 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5066 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5067 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5068 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5069 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5070 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5071 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5072 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5073 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5075 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5077 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5079 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5081 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5082 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5083 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5084 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5085 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5086 Specify lower bound on value.
5087 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5088 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5089 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5090 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5091 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5092 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5093 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5094 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5096 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5098 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5099 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5100 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5101 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5102 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5103 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5104 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5105 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5106 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5107 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5108 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5109 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5110 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5111 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5112 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5113 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5115 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5117 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5118 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5119 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5120 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5121 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5122 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5124 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5125 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5126 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5127 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5128 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5129 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5130 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5132 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5133 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5134 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5135 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5136 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5137 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5138 specify as optional.
5139 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5140 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5141 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5142 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5143 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5144 [XPG3] (NL_LANGMAX): Likewise.
5145 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5146 [POSIX || XPG3] (NL_NMAX): Likewise.
5147 [POSIX || XPG3] (NL_SETMAX): Likewise.
5148 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5149 [XPG3] (NZERO): Likewise.
5150 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5151 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5152 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5153 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5154 (REG_ERANGE): Expect.
5155 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5157 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5158 Use (void) in prototype.
5159 [POSIX] (*_t): Allow.
5160 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5161 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5162 (WRDE_BADVAL): Expect.
5164 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5166 [XPG3 || XPG4] (O_RSYNC): Likewise.
5167 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5169 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5170 [XPG3 || XPG4] (sigqueue): Likewise.
5171 [XPG3 || XPG4] (sigtimedwait): Likewise.
5172 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5173 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5174 [XPG3 || XPG4] (vsnprintf): Likewise.
5175 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5177 [XPG3 || XPG4] (blksize_t): Likewise.
5178 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5180 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5181 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5182 [XPG3 || XPG4] (struct itimerspec): Likewise.
5183 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5184 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5185 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5186 [XPG3 || XPG4] (clockid_t): Likewise.
5187 [XPG3 || XPG4] (timer_t): Likewise.
5188 [XPG3 || XPG4] (clock_getres): Likewise.
5189 [XPG3 || XPG4] (clock_gettime): Likewise.
5190 [XPG3 || XPG4] (clock_settime): Likewise.
5191 [XPG3 || XPG4] (nanosleep): Likewise.
5192 [XPG3 || XPG4] (timer_create): Likewise.
5193 [XPG3 || XPG4] (timer_delete): Likewise.
5194 [XPG3 || XPG4] (timer_gettime): Likewise.
5195 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5196 [XPG3 || XPG4] (timer_settime): Likewise.
5197 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5198 [XPG3 || XPG4] (getlogin_r): Likewise.
5199 [XPG3 || XPG4] (pread): Likewise.
5200 [XPG3 || XPG4] (pthread_atfork): Likewise.
5201 [XPG3 || XPG4] (pwrite): Likewise.
5204 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5207 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5209 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5210 finalizing MALLSTREAM.
5212 * sysdeps/mach/hurd/syncfs.c: New file.
5214 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5217 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5218 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5219 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5220 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5221 (_nss_dns_gethostbyname4_r): Likewise.
5222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5223 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5225 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5228 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5230 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5232 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5233 * elf/cache.c (print_entry): Print ",AArch64" for
5236 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5237 * elf/cache.c (print_entry): Print ",hard-float" for
5240 2012-11-18 David S. Miller <davem@davemloft.net>
5242 With help from Joseph Myers.
5243 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5245 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5247 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5248 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5250 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5251 * math/libm-test.inc (y0_test): New tests.
5252 (y1_test): New tests.
5253 * sysdeps/i386/fpu/libm-test-ulps: Update.
5254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5257 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5259 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5261 * configure: Regenerated.
5263 2012-11-17 David S. Miller <davem@davemloft.net>
5266 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5267 nonzero exponents with absolute value below 0x1p-128 to +/-
5270 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5272 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5274 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5276 * posix/getconf-speclist.c: New file.
5277 * posix/posix-envs.def: Likewise.
5278 * posix/confstr.c (START_ENV_GROUP): New macro.
5279 (END_ENV_GROUP): Likewise.
5280 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5281 (KNOWN_PRESENT_ENV_STRING): Likewise.
5282 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5283 (UNKNOWN_ENVIRONMENT): Likewise.
5284 (confstr): Include posix-envs.def instead of handling
5285 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5286 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5287 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5288 (END_ENV_GROUP): Likewise.
5289 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5290 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5291 (UNKNOWN_ENVIRONMENT): Likewise.
5292 (__sysconf): Include posix-envs.def instead of handling associated
5293 cases directly here.
5294 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5295 preprocessing getconf-speclist.c rather than running getconf or
5296 generating empty file.
5298 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5300 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5302 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5305 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5307 2012-11-16 David S. Miller <davem@davemloft.net>
5309 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5310 smaller than LDBL_EPSILON/2.0L, just return xm1.
5312 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5314 * elf/tst-array1.c (init): Set constructor priority to 1000.
5315 (fini): Set destructor priority to 1000.
5316 * elf/tst-array2dep.c: Likewise.
5318 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5321 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5322 (_IO_new_file_xsputn): Also return EOF if none of the input
5323 data was written when overflow failed.
5324 * libio/iopadn.c (_IO_padn): Likewise.
5325 * libio/iowpadn.c (_IO_wpadn): Likewise.
5326 * stdio-common/tst-put-error.c: Add copyright notice.
5327 (do_test): Add case for printing padded string.
5328 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5329 _IO_padn returned error.
5330 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5331 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5334 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5336 * libio/libioP.h: Add comment note that the references to C++
5337 bits are now obsolete.
5339 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5341 * math/libm-test.inc (check_complex): Use asprintf.
5343 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5345 * debug/pcprofiledump.c (print_version): Update copyright year.
5346 * malloc/memusagestat.c (print_version): Likewise.
5348 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5351 * elf/Makefile (tests): Add tst-audit8.
5352 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5353 ($(objpfx)tst-audit8.out): New target.
5354 (tst-audit8-ENV): New variable.
5355 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5356 audit if l_reloc_result is NULL.
5357 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5358 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5359 * elf/tst-audit8.c: New file.
5361 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5363 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5364 * misc/Makefile (CFLAGS-select.c): Define.
5365 * posix/Makefile (CFLAGS-pause.c): Define.
5367 2012-11-13 David S. Miller <davem@davemloft.net>
5369 * crypt/Makefile: Move test targets after toplevel Rules
5370 inclusion. Grab any necessary sysdep routines when linking.
5371 * crypt/md5.c (md5_process_block): Remove define, we will always
5372 name it __md5_process_block.
5373 (md5_finish_ctx): Update md5_process_block call.
5374 (md5_stream): Likewise.
5375 (md5_process_bytes): Likewise.
5376 (md5_process_block): Rename to __md5_process_block and move to ...
5377 * crypt/md5-block.c: ... here.
5378 * crypt/sha256.c (sha256_process_block): Move to ...
5379 * crypt/sha256-block.c: ... here.
5380 * crypt/sha512.c (sha512_process_block): Move to ...
5381 * crypt/sha512-block.c: ... here.
5382 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5384 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5385 * sysdeps/sparc/sparc64/multiarch/Makefile
5386 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5388 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5389 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5391 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5392 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5393 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5394 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5395 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5396 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5397 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5398 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5399 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5401 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5402 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5404 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5406 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5408 * timezone/tzselect.ksh: Update from tzcode git revision
5409 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5410 * timezone/zdump.c: Likewise.
5411 * timezone/zic.c: Likewise.
5412 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5413 in TZVERSION setting, not $(PKGVERSION).
5414 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5415 REPORT_BUGS_TO settings.
5418 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5421 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5423 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5424 detection to immediately after _FP_ROUND().
5425 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5428 2012-11-11 David S. Miller <davem@davemloft.net>
5430 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5432 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5433 __close rather than their public counterparts.
5435 2012-11-10 Joseph Myers <joseph@codesourcery.com>
5437 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5439 [UNIX98] (sem_timedwait): Do not expect.
5440 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5441 [XPG4 || UNIX98] (sockatmark): Do not expect.
5442 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5443 (clock_getcpuclockid): Do not expect.
5444 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5445 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5447 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5448 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5449 [UNIX98] (vwscanf): Likewise.
5450 [UNIX98] (vswscanf): Likewise.
5452 2012-11-09 Joseph Myers <joseph@codesourcery.com>
5454 * timezone/version.h: Remove file.
5455 * timezone/README: Do not refer to version.h.
5456 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5458 ($(objpfx)zdump.o): Likewise.
5459 ($(objpfx)version.h): New target.
5461 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5463 * timezone/README: Don't mention modification to tzselect.ksh.
5464 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5465 work on unmodified tzselect.ksh. Substitute version numbers in
5468 * Makefile (format-me): Remove.
5469 (INSTALL): Adjust indentation. Use commands directly instead of
5472 * aclocal.m4 (ACX_PKGVERSION): New macro.
5473 (ACX_BUGURL): Likewise.
5474 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5475 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5476 (REPORT_BUGS_TO): Likewise.
5477 * configure: Regenerated.
5478 * config.h.in (PKGVERSION): New macro.
5479 (REPORT_BUGS_TO): Likewise.
5480 * config.make.in (PKGVERSION): New variable.
5481 (PKGVERSION_TEXI): Likewise.
5482 (REPORT_BUGS_TO): Likewise.
5483 (REPORT_BUGS_TEXI): Likewise.
5484 * Makefile (format-me): Use -I$(common-objpfx)manual.
5485 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5486 ($(common-objpfx)manual/%): New target.
5487 (manual/%): Remove target.
5488 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5489 (print_version): Use PKGVERSION.
5490 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5491 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5493 ($(objpfx)xtrace): Likewise.
5494 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5495 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5496 (print_version): Use PKGVERSION.
5497 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5498 (do_version): Use PKGVERSION.
5499 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5501 (common-ldd-rewrite): Likewise.
5502 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5503 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5504 (print_version): Use PKGVERSION.
5505 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5506 * elf/pldd.c (argp_program_bug_address): Remove variable.
5507 (more_help): New function.
5508 (argp): Use more_help.
5509 (print_version): Use PKGVERSION.
5510 * elf/sln.c (main): Use PKGVERSION.
5511 (usage): Use REPORT_BUGS_TO.
5512 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5513 (top level): Use PKGVERSION.
5514 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5515 (print_version): Use PKGVERSION.
5516 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5517 (print_version): Use PKGVERSION.
5518 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5519 (print_version): Use PKGVERSION.
5520 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5521 (print_version): Use PKGVERSION.
5522 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5523 (print_version): Use PKGVERSION.
5524 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5525 (print_version): Use PKGVERSION.
5526 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5528 ($(objpfx)memusage): Likewise.
5529 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5530 (do_version): Use PKGVERSION.
5531 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5532 (print_version): Use PKGVERSION.
5533 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5534 ($PKGVERSION): New variable.
5535 ($REPORT_BUGS_TO): Likewise.
5536 (usage): Use $REPORT_BUGS_TO.
5537 (top level): Use $PKGVERSION.
5538 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5539 ($(objpfx)pkgvers.texi): New rule.
5540 ($(objpfx)stamp-pkgvers): Likewise.
5541 * manual/install.texi: Include pkgvers.texi.
5542 (--with-pkgversion): Document new configure option.
5543 (--with-bugurl): Likewise.
5544 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5545 than necessarily for this particular distribution. Use
5546 REPORT_BUGS_TO for where to report bugs.
5547 * INSTALL: Regenerated.
5548 * manual/libc.texinfo: Include pkgvers.texi.
5549 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5550 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5551 (print_version): Use PKGVERSION.
5552 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5553 (print_version): Use PKGVERSION.
5554 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5555 (print_version): Use PKGVERSION.
5556 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5557 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5559 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5560 (print_version): Use PKGVERSION.
5561 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5562 (print_version): Use PKGVERSION.
5563 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5566 * timezone/checktab.awk: Update from tzcode 2012i.
5567 * timezone/ialloc.c: Likewise.
5568 * timezone/private.h: Likewise.
5569 * timezone/scheck.c: Likewise.
5570 * timezone/tzfile.h: Likewise.
5571 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5572 (TZVERSION): Hardcode tzcode version number.
5573 * timezone/zdump.c: Update from tzcode 2012i.
5574 * timezone/zic.c: Likewise.
5575 * timezone/version.h: New file.
5576 * timezone/README: Describe version.h. Update upstream location.
5579 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5580 (mktemp): Enable declaration.
5581 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5582 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5583 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5584 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5586 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5588 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5590 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5592 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5594 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5598 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5599 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5600 for copies of such integer values.
5601 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5602 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5604 2012-11-09 Andreas Jaeger <aj@suse.de>
5606 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5607 definitions and declarations that are provided by
5608 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5610 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5612 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5613 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5614 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5617 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5619 * elf/elf.h: Update comment before AArch64 relocations.
5621 2012-11-07 David S. Miller <davem@davemloft.net>
5623 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5624 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5625 (__start_context): Declare.
5626 (__makecontext_ret): Delete.
5627 (__makecontext): Hook up __start_context instead of
5629 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5630 (sysdep_routines): Add __start_context when in stdlib.
5632 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5634 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5635 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5636 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5638 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5639 (READELF): New variable. Use it instead of hardcoded "readelf".
5641 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5643 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5644 * sysdeps/x86/Makefile: Here.
5645 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5646 * sysdeps/x86/tst-xmmymm.sh: This.
5648 2012-11-07 Joseph Myers <joseph@codesourcery.com>
5650 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5652 [UNIX98] (pthread_barrier_t): Do not expect.
5653 [UNIX98] (pthread_barrierattr_t): Likewise.
5654 [UNIX98] (pthread_spinlock_t): Likewise.
5655 [UNIX98] (pthread_barrier_destroy): Likewise.
5656 [UNIX98] (pthread_barrier_init): Likewise.
5657 [UNIX98] (pthread_barrier_wait): Likewise.
5658 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5659 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5660 [UNIX98] (pthread_barrierattr_init): Likewise.
5661 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5662 [UNIX98] (pthread_getcpuclockid): Likewise.
5663 [UNIX98] (pthread_mutex_timedlock): Likewise.
5664 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5665 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5666 [UNIX98] (pthread_sigmask): Likewise.
5667 [UNIX98] (pthread_spin_destroy): Likewise.
5668 [UNIX98] (pthread_spin_init): Likewise.
5669 [UNIX98] (pthread_spin_lock): Likewise.
5670 [UNIX98] (pthread_spin_trylock): Likewise.
5671 [UNIX98] (pthread_spin_unlock): Likewise.
5672 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5674 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5675 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5676 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5677 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5678 [XPG3 || XPG4] (pthread_key_t): Likewise.
5679 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5680 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5681 [XPG3 || XPG4] (pthread_once_t): Likewise.
5682 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5683 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5684 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5685 [XPG3 || XPG4] (pthread_t): Likewise.
5687 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5689 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5691 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5692 Change function return type to int.
5694 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5695 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5696 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5697 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5698 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5699 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5700 [!POSIX] (posix_madvise): Likewise.
5701 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5703 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5704 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5706 (posix_mem_offset): Likewise.
5707 (posix_typed_mem_get_info): Likewise.
5708 (posix_typed_mem_open): Likewise.
5710 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5711 Change condition to [XOPEN2K8].
5713 * conform/conformtest.pl: Preprocess allow-header data with -x c
5714 instead of from stdin.
5715 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5716 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5717 [C99-based standards] (cerfc): Likewise.
5718 [C99-based standards] (cexp2): Likewise.
5719 [C99-based standards] (cexpm1): Likewise.
5720 [C99-based standards] (clog10): Likewise.
5721 [C99-based standards] (clog1p): Likewise.
5722 [C99-based standards] (clog2): Likewise.
5723 [C99-based standards] (clgamma): Likewise.
5724 [C99-based standards] (ctgamma): Likewise.
5725 [C99-based standards] (cerff): Likewise.
5726 [C99-based standards] (cerfcf): Likewise.
5727 [C99-based standards] (cexp2f): Likewise.
5728 [C99-based standards] (cexpm1f): Likewise.
5729 [C99-based standards] (clog10f): Likewise.
5730 [C99-based standards] (clog1pf): Likewise.
5731 [C99-based standards] (clog2f): Likewise.
5732 [C99-based standards] (clgammaf): Likewise.
5733 [C99-based standards] (ctgammaf): Likewise.
5734 [C99-based standards] (cerfl): Likewise.
5735 [C99-based standards] (cerfcl): Likewise.
5736 [C99-based standards] (cexp2l): Likewise.
5737 [C99-based standards] (cexpm1l): Likewise.
5738 [C99-based standards] (clog10l): Likewise.
5739 [C99-based standards] (clog1pl): Likewise.
5740 [C99-based standards] (clog2l): Likewise.
5741 [C99-based standards] (clgammal): Likewise.
5742 [C99-based standards] (ctgammal): Likewise.
5743 * conform/data/inttypes.h-data [C99-based standards]: Include
5744 stdint.h-data. Remove all expectations for stdint.h contents.
5745 [C99-based standards] (PRI*): Do not allow.
5746 [C99-based standards] (SCN*): Likewise.
5747 [C99-based standards] (*_t): Likewise.
5748 [C99-based-standards] (PRId8): Expect macro.
5749 [C99-based-standards] (PRIi8): Likewise.
5750 [C99-based-standards] (PRIo8): Likewise.
5751 [C99-based-standards] (PRIu8): Likewise.
5752 [C99-based-standards] (PRIx8): Likewise.
5753 [C99-based-standards] (PRIX8): Likewise.
5754 [C99-based-standards] (SCNd8): Likewise.
5755 [C99-based-standards] (SCNi8): Likewise.
5756 [C99-based-standards] (SCNo8): Likewise.
5757 [C99-based-standards] (SCNu8): Likewise.
5758 [C99-based-standards] (SCNx8): Likewise.
5759 [C99-based-standards] (PRIdLEAST8): Likewise.
5760 [C99-based-standards] (PRIiLEAST8): Likewise.
5761 [C99-based-standards] (PRIoLEAST8): Likewise.
5762 [C99-based-standards] (PRIuLEAST8): Likewise.
5763 [C99-based-standards] (PRIxLEAST8): Likewise.
5764 [C99-based-standards] (PRIXLEAST8): Likewise.
5765 [C99-based-standards] (SCNdLEAST8): Likewise.
5766 [C99-based-standards] (SCNiLEAST8): Likewise.
5767 [C99-based-standards] (SCNoLEAST8): Likewise.
5768 [C99-based-standards] (SCNuLEAST8): Likewise.
5769 [C99-based-standards] (SCNxLEAST8): Likewise.
5770 [C99-based-standards] (PRIdFAST8): Likewise.
5771 [C99-based-standards] (PRIiFAST8): Likewise.
5772 [C99-based-standards] (PRIoFAST8): Likewise.
5773 [C99-based-standards] (PRIuFAST8): Likewise.
5774 [C99-based-standards] (PRIxFAST8): Likewise.
5775 [C99-based-standards] (PRIXFAST8): Likewise.
5776 [C99-based-standards] (SCNdFAST8): Likewise.
5777 [C99-based-standards] (SCNiFAST8): Likewise.
5778 [C99-based-standards] (SCNoFAST8): Likewise.
5779 [C99-based-standards] (SCNuFAST8): Likewise.
5780 [C99-based-standards] (SCNxFAST8): Likewise.
5781 [C99-based-standards] (PRId16): Likewise.
5782 [C99-based-standards] (PRIi16): Likewise.
5783 [C99-based-standards] (PRIo16): Likewise.
5784 [C99-based-standards] (PRIu16): Likewise.
5785 [C99-based-standards] (PRIx16): Likewise.
5786 [C99-based-standards] (PRIX16): Likewise.
5787 [C99-based-standards] (SCNd16): Likewise.
5788 [C99-based-standards] (SCNi16): Likewise.
5789 [C99-based-standards] (SCNo16): Likewise.
5790 [C99-based-standards] (SCNu16): Likewise.
5791 [C99-based-standards] (SCNx16): Likewise.
5792 [C99-based-standards] (PRIdLEAST16): Likewise.
5793 [C99-based-standards] (PRIiLEAST16): Likewise.
5794 [C99-based-standards] (PRIoLEAST16): Likewise.
5795 [C99-based-standards] (PRIuLEAST16): Likewise.
5796 [C99-based-standards] (PRIxLEAST16): Likewise.
5797 [C99-based-standards] (PRIXLEAST16): Likewise.
5798 [C99-based-standards] (SCNdLEAST16): Likewise.
5799 [C99-based-standards] (SCNiLEAST16): Likewise.
5800 [C99-based-standards] (SCNoLEAST16): Likewise.
5801 [C99-based-standards] (SCNuLEAST16): Likewise.
5802 [C99-based-standards] (SCNxLEAST16): Likewise.
5803 [C99-based-standards] (PRIdFAST16): Likewise.
5804 [C99-based-standards] (PRIiFAST16): Likewise.
5805 [C99-based-standards] (PRIoFAST16): Likewise.
5806 [C99-based-standards] (PRIuFAST16): Likewise.
5807 [C99-based-standards] (PRIxFAST16): Likewise.
5808 [C99-based-standards] (PRIXFAST16): Likewise.
5809 [C99-based-standards] (SCNdFAST16): Likewise.
5810 [C99-based-standards] (SCNiFAST16): Likewise.
5811 [C99-based-standards] (SCNoFAST16): Likewise.
5812 [C99-based-standards] (SCNuFAST16): Likewise.
5813 [C99-based-standards] (SCNxFAST16): Likewise.
5814 [C99-based-standards] (PRId32): Likewise.
5815 [C99-based-standards] (PRIi32): Likewise.
5816 [C99-based-standards] (PRIo32): Likewise.
5817 [C99-based-standards] (PRIu32): Likewise.
5818 [C99-based-standards] (PRIx32): Likewise.
5819 [C99-based-standards] (PRIX32): Likewise.
5820 [C99-based-standards] (SCNd32): Likewise.
5821 [C99-based-standards] (SCNi32): Likewise.
5822 [C99-based-standards] (SCNo32): Likewise.
5823 [C99-based-standards] (SCNu32): Likewise.
5824 [C99-based-standards] (SCNx32): Likewise.
5825 [C99-based-standards] (PRIdLEAST32): Likewise.
5826 [C99-based-standards] (PRIiLEAST32): Likewise.
5827 [C99-based-standards] (PRIoLEAST32): Likewise.
5828 [C99-based-standards] (PRIuLEAST32): Likewise.
5829 [C99-based-standards] (PRIxLEAST32): Likewise.
5830 [C99-based-standards] (PRIXLEAST32): Likewise.
5831 [C99-based-standards] (SCNdLEAST32): Likewise.
5832 [C99-based-standards] (SCNiLEAST32): Likewise.
5833 [C99-based-standards] (SCNoLEAST32): Likewise.
5834 [C99-based-standards] (SCNuLEAST32): Likewise.
5835 [C99-based-standards] (SCNxLEAST32): Likewise.
5836 [C99-based-standards] (PRIdFAST32): Likewise.
5837 [C99-based-standards] (PRIiFAST32): Likewise.
5838 [C99-based-standards] (PRIoFAST32): Likewise.
5839 [C99-based-standards] (PRIuFAST32): Likewise.
5840 [C99-based-standards] (PRIxFAST32): Likewise.
5841 [C99-based-standards] (PRIXFAST32): Likewise.
5842 [C99-based-standards] (SCNdFAST32): Likewise.
5843 [C99-based-standards] (SCNiFAST32): Likewise.
5844 [C99-based-standards] (SCNoFAST32): Likewise.
5845 [C99-based-standards] (SCNuFAST32): Likewise.
5846 [C99-based-standards] (SCNxFAST32): Likewise.
5847 [C99-based-standards] (PRId64): Likewise.
5848 [C99-based-standards] (PRIi64): Likewise.
5849 [C99-based-standards] (PRIo64): Likewise.
5850 [C99-based-standards] (PRIu64): Likewise.
5851 [C99-based-standards] (PRIx64): Likewise.
5852 [C99-based-standards] (PRIX64): Likewise.
5853 [C99-based-standards] (SCNd64): Likewise.
5854 [C99-based-standards] (SCNi64): Likewise.
5855 [C99-based-standards] (SCNo64): Likewise.
5856 [C99-based-standards] (SCNu64): Likewise.
5857 [C99-based-standards] (SCNx64): Likewise.
5858 [C99-based-standards] (PRIdLEAST64): Likewise.
5859 [C99-based-standards] (PRIiLEAST64): Likewise.
5860 [C99-based-standards] (PRIoLEAST64): Likewise.
5861 [C99-based-standards] (PRIuLEAST64): Likewise.
5862 [C99-based-standards] (PRIxLEAST64): Likewise.
5863 [C99-based-standards] (PRIXLEAST64): Likewise.
5864 [C99-based-standards] (SCNdLEAST64): Likewise.
5865 [C99-based-standards] (SCNiLEAST64): Likewise.
5866 [C99-based-standards] (SCNoLEAST64): Likewise.
5867 [C99-based-standards] (SCNuLEAST64): Likewise.
5868 [C99-based-standards] (SCNxLEAST64): Likewise.
5869 [C99-based-standards] (PRIdFAST64): Likewise.
5870 [C99-based-standards] (PRIiFAST64): Likewise.
5871 [C99-based-standards] (PRIoFAST64): Likewise.
5872 [C99-based-standards] (PRIuFAST64): Likewise.
5873 [C99-based-standards] (PRIxFAST64): Likewise.
5874 [C99-based-standards] (PRIXFAST64): Likewise.
5875 [C99-based-standards] (SCNdFAST64): Likewise.
5876 [C99-based-standards] (SCNiFAST64): Likewise.
5877 [C99-based-standards] (SCNoFAST64): Likewise.
5878 [C99-based-standards] (SCNuFAST64): Likewise.
5879 [C99-based-standards] (SCNxFAST64): Likewise.
5880 [C99-based-standards] (PRIdMAX): Likewise.
5881 [C99-based-standards] (PRIiMAX): Likewise.
5882 [C99-based-standards] (PRIoMAX): Likewise.
5883 [C99-based-standards] (PRIuMAX): Likewise.
5884 [C99-based-standards] (PRIxMAX): Likewise.
5885 [C99-based-standards] (PRIXMAX): Likewise.
5886 [C99-based-standards] (SCNdMAX): Likewise.
5887 [C99-based-standards] (SCNiMAX): Likewise.
5888 [C99-based-standards] (SCNoMAX): Likewise.
5889 [C99-based-standards] (SCNuMAX): Likewise.
5890 [C99-based-standards] (SCNxMAX): Likewise.
5891 [C99-based-standards] (PRIdPTR): Likewise.
5892 [C99-based-standards] (PRIiPTR): Likewise.
5893 [C99-based-standards] (PRIoPTR): Likewise.
5894 [C99-based-standards] (PRIuPTR): Likewise.
5895 [C99-based-standards] (PRIxPTR): Likewise.
5896 [C99-based-standards] (PRIXPTR): Likewise.
5897 [C99-based-standards] (SCNdPTR): Likewise.
5898 [C99-based-standards] (SCNiPTR): Likewise.
5899 [C99-based-standards] (SCNoPTR): Likewise.
5900 [C99-based-standards] (SCNuPTR): Likewise.
5901 [C99-based-standards] (SCNxPTR): Likewise.
5902 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5904 * conform/data/stdint.h-data: Update comments to clarify
5906 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5908 [C99-based standards] (INT8_MAX): Likewise.
5909 [C99-based standards] (INT16_MIN): Likewise.
5910 [C99-based standards] (INT16_MAX): Likewise.
5911 [C99-based standards] (INT32_MIN): Likewise.
5912 [C99-based standards] (INT32_MAX): Likewise.
5913 [C99-based standards] (INT64_MIN): Likewise.
5914 [C99-based standards] (INT64_MAX): Likewise.
5915 [C99-based standards] (UINT8_MAX): Likewise.
5916 [C99-based standards] (UINT16_MAX): Likewise.
5917 [C99-based standards] (UINT32_MAX): Likewise.
5918 [C99-based standards] (UINT64_MAX): Likewise.
5919 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5920 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5921 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5922 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5923 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5924 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5925 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5926 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5927 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5928 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5929 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5930 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5931 [C99-based standards] (INT_FAST8_MIN): Likewise.
5932 [C99-based standards] (INT_FAST8_MAX): Likewise.
5933 [C99-based standards] (INT_FAST16_MIN): Likewise.
5934 [C99-based standards] (INT_FAST16_MAX): Likewise.
5935 [C99-based standards] (INT_FAST32_MIN): Likewise.
5936 [C99-based standards] (INT_FAST32_MAX): Likewise.
5937 [C99-based standards] (INT_FAST64_MIN): Likewise.
5938 [C99-based standards] (INT_FAST64_MAX): Likewise.
5939 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5940 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5941 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5942 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5943 [C99-based standards] (INTPTR_MIN): Likewise.
5944 [C99-based standards] (INTPTR_MAX): Likewise.
5945 [C99-based standards] (UINTPTR_MAX): Likewise.
5946 [C99-based standards] (INTMAX_MIN): Likewise.
5947 [C99-based standards] (INTMAX_MAX): Likewise.
5948 [C99-based standards] (UINTMAX_MAX): Likewise.
5949 [C99-based standards] (PTRDIFF_MIN): Likewise.
5950 [C99-based standards] (PTRDIFF_MAX): Likewise.
5951 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5952 [C99-based standards] (SIZE_MAX): Likewise.
5953 [C99-based standards] (WCHAR_MAX): Likewise.
5954 [C99-based standards] (WINT_MAX): Likewise.
5955 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5956 constraint on value.
5957 [C99-based standards] (WCHAR_MIN): Likewise.
5958 [C99-based standards] (WINT_MIN): Likewise.
5959 [C99-based standards] (*_t): Allow.
5960 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5961 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5962 Include math.h-data and complex.h-data. Remove all expectations
5963 of math.h and complex.h contents.
5964 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5966 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5967 (struct tm): Expect tag.
5968 [C99-based-standards] (wcstof): Expect function.
5969 [C99-based-standards] (wcstold): Likewise.
5970 [C99-based-standards] (wcstoll): Likewise.
5971 [C99-based-standards] (wcstoull): Likewise.
5972 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5973 macro-int-constant. Specify type.
5974 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5975 constraint on value.
5976 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5978 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5980 [ISO C standards]: Do not allow headers.
5981 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5982 wcs[abcdefghijklmnopqrstuvwxyz]*.
5983 [ISO C standards] (*_t): Do not allow.
5984 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5986 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5987 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5989 [ISO C standards]: Do not allow headers.
5990 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5991 is[abcdefghijklmnopqrstuvwxyz]*.
5992 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5993 to[abcdefghijklmnopqrstuvwxyz]*.
5994 [ISO C standards] (*_t): Do not allow.
5995 * conform/data/stdalign.h-data: New file.
5996 * conform/data/stdbool.h-data: Likewise.
5997 * conform/data/stdnoreturn.h-data: Likewise.
5999 2012-11-07 Roland McGrath <roland@hack.frob.com>
6002 * manual/filesys.texi (Directory Entries): Typo fix.
6003 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6005 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6007 * elf/elf.h (EM_AARCH64): New macro.
6008 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6009 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6010 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6011 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6012 (R_AARCH64_TLSDESC): Likewise.
6013 (NT_ARM_TLS): Likewise.
6014 (NT_ARM_HW_BREAK): Likewise.
6015 (NT_ARM_HW_WATCH): Likewise.
6017 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6020 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6021 (__ieee754_powl): Saturate nonzero exponents with absolute value
6022 below 0x1p-79 to +/- 0x1p-79.
6023 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6024 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6025 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6026 nonzero exponents with absolute value below 0x1p-32 to +/-
6028 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6029 (__ieee754_powl): Saturate nonzero exponents with absolute value
6030 below 0x1p-79 to +/- 0x1p-79.
6031 * math/libm-test.inc (pow_test): Add more tests.
6033 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6035 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6036 _dl_s390_cap_flags with kernel. Increase string length.
6037 (_dl_s390_platforms): Add z196 and zEC12.
6039 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6041 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6042 Change XOPEN21K to XOPEN2K.
6044 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6046 * string/memmove.c: Use memcpy when possible.
6048 2012-11-06 Andreas Jaeger <aj@suse.de>
6050 * po/eo.po: Update from translation team.
6052 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6056 exponent and small x and y exponents, scale x or y up. Increase
6057 by 2 the exponent used in scaling up.
6058 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6059 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6060 * math/libm-test.inc (fma_test): Add more tests.
6061 (fma_test_towardzero): Likewise.
6062 (fma_test_downward): Likewise.
6063 (fma_test_upward): Likewise.
6065 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6068 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6072 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6073 namespace for names of struct fields.
6074 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6076 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6077 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6079 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6082 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6084 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6086 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6090 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6093 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6097 definitely overflow as x * y not x * y + z.
6098 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6099 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6100 * math/libm-test.inc (fma_test): Add more tests.
6101 (fma_test_towardzero): Likewise.
6102 (fma_test_downward): Likewise.
6103 (fma_test_upward): Likewise.
6105 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6109 * include/stub-tag.h: Remove file.
6110 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6112 * manual/maint.texi (Porting): Don't reference it.
6113 * Makerules ($(objpfx)stubs): Likewise.
6114 * dirent/closedir.c: Don't include <stub-tag.h>.
6115 * dirent/dirfd.c: Likewise.
6116 * dirent/fdopendir.c: Likewise.
6117 * dirent/getdents.c: Likewise.
6118 * dirent/getdents64.c: Likewise.
6119 * dirent/opendir.c: Likewise.
6120 * dirent/readdir.c: Likewise.
6121 * dirent/readdir64.c: Likewise.
6122 * dirent/readdir64_r.c: Likewise.
6123 * dirent/readdir_r.c: Likewise.
6124 * dirent/rewinddir.c: Likewise.
6125 * dirent/seekdir.c: Likewise.
6126 * dirent/telldir.c: Likewise.
6127 * gmon/profil.c: Likewise.
6128 * grp/setgroups.c: Likewise.
6129 * inet/if_index.c: Likewise.
6130 * io/access.c: Likewise.
6131 * io/chdir.c: Likewise.
6132 * io/chmod.c: Likewise.
6133 * io/chown.c: Likewise.
6134 * io/close.c: Likewise.
6135 * io/dup.c: Likewise.
6136 * io/dup2.c: Likewise.
6137 * io/dup3.c: Likewise.
6138 * io/euidaccess.c: Likewise.
6139 * io/faccessat.c: Likewise.
6140 * io/fchdir.c: Likewise.
6141 * io/fchmod.c: Likewise.
6142 * io/fchmodat.c: Likewise.
6143 * io/fchown.c: Likewise.
6144 * io/fchownat.c: Likewise.
6145 * io/fcntl.c: Likewise.
6146 * io/flock.c: Likewise.
6147 * io/fstatfs.c: Likewise.
6148 * io/fstatfs64.c: Likewise.
6149 * io/fstatvfs.c: Likewise.
6150 * io/fstatvfs64.c: Likewise.
6151 * io/futimens.c: Likewise.
6152 * io/fxstat.c: Likewise.
6153 * io/fxstat64.c: Likewise.
6154 * io/fxstatat.c: Likewise.
6155 * io/fxstatat64.c: Likewise.
6156 * io/getcwd.c: Likewise.
6157 * io/isatty.c: Likewise.
6158 * io/lchmod.c: Likewise.
6159 * io/lchown.c: Likewise.
6160 * io/link.c: Likewise.
6161 * io/linkat.c: Likewise.
6162 * io/lseek.c: Likewise.
6163 * io/lseek64.c: Likewise.
6164 * io/lxstat64.c: Likewise.
6165 * io/mkdir.c: Likewise.
6166 * io/mkdirat.c: Likewise.
6167 * io/mkfifo.c: Likewise.
6168 * io/mkfifoat.c: Likewise.
6169 * io/open.c: Likewise.
6170 * io/open64.c: Likewise.
6171 * io/openat.c: Likewise.
6172 * io/openat64.c: Likewise.
6173 * io/pipe.c: Likewise.
6174 * io/pipe2.c: Likewise.
6175 * io/poll.c: Likewise.
6176 * io/posix_fadvise.c: Likewise.
6177 * io/posix_fadvise64.c: Likewise.
6178 * io/posix_fallocate.c: Likewise.
6179 * io/posix_fallocate64.c: Likewise.
6180 * io/read.c: Likewise.
6181 * io/readlink.c: Likewise.
6182 * io/readlinkat.c: Likewise.
6183 * io/rmdir.c: Likewise.
6184 * io/sendfile.c: Likewise.
6185 * io/sendfile64.c: Likewise.
6186 * io/statfs.c: Likewise.
6187 * io/statfs64.c: Likewise.
6188 * io/statvfs.c: Likewise.
6189 * io/statvfs64.c: Likewise.
6190 * io/symlink.c: Likewise.
6191 * io/symlinkat.c: Likewise.
6192 * io/ttyname.c: Likewise.
6193 * io/ttyname_r.c: Likewise.
6194 * io/umask.c: Likewise.
6195 * io/unlink.c: Likewise.
6196 * io/unlinkat.c: Likewise.
6197 * io/utime.c: Likewise.
6198 * io/utimensat.c: Likewise.
6199 * io/write.c: Likewise.
6200 * io/xmknod.c: Likewise.
6201 * io/xmknodat.c: Likewise.
6202 * io/xstat.c: Likewise.
6203 * io/xstat64.c: Likewise.
6204 * login/getpt.c: Likewise.
6205 * login/grantpt.c: Likewise.
6206 * login/unlockpt.c: Likewise.
6207 * math/e_acoshl.c: Likewise.
6208 * math/e_acosl.c: Likewise.
6209 * math/e_asinl.c: Likewise.
6210 * math/e_atan2l.c: Likewise.
6211 * math/e_atanhl.c: Likewise.
6212 * math/e_coshl.c: Likewise.
6213 * math/e_expl.c: Likewise.
6214 * math/e_fmodl.c: Likewise.
6215 * math/e_gammal_r.c: Likewise.
6216 * math/e_hypotl.c: Likewise.
6217 * math/e_j0l.c: Likewise.
6218 * math/e_j1l.c: Likewise.
6219 * math/e_jnl.c: Likewise.
6220 * math/e_lgammal_r.c: Likewise.
6221 * math/e_log10l.c: Likewise.
6222 * math/e_log2l.c: Likewise.
6223 * math/e_logl.c: Likewise.
6224 * math/e_powl.c: Likewise.
6225 * math/e_rem_pio2l.c: Likewise.
6226 * math/e_sinhl.c: Likewise.
6227 * math/e_sqrtl.c: Likewise.
6228 * math/fclrexcpt.c: Likewise.
6229 * math/fedisblxcpt.c: Likewise.
6230 * math/feenablxcpt.c: Likewise.
6231 * math/fegetenv.c: Likewise.
6232 * math/fegetexcept.c: Likewise.
6233 * math/fegetround.c: Likewise.
6234 * math/feholdexcpt.c: Likewise.
6235 * math/fesetenv.c: Likewise.
6236 * math/fesetround.c: Likewise.
6237 * math/feupdateenv.c: Likewise.
6238 * math/fgetexcptflg.c: Likewise.
6239 * math/fraiseexcpt.c: Likewise.
6240 * math/fsetexcptflg.c: Likewise.
6241 * math/ftestexcept.c: Likewise.
6242 * math/k_cosl.c: Likewise.
6243 * math/k_rem_pio2l.c: Likewise.
6244 * math/k_sinl.c: Likewise.
6245 * math/k_tanl.c: Likewise.
6246 * math/s_asinhl.c: Likewise.
6247 * math/s_atanl.c: Likewise.
6248 * math/s_cbrtl.c: Likewise.
6249 * math/s_erfl.c: Likewise.
6250 * math/s_expm1l.c: Likewise.
6251 * math/s_log1pl.c: Likewise.
6252 * math/s_tanhl.c: Likewise.
6253 * misc/acct.c: Likewise.
6254 * misc/brk.c: Likewise.
6255 * misc/chflags.c: Likewise.
6256 * misc/chroot.c: Likewise.
6257 * misc/fchflags.c: Likewise.
6258 * misc/fgetxattr.c: Likewise.
6259 * misc/flistxattr.c: Likewise.
6260 * misc/fremovexattr.c: Likewise.
6261 * misc/fsetxattr.c: Likewise.
6262 * misc/fsync.c: Likewise.
6263 * misc/ftruncate.c: Likewise.
6264 * misc/futimes.c: Likewise.
6265 * misc/futimesat.c: Likewise.
6266 * misc/getdomain.c: Likewise.
6267 * misc/getdtsz.c: Likewise.
6268 * misc/gethostid.c: Likewise.
6269 * misc/gethostname.c: Likewise.
6270 * misc/getloadavg.c: Likewise.
6271 * misc/getpagesize.c: Likewise.
6272 * misc/getsysstats.c: Likewise.
6273 * misc/getxattr.c: Likewise.
6274 * misc/gtty.c: Likewise.
6275 * misc/ioctl.c: Likewise.
6276 * misc/lgetxattr.c: Likewise.
6277 * misc/listxattr.c: Likewise.
6278 * misc/llistxattr.c: Likewise.
6279 * misc/lremovexattr.c: Likewise.
6280 * misc/lsetxattr.c: Likewise.
6281 * misc/lutimes.c: Likewise.
6282 * misc/madvise.c: Likewise.
6283 * misc/mincore.c: Likewise.
6284 * misc/mlock.c: Likewise.
6285 * misc/mlockall.c: Likewise.
6286 * misc/mmap.c: Likewise.
6287 * misc/mprotect.c: Likewise.
6288 * misc/msync.c: Likewise.
6289 * misc/munlock.c: Likewise.
6290 * misc/munlockall.c: Likewise.
6291 * misc/munmap.c: Likewise.
6292 * misc/preadv.c: Likewise.
6293 * misc/preadv64.c: Likewise.
6294 * misc/ptrace.c: Likewise.
6295 * misc/pwritev.c: Likewise.
6296 * misc/pwritev64.c: Likewise.
6297 * misc/readv.c: Likewise.
6298 * misc/reboot.c: Likewise.
6299 * misc/remap_file_pages.c: Likewise.
6300 * misc/removexattr.c: Likewise.
6301 * misc/revoke.c: Likewise.
6302 * misc/select.c: Likewise.
6303 * misc/setdomain.c: Likewise.
6304 * misc/setegid.c: Likewise.
6305 * misc/seteuid.c: Likewise.
6306 * misc/sethostid.c: Likewise.
6307 * misc/sethostname.c: Likewise.
6308 * misc/setregid.c: Likewise.
6309 * misc/setreuid.c: Likewise.
6310 * misc/setxattr.c: Likewise.
6311 * misc/sstk.c: Likewise.
6312 * misc/stty.c: Likewise.
6313 * misc/swapoff.c: Likewise.
6314 * misc/swapon.c: Likewise.
6315 * misc/sync.c: Likewise.
6316 * misc/syncfs.c: Likewise.
6317 * misc/syscall.c: Likewise.
6318 * misc/truncate.c: Likewise.
6319 * misc/ualarm.c: Likewise.
6320 * misc/usleep.c: Likewise.
6321 * misc/ustat.c: Likewise.
6322 * misc/utimes.c: Likewise.
6323 * misc/vhangup.c: Likewise.
6324 * misc/writev.c: Likewise.
6325 * posix/_exit.c: Likewise.
6326 * posix/alarm.c: Likewise.
6327 * posix/execve.c: Likewise.
6328 * posix/fexecve.c: Likewise.
6329 * posix/fork.c: Likewise.
6330 * posix/fpathconf.c: Likewise.
6331 * posix/getaddrinfo.c: Likewise.
6332 * posix/getegid.c: Likewise.
6333 * posix/geteuid.c: Likewise.
6334 * posix/getgid.c: Likewise.
6335 * posix/getgroups.c: Likewise.
6336 * posix/getlogin.c: Likewise.
6337 * posix/getlogin_r.c: Likewise.
6338 * posix/getpgid.c: Likewise.
6339 * posix/getpid.c: Likewise.
6340 * posix/getppid.c: Likewise.
6341 * posix/getresgid.c: Likewise.
6342 * posix/getresuid.c: Likewise.
6343 * posix/getsid.c: Likewise.
6344 * posix/getuid.c: Likewise.
6345 * posix/glob64.c: Likewise.
6346 * posix/nanosleep.c: Likewise.
6347 * posix/pathconf.c: Likewise.
6348 * posix/pause.c: Likewise.
6349 * posix/posix_madvise.c: Likewise.
6350 * posix/pread.c: Likewise.
6351 * posix/pread64.c: Likewise.
6352 * posix/pwrite.c: Likewise.
6353 * posix/pwrite64.c: Likewise.
6354 * posix/sched_getaffinity.c: Likewise.
6355 * posix/sched_getp.c: Likewise.
6356 * posix/sched_gets.c: Likewise.
6357 * posix/sched_primax.c: Likewise.
6358 * posix/sched_primin.c: Likewise.
6359 * posix/sched_rr_gi.c: Likewise.
6360 * posix/sched_setaffinity.c: Likewise.
6361 * posix/sched_setp.c: Likewise.
6362 * posix/sched_sets.c: Likewise.
6363 * posix/sched_yield.c: Likewise.
6364 * posix/setgid.c: Likewise.
6365 * posix/setlogin.c: Likewise.
6366 * posix/setpgid.c: Likewise.
6367 * posix/setresgid.c: Likewise.
6368 * posix/setresuid.c: Likewise.
6369 * posix/setsid.c: Likewise.
6370 * posix/setuid.c: Likewise.
6371 * posix/sleep.c: Likewise.
6372 * posix/spawni.c: Likewise.
6373 * posix/sysconf.c: Likewise.
6374 * posix/times.c: Likewise.
6375 * posix/wait.c: Likewise.
6376 * posix/wait3.c: Likewise.
6377 * posix/wait4.c: Likewise.
6378 * posix/waitpid.c: Likewise.
6379 * resolv/gai_sigqueue.c: Likewise.
6380 * resource/getpriority.c: Likewise.
6381 * resource/getrlimit.c: Likewise.
6382 * resource/getrusage.c: Likewise.
6383 * resource/nice.c: Likewise.
6384 * resource/setpriority.c: Likewise.
6385 * resource/setrlimit.c: Likewise.
6386 * resource/ulimit.c: Likewise.
6387 * rt/aio_cancel.c: Likewise.
6388 * rt/aio_fsync.c: Likewise.
6389 * rt/aio_read.c: Likewise.
6390 * rt/aio_sigqueue.c: Likewise.
6391 * rt/aio_suspend.c: Likewise.
6392 * rt/aio_write.c: Likewise.
6393 * rt/clock_getres.c: Likewise.
6394 * rt/clock_gettime.c: Likewise.
6395 * rt/clock_nanosleep.c: Likewise.
6396 * rt/clock_settime.c: Likewise.
6397 * rt/lio_listio.c: Likewise.
6398 * rt/mq_close.c: Likewise.
6399 * rt/mq_getattr.c: Likewise.
6400 * rt/mq_notify.c: Likewise.
6401 * rt/mq_open.c: Likewise.
6402 * rt/mq_receive.c: Likewise.
6403 * rt/mq_send.c: Likewise.
6404 * rt/mq_setattr.c: Likewise.
6405 * rt/mq_timedreceive.c: Likewise.
6406 * rt/mq_timedsend.c: Likewise.
6407 * rt/mq_unlink.c: Likewise.
6408 * rt/shm_open.c: Likewise.
6409 * rt/shm_unlink.c: Likewise.
6410 * rt/timer_create.c: Likewise.
6411 * rt/timer_delete.c: Likewise.
6412 * rt/timer_getoverr.c: Likewise.
6413 * rt/timer_gettime.c: Likewise.
6414 * rt/timer_settime.c: Likewise.
6415 * setjmp/__longjmp.c: Likewise.
6416 * setjmp/setjmp.c: Likewise.
6417 * signal/kill.c: Likewise.
6418 * signal/killpg.c: Likewise.
6419 * signal/raise.c: Likewise.
6420 * signal/sigaction.c: Likewise.
6421 * signal/sigaltstack.c: Likewise.
6422 * signal/sigblock.c: Likewise.
6423 * signal/sigignore.c: Likewise.
6424 * signal/sigintr.c: Likewise.
6425 * signal/signal.c: Likewise.
6426 * signal/sigpause.c: Likewise.
6427 * signal/sigpending.c: Likewise.
6428 * signal/sigqueue.c: Likewise.
6429 * signal/sigreturn.c: Likewise.
6430 * signal/sigset.c: Likewise.
6431 * signal/sigsetmask.c: Likewise.
6432 * signal/sigstack.c: Likewise.
6433 * signal/sigsuspend.c: Likewise.
6434 * signal/sigtimedwait.c: Likewise.
6435 * signal/sigvec.c: Likewise.
6436 * signal/sigwait.c: Likewise.
6437 * signal/sigwaitinfo.c: Likewise.
6438 * signal/sysv_signal.c: Likewise.
6439 * socket/accept.c: Likewise.
6440 * socket/accept4.c: Likewise.
6441 * socket/bind.c: Likewise.
6442 * socket/connect.c: Likewise.
6443 * socket/getpeername.c: Likewise.
6444 * socket/getsockname.c: Likewise.
6445 * socket/getsockopt.c: Likewise.
6446 * socket/isfdtype.c: Likewise.
6447 * socket/listen.c: Likewise.
6448 * socket/recv.c: Likewise.
6449 * socket/recvfrom.c: Likewise.
6450 * socket/recvmsg.c: Likewise.
6451 * socket/send.c: Likewise.
6452 * socket/sendmsg.c: Likewise.
6453 * socket/sendto.c: Likewise.
6454 * socket/setsockopt.c: Likewise.
6455 * socket/shutdown.c: Likewise.
6456 * socket/sockatmark.c: Likewise.
6457 * socket/socket.c: Likewise.
6458 * socket/socketpair.c: Likewise.
6459 * stdio-common/ctermid.c: Likewise.
6460 * stdio-common/cuserid.c: Likewise.
6461 * stdio-common/remove.c: Likewise.
6462 * stdio-common/rename.c: Likewise.
6463 * stdio-common/renameat.c: Likewise.
6464 * stdio-common/tempname.c: Likewise.
6465 * stdlib/getcontext.c: Likewise.
6466 * stdlib/makecontext.c: Likewise.
6467 * stdlib/setcontext.c: Likewise.
6468 * stdlib/swapcontext.c: Likewise.
6469 * stdlib/system.c: Likewise.
6470 * streams/fattach.c: Likewise.
6471 * streams/fdetach.c: Likewise.
6472 * streams/getmsg.c: Likewise.
6473 * streams/getpmsg.c: Likewise.
6474 * streams/putmsg.c: Likewise.
6475 * streams/putpmsg.c: Likewise.
6476 * sysdeps/unix/bsd/getpt.c: Likewise.
6477 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6478 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6479 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6482 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6483 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6484 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6485 * sysvipc/msgctl.c: Likewise.
6486 * sysvipc/msgget.c: Likewise.
6487 * sysvipc/msgrcv.c: Likewise.
6488 * sysvipc/msgsnd.c: Likewise.
6489 * sysvipc/semctl.c: Likewise.
6490 * sysvipc/semget.c: Likewise.
6491 * sysvipc/semop.c: Likewise.
6492 * sysvipc/semtimedop.c: Likewise.
6493 * sysvipc/shmat.c: Likewise.
6494 * sysvipc/shmctl.c: Likewise.
6495 * sysvipc/shmdt.c: Likewise.
6496 * sysvipc/shmget.c: Likewise.
6497 * termios/tcdrain.c: Likewise.
6498 * termios/tcflow.c: Likewise.
6499 * termios/tcflush.c: Likewise.
6500 * termios/tcgetattr.c: Likewise.
6501 * termios/tcgetpgrp.c: Likewise.
6502 * termios/tcsendbrk.c: Likewise.
6503 * termios/tcsetattr.c: Likewise.
6504 * termios/tcsetpgrp.c: Likewise.
6505 * time/adjtime.c: Likewise.
6506 * time/clock.c: Likewise.
6507 * time/getitimer.c: Likewise.
6508 * time/gettimeofday.c: Likewise.
6509 * time/setitimer.c: Likewise.
6510 * time/settimeofday.c: Likewise.
6511 * time/stime.c: Likewise.
6512 * time/time.c: Likewise.
6514 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
6516 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6519 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6521 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6523 2012-11-03 Joseph Myers <joseph@codesourcery.com>
6526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6527 FE_TONEAREST before applying Dekker multiplication and Knuth
6528 addition. Clear inexact exceptions and check for exact zero
6530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6531 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6532 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6533 * math/libm-test.inc (fma_test): Add more tests.
6534 (fma_test_towardzero): Likewise.
6535 (fma_test_downward): Likewise.
6536 (fma_test_upward): Likewise.
6537 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6539 (libc_fesetround): New macro.
6540 (libc_fesetroundf): Likewise.
6541 (libc_fesetroundl): Likewise.
6542 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6544 (libc_fesetround_387): Likewise.
6545 (libc_fesetroundf): New macro.
6546 (libc_fesetround): Likewise.
6547 (libc_fesetroundl): Likewise.
6548 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6550 (libc_fesetroundf): New macro.
6551 (libc_fesetround): Likewise.
6552 (libc_fesetroundl): Likewise.
6553 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6554 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6555 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6557 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6558 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6560 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6561 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6563 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6567 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6568 integer constant usable in #if and use that to give value to enum
6570 (FE_DIVBYZERO): Likewise.
6571 (FE_UNDERFLOW): Likewise.
6572 (FE_OVERFLOW): Likewise.
6573 (FE_INVALID): Likewise.
6574 (FE_INVALID_SNAN): Likewise.
6575 (FE_INVALID_ISI): Likewise.
6576 (FE_INVALID_IDI): Likewise.
6577 (FE_INVALID_ZDZ): Likewise.
6578 (FE_INVALID_IMZ): Likewise.
6579 (FE_INVALID_COMPARE): Likewise.
6580 (FE_INVALID_SOFTWARE): Likewise.
6581 (FE_INVALID_SQRT): Likewise.
6582 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6583 (FE_TONEAREST): Likewise.
6584 (FE_TOWARDZERO): Likewise.
6585 (FE_UPWARD): Likewise.
6586 (FE_DOWNWARD): Likewise.
6587 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6588 (FE_DIVBYZERO): Likewise.
6589 (FE_OVERFLOW): Likewise.
6590 (FE_UNDERFLOW): Likewise.
6591 (FE_INEXACT): Likewise.
6592 (FE_TONEAREST): Likewise.
6593 (FE_DOWNWARD): Likewise.
6594 (FE_UPWARD): Likewise.
6595 (FE_TOWARDZERO): Likewise.
6596 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6597 (FE_UNDERFLOW): Likewise.
6598 (FE_OVERFLOW): Likewise.
6599 (FE_DIVBYZERO): Likewise.
6600 (FE_INVALID): Likewise.
6601 (FE_TONEAREST): Likewise.
6602 (FE_TOWARDZERO): Likewise.
6603 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6604 (FE_OVERFLOW): Likewise.
6605 (FE_UNDERFLOW): Likewise.
6606 (FE_DIVBYZERO): Likewise.
6607 (FE_INEXACT): Likewise.
6608 (FE_TONEAREST): Likewise.
6609 (FE_TOWARDZERO): Likewise.
6610 (FE_UPWARD): Likewise.
6611 (FE_DOWNWARD): Likewise.
6612 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6613 (FE_DIVBYZERO): Likewise.
6614 (FE_OVERFLOW): Likewise.
6615 (FE_UNDERFLOW): Likewise.
6616 (FE_INEXACT): Likewise.
6617 (FE_TONEAREST): Likewise.
6618 (FE_DOWNWARD): Likewise.
6619 (FE_UPWARD): Likewise.
6620 (FE_TOWARDZERO): Likewise.
6622 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6624 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6626 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6628 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6629 commands. Quote $PWD.
6630 (blacklist_exports): Don't use remove_newlines. Replace "declare
6632 (remove_newlines): Remove.
6634 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6636 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6637 * stdlib/stdlib.h (atof): Moved to ...
6638 * include/bits/stdlib-float.h: Here. New file.
6639 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6640 * stdlib/bits/stdlib-float.h: New file.
6641 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6643 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6646 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6648 * conform/conformtest.pl (@headers): Add fenv.h.
6649 * conform/data/fenv.h-data: New file.
6650 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6651 include of <math/fenv.h>.
6653 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6654 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6655 && !UNIX98]. Enables tests for XOPEN2K8.
6656 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6657 POSIX2008]: Likewise.
6659 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6660 (struct rusage): Do not expect type or its members.
6663 * math/math.h (FP_NAN): Define macro to integer constant usable in
6664 #if and use that to give value to enum constant.
6665 (FP_INFINITE): Likewise.
6666 (FP_ZERO): Likewise.
6667 (FP_SUBNORMAL): Likewise.
6668 (FP_NORMAL): Likewise.
6670 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6672 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6673 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6676 2012-11-02 Roland McGrath <roland@hack.frob.com>
6678 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6679 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6680 autoconf-time if not.
6681 * configure.in: Remove AC_PREREQ.
6683 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6685 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6686 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6687 of the internal implementation.
6689 2012-11-02 Joseph Myers <joseph@codesourcery.com>
6691 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6692 except include of <misc/sys/syslog.h>.
6694 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6697 function returns with a NULL context exit with zero.
6699 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6701 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6703 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6705 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6706 (run_program_cmd): This.
6707 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6708 (tst_langinfo): New variable. Use it.
6710 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6712 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6713 floating point opcodes.
6715 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6717 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6720 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6722 * sysdeps/mach/hurd/powerpc: Remove directory.
6723 * sysdeps/mach/powerpc: Likewise.
6725 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6727 * scripts/check-local-headers.sh: Ignore c++ headers.
6729 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6731 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6732 __libc_cleanup_region_start argument.
6734 2012-11-01 Joseph Myers <joseph@codesourcery.com>
6738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6739 x * y using scaling, not as x * y + z.
6740 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6741 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6742 * math/libm-test.inc (fma_test): Add more tests.
6743 (fma_test_towardzero): Likewise.
6744 (fma_test_downward): Likewise.
6745 (fma_test_upward): Likewise.
6747 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6749 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6751 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6753 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6756 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6758 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6760 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6767 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6770 Fix the order of the list for glibc 2.17.
6771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6774 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6778 2012-10-31 Joseph Myers <joseph@codesourcery.com>
6781 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6782 for low part of x being zero before using __atanl (y).
6783 * math/libm-test.inc (atan2_test): Add another test.
6785 * manual/install.texi (Configuring and compiling): Document
6786 general use of test-wrapper and test-wrapper-env.
6787 * INSTALL: Regenerated.
6789 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6790 (__fma): Do not extract and scale down low bits on after-rounding
6791 systems when result rounded to normal precision would have normal
6793 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6794 (__fmal): Do not extract and scale down low bits on after-rounding
6795 systems when result rounded to normal precision would have normal
6797 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6798 (__fmal): Do not extract and scale down low bits on after-rounding
6799 systems when result rounded to normal precision would have normal
6801 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6803 (fma_test): Add more tests.
6804 (fma_test_towardzero): Likewise.
6805 (fma_test_downward): Likewise.
6806 (fma_test_upward): Likewise.
6808 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6810 * sysdeps/i386/tininess.h: Renamed to ...
6811 * sysdeps/x86/tininess.h: This.
6812 * sysdeps/x86_64/tininess.h: Removed.
6814 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6816 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6817 input. Use $(build-program-cmd).
6818 ($(objpfx)tst-array1-static.out): Likewise.
6819 ($(objpfx)tst-array2.out): Likewise.
6820 ($(objpfx)tst-array3.out): Likewise.
6821 ($(objpfx)tst-array4.out): Likewise.
6822 ($(objpfx)tst-array5.out): Likewise.
6823 ($(objpfx)tst-array5-static.out): Likewise.
6825 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6827 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6830 * nss/nsswitch.h (nss_interface_function): Provide new
6831 macro for use with NSS functions.
6832 * grp/initgroups.c: Use new macro.
6833 * nss/getXXbyYY.c: Likewise.
6834 * nss/getXXbyYY_r.c: Likewise.
6835 * nss/getXXent.c: Likewise.
6836 * nss/getXXent_r.c: Likewise.
6837 * sysdeps/posix/getaddrinfo.c: Likewise.
6839 2012-10-30 Andreas Jaeger <aj@suse.de>
6841 * po/ru.po: Update Russion translation from translation project.
6843 2012-10-30 Joseph Myers <joseph@codesourcery.com>
6847 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6848 result and shift together with sticky bit instead of replicating
6849 round-to-nearest rounding.
6850 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6851 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6852 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6853 missing underflow exceptions.
6854 (fma_test_towardzero): Add more tests.
6855 (fma_test_downward): Likewise.
6856 (fma_test_upward): Likewise.
6859 * sysdeps/generic/tininess.h: New file.
6860 * sysdeps/i386/tininess.h: Likewise.
6861 * sysdeps/sh/tininess.h: Likewise.
6862 * sysdeps/x86_64/tininess.h: Likewise.
6863 * stdlib/tst-strtod-underflow.c: Likewise.
6864 * stdlib/tst-tininess.c: Likewise.
6865 * stdlib/strtod_l.c: Include <tininess.h>.
6866 (round_and_return): Do not set errno for exact underflow cases.
6867 Force an underflow exception when setting errno for underflow.
6868 Determine underflow based on rounding to normal precision if
6869 TININESS_AFTER_ROUNDING.
6870 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6871 ERANGE for exact underflow cases.
6872 * stdlib/Makefile (tests): Add tst-tininess and
6873 tst-strtod-underflow.
6874 ($(objpfx)tst-tininess): Use $(link-libm).
6875 ($(objpfx)tst-strtod-underflow): Likewise.
6877 2012-10-30 Andreas Jaeger <aj@suse.de>
6880 * elf/Makefile (tests): Remove conditional for have-initfini-array
6881 since this is now always required and the variable does not exist
6883 (tests-static): Likewise.
6884 (modules-names): Likewise.
6886 * po/eo.po: Add Esperanto translation from translation project.
6888 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6889 merged with constructor/destructor.
6890 (init_array): Likewise.
6891 * elf/tst-array2dep.c (fini_array): Likewise.
6892 (init_array): Likewise.
6894 2012-10-29 Mike Frysinger <vapier@gentoo.org>
6896 * manual/message.texi: Delete @cartouche tags.
6898 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6900 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6902 * sysdeps/mach/hurd/fsync.c: Likewise.
6904 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6905 [_POSIX_REALTIME_SIGNALS]: Change condition to
6906 [_POSIX_REALTIME_SIGNALS > 0].
6908 2012-10-27 Andreas Jaeger <aj@suse.de>
6910 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6911 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6913 [__WORDSIZE != 64]: Likewise.
6915 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6917 * iconvdata/tst-table.sh: Remove ${SHELL}.
6918 * iconvdata/tst-tables.sh: Likewise.
6920 2012-10-25 David S. Miller <davem@davemloft.net>
6922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6923 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6926 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6928 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6929 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6930 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6933 2012-10-25 Roland McGrath <roland@hack.frob.com>
6935 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6936 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6939 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6940 Jim Blandy <jimb@codesourcery.com>
6942 * scripts/cross-test-ssh.sh: New file.
6943 * manual/install.texi (Configuring and compiling): Document use of
6945 * INSTALL: Regenerated.
6947 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6949 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6952 2012-10-25 Joseph Myers <joseph@codesourcery.com>
6954 * Makeconfig (run-program-prefix): Fix comment.
6956 2012-10-24 Joseph Myers <joseph@codesourcery.com>
6957 Jim Blandy <jimb@codesourcery.com>
6959 * Makeconfig (test-wrapper): New variable,
6960 (test-wrapper-env): Likewise.
6961 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6962 (run-built-tests): Define to yes.
6963 (run-program-prefix): Use $(test-wrapper).
6964 (built-program-cmd): Likewise.
6965 * Rules (make-test-out): Use $(test-wrapper-env) and
6966 $(host-built-program-cmd).
6967 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6968 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6970 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6971 $(test-wrapper-env) to tst-rtld-load-self.sh.
6972 ($(objpfx)order2.out): Use $(test-wrapper).
6973 ($(objpfx)tst-initorder.out): Likewise.
6974 ($(objpfx)tst-initorder2.out): Likewise.
6975 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6976 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6977 (test_wrapper_env): New variable. Use it to run ld.so.
6978 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6979 Use it to run ld.so.
6980 (test_wrapper_env): Likewise.
6981 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6982 $(test-wrapper) to run-iconv-test.sh.
6983 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6984 (ICONV): Use $test_wrapper.
6985 * posix/Makefile ($(objpfx)globtest.out): Pass
6986 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6987 globtest.sh, not $(run-program-prefix).
6988 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6989 (test_wrapper): Likewise.
6990 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6991 set together with run_via_rtld_prefix.
6992 (run_program_prefix): Define in terms of test_wrapper and
6993 run_via_rtld_prefix.
6995 2012-10-24 Roland McGrath <roland@hack.frob.com>
6997 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6998 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7002 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7003 Declare __clock_getres, __clock_gettime, __clock_settime,
7004 __clock_nanosleep, and __clock_getcpuclockid.
7005 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7006 Remove librt_hidden_def (clock_gettime).
7007 * sysdeps/unix/clock_gettime.c: Likewise.
7008 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7009 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7010 * rt/clock_getres.c: Define __clock_getres as an alias.
7011 * sysdeps/posix/clock_getres.c: Likewise.
7012 * rt/clock_settime.c: Define __clock_settime as an alias.
7013 * sysdeps/unix/clock_settime.c: Likewise.
7014 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7015 * sysdeps/unix/clock_nanosleep.c: Likewise.
7016 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7017 * rt/clock-compat.c: New file.
7018 * rt/Makefile (librt-routines): Add clock-compat and move
7019 $(clock-routines) to ...
7020 (routines): ... here, new variable.
7021 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7022 Don't add get_clockfreq here.
7023 * rt/Versions (libc: GLIBC_2.17): New version set.
7024 Add clock_* symbols here.
7025 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7026 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7027 (GLIBC_2.17): Add clock_* symbols.
7028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7030 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7039 * NEWS: Mention the move.
7041 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7042 Use __open, __read, __close rather than their public counterparts.
7043 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7044 (__get_clockfreq_via_cpuinfo): Likewise.
7045 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7046 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7048 * config.h.in (HAVE_IFUNC): New #undef.
7049 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7051 * configure: Regenerated.
7053 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7055 * configure.in: Move READELF check to start of file.
7056 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7057 libc_cv_asm_gnu_indirect_function in the process.
7058 * configure: Regenerated.
7060 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7062 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7063 send the output to /dev/null.
7064 (libc_cv_cc_with_libunwind): Likewise.
7065 (libc_cv_as_noexecstack): Likewise.
7066 * configure: Regenerate.
7068 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7070 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7072 * posix/globtest.sh (TMPDIR): Do not set.
7073 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7074 (testout): Likewise.
7076 2012-10-24 Andreas Jaeger <aj@suse.de>
7078 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7079 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7080 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7081 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7082 posix_fadvise64, posix_fallocate64.
7084 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7085 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7086 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7088 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7090 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7092 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7093 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7094 <bits/fcntl-linux.h>.
7095 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7098 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7099 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7100 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7101 [__WORDSIZE != 64]: Likewise.
7103 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7105 * Makeconfig (run-built-tests): New variable.
7106 * Rules [$(cross-compiling) = yes]: Change condition to
7107 [$(run-built-tests) = no].
7108 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7109 to [$(run-built-tests) = yes].
7110 * elf/Makefile [$(cross-compiling) = no]: Likewise
7111 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7112 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7113 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7114 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7115 * io/Makefile [$(cross-compiling) = no]: Likewise.
7116 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7117 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7118 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7119 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7120 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7121 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7122 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7123 * string/Makefile [$(cross-compiling) = no]: Likewise.
7125 * posix/Makefile ($(objpfx)globtest.out): Pass
7126 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7127 $(rtld-installed-name).
7128 * posix/globtest.sh (elf_objpfx): Remove variable.
7129 (rtld_installed_name): Likewise.
7130 (library_path): Likewise.
7131 (run_program_prefix): New variable. Use for running globtest
7134 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7135 Joseph Myers <joseph@codesourcery.com>
7137 * Makeconfig (host-built-program-cmd): New variable.
7138 * elf/Makefile (tst-stackguard1-ARGS): Use
7139 $(host-built-program-cmd).
7140 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7141 (tst-spawn-ARGS): Likewise.
7142 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7144 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7145 Jim Blandy <jimb@codesourcery.com>
7147 * Makeconfig (run-via-rtld-prefix): New variable.
7148 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7149 (built-program-cmd): Likewise.
7151 2012-10-22 Andreas Jaeger <aj@suse.de>
7153 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7154 __O_RSYNC if it exists, otherwise to O_SYNC.
7156 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7157 Joseph Myers <joseph@codesourcery.com>
7159 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7161 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7163 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7166 2012-10-22 Andreas Jaeger <aj@suse.de>
7168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7170 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7175 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7176 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7180 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7183 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7184 Joseph Myers <joseph@codesourcery.com>
7186 * config.make.in (NM): New variable.
7188 2012-10-21 Andreas Jaeger <aj@suse.de>
7190 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7191 definitions and declarations that are provided by
7192 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7194 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7197 * elf/Makefile (tests-static): Add tst-leaks1-static.
7198 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7199 ($(objpfx)tst-leaks1-static): New rule.
7200 ($(objpfx)tst-leaks1-static-mem): Likewise.
7201 (tst-leaks1-static-ENV): New macro.
7202 * elf/dl-open.c (dl_open_worker): Check the main application
7203 only if SHARED is defined.
7204 * elf/tst-leaks1-static.c: New file.
7206 2012-10-20 Andreas Jaeger <aj@suse.de>
7208 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7209 generic values for Linux.
7210 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7211 and declarations that are provided by <bits/fcntl-linux.h> and
7212 include <bits/fcntl-linux.h>.
7213 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7214 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7216 2012-10-20 Roland McGrath <roland@hack.frob.com>
7218 * io/fcntl.h: Move include of <bits/types.h> to the top and
7219 include it unconditionally.
7221 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7223 * wcsmbs/Makefile (tests-ifunc): New variable.
7224 (tests): Add $(tests-ifunc).
7225 * wcsmbs/test-wcschr-ifunc.c: New file.
7226 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7227 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7228 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7229 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7230 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7232 * string/Makefile (tests-ifunc): New variable.
7233 (tests): Add $(tests-ifunc).
7234 * string/test-memccpy.c (TEST_NAME): New macro.
7235 * string/test-memchr.c (TEST_NAME): Likewise.
7236 * string/test-memcmp.c (TEST_NAME): Likewise.
7237 * string/test-memcpy.c (TEST_NAME): Likewise.
7238 * string/test-memmem.c (TEST_NAME): Likewise.
7239 * string/test-memmove.c (TEST_NAME): Likewise.
7240 * string/test-memset.c (TEST_NAME): Likewise.
7241 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7242 * string/test-stpcpy.c (TEST_NAME): Likewise.
7243 * string/test-stpncpy.c (TEST_NAME): Likewise.
7244 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7245 * string/test-strcasestr.c (TEST_NAME): Likewise.
7246 * string/test-strcat.c (TEST_NAME): Likewise.
7247 * string/test-strchr.c (TEST_NAME): Likewise.
7248 * string/test-strcmp.c(TEST_NAME): Likewise.
7249 * string/test-strcpy.c (TEST_NAME): Likewise.
7250 * string/test-strcspn.c (TEST_NAME): Likewise.
7251 * string/test-strlen.c (TEST_NAME): Likewise.
7252 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7253 * string/test-strncmp.c (TEST_NAME): Likewise.
7254 * string/test-strncpy.c (TEST_NAME): Likewise.
7255 * string/test-strnlen.c (TEST_NAME): Likewise.
7256 * string/test-strpbrk.c (TEST_NAME): Likewise.
7257 * string/test-strrchr.c (TEST_NAME): Likewise.
7258 * string/test-strspn.c (TEST_NAME): Likewise.
7259 * string/test-strstr.c (TEST_NAME): Likewise.
7260 * string/test-bcopy-ifunc.c: New file.
7261 * string/test-bzero-ifunc.c: Likewise.
7262 * string/test-memccpy-ifunc.c: Likewise.
7263 * string/test-memchr-ifunc.c: Likewise.
7264 * string/test-memcmp-ifunc.c: Likewise.
7265 * string/test-memcpy-ifunc.c: Likewise.
7266 * string/test-memmem-ifunc.c: Likewise.
7267 * string/test-memmove-ifunc.c: Likewise.
7268 * string/test-mempcpy-ifunc.c: Likewise.
7269 * string/test-memset-ifunc.c: Likewise.
7270 * string/test-rawmemchr-ifunc.c: Likewise.
7271 * string/test-stpcpy-ifunc.c: Likewise.
7272 * string/test-stpncpy-ifunc.c: Likewise.
7273 * string/test-strcasecmp-ifunc.c: Likewise.
7274 * string/test-strcasestr-ifunc.c: Likewise.
7275 * string/test-strcat-ifunc.c: Likewise.
7276 * string/test-strchr-ifunc.c: Likewise.
7277 * string/test-strchrnul-ifunc.c: Likewise.
7278 * string/test-strcmp-ifunc.c: Likewise.
7279 * string/test-strcpy-ifunc.c: Likewise.
7280 * string/test-strcspn-ifunc.c: Likewise.
7281 * string/test-strlen-ifunc.c: Likewise.
7282 * string/test-strncasecmp-ifunc.c: Likewise.
7283 * string/test-strncat-ifunc.c: Likewise.
7284 * string/test-strncmp-ifunc.c: Likewise.
7285 * string/test-strncpy-ifunc.c: Likewise.
7286 * string/test-strnlen-ifunc.c: Likewise.
7287 * string/test-strpbrk-ifunc.c: Likewise.
7288 * string/test-strrchr-ifunc.c: Likewise.
7289 * string/test-strspn-ifunc.c: Likewise.
7290 * string/test-strstr-ifunc.c: Likewise.
7292 * debug/Makefile (tests-ifunc): New variable.
7293 (tests): Add $(tests-ifunc).
7294 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7295 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7296 * debug/test-stpcpy_chk-ifunc.c: New file.
7297 * debug/test-strcpy_chk-ifunc.c: Likewise.
7299 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7302 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7303 header is not read in.
7305 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7307 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7308 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7309 directly. Pass built executable to script as
7310 $(built-program-cmd).
7311 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7312 $testprogram without using LD_LIBRARY_PATH and $ldso.
7314 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7315 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7316 $(rtld-installed-name).
7317 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7318 (rtld_installed_name): Likewise.
7319 (library_path): Likewise.
7320 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7321 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7322 $(run-program-prefix) to tst-tables.sh.
7323 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7324 it to run tst-table-from and tst-table-to.
7325 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7326 Pass it to tst-table.sh.
7327 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7328 $(run-program-prefix) to tst-gettext.sh.
7329 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7331 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7333 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7335 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7336 to run tst-gettext2.
7337 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7338 to run tst-translit.
7339 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7340 $(run-program-prefix) to tst-mtrace.sh.
7341 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7343 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7344 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7345 $(rtld-installed-name).
7346 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7347 (rtld_installed_name): Likewise.
7348 (run_program_prefix): New variable. Use it to run wordexp-test.
7350 * Makeconfig (ARCH): Remove all definitions.
7351 (machine): Likewise.
7352 [ARCH]: Remove conditional code.
7353 [!objdir]: Give error.
7354 [!objdir] (objpfx): Remove.
7355 [!objdir] (common-objpfx): Likewise.
7356 [!objdir] (common-objdir): Likewise.
7357 * configure.in (config_makefile): Remove. Hardcode Makefile in
7358 AC_CONFIG_FILES call.
7359 * configure: Regenerated.
7362 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7364 (testout): Likewise.
7366 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7367 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7368 $(rtld-installed-name).
7369 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7370 (rtld_installed_name): Likwise.
7371 (runit): Remove function.
7372 (run_getconf): New variable, Use it for running getconf binary.
7374 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7377 * string/test-memmem.c (check_result): New function.
7378 (do_one_test): Use it.
7379 (check1): New function.
7380 (test_main): Use it.
7382 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7384 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7386 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7388 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7389 (_G_LSEEK64): Likewise.
7390 (_G_MMAP64): Likewise.
7391 (_G_FSTAT64): Likewise.
7392 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7393 (_G_LSEEK64): Likewise.
7394 (_G_MMAP64): Likewise.
7395 (_G_FSTAT64): Likewise.
7396 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7397 unconditional. Call __mmap64 directly.
7398 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7399 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7401 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7402 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7404 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7405 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7407 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7408 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7410 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7411 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7413 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7414 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7415 __fxstat64 directly.
7416 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7417 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7419 (freopen64) [!_G_OPEN64]: Remove conditional code.
7420 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7422 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7423 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7425 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7426 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7428 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7429 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7431 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7432 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7434 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7435 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7437 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7438 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7440 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7442 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7445 * manual/memory.texi (Malloc Tunable Parameters): Add note
7446 about free list pointers overwriting some perturb bytes.
7447 Wording suggested by Roland McGrath.
7449 2012-10-17 Joseph Myers <joseph@codesourcery.com>
7451 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7452 (lgamma_test): Likewise.
7453 (tgamma_test): Likewise.
7455 2012-10-16 Florian Weimer <fweimer@redhat.com>
7458 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7459 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7461 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7463 * NEWS: Mention BZ #14716.
7464 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7465 when removing AVAILABLE1_USES_J macro.
7467 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7469 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7470 (__bswap_64): __uint64_t for unsigned 64-bit int.
7472 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7474 * include/string.h (memmem): Declare libc hidden alias.
7475 * string/memmem.c (memmem): Define libc hidden alias.
7476 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7477 __read, __close instead of open, read, close.
7479 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7481 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7482 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7484 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7485 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7486 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7488 (__rawmemchr_sse2): Likewise.
7489 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7490 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7491 (__strchr_sse2): Likewise.
7492 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7493 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7494 (__strcasecmp_sse2): Likewise.
7495 (__strncasecmp_sse2): Likewise.
7496 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7497 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7498 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7499 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7500 (__strrchr_sse2): Likewise.
7501 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7503 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7504 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7505 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7506 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7507 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7508 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7509 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7510 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7511 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7512 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7513 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7514 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7515 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7516 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7517 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7518 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7519 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7520 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7521 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7522 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7523 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7524 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7525 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7526 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7527 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7528 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7529 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7530 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7531 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7532 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7534 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7536 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7537 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7538 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7539 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7541 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7543 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7544 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7545 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7546 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7548 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7549 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7550 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7551 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7552 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7553 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7554 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7555 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7556 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7557 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7558 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7559 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7560 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7561 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7562 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7563 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7564 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7565 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7566 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7567 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7568 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7569 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7570 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7571 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7572 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7573 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7574 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7575 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7576 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7577 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7578 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7579 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7580 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7581 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7582 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7583 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7584 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7585 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7586 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7587 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7588 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7590 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7591 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7592 * include/ifunc-impl-list.h: New file.
7593 * misc/ifunc-impl-list.c: Likewise.
7594 * misc/Makefile (routines): Add ifunc-impl-list.
7595 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7596 * string/test-string.h: Include <ifunc-impl-list.h>.
7597 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7598 impl_array): New variables.
7599 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7601 (test_init): Call __libc_ifunc_impl_list to initialize
7602 func_list if TEST_IFUNC and TEST_NAME are defined.
7604 * string/Makefile (strop-tests): Add bcopy and bzero.
7605 * string/test-bcopy.c: New file.
7606 * string/test-bzero.c: Likewise.
7607 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7609 * string/test-memset.c: Support bzero test if TEST_BZERO is
7611 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7613 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7615 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7618 2012-10-10 Joseph Myers <joseph@codesourcery.com>
7620 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7621 * configure: Regenerated.
7623 * Makeconfig (+link-static-before-libc): Don't include
7624 $(link-static-libc).
7626 * libio/libio.h (_IO_pos_t): Remove.
7628 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7630 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7633 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7635 * crypt/crypt-entry.c: Include fips-private.h.
7636 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7637 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7638 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7639 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7641 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
7643 * crypt/crypt-private.h: Include stdbool.h.
7644 (_ufc_setup_salt_r): Return bool.
7645 * crypt/crypt-entry.c: Include errno.h.
7646 (__crypt_r): Return NULL with EINVAL for bad salt.
7647 * crypt/crypt_util.c (bad_for_salt): New.
7648 (_ufc_setup_salt_r): Check that salt is long enough and within
7649 the specified alphabet.
7650 * crypt/badsalttest.c: New file.
7651 * crypt/Makefile (tests): Add it.
7652 ($(objpfx)badsalttest): New.
7654 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7656 * NEWS: Add entry for BZ #14602.
7658 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7660 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7662 * math/libm-test.inc: Update comment listing what functions and
7664 (isgreater_test): New function.
7665 (isgreaterequal_test): Likewise.
7666 (isless_test): Likewise.
7667 (islessequal_test): Likewise.
7668 (islessgreater_test): Likewise.
7669 (isunordered_test): Likewise.
7670 (main): Call the new functions.
7672 2012-10-09 Roland McGrath <roland@hack.frob.com>
7674 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7675 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7676 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7677 * sysdeps/i386/configure: Regenerated.
7678 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7679 * sysdeps/mach/configure: Regenerated.
7680 * sysdeps/mach/hurd/configure: Regenerated.
7681 * sysdeps/powerpc/configure: Regenerated.
7682 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7683 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7684 * sysdeps/s390/s390-32/configure: Regenerated.
7685 * sysdeps/s390/s390-64/configure: Regenerated.
7686 * sysdeps/sh/configure: Regenerated.
7687 * sysdeps/sparc/configure: Regenerated.
7688 * sysdeps/unix/sysv/linux/configure: Regenerated.
7689 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7690 * sysdeps/x86_64/configure: Regenerated.
7692 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7693 defined. Don't check if MAP is NULL.
7695 2012-10-09 Joseph Myers <joseph@codesourcery.com>
7697 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7698 (_G_stat64): Likewise.
7699 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7700 (_G_stat64): Likewise.
7701 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7702 instead of struct _G_stat64.
7703 * libio/fileops.c (mmap_remap_check): Likewise.
7704 (decide_maybe_mmap): Likewise.
7705 (_IO_new_file_seekoff): Likewise.
7706 (_IO_file_stat): Likewise.
7707 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7709 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7710 instead of struct _G_stat64.
7711 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7713 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7716 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7718 (CHECK_EOL): New macro.
7719 (two_way_short_needle): Check beginning of haystack for EOL. Use
7721 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7722 Replace with CHECK_EOL.
7723 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7724 Replace with CHECK_EOL.
7726 2012-10-08 Joseph Myers <joseph@codesourcery.com>
7728 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7730 * math/libm-test.inc: Update comment listing what functions and
7732 (finite_test): New function.
7733 (isinf_test): Likewise.
7734 (isnan_test): Likewise.
7735 (fpclassify_test): Test subnormal input.
7736 (isfinite_test): Likewise.
7737 (isnormal_test): Likewise.
7738 (main): Call the new functions.
7740 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7743 * Makerules (%.dynsym): Force C locale when running
7744 $(OBJDUMP) --dynamic-syms.
7746 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7748 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7751 2012-10-06 David S. Miller <davem@davemloft.net>
7753 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7754 upper 32-bits of the length value in %o2 since we use branch-on-register
7755 tests which consider the entire 64-bit register.
7757 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7759 * string/test-strstr.c (check2): Add a test for page boundary.
7761 2012-10-05 David S. Miller <davem@davemloft.net>
7763 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7764 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7766 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7768 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7769 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7770 and bzero when HWCAP_SPARC_CRYPTO is present.
7772 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7775 * string/test-strstr.c (check2): New function.
7776 (test_main): Call check2.
7778 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7780 * string/bug-strcasestr1.c (do_test): Moved to ...
7781 * string/test-strcasestr.c (check1): Here. New function.
7782 (do_one_test): Break out result checking code into ...
7783 (check_result): This. New function.
7784 (do_one_test): Call check_result.
7785 (test_main): Call check1.
7786 * string/bug-strchr1.c (do_test): Moved to ...
7787 * string/test-strchr.c (check1): Here. New function.
7788 (do_one_test): Break out result checking code into ...
7789 (check_result): This. New function.
7790 (do_one_test): Call check_result.
7791 (test_main): Call check1.
7792 * string/bug-strstr1.c (main): Moved to ...
7793 * string/test-strstr.c (check1): Here. New function.
7794 (do_one_test): Break out result checking code into ...
7795 (check_result): This. New function.
7796 (do_one_test): Call check_result.
7797 (test_main): Call check1.
7798 * string/bug-strcasestr1.c: Removed.
7799 * string/bug-strchr1.c: Likewise.
7800 * string/bug-strstr1.c: Likewise.
7802 * elf/Makefile (dl-routines): Add hwcaps.
7803 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7804 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7805 (_dl_important_hwcaps): Moved to ...
7806 * elf/dl-hwcaps.c: Here. New file.
7807 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7810 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7811 if IS_IN_rtld isn't defined.
7813 * elf/dl-support.c (_dl_sysinfo_map): New.
7814 Include "get-dynamic-info.h" and "setup-vdso.h".
7815 (_dl_non_dynamic_init): Call setup_vdso.
7816 * elf/dynamic-link.h: Don't include <assert.h>.
7817 (elf_get_dynamic_info): Moved to ...
7818 * elf/get-dynamic-info.h: Here. New file.
7819 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7820 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7821 * elf/setup-vdso.h: Here. New file.
7822 * elf/rtld.c: Include "setup-vdso.h".
7823 (dl_main): Call setup_vdso.
7825 2012-10-05 Joseph Myers <joseph@codesourcery.com>
7827 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7828 creal in comment listing functions tested. List finite, isinf,
7829 isnan, isless, islessequal, isgreater, isgreaterequal,
7830 islessgreater, isunordered, lgamma_r and pow10 as functions and
7831 macros not tested. Mention which functions not tested are aliases
7832 for other functions. Fix typo. Note that signs of NaNs are not
7835 * scripts/config.guess: Update from config.git.
7836 * scripts/config.sub: Likewise.
7838 2012-10-04 Roland McGrath <roland@hack.frob.com>
7840 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7841 * misc/madvise.c (madvise): Renamed to __madvise.
7842 Make madvise a weak alias.
7843 * include/sys/mman.h: Declare __madvise.
7844 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7845 * sysdeps/unix/syscalls.list
7846 (madvise): Make __madvise the strong name, and madvise a weak alias.
7847 * sysdeps/unix/sysv/linux/syscalls.list
7848 (madvise, mmap): Remove redundant entries.
7849 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7850 * malloc/malloc.c (mtrim): Likewise.
7851 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7853 2012-10-03 Roland McGrath <roland@hack.frob.com>
7855 * sysdeps/mach/hurd/dl-cache.c: File removed.
7856 * config.h.in (USE_LDCONFIG): New #undef.
7857 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7858 * configure: Regenerated.
7859 * elf/Makefile (dl-routines): Add dl-cache only under
7860 [$(use-ldconfig) = yes].
7861 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7862 cache on [USE_LDCONFIG].
7863 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7865 * elf/rtld.c (dl_main): Likewise.
7867 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7869 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7870 _SC_LEVEL4_CACHE_LINESIZE.
7872 2012-10-03 Roland McGrath <roland@hack.frob.com>
7874 * sysdeps/unix/bsd/confstr.h: File removed.
7876 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
7878 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7881 2012-10-02 Roland McGrath <roland@hack.frob.com>
7883 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7884 Make 'mapoff' field ElfW(Off) rather than off_t.
7886 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7888 * nscd/Makefile: Remove nscd-cflags and all its users.
7889 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7890 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7893 * malloc.c (malloc_printerr): Clarify error message.
7895 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7899 Set bit_FMA_Usable if FMA is supported.
7900 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7902 (bit_FMA4_Usable): Updated.
7903 (index_FMA_Usable): New macro.
7904 (CPUID_FMA): Likewise
7905 (HAS_FMA): Defined with bit_FMA_Usable.
7907 2012-10-01 Roland McGrath <roland@hack.frob.com>
7909 * bits/types.h (__swblk_t): Type removed.
7910 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7911 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7912 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7913 (__SWBLK_T_TYPE): Likewise.
7914 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7915 (__SWBLK_T_TYPE): Likewise.
7916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7917 (__SWBLK_T_TYPE): Likewise.
7918 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7919 (__SWBLK_T_TYPE): Likewise.
7921 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
7922 Honza Horak <hhorak@redhat.com>
7924 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7925 (xdr_mapname): Use YPMAXMAP as maxsize.
7926 (xdr_peername): Use YPMAXPEER as maxsize.
7927 (xdr_keydat): Use YPAXRECORD as maxsize.
7928 (xdr_valdat): Use YPMAXRECORD as maxsize.
7930 2012-10-01 Roland McGrath <roland@hack.frob.com>
7932 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7934 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7935 * csu/init-first.c: ... here.
7936 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7937 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7938 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7939 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7940 * sysdeps/i386/init-first.c: File removed.
7941 * sysdeps/sh/init-first.c: File removed.
7943 2012-10-01 Joseph Myers <joseph@codesourcery.com>
7946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7947 if x * y might underflow to zero and z is zero.
7948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7949 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7950 * math/libm-test.inc (min_subnorm_value): New variable.
7951 (fma_test): Add more tests.
7952 (fma_test_towardzero): Likewise.
7953 (fma_test_downward): Likewise
7954 (fma_test_upward): Likewise.
7955 (initialize): Set min_subnorm_value.
7957 2012-09-29 Joseph Myers <joseph@codesourcery.com>
7960 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7962 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7963 mode for addition resulting in exact zero.
7964 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7965 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7967 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7968 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7969 * math/libm-test.inc (fma_test): Add more tests.
7970 (fma_test_towardzero): New function.
7971 (fma_test_downward): Likewise.
7972 (fma_test_upward): Likewise.
7973 (main): Call the new functions.
7975 2012-09-28 David S. Miller <davem@davemloft.net>
7977 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7979 2012-09-28 Roland McGrath <roland@hack.frob.com>
7981 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7984 * sysdeps/gnu/_G_config.h: Moved to ...
7985 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7986 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7987 * sysdeps/generic/_G_config.h: ... here.
7989 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7991 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7993 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7994 Conditionalize target on [libnss_test1.so-version].
7996 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7998 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7999 (elfobjdir): Move out of conditionals.
8001 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8002 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8003 (__nss_lookup_function): Conditionalize label remove_from_tree on
8004 [!DO_STATIC_NSS || SHARED], matching its only use.
8006 2012-09-28 David S. Miller <davem@davemloft.net>
8008 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8009 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8011 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8013 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8014 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8015 when HWCAP_SPARC_CRYPTO is present.
8017 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8019 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8021 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8024 * stdio-common/vfprintf.c (process_string_arg): Revert
8027 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8029 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8031 * stdio-common/tst-sprintf.c: Include <locale.h>
8032 (main): Test sprintf's handling of incomplete multibyte
8035 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8037 * elf/dl-runtime.c (VERSYMIDX): Removed.
8038 * elf/dl-version.c (VERSYMIDX): Likewise.
8039 * elf/do-rel.h (VERSYMIDX): Likewise.
8041 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8042 * elf/rtld.c (VALIDX): Likewise.
8043 (ADDRIDX): Likewise.
8044 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8045 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8046 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8047 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8049 (ADDRIDX): Likewise.
8051 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8053 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8055 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8058 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8060 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8061 addresses are in the same scope as 192.0.2/24.
8062 * posix/gai.conf: Document new scope table defaults.
8064 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8067 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8068 for ftell. Compute offsets from write pointers instead.
8069 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8071 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8074 * libio/Makefile (tests): New test case tst-fseek.
8075 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8076 combination works in wide mode.
8077 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8078 state when the external buffer state changes.
8080 2012-09-27 David S. Miller <davem@davemloft.net>
8083 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8084 pass reloc->r_addend in as the 'high' argument to
8085 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8089 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8091 * rt/tst-aio2.c: Include <pthread.h>.
8092 * rt/tst-aio3.c: Likewise.
8094 2012-09-27 Steve Ellcey <sellcey@mips.com>
8096 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8098 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8100 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8101 contents on [SHARED].
8103 2012-09-26 Marek Polacek <polacek@redhat.com>
8107 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8108 for C++ and GCC <4.3 as well as for non GCC compilers.
8110 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8114 2012-09-25 Roland McGrath <roland@hack.frob.com>
8116 * Makefile.in (all, install): Declare with .PHONY.
8117 Reported by Michael Hope <michael.hope@linaro.org>.
8119 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8121 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8122 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8124 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8126 (sydep_routines): Add the new and the internal functions.
8127 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8128 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8130 (GLIBC_2.17): Add the new function.
8131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8132 (GLIBC_2.17): Likewise.
8133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8134 (GLIBC_2.17): Likewise.
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8136 (GLIBC_2.17): Likewise.
8137 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8139 2012-09-25 Alan Modra <amodra@gmail.com>
8141 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8142 Add release barrier before setting once_control to say
8143 initialisation is done. Add hints on lwarx. Use macro in
8145 (clear_once_control): Add release barrier.
8147 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8150 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8152 * math/s_clog10.c (__clog10): Likewise.
8153 * math/s_clog10f.c (__clog10f): Likewise.
8154 * math/s_clog10l.c (__clog10l): Likewise.
8155 * math/s_clogf.c (__clogf): Likewise.
8156 * math/s_clogl.c (__clogl): Likewise.
8157 * math/Makefile (libm-calls): Add x2y2m1.
8158 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8159 (__x2y2m1): Likewise.
8160 (__x2y2m1l): Likewise.
8161 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8162 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8163 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8164 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8165 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8166 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8167 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8168 * sysdeps/i386/fpu/libm-test-ulps: Update.
8169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8172 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8173 int as type of variable DEPTH.
8174 (glob): Use size_t instead of int as type of variables NEWCOUNT
8177 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8179 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8181 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8182 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8183 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8184 macros for using routine as __sincosf_ia32.
8185 Use macro for function declaration and weak_alias.
8186 * sysdeps/i386/fpu/libm-test-ulps: Update.
8188 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8191 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8193 * math/s_cexpf.c (__cexpf): Likewise.
8194 * math/s_csinf.c (__csinf): Likewise.
8195 * math/s_csinhf.c (__csinhf): Likewise.
8196 * math/s_ctanf.c (__ctanf): Likewise.
8197 * math/s_ctanhf.c (__ctanhf): Likewise.
8198 * math/s_ccosh.c (__ccoshf): Likewise.
8199 * math/s_cexp.c (__cexpl): Likewise.
8200 * math/s_csin.c (__csin): Likewise.
8201 * math/s_csinh.c (__csinh): Likewise.
8202 * math/s_ctan.c (__ctan): Likewise.
8203 * math/s_ctanh.c (ctanh): Likewise.
8204 * math/s_ccoshl.c (__ccoshl): Likewise.
8205 * math/s_cexpl.c (__cexpl): Likewise.
8206 * math/s_csinl.c (__csinl): Likewise.
8207 * math/s_csinhl.c (__csinhl): Likewise.
8208 * math/s_ctanl.c (__ctanl): Likewise.
8209 * math/s_ctanhl.c (__ctanhl): Likewise.
8211 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8213 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8214 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8215 (_IO_off_t): Define to __off_t, not _G_off_t.
8216 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8217 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8218 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8219 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8220 type of __dummy and __dummy2 fields.
8221 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8222 (_G_ssize_t): Likewise.
8223 (_G_off_t): Likewise.
8224 (_G_pid_t): Likewise.
8225 (_G_uid_t): Likewise.
8226 (_G_wchar_t): Likewise.
8227 (_G_wint_t): Likewise.
8228 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8229 (_G_ssize_t): Likewise.
8230 (_G_off_t): Likewise.
8231 (_G_pid_t): Likewise.
8232 (_G_uid_t): Likewise.
8233 (_G_wchar_t): Likewise.
8234 (_G_wint_t): Likewise.
8235 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8236 (_G_ssize_t): Likewise.
8237 (_G_off_t): Likewise.
8238 (_G_pid_t): Likewise.
8239 (_G_uid_t): Likewise.
8240 (_G_wchar_t): Likewise.
8241 (_G_wint_t): Likewise.
8243 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8245 * malloc/arena.c: Include malloc-sysdep.h.
8246 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8247 is sufficient to shrink the heap or an unmap is needed.
8248 * sysdeps/generic/malloc-sysdep.h: New file. Define
8249 new function check_may_shrink_heap.
8250 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8251 new function check_may_shrink_heap.
8253 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8255 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8258 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8260 * catgets/test-gencat.sh: Add "set -e".
8261 * elf/tst-pathopt.sh: Likewise.
8262 * grp/tst_fgetgrent.sh: Likewise.
8263 * iconvdata/run-iconv-test.sh: Likewise.
8264 * intl/tst-gettext.sh: Likewise.
8265 * intl/tst-gettext2.sh: Likewise.
8266 * intl/tst-gettext4.sh: Likewise.
8267 * intl/tst-gettext6.sh: Likewise.
8268 * intl/tst-translit.sh: Likewise.
8269 * io/ftwtest-sh: Likewise.
8270 * libio/test-freopen.sh: Likewise.
8271 * malloc/tst-mtrace.sh: Likewise.
8272 * posix/globtest.sh: Likewise.
8273 * posix/tst-getconf.sh: Likewise.
8274 * posix/wordexp-tst.sh: Likewise.
8275 * stdio-common/tst-printf.sh: Likewise.
8276 * stdio-common/tst-unbputc.sh: Likewise.
8277 * stdlib/tst-fmtmsg.sh: Likewise.
8278 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8279 * catgets/Makefile: Do not specify -e option when running
8280 testsuite shell scripts.
8281 * elf/Makefile: Likewise.
8282 * grp/Makefile: Likewise.
8283 * iconvdata/Makefile: Likewise.
8284 * intl/Makefile: Likewise.
8285 * io/Makefile: Likewise.
8286 * libio/Makefile: Likewise.
8287 * malloc/Makefile: Likewise.
8288 * posix/Makefile: Likewise.
8289 * stdio-common/Makefile: Likewise.
8290 * stdlib/Makefile: Likewise.
8291 * sysdeps/x86_64/Makefile: Likewise.
8293 * io/ftwtest-sh: Add copyright header.
8294 * posix/globtest.sh: Likewise.
8295 * posix/tst-getconf.sh: Likewise.
8296 * posix/wordexp-tst.sh: Likewise.
8297 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8299 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8302 * Makeconfig (+link): Defined as $(+link-static) if
8303 $(build-shared) isn't yes.
8304 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8306 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8308 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8311 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8312 new chunk size with MALLOC_ALIGN_MASK.
8314 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8317 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8319 (__printf_fphex): Determine rounding using get_rounding_mode and
8321 * stdio-common/tst-printf-round.c (struct hex_test): New
8323 (hex_tests): New variable.
8324 (test_hex_in_one_mode): New function.
8325 (do_test): Also run tests for hex float output.
8327 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8329 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8330 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8331 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8332 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8333 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8334 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8335 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8336 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8338 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8340 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8341 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8342 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8343 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8345 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8348 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8350 * elf/tst-rtld-load-self.sh: New test.
8351 * elf/Makefile: Run it.
8353 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8355 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8356 (tst-writev-ENV): Remove.
8357 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8359 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8361 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8363 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8365 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8367 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8369 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8370 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8371 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8374 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8377 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8378 * config.make.in (have-cpp-asm-debuginfo): Removed.
8379 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8380 * configure: Regenerated.
8382 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8385 * stdio-common/printf_fp.c: Include <stdbool.h> and
8387 (___printf_fp): Determine rounding using get_rounding_mode and
8389 * stdio-common/tst-printf-round.c: New file.
8390 * stdio-common/Makefile (tests): Add tst-printf-round.
8391 (link-libm): New variable.
8392 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8394 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8397 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8398 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8400 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8403 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8405 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8406 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8407 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8408 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8410 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8413 * include/rounding-mode.h: New file.
8414 * sysdeps/generic/get-rounding-mode.h: Likewise.
8415 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8416 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8417 (MAX_VALUE): New macro.
8418 (MIN_VALUE): Likewise.
8419 (overflow_value): New function.
8420 (underflow_value): Likewise.
8421 (round_and_return): Use overflow_value and underflow_value to
8422 determine return values in overflow and underflow cases. Use
8423 round_away to determine rounding depending on rounding mode.
8424 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8425 determine return values in overflow and underflow cases.
8426 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8427 (struct test_results): New structure.
8428 (struct test): Use struct test_results to store expected results
8429 for all rounding modes.
8430 (TEST): Include expected results for all rounding modes.
8431 (test_in_one_mode): New function.
8432 (do_test): Use test_in_one_mode to compute and check results.
8433 Check results for all rounding modes.
8434 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8437 2012-12-09 Allan McRae <allan@archlinux.org>
8439 * sysdeps/i386/fpu/libm-test-ulps: Update
8441 2012-09-11 Joseph Myers <joseph@codesourcery.com>
8443 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8444 (_G_int32_t): Likewise.
8445 (_G_uint16_t): Likewise.
8446 (_G_uint32_t): Likewise.
8447 (_G_HAVE_BOOL): Likewise.
8448 (_G_HAVE_ATEXIT): Likewise.
8449 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8450 (_G_HAVE_IO_FILE_OPEN): Likewise.
8451 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8452 (_G_int32_t): Likewise.
8453 (_G_uint16_t): Likewise.
8454 (_G_uint32_t): Likewise.
8455 (_G_HAVE_BOOL): Likewise.
8456 (_G_HAVE_ATEXIT): Likewise.
8457 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8458 (_G_HAVE_IO_FILE_OPEN): Likewise.
8459 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8460 (_G_int32_t): Likewise.
8461 (_G_uint16_t): Likewise.
8462 (_G_uint32_t): Likewise.
8463 (_G_HAVE_BOOL): Likewise.
8464 (_G_HAVE_ATEXIT): Likewise.
8465 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8466 (_G_HAVE_IO_FILE_OPEN): Likewise.
8468 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8470 * csu/libc-tls.c: Update copyright years.
8472 2012-09-10 Joseph Myers <joseph@codesourcery.com>
8474 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8475 [!_G_USING_THUNKS]: Remove conditional code.
8476 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8477 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8479 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8480 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8481 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8482 (_G_VTABLE_LABEL_PREFIX): Likewise.
8483 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8484 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8485 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8486 (_G_VTABLE_LABEL_PREFIX): Likewise.
8487 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8488 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8489 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8490 (_G_VTABLE_LABEL_PREFIX): Likewise.
8491 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8493 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8495 * libio/Makefile: Include ../Makeconfig before tests.
8496 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8497 only if $(build-shared) is yes.
8499 * iconv/gconv_db.c: Update copyright years.
8501 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8503 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8504 unwind info if defined PIC. Fix special cases description.
8505 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8507 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8509 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8511 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8513 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8515 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8518 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8519 (LDLIBS-tst-chk4): This.
8520 (LDFLAGS-tst-chk5): Renamed to ...
8521 (LDLIBS-tst-chk5): This.
8522 (LDFLAGS-tst-chk6): Renamed to ...
8523 (LDLIBS-tst-chk6): This.
8524 (LDFLAGS-tst-lfschk4): Renamed to ...
8525 (LDLIBS-tst-lfschk4): This.
8526 (LDFLAGS-tst-lfschk5): Renamed to ...
8527 (LDLIBS-tst-lfschk5): This.
8528 (LDFLAGS-tst-lfschk6): Renamed to ...
8529 (LDLIBS-tst-lfschk6): This.
8531 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8532 on $(common-objpfx)soversions.mk.
8534 2012-09-07 Joseph Myers <joseph@codesourcery.com>
8537 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8540 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8542 * malloc/arena.c (arena_get_retry): New function that gets
8543 another arena for the caller to try its request on.
8544 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8545 current arena cannot fulfill the request.
8546 (__libc_memalign): Likewise.
8547 (__libc_memalign): Likewise.
8548 (__libc_pvalloc): Likewise.
8549 (__libc_calloc): Likewise.
8551 2012-09-05 John Tobey <john.tobey@gmail.com>
8554 * manual/arith.texi (Operations on Complex): Fix description
8557 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8560 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8564 * manual/memory.texi (Memory): Make order of menu items match
8567 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8569 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8570 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8571 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8573 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8575 * csu/libc-tls.c (static_dtv): Renamed to ...
8576 (_dl_static_dtv): This. Make it global.
8577 (_dl_initial_dtv): Removed.
8578 (__libc_setup_tls): Updated.
8579 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8580 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8583 2012-09-06 Petr Machata <pmachata@redhat.com>
8585 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8586 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8587 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8588 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8590 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8593 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8594 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8597 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8600 * Makeconfig (link-static-before-libc): Replace $(+prector)
8602 (link-static-after-libc): Replace $(+postctor) with
8604 (link-bounded): Replace $(+prector)/$(+postctor) with
8605 $(+prectorT)/$(+postctorT).
8606 (+prectorT): New macro.
8607 (+postctorT): Likewise.
8609 2012-09-06 Joseph Myers <joseph@codesourcery.com>
8611 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8612 (round_str): Handle values above the maximum for IBM long double
8614 * stdlib/tst-strtod-round.c (tests): Regenerated.
8616 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8618 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8620 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8621 zarch_nohighgprs around the zarch optimized routines.
8622 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8623 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8624 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8627 2012-09-05 David S. Miller <davem@davemloft.net>
8629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8631 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8632 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8633 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8634 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8637 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8639 * malloc/arena.c: Fold copyright years.
8640 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8642 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8644 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8646 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8648 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8650 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8652 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8653 change internal state upon failure.
8655 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
8657 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8658 * malloc/memusage.c (mmap): Likewise.
8659 (mmap64, mremap): Likewise. Adjust name in comment.
8661 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8663 * libio/fileops.c: Fix typos in comments.
8664 * libio/oldfileops.c: Likewise.
8665 * libio/wfileops.c: Likewise.
8667 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8670 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8671 (tst-malloc-usable-ENV): Set environment for test case.
8672 * malloc/hooks.c (malloc_check_get_size): New function to get
8674 * malloc/malloc.c (musable): Use malloc_check_get_size.
8675 * malloc/tst-malloc-usable.c: New test case.
8677 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8679 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8681 2012-09-05 Allan McRae <allan@archlinux.org>
8684 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8685 determine header location.
8686 * configure: Regenerated.
8688 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8690 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8692 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8693 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8697 2012-09-04 David S. Miller <davem@davemloft.net>
8699 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8700 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8701 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8703 2012-09-04 Florian Weimer <fweimer@redhat.com>
8705 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8708 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8710 2012-09-04 Joseph Myers <joseph@codesourcery.com>
8713 * libio/iogetdelim.c: Include <limits.h>.
8714 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8715 + len + 1 would overflow.
8717 2012-09-03 Andreas Jaeger <aj@suse.de>
8719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8720 * sysdeps/i386/fpu/libm-test-ulps: Update.
8722 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8724 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8725 Add s_sinf-sse2, s_conf-sse2.
8727 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8728 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8729 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8730 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8732 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8733 for using routine as __sinf_ia32.
8734 Use macro for function declaration and weak_alias.
8735 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8736 for using routine as __cosf_ia32.
8737 Use macro for function declaration and weak_alias.
8739 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8740 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8742 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8743 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8746 * math/libm-test.inc (cos_test): Add more test cases.
8747 (sin_test): Likewise.
8748 (sincos_test): Likewise.
8750 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8752 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8753 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8755 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8757 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8760 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8761 first element of the GOT.
8762 (elf_machine_load_address): Return the difference between
8763 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8765 2012-09-01 Allan McRae <allan@archlinux.org>
8768 * configure.in (AWK): Require gawk version 3.0 or later.
8769 * configure: Regenerated.
8771 2012-09-01 Joseph Myers <joseph@codesourcery.com>
8773 * sysdeps/unix/sysv/linux/kernel-features.h
8774 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8775 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8776 [__NR_clock_getres]: Make code unconditional.
8777 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8778 (clock_getcpuclockid): Remove code left unreachable by removal of
8780 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8782 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8783 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8784 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8785 Make code unconditional.
8786 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8787 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8788 * sysdeps/unix/sysv/linux/clock_settime.c
8789 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8791 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8792 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8794 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8797 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8798 scripts/test-installation.pl.
8800 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8801 and $ld_so_version if it is set.
8803 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8806 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8807 failure if reading from procfs failed.
8808 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8810 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8812 * sysdeps/unix/sysv/linux/kernel-features.h
8813 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8814 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8815 Remove conditional code.
8816 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8817 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8818 Remove conditional code.
8819 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8820 * sysdeps/unix/sysv/linux/i386/fxstat.c
8821 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8822 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8823 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8824 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8825 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8826 * sysdeps/unix/sysv/linux/i386/lxstat.c
8827 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8828 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8829 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8830 Remove conditional code.
8831 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8832 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8833 Remove conditional code.
8834 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8835 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8836 <kernel-features.h>.
8837 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8839 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8840 Remove conditional code.
8841 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8842 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8845 2012-08-27 Mike Frysinger <vapier@gentoo.org>
8848 * NEWS: Add fixed bug number.
8850 2012-08-27 Joseph Myers <joseph@codesourcery.com>
8853 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8854 underflowing exponent in case of negative sign.
8855 * stdlib/tst-strtod-round-data: Add more tests.
8856 * stdlib/tst-strtod-round.c (tests): Regenerated.
8859 * stdlib/strtod_l.c (NDIG): Remove.
8860 (HEXNDIG): Likewise.
8861 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8862 smallest representable value.
8863 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8864 lie within an exact representation of 1/2 ulp of the result.
8865 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8867 (TENS_P9_IDX): Define unconditionally.
8868 (TENS_P9_SIZE): Likewise.
8869 (TENS_P10_IDX): Likewise.
8870 (TENS_P10_SIZE): Likewise.
8871 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8872 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8873 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8874 entries for 10^2^13 and 10^2^14.
8875 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8876 (TENS_P13_IDX): Define.
8877 (TENS_P13_SIZE): Likewise.
8878 (TENS_P14_IDX): Likewise.
8879 (TENS_P14_SIZE): Likewise.
8880 (_fpioconst_pow10): Change array size to
8881 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8883 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8884 1024]: Add entries for 10^2^13 and 10^2^14.
8885 [LAST_POW10 > _LAST_POW10]: Remove #error.
8886 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8887 (_fpioconst_pow10): Change array size to
8888 FPIOCONST_POW10_ARRAY_SIZE.
8889 * stdlib/gen-fpioconst.c: New file.
8890 * stdlib/gen-tst-strtod-round.c: Likewise.
8891 * stdlib/tst-strtod-round-data: Likewise.
8892 * stdlib/tst-strtod-round.c: Likewise.
8893 * stdlib/Makefile (tests): Add tst-strtod-round.
8896 * stdlib/strtod_l.c: Include <stdint.h>.
8897 (NDEBUG): Do not define.
8898 (round_and_return): Change EXPONENT parameter to type intmax_t.
8899 Rearrange calculations to avoid internal overflow possibilities.
8900 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8901 Rearrange calculations to avoid internal overflow possibilities.
8902 Assert that number fits inside MPNSIZE limbs.
8903 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8904 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8905 calculations and add assertions to avoid internal overflow
8906 possibilities. Add casts to avoid signed/unsigned operations.
8907 * stdlib/tst-strtod-overflow.c: New file.
8908 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8910 2012-08-25 Marek Polacek <polacek@redhat.com>
8912 * time/time.h: Fix some typos in comments.
8914 2012-08-23 Roland McGrath <roland@hack.frob.com>
8916 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8917 * posix/tst-rfc3484-2.c: Likewise.
8918 * posix/tst-rfc3484-3.c: Likewise.
8920 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8922 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8923 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8925 2012-08-23 Joseph Myers <joseph@codesourcery.com>
8927 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8928 #include of fxstatat64.c.
8930 2012-08-22 Roland McGrath <roland@hack.frob.com>
8932 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8933 * shadow/getspent_r.c: Likewise.
8934 * shadow/getspnam.c: Likewise.
8935 * shadow/getspnam_r.c: Likewise.
8936 * gshadow/getsgent.c: Likewise.
8937 * gshadow/getsgent_r.c: Likewise.
8938 * gshadow/getsgnam.c: Likewise.
8939 * gshadow/getsgnam_r.c: Likewise.
8940 * inet/getnetbyad.c: Likewise.
8941 * inet/getnetbyad_r.c: Likewise.
8942 * inet/getnetbynm.c: Likewise.
8943 * inet/getnetbynm_r.c: Likewise.
8944 * inet/getnetent.c: Likewise.
8945 * inet/getnetent_r.c: Likewise.
8946 * inet/getproto.c: Likewise.
8947 * inet/getproto_r.c: Likewise.
8948 * inet/getprtent.c: Likewise.
8949 * inet/getprtent_r.c: Likewise.
8950 * inet/getprtname.c: Likewise.
8951 * inet/getprtname_r.c: Likewise.
8952 * inet/getrpcbyname.c: Likewise.
8953 * inet/getrpcbyname_r.c: Likewise.
8954 * inet/getrpcbynumber.c: Likewise.
8955 * inet/getrpcbynumber_r.c: Likewise.
8956 * inet/getrpcent.c: Likewise.
8957 * inet/getrpcent_r.c: Likewise.
8958 * inet/getaliasent.c: Likewise.
8959 * inet/getaliasent_r.c: Likewise.
8960 * inet/getaliasname.c: Likewise.
8961 * inet/getaliasname_r.c: Likewise.
8962 * nscd/getgrgid_r.c: Likewise.
8963 * nscd/getgrnam_r.c: Likewise.
8964 * nscd/gethstbyad_r.c: Likewise.
8965 * nscd/gethstbynm3_r.c: Likewise.
8966 * nscd/getpwnam_r.c: Likewise.
8967 * nscd/getpwuid_r.c: Likewise.
8968 * nscd/getsrvbynm_r.c: Likewise.
8969 * nscd/getsrvbypt_r.c: Likewise.
8970 * nscd/gai.c: Likewise.
8972 * configure.in (build_nscd): New substituted variable, set
8973 by --disable-build-nscd and defaults to $use_nscd.
8974 * configure: Regenerated.
8975 * config.make.in (build-nscd): New substituted variable.
8976 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8977 Change conditional to require [$(build-nscd) = yes] as well.
8978 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8981 * configure.in (use_nscd): New substituted variable, set by
8982 --disable-nscd. If enabled, define USE_NSCD.
8983 * configure: Regenerated.
8984 * config.h.in: Add USE_NSCD.
8985 * config.make.in (use-nscd): New substituted variable.
8986 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8987 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8988 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8989 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8990 (CFLAGS-getgrnam_r.c): Likewise.
8991 (CFLAGS-initgroups.c): Likewise.
8992 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8993 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8995 * inet/getnetgrent_r.c
8996 (nscd_setnetgrent): New function, broken out of ...
8997 (setnetgrent): ... here. Call it.
8998 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8999 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9000 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9001 * nscd/Makefile (routines, aux): Move definitions after include of
9002 Makeconfig. Conditionalize on [$(use-nscd) != no].
9003 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9004 Conditionalize on [USE_NSCD].
9005 (is_nscd, nscd_init_cb): Likewise.
9006 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9007 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9008 * nss/nss_db/db-init.c: Likewise.
9009 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9011 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9012 (make_request): Use it.
9013 (cache_valid_p): New function.
9014 (__check_pf): Use it.
9015 * NEWS: Add item for --disable-nscd.
9017 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9019 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9020 to support sed >= 4.2.1-20-ga9bf076.
9021 * configure: Regenerated.
9023 2012-08-22 Roland McGrath <roland@hack.frob.com>
9025 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9026 Conditionalize whole body on [IREL].
9028 2012-08-22 Jeff Law <law@redhat.com>
9031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9032 if the family is PF_UNSPEC.
9034 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9036 * Makerules (lib-version): Rename from V.
9037 (install-lib-nosubdir): Change V to lib-version.
9039 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9042 * powerpc32/power6/wcschr.c: New file.
9043 * powerpc32/power6/wcscpy.c: New file.
9044 * powerpc32/power6/wcsrchr.c: New file.
9045 * powerpc64/power6/wcschr.c: New file.
9046 * powerpc64/power6/wcscpy.c: New file.
9047 * powerpc64/power6/wcsrchr.c: New file.
9049 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9051 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9052 (two_way_short_needle): Use it.
9053 * string/strstr.c (AVAILABLE1_USES_J): Define.
9054 * string/strcasestr.c: Likewise.
9056 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9058 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9061 * NEWS: Add an entry.
9062 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9063 define their defaults.
9064 (two_way_short_needle): Detect end-of-string on-the-fly.
9065 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9066 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9067 * string/bug-strcasestr1.c: New test.
9068 * string/Makefile: Run it.
9070 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9073 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9074 the first character.
9076 2012-08-21 Roland McGrath <roland@hack.frob.com>
9078 * csu/elf-init.c (__libc_csu_irel): Function removed.
9079 * csu/libc-start.c (apply_irel): New function.
9080 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9082 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9084 * sysdeps/unix/sysv/linux/kernel-features.h
9085 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9086 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9087 <kernel-features.h>.
9088 [__NR_fadvise64_64]: Make code unconditional.
9089 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9090 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9091 !__NR_fadvise64_64)]: Likewise.
9092 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9093 !__NR_fadvise64_64))]: Likewise.
9094 [__NR_fadvise64]: Make code unconditional.
9095 [!__NR_fadvise64]: Remove conditional code.
9096 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9097 <kernel-features.h>.
9098 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9100 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9103 not include <kernel-features.h>.
9104 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9106 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9108 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9109 include <kernel-features.h>.
9110 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9112 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9115 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9117 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9118 slight instruction rearrangements per scrollpipe analysis.
9119 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9121 2012-08-20 Roland McGrath <roland@hack.frob.com>
9123 * manual/syslog.texi (syslog; vsyslog, closelog):
9124 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9125 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9127 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9128 DSOCAPS to match condition on defining it.
9130 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9132 * sysdeps/unix/sysv/linux/kernel-features.h
9133 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9135 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9136 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9138 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9139 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9141 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9142 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9144 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9145 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9147 * sysdeps/unix/sysv/linux/kernel-features.h
9148 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9149 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9151 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9152 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9153 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9154 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9155 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9156 Make code unconditional.
9157 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9158 (__mmap64) [!__NR_mmap2]: Likewise.
9159 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9160 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9161 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9162 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9163 [__NR_mmap2]: Make code unconditional.
9164 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9165 (__mmap64) [!__NR_mmap2]: Likewise.
9167 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9169 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9171 2012-08-18 Andreas Jaeger <aj@suse.de>
9173 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9175 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9177 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9178 * include/unistd.h (__have_sock_cloexec): Likewise.
9179 (__have_pipe2): Likewise.
9180 (__have_dup3): Likewise.
9182 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9185 * include/unistd.h (__have_pipe2): Change define into an extern int.
9186 (__have_dup3): Likewise.
9187 * socket/have_sock_cloexec.c: Include fcntl.h.
9188 (__have_pipe2): New variable.
9189 (__have_dup3): Likewise.
9191 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9193 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9195 2012-08-17 Marek Polacek <polacek@redhat.com>
9197 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9198 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9200 2012-08-17 Roland McGrath <roland@hack.frob.com>
9202 * configure.in: Add AC_SUBST for sysheaders.
9203 * configure: Regenerated.
9204 * config.make.in (sysheaders): New substituted variable.
9206 * sysdeps/unix/mkfifo.c: Moved ...
9207 * sysdeps/posix/mkfifo.c: ... here.
9208 * sysdeps/unix/mkfifoat.c: Moved ...
9209 * sysdeps/posix/mkfifoat.c: ... here.
9211 * sysdeps/unix/utime.c: Moved ...
9212 * sysdeps/posix/utime.c: ... here.
9214 * sysdeps/unix/time.c: Moved ...
9215 * sysdeps/posix/time.c: ... here.
9216 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9217 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9219 * sysdeps/unix/nice.c: Moved ...
9220 * sysdeps/posix/nice.c: ... here.
9222 * sysdeps/unix/alarm.c: Moved ...
9223 * sysdeps/posix/alarm.c: ... here.
9225 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9227 2012-08-17 Jeff Law <law@redhat.com>
9229 * intl/Makefile (codeset_mo): New variable.
9230 ($(codeset_mo)): New target.
9231 (tst-codeset.out): Depend on that. Remove explicit rule.
9232 (tst-gettext3.out, tst-gettext5.out): Likewise.
9233 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9234 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9235 * intl/tst-codeset.sh: Remove.
9236 * intl/tst-gettext3.sh: Likewise.
9237 * intl/tst-gettext5.sh: Likewise.
9239 2012-08-17 Roland McGrath <roland@hack.frob.com>
9241 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9242 * sysdeps/unix/syscalls.list: ... here.
9244 * sysdeps/posix/getaddrinfo.c
9245 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9246 (gaiconf_init, gaiconf_reload): Use them.
9248 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9249 Define using time_t rather than struct timespec.
9251 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9252 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9254 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9256 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9257 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9260 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9261 __libc_cleanup_push argument.
9263 * bits/param.h: New file.
9264 * misc/sys/param.h: New file.
9265 * include/sys/param.h: New file.
9266 * misc/Makefile (headers): Add bits/param.h.
9267 * sysdeps/generic/sys/param.h: File removed.
9268 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9269 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9270 * sysdeps/mach/hurd/bits/param.h: New file.
9271 * sysdeps/mach/hurd/sys/param.h: File removed.
9273 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9276 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9278 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9279 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9282 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9283 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9284 rather than -D_IO_MTSAFE_IO conditionally.
9285 * stdio-common/Makefile (CPPFLAGS): Likewise.
9286 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9287 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9288 Use $(libio-mtsafe).
9289 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9291 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9292 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9293 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9294 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9295 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9296 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9297 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9298 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9299 (CFLAGS-fread_u_chk.c): Likewise.
9300 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9301 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9302 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9303 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9304 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9305 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9306 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9307 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9308 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9310 * libio/Makefile: Test [$(libc-reentrant) = yes]
9311 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9314 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9315 * sysdeps/pthread/configure: File removed.
9316 * sysdeps/pthread/Makeconfig: New file.
9317 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9318 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9320 2012-08-16 Gary Benson <gbenson@redhat.com>
9322 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9323 unmapping the first object in a namespace.
9325 2012-08-16 Roland McGrath <roland@hack.frob.com>
9327 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9328 (__internal_setnetgrent): ... this. Add internal_function to
9329 definition. Add libc_hidden_def.
9330 (setnetgrent): Update caller.
9331 (internal_endnetgrent): Renamed to ...
9332 (__internal_endnetgrent): ... this. Add internal_function to
9333 definition. Add libc_hidden_def.
9334 (endnetgrent): Update caller.
9335 (internal_getnetgrent_r): Renamed to ...
9336 (__internal_getnetgrent_r): ... this. Add internal_function to
9337 definition. Add libc_hidden_def.
9338 (__getnetgrent_r): Update caller.
9339 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9341 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9343 * stdlib/longlong.h: Update from GCC.
9345 2012-08-16 Roland McGrath <roland@hack.frob.com>
9347 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9348 on _QL, which is set by umul_ppmm but never used.
9349 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9350 variables, which are set by GMP macros but never used.
9351 * stdio-common/_itowa.c (_itowa): Likewise.
9352 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9353 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9355 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9357 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9358 struct La_sh_regs is not constant.
9359 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9360 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9361 and struct La_sparc64_regs are not constant.
9363 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9365 * sysdeps/unix/sysv/linux/kernel-features.h
9366 (__ASSUME_POSIX_TIMERS): Remove.
9367 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9368 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9369 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9370 Make code unconditional.
9371 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9372 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9373 Make code unconditional.
9374 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9375 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9376 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9377 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9378 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9379 Make code unconditional.
9380 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9381 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9382 (__libc_missing_posix_timers): Remove.
9384 2012-08-15 Roland McGrath <roland@hack.frob.com>
9386 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9387 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9389 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9391 * elf/dl-sym.c: Include <stdlib.h>.
9393 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9394 constants, which avoids warnings in 32-bit builds.
9396 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9397 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9399 * misc/lseek.c: File moved to ...
9400 * io/lseek.c: ... here.
9402 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9404 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9405 shifting LEN more than 31 bits at once.
9407 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9410 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9411 segmentation fault for a case of two empty input strings.
9412 * string/test-strncasecmp.c (check1): Renamed to...
9414 (bz14195): Add new testcase for two empty input strings and N > 0.
9415 (test_main): Call new testcase, adapt for renamed function.
9417 2012-08-15 Andreas Jaeger <aj@suse.de>
9420 * crypt/md5test2.c: New test, based on test supplied by Serge
9421 Belyshev <belyshev@depni.sinp.msu.ru>.
9422 * crypt/Makefile (xtests): Add md5test-giant..
9423 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9425 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9428 * crypt/md5.c (md5_process_block): Don't assume the buffer
9429 length is less than 2**32.
9430 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9431 length is less than 2**64.
9433 2012-08-15 Roland McGrath <roland@hack.frob.com>
9435 * string/str-two-way.h: Include <sys/param.h>.
9436 (MAX): Macro removed.
9438 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9439 Move #define and #undef of memmove to just before and after
9440 including <string.h>.
9442 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9443 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9444 and after including <string.h>. Move declarations of
9445 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9446 to before #include "string/memmove.c".
9448 * include/dirent.h: Declare __getdirentries.
9450 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9451 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9453 2012-08-14 Mike Frysinger <vapier@gentoo.org>
9455 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9456 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9457 * sysdeps/i386/configure: Regenerated.
9458 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9459 STABS_CURRENT_FILE, and STABS_FUN.
9460 (END): Remove call to STABS_FUN_END.
9461 (STABS_CURRENT_FILE1): Delete.
9462 (STABS_CURRENT_FILE): Likewise.
9463 (STABS_FUN): Likewise.
9464 (STABS_FUN_END): Likewise.
9465 (STABS_FUN2): Likewise.
9466 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9467 * sysdeps/x86_64/configure: Regenerated.
9469 2012-08-14 Roland McGrath <roland@hack.frob.com>
9471 * elf/dl-open.c: Include <atomic.h>.
9472 * elf/dl-lookup.c: Likewise.
9474 2012-08-14 Joseph Myers <joseph@codesourcery.com>
9476 * sysdeps/unix/sysv/linux/kernel-features.h
9477 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9478 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9480 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9482 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9483 condition on __ASSUME_CLONE_THREAD_FLAGS.
9485 2012-08-14 Andreas Jaeger <aj@suse.de>
9487 * sysdeps/i386/fpu/libm-test-ulps: Update.
9489 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9491 * include/atomic.h (atomic_exchange_and_add): Split into ...
9492 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9495 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9499 2012-08-13 Jeff Law <law@redhat.com>
9501 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9502 null byte in the output string.
9504 2012-08-10 Joseph Myers <joseph@codesourcery.com>
9506 * sysdeps/unix/sysv/linux/kernel-features.h
9507 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9508 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9509 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9510 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9511 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9512 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9513 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9515 2012-08-09 Jeff Law <law@redhat.com>
9518 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9519 When avoid_arena is set, don't retry in the that arena. Pick the
9520 next one, whatever it might be.
9521 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9522 (arena_lock): Pass in new parameter to arena_get2.
9523 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9525 (__libc_malloc): Unify retrying after main arena failure with
9526 __libc_memalign version.
9527 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9529 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9532 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9533 to __redirect_strstr.
9534 (__strstr_sse42): Use typeof __redirect_strstr.
9535 (__strstr_ia32): Likewise.
9536 (__libc_strstr): New prototype.
9537 (strstr): Renamed to ...
9538 (__libc_strstr): This.
9539 (strstr): New strong alias of __libc_strstr.
9540 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9541 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9544 (__libc_time): New prototype.
9545 (time_ifunc): Replace time with __libc_time.
9546 (time): New strong alias and hidden definition of __libc_time.
9547 (__GI_time): Remove strong alias.
9548 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9550 (memmove): Redefined to __redirect_memmove.
9551 (__memmove_sse2): Use typeof __redirect_memmove.
9552 (__memmove_ssse3): Likewise.
9553 (__memmove_ssse3_back): Likewise.
9554 (__libc_memmove): New prototype.
9555 (memmove): Renamed to ...
9556 (__libc_memmove): This.
9557 (memmove): New strong alias of __libc_memmove.
9559 2012-08-08 Mark Salter <msalter@redhat.com>
9562 (R_MN10300_TLS_GD): Define.
9563 (R_MN10300_TLS_LD): Likewise.
9564 (R_MN10300_TLS_LDO): Likewise.
9565 (R_MN10300_TLS_GOTIE): Likewise.
9566 (R_MN10300_TLS_IE): Likewise.
9567 (R_MN10300_TLS_LE): Likewise.
9568 (R_MN10300_TLS_DTPMOD): Likewise.
9569 (R_MN10300_TLS_DTPOFF): Likewise.
9570 (R_MN10300_TLS_TPOFF): Likewise.
9571 (R_MN10300_SYM_DIFF): Likewise.
9572 (R_MN10300_ALIGN): Likewise.
9573 (R_MN10300_NUM): Update.
9575 2012-08-08 Joseph Myers <joseph@codesourcery.com>
9577 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9580 2012-08-08 Roland McGrath <roland@hack.frob.com>
9582 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9584 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9585 sysdeps/unix -> sysdeps/posix move.
9586 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9588 2012-08-07 Allan McRae <allan@archlinux.org>
9591 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9592 (SUNOS_CPP): Likewise.
9593 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9595 (open_input): Call CPP using execvp.
9597 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9599 * sysdeps/unix/sysv/linux/kernel-features.h
9600 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9601 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9602 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9603 (__ASSUME_WAITID_SYSCALL): Likewise.
9604 * sysdeps/unix/sysv/linux/dl-execstack.c
9605 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9607 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9609 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9610 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9611 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9613 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9615 [__ASSUME_WAITID_SYSCALL]: Likewise.
9616 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9618 2012-08-07 Roland McGrath <roland@hack.frob.com>
9620 * sysdeps/unix/closedir.c: Renamed to ...
9621 * sysdeps/posix/closedir.c: ... here.
9622 * sysdeps/unix/dirfd.c: Renamed to ...
9623 * sysdeps/posix/dirfd.c: ... here.
9624 * sysdeps/unix/dirstream.h: Renamed to ...
9625 * sysdeps/posix/dirstream.h: ... here.
9626 * sysdeps/unix/fdopendir.c: Renamed to ...
9627 * sysdeps/posix/fdopendir.c: ... here.
9628 * sysdeps/unix/opendir.c: Renamed to ...
9629 * sysdeps/posix/opendir.c: ... here.
9630 * sysdeps/unix/readdir.c: Renamed to ...
9631 * sysdeps/posix/readdir.c: ... here.
9632 * sysdeps/unix/readdir_r.c: Renamed to ...
9633 * sysdeps/posix/readdir_r.c: ... here.
9634 * sysdeps/unix/rewinddir.c: Renamed to ...
9635 * sysdeps/posix/rewinddir.c: ... here.
9636 * sysdeps/unix/seekdir.c: Renamed to ...
9637 * sysdeps/posix/seekdir.c: ... here.
9638 * sysdeps/unix/telldir.c: Renamed to ...
9639 * sysdeps/posix/telldir.c: ... here.
9640 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9641 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9642 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9643 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9645 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9646 * bits/fcntl.h: ... here.
9648 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9650 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9651 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9652 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9653 (struct flock): Move l_start, l_len to the beginning.
9654 Use __pid_t for l_pid.
9655 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9656 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9657 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9658 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9659 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9660 [__USE_LARGEFILE64] (struct flock64): New type.
9661 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9663 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9664 * bits/dirent.h: ... here.
9666 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9667 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9669 2012-08-07 Joseph Myers <joseph@codesourcery.com>
9671 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9672 Change from 2.6.0 to 2.6.16.
9673 * sysdeps/unix/sysv/linux/configure: Regenerated.
9674 * sysdeps/unix/sysv/linux/kernel-features.h
9675 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9676 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9678 (__ASSUME_UTIMES): Likewise.
9679 (__ASSUME_CLONE_STOPPED): Remove.
9680 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9681 architectures, not kernel version.
9682 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9683 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9684 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9685 (__ASSUME_WAITID_SYSCALL): Likewise.
9686 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9687 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9688 * README: State 2.6.16 as minimum Linux kernel version. Do not
9689 refer to older versions.
9691 2012-08-06 Roland McGrath <roland@hack.frob.com>
9693 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9694 Define alphasort64 as an alias.
9695 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9696 Define versionsort64 as an alias.
9697 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9698 Define scandir64 as an alias.
9699 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9700 Define scandirat64 as an alias.
9701 * dirent/alphasort64.c (alphasort64):
9702 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9703 * dirent/versionsort64.c: Likewise.
9704 * dirent/scandir64.c: Likewise.
9705 * dirent/scandirat64.c: Likewise.
9706 * sysdeps/wordsize-64/alphasort.c: File removed.
9707 * sysdeps/wordsize-64/alphasort64.c: File removed.
9708 * sysdeps/wordsize-64/scandir.c: File removed.
9709 * sysdeps/wordsize-64/scandir64.c: File removed.
9710 * sysdeps/wordsize-64/scandirat.c: File removed.
9711 * sysdeps/wordsize-64/scandirat64.c: File removed.
9712 * sysdeps/wordsize-64/versionsort.c: File removed.
9713 * sysdeps/wordsize-64/versionsort64.c: File removed.
9714 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9715 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9716 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9717 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9718 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9719 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9720 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9721 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9723 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9724 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9725 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9727 [defined __arch64__ || defined __sparcv9]
9728 (__INO_T_MATCHES_INO64_T): New macro.
9729 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9730 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9731 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9732 * sysdeps/unix/sysv/linux/bits/dirent.h
9733 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9734 (_DIRENT_MATCHES_DIRENT64): New macro.
9736 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9737 Define lockf64 as an alias.
9738 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9739 Define fseeko64 as an alias.
9740 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9741 Define ftello64 as an alias.
9742 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9743 Define _IO_fgetpos64 and fgetpos64 as aliases.
9744 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9745 Define _IO_fsetpos64 and fsetpos64 as aliases.
9746 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9747 Conditionalize body on this.
9748 * libio/fseeko64.c: Likewise.
9749 * libio/ftello64.c: Likewise.
9750 * libio/iofgetpos64.c: Likewise.
9751 * libio/iofsetpos64.c: Likewise.
9752 * sysdeps/wordsize-64/lockf.c: File removed.
9753 * sysdeps/wordsize-64/lockf64.c: File removed.
9754 * sysdeps/wordsize-64/fseeko.c: File removed.
9755 * sysdeps/wordsize-64/fseeko64.c: File removed.
9756 * sysdeps/wordsize-64/ftello.c: File removed.
9757 * sysdeps/wordsize-64/ftello64.c: File removed.
9758 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9759 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9760 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9761 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9762 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9763 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9764 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9765 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9766 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9767 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9768 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9769 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9770 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9771 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9773 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9774 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9775 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9776 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9777 [defined __arch64__ || defined __sparcv9]
9778 (__OFF_T_MATCHES_OFF64_T): New macro.
9779 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9780 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9782 (__OFF_T_MATCHES_OFF64_T): New macro.
9784 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9786 * stdlib/secure-getenv.c (__secure_getenv): Replace
9787 GLIBC_2_16 with GLIBC_2_17.
9789 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9791 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9792 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9794 2012-08-03 David S. Miller <davem@davemloft.net>
9796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9798 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9800 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9802 (__ASSUME_CORRECT_SI_PID): Likewise.
9803 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9804 (__ASSUME_TMPFS_NAME): Likewise.
9805 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9806 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9807 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9808 (HAVE_AUX_SECURE): Make definition unconditional.
9809 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9810 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9812 2012-08-03 Roland McGrath <roland@hack.frob.com>
9814 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9815 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9816 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9817 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9818 __eloop_threshold instead of SYMLOOP_MAX.
9820 * sysdeps/generic/eloop-threshold.h: New file.
9821 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9823 * elf/chroot_canon.c (chroot_canon): Likewise.
9825 2012-08-03 Joseph Myers <joseph@codesourcery.com>
9828 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9829 Change to 2.6.0 everywhere.
9830 * sysdeps/unix/sysv/linux/configure: Regenerated.
9831 * sysdeps/unix/sysv/linux/kernel-features.h
9832 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9833 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9835 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9836 (__ASSUME_FUTEX_REQUEUE): Remove.
9837 (__ASSUME_STATFS64): Define unconditionally.
9838 (__ASSUME_AT_SECURE): Likewise.
9839 (__ASSUME_CORRECT_SI_PID): Likewise.
9840 (__ASSUME_TGKILL): Define without depending on kernel version for
9842 (__ASSUME_UTIMES): Likewise.
9843 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9845 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9846 (__ASSUME_TMPFS_NAME): Likewise.
9847 * README: Update reference to Linux kernel versions.
9849 2012-08-02 Marek Polacek <polacek@redhat.com>
9852 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9853 libc_cv_asm_type_prefix with %.
9854 * configure: Regenerated.
9855 * include/libc-symbols.h: Remove comment about
9856 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9857 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9858 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9859 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9860 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9861 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9862 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9863 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9864 * elf/tst-unique2mod1.c: Likewise.
9865 * elf/tst-unique1mod2.c: Likewise.
9866 * elf/tst-unique1mod1.c: Likewise.
9867 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9868 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9869 Replace ASM_TYPE_DIRECTIVE with .type.
9870 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9871 * sysdeps/i386/sysdep.h: Likewise.
9872 * sysdeps/x86_64/sysdep.h: Likewise.
9873 * sysdeps/sh/sysdep.h: Likewise.
9874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9875 Do not define ASM_TYPE_DIRECTIVE.
9876 * sysdeps/powerpc/sysdep.h: Likewise.
9877 * sysdeps/powerpc/powerpc32/sysdep.h:
9878 Replace ASM_TYPE_DIRECTIVE with .type.
9879 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9880 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9881 * sysdeps/i386/fpu/e_powf.S: Likewise.
9882 * sysdeps/i386/fpu/e_expl.S: Likewise.
9883 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9884 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9885 * sysdeps/i386/fpu/e_pow.S: Likewise.
9886 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9887 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9888 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9889 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9890 * sysdeps/i386/fpu/e_log2.S: Likewise.
9891 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9892 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9893 * sysdeps/i386/fpu/e_powl.S: Likewise.
9894 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9895 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9896 * sysdeps/i386/fpu/e_logl.S: Likewise.
9897 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9898 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9899 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9900 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9901 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9902 * sysdeps/i386/fpu/e_log.S: Likewise.
9903 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9904 * sysdeps/i386/fpu/e_logf.S: Likewise.
9905 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9906 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9907 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9908 * sysdeps/i386/fpu/e_log10.S: Likewise.
9909 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9910 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9911 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9912 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9913 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9914 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9915 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9916 * sysdeps/i386/i686/strtok.S: Likewise.
9917 * sysdeps/i386/i386-mcount.S: Likewise.
9918 * sysdeps/i386/strtok.S: Likewise.
9919 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9920 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9921 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9922 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9923 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9924 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9925 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9926 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9927 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9928 * sysdeps/x86_64/_mcount.S: Likewise.
9929 * sysdeps/x86_64/strtok.S: Likewise.
9930 * sysdeps/sh/_mcount.S: Likewise.
9932 2012-08-01 Roland McGrath <roland@hack.frob.com>
9934 * libio/iofopen.c: Include <fcntl.h>.
9935 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9936 (_IO_fopen64, fopen64): Define as aliases.
9937 * libio/iofopen64.c: Include <fcntl.h>.
9938 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9939 Conditionalize body on this.
9940 * sysdeps/wordsize-64/iofopen.c: File removed.
9941 * sysdeps/wordsize-64/iofopen64.c: File removed.
9943 2012-08-01 Marek Polacek <polacek@redhat.com>
9945 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9946 Use dlfcn directly instead of a variable.
9947 (binfmt-subdir): Do not define.
9950 2012-08-01 Joseph Myers <joseph@codesourcery.com>
9952 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9953 Remove all definitions.
9954 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9955 <kernel-features.h>.
9956 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9957 (miss_F_GETOWN_EX): Remove all definitions.
9958 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9960 [!__ASSUME_FCNTL64]: Remove conditional code.
9961 [__ASSUME_FCNTL64]: Make code unconditional.
9962 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9963 <kernel-features.h>.
9964 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9965 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9966 (lockf64) [__NR_fcntl64]: Make code unconditional.
9967 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9969 * sysdeps/unix/sysv/linux/kernel-features.h
9970 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9971 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9972 Make code unconditional.
9973 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9974 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9976 [__NR_vfork]: Make code unconditional.
9977 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9978 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9980 [__NR_vfork]: Make code unconditional.
9981 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9982 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9984 2012-08-01 Roland McGrath <roland@hack.frob.com>
9986 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9987 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9989 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9990 Define mkstemp64 as an alias.
9991 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9992 Define mkstemps64 as an alias.
9993 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9994 Define mkostemp64 as an alias.
9995 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9996 Define mkostemps64 as an alias.
9997 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9998 Conditionalize body on this.
9999 * misc/mkostemp64.c: Likewise.
10000 * misc/mkostemps64.c: Likewise.
10001 * misc/mkstemps64.c: Likewise.
10002 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10003 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10004 * sysdeps/wordsize-64/mkostemp.c: File removed.
10005 * sysdeps/wordsize-64/mkstemp.c: File removed.
10006 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10007 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10008 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10009 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10012 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10013 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10014 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10015 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10017 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10018 compat_symbol macros from <shlib-compat.h> rather than the underlying
10019 default_symbol_version and symbol_version macros, so that DEFAULT
10020 lines in shlib-versions are respected.
10021 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10023 2012-08-01 Florian Weimer <fweimer@redhat.com>
10025 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10026 Declare with warn_unused_result.
10027 (setgid, setregid, setegid, setresgid): Likewise.
10028 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10030 * WUR-REPORT: Remove set*id functions.
10032 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10034 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10036 2012-07-31 Roland McGrath <roland@hack.frob.com>
10038 * include/sys/socket.h (__libc_accept, __libc_accept4):
10039 Add attribute_hidden.
10040 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10042 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10044 * inet/getnetgrent_r.c (setup): Likewise.
10046 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10048 2012-07-31 David S. Miller <davem@davemloft.net>
10050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10052 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10055 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10056 value between 1.0 and 2.0 and smaller part has absolute value less
10058 * math/s_clog10.c (__clog10): Likewise.
10059 * math/s_clog10f.c (__clog10f): Likewise.
10060 * math/s_clog10l.c (__clog10l): Likewise.
10061 * math/s_clogf.c (__clogf): Likewise.
10062 * math/s_clogl.c (__clogl): Likewise.
10063 * math/libm-test.inc (clog_test): Add more tests.
10064 (clog10_test): Likewise.
10065 * sysdeps/i386/fpu/libm-test-ulps: Update.
10066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10068 2012-07-31 Florian Weimer <fweimer@redhat.com>
10070 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10071 Exit with zero in case no suitable GID is found, and write a
10072 message to standard error.
10074 2012-07-30 Roland McGrath <roland@hack.frob.com>
10076 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10078 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10079 (MAXPATHLEN): Removed.
10080 (NOGROUP, NODEV): New macros.
10081 (setbit, clrbit, isset, isclr): New macros.
10082 (howmany, roundup, powerof2): New macros.
10083 (DEV_BSIZE): New macro.
10085 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10086 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10088 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10089 definition on [!__NO_LONG_DOUBLE_MATH].
10091 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10092 PTR_MANGLE and PTR_DEMANGLE.
10094 * socket/accept4.c (accept4): Rename to __libc_accept4.
10095 Define accept4 as a weak alias.
10097 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10098 on [_DIRENT_HAVE_D_TYPE].
10099 * io/ftw.c (ftw_dir): Likewise.
10101 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10103 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10105 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10106 Use the BSD numbers rather than the arbitrary ones we had.
10107 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10108 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10109 (SIGXCPU, SIGXFSZ): New macros.
10112 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10113 initializer on [_LIBC_REENTRANT].
10115 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10116 definitions inside [_POSIX_MAPPED_FILES].
10118 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10120 * dirent/opendir.c: Include <fcntl.h>.
10122 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10123 (__libc_getspecific): Likewise.
10124 (__libc_key_create): Likewise.
10126 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10127 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10128 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10129 (tmpfile64): Define as alias.
10130 * sysdeps/wordsize-64/tmpfile.c: File removed.
10131 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10132 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10133 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10135 * stdio-common/vfscanf.c: Include <stdbool.h>.
10136 * nss/makedb.c: Likewise.
10137 * stdio-common/_i18n_number.h: Likewise.
10138 * argp/argp-help.c: Likewise.
10139 * posix/wordexp.c: Likewise.
10140 * sysdeps/posix/spawni.c: Likewise.
10141 * nss/nss_files/files-initgroups.c: Likewise.
10142 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10143 * nss/nss_files/files-initgroups.c: Likewise.
10144 * nss/nss_db/db-netgrp.c: Likewise.
10145 * nss/nss_db/db-initgroups.c: Likewise.
10146 * io/fchmodat.c: Include <sys/stat.h>.
10148 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10149 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10151 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10154 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10155 Add multiple inclusion protection.
10157 2012-07-27 David S. Miller <davem@davemloft.net>
10159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10161 2012-07-27 Gary Benson <gbenson@redhat.com>
10164 * elf/rtld.c: Include <stap-probe.h>.
10165 (dl_main): Added static probes "init_start" and "init_complete".
10166 * elf/dl-load.c: Include <stap-probe.h>.
10167 (lose): Take new parameter "nsid".
10168 Added static probe "map_failed".
10169 (_dl_map_object_from_fd): Pass namespace id to lose.
10170 Added static probe "map_start".
10171 (open_verify): Pass namespace id to lose.
10172 * elf/dl-open.c: Include <stap-probe.h>.
10173 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10174 and "reloc_complete".
10175 * elf/dl-close.c: Include <stap-probe.h>.
10176 (_dl_close_worker): Added static probes "unmap_start" and
10178 * elf/rtld-debugger-interface.txt: New file documenting the above.
10180 2012-07-26 Roland McGrath <roland@hack.frob.com>
10182 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10183 rather than a string variable.
10184 * sunrpc/rpc_main.c (h_output): Likewise.
10185 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10187 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10189 * inet/check_native.c: New file.
10191 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10194 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10195 if larger part has absolute value 1.0.
10196 * math/s_clog10.c (__clog10): Likewise.
10197 * math/s_clog10f.c (__clog10f): Likewise.
10198 * math/s_clog10l.c (__clog10l): Likewise.
10199 * math/s_clogf.c (__clogf): Likewise.
10200 * math/s_clogl.c (__clogl): Likewise.
10201 * math/libm-test.inc (clog_test): Add more tests.
10202 (clog10_test): Likewise.
10203 * sysdeps/i386/fpu/libm-test-ulps: Update.
10204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10206 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10207 (pltexit): Likewise.
10208 (La_regs): Likewise.
10209 (La_retval): Likewise.
10210 (int_retval): Likewise.
10211 Update #error for removed macros to refer only to definitions in
10213 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10215 (pltexit): Likewise.
10216 (La_regs): Likewise.
10217 (La_retval): Likewise.
10218 (int_retval): Likewise.
10219 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10221 (pltexit): Likewise.
10222 (La_regs): Likewise.
10223 (La_retval): Likewise.
10224 (int_retval): Likewise.
10225 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10227 (pltexit): Likewise.
10228 (La_regs): Likewise.
10229 (La_retval): Likewise.
10230 (int_retval): Likewise.
10231 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10233 (pltexit): Likewise.
10234 (La_regs): Likewise.
10235 (La_retval): Likewise.
10236 (int_retval): Likewise.
10237 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10239 (pltexit): Likewise.
10240 (La_regs): Likewise.
10241 (La_retval): Likewise.
10242 (int_retval): Likewise.
10243 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10245 (pltexit): Likewise.
10246 (La_regs): Likewise.
10247 (La_retval): Likewise.
10248 (int_retval): Likewise.
10249 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10250 macro definitions in tst-audit.h.
10251 * sysdeps/i386/tst-audit.h: New file.
10252 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10253 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10254 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10255 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10256 * sysdeps/sh/tst-audit.h: Likewise.
10257 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10258 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10259 * sysdeps/x86_64/tst-audit.h: Likewise.
10261 2012-07-26 Andreas Jaeger <aj@suse.de>
10263 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10266 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10267 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10268 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10270 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10271 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10272 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10274 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10277 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10279 (si_call_addr, si_syscall, si_arch): Define new macro.
10280 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10282 (si_call_addr, si_syscall, si_arch): Define new marcro.
10283 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10285 (si_call_addr, si_syscall, si_arch): Define new macro.
10286 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10288 (si_call_addr, si_syscall, si_arch): Define new macro.
10290 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10294 Change to 2.4.21 where previously 2.4.1.
10295 * sysdeps/unix/sysv/linux/configure: Regenerated.
10296 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10297 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10298 Linux kernel version.
10299 (__ASSUME_STD_AUXV): Remove.
10300 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10302 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10303 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10304 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10305 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10306 (__ASSUME_NETLINK_SUPPORT): Likewise.
10307 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10308 (__no_netlink_support): Remove conditional definition.
10309 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10311 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10312 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10313 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10314 (if_nameindex_ioctl): Remove.
10315 (if_nameindex_netlink): Do not handle __no_netlink_support.
10316 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10318 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10319 Remove conditional code.
10320 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10322 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10324 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10325 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10326 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10328 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10329 [!__ASSUME_STD_AUXV]: Remove conditional code.
10330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10331 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10332 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10334 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10335 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10337 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10339 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10340 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10342 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10344 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10347 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10350 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10351 code unconditional.
10352 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10354 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10356 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10359 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10361 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10364 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10365 code unconditional.
10366 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10368 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10370 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10373 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10374 code unconditional.
10375 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10377 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10379 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10382 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10384 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10385 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10386 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10387 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10388 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10389 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10390 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10391 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10392 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10393 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10394 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10395 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10396 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10397 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10398 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10399 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10400 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10401 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10402 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10404 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10405 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10406 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10408 2012-07-25 Florian Weimer <fweimer@redhat.com>
10410 * Versions.def: Add GLIBC_2.17.
10411 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10412 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10413 Introduce __libc_secure_getenv.
10414 * stdlib/Versions (2.17): Add secure_getenv
10415 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10416 * stdlib/secure-getenv.c: Rename __secure_getenv to
10417 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10418 symbol __secure_getenv for GLIBC_2.0.
10419 * stdlib/tst-secure-getenv.c: New.
10420 * stdlib/Makefile (tests): Add testcase.
10421 * manual/startup.texi (Environment Access): Document
10423 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10424 __libc_secure_getenv.
10425 * inet/ruserpass.c (ruserpass): Likewise.
10426 * malloc/mtrace.c (mtrace): Likewise.
10427 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10428 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10429 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10430 * sysdeps/posix/tempname.c: Likewise. Evaluate
10431 HAVE_SECURE_GETENV.
10432 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10433 __secure_getenv to __libc_secure_getenv.
10434 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10441 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10447 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10449 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10450 (struct La_i86_retval): Likewise.
10451 (struct La_x86_64_regs): Likewise.
10452 (struct La_x86_64_retval): Likewise.
10453 (struct La_x32_regs): Likewise.
10454 (struct La_x32_retval): Likewise.
10455 (struct La_ppc32_regs): Likewise.
10456 (struct La_ppc32_retval): Likewise.
10457 (struct La_ppc64_regs): Likewise.
10458 (struct La_ppc64_retval): Likewise.
10459 (struct La_sh_regs): Likewise.
10460 (struct La_sh_retval): Likewise.
10461 (struct La_s390_32_regs): Likewise.
10462 (struct La_s390_32_retval): Likewise.
10463 (struct La_s390_64_regs): Likewise.
10464 (struct La_s390_64_retval): Likewise.
10465 (struct La_sparc32_regs): Likewise.
10466 (struct La_sparc32_retval): Likewise.
10467 (struct La_sparc64_regs): Likewise.
10468 (struct La_sparc64_retval): Likewise.
10469 (struct audit_ifaces): Remove architecture-specific pltenter and
10471 * sysdeps/i386/ldsodefs.h: New file.
10472 * sysdeps/powerpc/ldsodefs.h: Likewise.
10473 * sysdeps/s390/ldsodefs.h: Likewise.
10474 * sysdeps/sh/ldsodefs.h: Likewise.
10475 * sysdeps/sparc/ldsodefs.h: Likewise.
10476 * sysdeps/x86_64/ldsodefs.h: Likewise.
10478 2012-07-25 Marek Polacek <polacek@redhat.com>
10481 * math/libm-test.inc (yn_test): Add another test.
10482 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10483 to ERANGE when the result is +-Inf.
10484 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10485 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10486 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10487 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10489 2012-07-24 Joseph Myers <joseph@codesourcery.com>
10491 * conform/data/time.h-data (NULL): Use macro-constant. Require
10493 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10495 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10497 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10499 * configure.in <sysdeps resolving>: Correct printing
10501 * configure: Regenerate.
10503 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10505 * math/w_ilogb.c: Include <limits.h>.
10506 * math/w_ilogbl.c: Likewise.
10508 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10510 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10511 va_copy. Document allowing for unavailable va_copy only as
10512 pre-C99 compatibility.
10513 * manual/string.texi (Copying and Concatenation): Use va_copy
10514 instead of __va_copy in concat example.
10516 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10518 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10519 (__sendto): Use create_address_port. Initialize APORT and deallocate
10522 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10523 with O_NOLINK passed to __file_name_lookup.
10525 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10526 with O_NOLINK passed to __file_name_lookup.
10528 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10529 negative N or less than NGIDS.
10531 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10532 type to string_t. Set ERANGE as errno and return it if NAME is not big
10533 enough. Use memcpy instead of strncpy.
10535 2012-07-20 Joseph Myers <joseph@codesourcery.com>
10537 * elf/Makefile (check-data): Remove.
10538 (localplt.data): New vpath directive.
10539 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10540 instead of $(check-data).
10541 * scripts/data/localplt-generic.data: Move to ...
10542 * sysdeps/generic/localplt.data: ... here.
10543 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10544 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10545 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10548 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10551 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10554 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10557 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10560 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10564 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10566 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10567 PPC32 and PPC64 files.
10568 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10569 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10571 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10573 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10574 __makecontext_ret to ...
10575 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10576 ... here and call exit if uc_link is NULL. New file.
10577 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10578 __makecontext_ret.S.
10579 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10580 __makecontext_ret to ...
10581 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10582 ... here and call exit if uc_link is NULL. New file.
10583 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10584 __makecontext_ret.S.
10586 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10588 * elf/elf.h (R_390_IRELATIVE): New definition.
10589 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10590 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10591 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10592 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10593 (elf_machine_lazy_rel): Likewise.
10594 * sysdeps/s390/dl-irel.h: New file.
10595 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10596 * sysdeps/s390/s390-64/memset.S: New asm code.
10597 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10598 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10599 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10600 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10601 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10602 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10603 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10604 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10605 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10606 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10607 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10608 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10609 * sysdeps/s390/s390-32/memset.S: New asm code.
10610 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10612 2012-07-17 Marek Polacek <polacek@redhat.com>
10615 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10616 * sysdeps/s390/s390-64/configure.in: Likewise.
10617 * sysdeps/sparc/configure.in: Likewise.
10618 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10619 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10620 * sysdeps/i386/configure.in: Likewise.
10621 * sysdeps/x86_64/configure.in: Likewise.
10622 * sysdeps/sh/configure.in: Likewise.
10623 * sysdeps/s390/s390-32/configure: Regenerated.
10624 * sysdeps/s390/s390-64/configure: Likewise.
10625 * sysdeps/x86_64/configure: Likewise.
10626 * sysdeps/sh/configure: Likewise.
10627 * sysdeps/powerpc/powerpc64/configure: Likewise.
10628 * sysdeps/powerpc/powerpc32/configure: Likewise.
10629 * sysdeps/sparc/configure: Likwise.
10630 * sysdeps/i386/configure: Likewise.
10632 * elf/dl-open.c: Comment fixes.
10634 2012-07-17 Joseph Myers <joseph@codesourcery.com>
10636 * Makefile [CXX] (check-data): Remove.
10637 [CXX] (c++-types.data): New vpath directive.
10638 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10639 vpath. Do not allow for C++ type data being missing.
10640 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10641 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10642 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10643 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10644 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10645 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10646 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10649 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10652 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10655 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10658 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10661 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10664 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10667 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10670 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10671 definitions to architecture-specific files.
10672 (TLS_IE): Likewise.
10673 (TLS_LD): Likewise.
10674 (TLS_GD): Likewise.
10675 * sysdeps/i386/tls-macros.h: New file.
10676 * sysdeps/powerpc/tls-macros.h: Likewise.
10677 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10678 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10679 * sysdeps/sh/tls-macros.h: Likewise.
10680 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10681 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10682 * sysdeps/x86_64/tls-macros.h: Likewise.
10684 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10686 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10687 zero value for regular exit case.
10689 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10690 (__start_context): Preserve zero value for regular exit case.
10692 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10693 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10695 * manual/setjmp.texi (setcontext): Clarify normal process
10696 termination when uc_link is the null pointer.
10697 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10700 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10702 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10703 preprocessor. Test for each exception mask separately.
10705 2012-07-16 Andreas Jaeger <aj@suse.de>
10707 * po/ru.po: Update from translation team.
10709 2012-07-15 Joseph Myers <joseph@codesourcery.com>
10711 * conform/data/string.h-data (NULL): Use macro-constant. Require
10713 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10714 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10715 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10716 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10717 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10719 2012-07-13 Andreas Jaeger <aj@suse.de>
10721 * po/fr.po: Update from translation team.
10723 2012-07-12 Marek Polacek <polacek@redhat.com>
10726 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10727 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10730 2012-07-12 Joseph Myers <joseph@codesourcery.com>
10733 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10734 Change to 2.4.1 where previously 2.4.0.
10735 * sysdeps/unix/sysv/linux/configure: Regenerated.
10736 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10737 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10739 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10740 (__ASSUME_AT_CLKTCK): Remove.
10741 (__ASSUME_AT_PAGESIZE): Likewise.
10742 (__ASSUME_AT_XID): Likewise.
10743 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10744 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10745 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10747 (HAVE_AUX_PAGESIZE): Likewise.
10748 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10749 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10750 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10752 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10756 the temporary buffer used to invoke __gethostbyname2_r,
10757 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10758 host_data / struct gaih_addrtuple.
10759 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10760 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10761 header file nss/nsswitch.h.
10762 * nss/nsswitch.h (global scope): Add definition of implementation
10763 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10764 resolv/nss_dns/dns-host.c).
10766 2012-07-11 Andreas Jaeger <aj@suse.de>
10768 * po/fr.po: Update from translation team.
10770 * po/sv.po: Update from translation team
10771 * po/fr.po: Another update from translation team.
10773 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10775 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10776 for subnormals or multiply small sinh result by itself.
10777 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10780 2012-07-11 David S. Miller <davem@davemloft.net>
10782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10784 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10787 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10788 (INTERNAL_MARK): Shift it here.
10790 2012-07-10 Marek Polacek <polacek@redhat.com>
10793 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10794 libc_cv_asm_global_directive with .globl.
10795 * configure: Regenerated.
10796 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10798 * sysdeps/i386/configure: Regenerated.
10799 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10801 * sysdeps/x86_64/configure: Regenerated.
10802 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10803 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10804 * elf/tst-unique2mod2.c: Likewise.
10805 * elf/tst-unique2mod1.c: Likewise.
10806 * elf/tst-unique1mod2.c: Likewise.
10807 * elf/tst-unique1mod1.c: Likewise.
10808 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10809 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10810 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10811 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10812 * sysdeps/mach/sysdep.h: Likewise.
10813 * sysdeps/i386/sysdep.h: Likewise.
10814 * sysdeps/i386/i386-mcount.S: Likewise.
10815 * sysdeps/x86_64/_mcount.S: Likewise.
10816 * sysdeps/x86_64/sysdep.h: Likewise.
10817 * sysdeps/sh/_mcount.S: Likewise.
10818 * sysdeps/sh/sysdep.h: Likewise.
10819 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10820 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10821 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10822 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10823 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10824 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10825 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10826 * locale/localeinfo.h: Likewise.
10827 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10828 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10830 2012-07-09 Roland McGrath <roland@hack.frob.com>
10833 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10835 * manual/message.texi (The Uniforum approach): Likewise.
10836 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10837 (glibc iconv Implementation): Likewise.
10839 2012-07-09 Joseph Myers <joseph@codesourcery.com>
10842 * math/s_clog.c (__clog): Avoid scaling a value down where that
10843 could result in underflow.
10844 * math/s_clog10.c (__clog10): Likewise.
10845 * math/s_clog10f.c (__clog10f): Likewise.
10846 * math/s_clog10l.c (__clog10l): Likewise.
10847 * math/s_clogf.c (__clogf): Likewise.
10848 * math/s_clogl.c (__clogl): Likewise.
10849 * math/libm-test.inc (clog_test): Add more tests.
10850 (clog10_test): Likewise.
10851 * sysdeps/i386/fpu/libm-test-ulps: Update.
10852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10854 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10857 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10858 by 7 not 8 to examine high bit of fractional part.
10861 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10862 for call to __mcount_internal.
10863 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10864 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10865 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10867 2012-07-06 Joseph Myers <joseph@codesourcery.com>
10870 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10871 approximation for values within 0x1p-13f of an odd multiple of
10873 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10874 exception. Add more tests.
10875 * sysdeps/i386/fpu/libm-test-ulps: Update.
10878 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10879 inputs and return -1 for them. Do not check for +Inf in case not
10880 reachable for +Inf.
10881 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10882 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10883 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10884 and return -1 for them. Do not check for +Inf in case not
10885 reachable for +Inf.
10886 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10888 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10889 and return -1 for them. Do not check for +Inf in case not
10890 reachable for +Inf.
10891 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10892 spurious underflow.
10893 * sysdeps/i386/fpu/libm-test-ulps: Update.
10894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10896 2012-07-06 Mike Frysinger <vapier@gentoo.org>
10898 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10900 2012-07-05 Joseph Myers <joseph@codesourcery.com>
10904 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10905 could result in spurious underflow. Scale down values above
10906 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10907 * math/s_csqrtf.c (__csqrtf): Likewise.
10908 * math/s_csqrtl.c (__csqrtl): Likewise.
10909 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10910 spurious underflow.
10911 * sysdeps/i386/fpu/libm-test-ulps: Update.
10912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10914 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10916 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10918 * catgets/xopen-msg.awk: New file.
10919 * catgets/xopen-msg.sed: Removed.
10921 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10923 * intl/po2test.awk: New file.
10924 * intl/po2test.sed: Removed.
10926 2012-07-04 Joseph Myers <joseph@codesourcery.com>
10929 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10930 or multiply small sinh result by itself.
10931 * math/s_ctanf.c (__ctanf): Likewise.
10932 * math/s_ctanh.c (__ctanh): Likewise.
10933 * math/s_ctanhf.c (__ctanhf): Likewise.
10934 * math/s_ctanhl.c (__ctanhl): Likewise.
10935 * math/s_ctanl.c (__ctanl): Likewise.
10936 * math/libm-test.inc (ctan_test_tonearest): New function.
10937 (ctan_test_towardzero): Likewise.
10938 (ctan_test_downward): Likewise.
10939 (ctan_test_upward): Likewise.
10940 (ctanh_test_tonearest): Likewise.
10941 (ctanh_test_towardzero): Likewise.
10942 (ctanh_test_downward): Likewise.
10943 (ctanh_test_upward): Likewise.
10944 (main): Call these new functions.
10945 * sysdeps/i386/fpu/libm-test-ulps: Update.
10946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10948 2012-07-03 Mike Frysinger <vapier@gentoo.org>
10950 * .gitignore: Delete /ports entry.
10952 2012-07-03 Andreas Jaeger <aj@suse.de>
10954 * po/bg.po: Update from translation team.
10955 * po/cs.po: Likewise.
10956 * po/de.po: Likewise.
10957 * po/hr.po: Likewise.
10958 * po/nl.pl: Likewise.
10959 * po/pl.po: Likewise.
10960 * po/vi.po: Likewise.
10962 2012-07-03 Joseph Myers <joseph@codesourcery.com>
10964 * Makeconfig [!+link] (+link-before-libc): New variable.
10965 [!+link] (+link-after-libc): Likewise.
10966 [!+link] (+link-tests): Likewise.
10967 [!+link] (+link): Define in terms of $(+link-before-libc) and
10968 $(+link-after-libc).
10969 [!+link-static] (+link-static-before-libc): New variable.
10970 [!+link-static] (+link-static-after-libc): Likewise.
10971 [!+link-static] (+link-static-tests): Likewise.
10972 [!+link-static] (+link-static): Define in terms of
10973 $(+link-static-before-libc) and $(+link-static-after-libc).
10974 [build-shared] (link-libc-before-gnulib): New variable.
10975 [build-shared] (link-libc-tests): Likewise.
10976 [build-shared] (link-libc): Define in terms of
10977 $(link-libc-before-gnulib).
10978 [!build-shared] (link-libc-tests): New variable.
10979 (link-libc-static-tests): New variable.
10980 [!gnulib] (gnulib-arch): New variable.
10981 [!gnulib] (gnulib-tests): Likewise.
10982 [!gnulib] (static-gnulib-arch): Likewise.
10983 [!gnulib] (static-gnulib-tests): Likewise.
10984 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10985 Define with "=" instead of ":=".
10986 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10987 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10988 * Rules (binaries-all-notests): New variable.
10989 (binaries-all-tests): Likewise.
10990 (binaries-static-notests): Likewise.
10991 (binaries-static-tests): Likewise.
10992 (binaries-all): Define using $(binaries-all-notests) and
10993 $(binaries-all-tests).
10994 (binaries-static): Define using $(binaries-static-notests) and
10995 $(binaries-static-tests).
10996 (binaries-shared-tests): New variable.
10997 (binaries-shared-notests): Likewise.
10998 (binaries-shared): Remove variable.
10999 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11000 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11001 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11002 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11003 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11004 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11005 * elf/Makefile (sln-modules): New variable.
11006 (extra-objs): Add $(sln-modules:=.o).
11007 (ldconfig-modules): Add static-stubs.
11008 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11009 * elf/static-stubs.c: New file.
11012 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11013 by 7 not 8 to examine high bit of fractional part. Use volatile
11014 variables when splitting into final array of floats if
11015 __FLT_EVAL_METHOD__ != 0.
11016 * math/libm-test.inc (cos_test): Add another test.
11017 (sin_test): Likewise.
11018 * sysdeps/i386/fpu/libm-test-ulps: Update.
11021 * math/libm-test.inc (cosh_test): Add more tests.
11023 * version.h (RELEASE): Set to "development".
11024 (VERSION): Set to "2.16.90".
11026 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11028 * NEWS: Update copyright. Remove last-updated date.
11029 Mention math library bug fixes and timezone data changes.
11030 * README: Mention GNU/Hurd, x32, and HPPA support status.
11032 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11034 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11036 2012-06-27 Andreas Jaeger <aj@suse.de>
11038 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11040 2012-06-25 Andreas Jaeger <aj@suse.de>
11042 * sysdeps/s390/fpu/libm-test-ulps: Update.
11044 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11045 Thomas Schwinge <thomas@codesourcery.com>
11047 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11048 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11049 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11052 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11054 * sysdeps/mach/start.c: Remove file.
11055 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11056 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11057 * sysdeps/sh/init-first.c: Likewise.
11059 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11060 registers for frame unwinding purposes, add CFI directives.
11061 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11062 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11063 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11066 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11067 __fortify_fail returning.
11068 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11070 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11071 sysdeps/sh/____longjmp_chk.S.
11072 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11073 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11074 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11075 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11077 * sysdeps/sh/abort-instr.h: New file.
11078 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11079 process in case exit returns.
11081 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11082 initialize the GOT register before use.
11084 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11085 calculation of ARGC > 4.
11087 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11088 meaningful names to some local labels.
11090 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11091 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11093 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11094 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11095 (__arch_compare_and_exchange_val_16_acq): Likewise.
11096 (__arch_compare_and_exchange_val_32_acq): Likewise.
11097 (atomic_exchange_and_add): Fix gUSA sequence.
11098 (atomic_add): Likewise.
11099 (atomic_add_negative): Likewise.
11100 (atomic_add_zero): Likewise.
11101 (atomic_bit_test_set): Likewise.
11103 2012-06-22 Andreas Schwab <schwab@redhat.com>
11106 * include/link.h (struct link_map): Add l_free_initfini.
11107 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11109 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11110 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11111 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11114 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11116 * configure.in: Use AC_LANG_SOURCE.
11117 * configure: Regenerate.
11119 2012-06-22 Roland McGrath <roland@hack.frob.com>
11121 * configure.in (libc_cv_localstatedir): New substituted variable.
11122 * configure: Regenerated.
11123 * config.make.in (localstatedir): New variable, substituted from
11124 libc_cv_localstatedir.
11125 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11126 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11127 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11128 * sysdeps/gnu/configure: Regenerated.
11130 2012-06-21 Jeff Law <law@redhat.com>
11133 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11134 free. Simplify list management for _LIBC case.
11136 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11139 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11140 Clear sign bit of 64-bit integer value before comparing against
11143 * sysdeps/mach/configure: Regenerated.
11145 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11148 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11150 2012-06-21 Jeff Law <law@redhat.com>
11153 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11154 uint16_t for elements in the "seen" array to avoid char overflows.
11155 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11156 * elf/dl-open.c (dl_open_worker): Likewise.
11158 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11160 * scripts/list-sources.sh: Scan PORTS for translations.
11161 * po/libc.pot: Regenerated.
11163 2012-06-21 Andreas Jaeger <aj@suse.de>
11166 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11168 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11169 * bits/byteswap-16.h (__bswap_16): Likewise.
11170 * bits/byteswap.h (__bswap_constant_16): Likewise.
11172 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11175 * sysdeps/i386/fpu_control.h: Removed.
11176 * sysdeps/x86_64/fpu_control.h: Moved to ...
11177 * sysdeps/x86/fpu_control.h: Here.
11179 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11180 (_FPU_SETCW): Likewise.
11182 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11185 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11186 * sysdeps/x86/fpu/bits/mathinline.h: This.
11187 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11191 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11192 functions if __x86_64__ is defined.
11194 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11196 * string/endian.h: Add !__ASSEMBLER__ condition for including
11197 conversion interfaces.
11199 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11203 of ABS(x) in calculating zero to negative powers other than odd
11205 * math/libm-test.inc (pow_test): Add more tests.
11207 2012-06-15 Andreas Jaeger <aj@suse.de>
11209 * manual/contrib.texi (Contributors): Update entry of Liubov
11210 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11213 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11215 * string/string.h: Add __wur to GNU version of strerror_r.
11217 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11220 * string/Makefile (tests): Add tst-strtok_r.
11221 * string/tst-strtok_r.c: New file.
11222 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11223 RAX_LP/RDX_LP on SAVE_PTR.
11225 2012-06-14 Roland McGrath <roland@hack.frob.com>
11227 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11229 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11231 * libm_test.inc (csqrt_test): Allow more spurious underflow
11233 (j0_test): Likewise.
11234 (j1_test): Likewise.
11235 (y0_test): Likewise.
11236 (y1_test): Likewise.
11238 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11240 * po/Makefile (libc.pot): Use UTF-8 charset.
11242 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11245 Suppress sign-conversion warning from FD_SET.
11246 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11247 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11248 not unsigned long int.
11249 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11251 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11255 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11256 __extern_always_inline instead of __extern_inline.
11257 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11258 (__signbit): Likewise.
11259 (__signbitl): Support C++ namespace.
11260 (lrintf): New inline function.
11262 (llrintf): Likewise.
11263 (llrint): Likewise.
11273 (floorf): Likewise.
11274 (nearbyint): Likewise.
11275 (nearbyintf): Likewise.
11277 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11279 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11280 non-default versions.
11282 2012-06-11 Roland McGrath <roland@hack.frob.com>
11285 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11287 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11289 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11290 (FE_UPWARD, FE_DOWNWARD): Don't define.
11291 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11292 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11294 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11296 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11297 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11299 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11301 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11302 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11303 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11304 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11306 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11309 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11310 * sysdeps/i386/fpu/Implies: New file.
11311 * sysdeps/x86_64/fpu/Implies: Likewise.
11312 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11313 * sysdeps/x86/fpu/bits/fenv.h: This.
11315 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11318 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11321 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11322 character 0xffff that matches the last element of the
11325 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11327 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11330 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11332 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11333 values higher than 25.6283.
11335 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11337 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11338 subnormal exponent extraction and add some __builtin_expect.
11339 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11340 Fix for subnormal mantissa calculation.
11342 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11344 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11345 cpu2 is -1 and errno is not ENOSYS.
11347 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11350 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11351 * sysdeps/x86/bits/string.h: This.
11352 * sysdeps/x86_64/bits/string.h: Removed.
11354 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11355 if not compiling for x86-64, but compiling for >= i486.
11357 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11358 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11360 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11361 New macro from Linux kernel 3.4.0.
11362 (FP_XSTATE_MAGIC2): Likewise.
11363 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11364 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11365 (struct _fpx_sw_bytes): New struct.
11366 (struct _xsave_hdr): Likewise.
11367 (struct _ymmh_state): Likewise.
11368 (struct _xstate): Likewise.
11370 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11371 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11372 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11373 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11374 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11375 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11377 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11378 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11379 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11380 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11381 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11382 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11384 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11387 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11388 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11389 (sysdep_headers): Include sys/platform/ppc.h.
11390 * sysdeps/powerpc/test-gettimebase.c: Test for
11391 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11392 * manual/Makefile (appendices): Include platform.texi.
11393 * manual/contrib.texi (Contributors): Update @node pointers.
11394 * manual/maint.texi (Maintenance): Likewise.
11395 (Platform): New node.
11396 * manual/platform.texi: New file. Document the new features.
11398 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11399 Jakub Jelinek <jakub@redhat.com>
11402 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11403 where __builtin_expect is unavailable.
11405 2012-06-03 David S. Miller <davem@davemloft.net>
11407 * stdlib/longlong.h: Updated from GCC.
11409 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11412 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11413 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11416 (GLIBC_2.16): Likewise.
11418 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11420 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11422 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11425 (default-abi): New variable.
11426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11427 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11429 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11431 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11433 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11436 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11437 definition. Document in comment.
11439 2012-06-01 David S. Miller <davem@davemloft.net>
11441 * stdlib/longlong.h: Updated from GCC.
11443 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11446 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11447 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11448 sys/debugreg.h sys/io.h here.
11449 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11450 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11452 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11453 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11454 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11455 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11456 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11457 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11459 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11460 Define only if __x86_64__ is defined.
11462 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11465 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11466 Use int64_t for variable i.
11467 * math/libm-test.inc (fmod_test): Add more tests.
11469 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11470 z computation is not scheduled after fetestexcept.
11471 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11472 Use math_force_eval instead of asm to ensure calculation scheduled
11473 before exception test.
11474 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11475 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11477 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11479 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11480 computation is not scheduled after fetestexcept.
11482 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11485 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11486 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11488 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11490 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11491 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11493 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11496 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11498 (__WCHAR_MIN): Support __WORDSIZE == 64.
11499 (__WCHAR_MAX): Likewise.
11501 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11502 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11505 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11506 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11509 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11510 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11512 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11513 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11515 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11516 Defined to 1 if __x86_64__ isn't defined.
11517 (_STAT_VER_LINUX_OLD): New.
11518 (st_atime): Remove duplicate.
11519 (st_mtime): Likewise.
11520 (st_ctime): Likewise.
11522 2012-05-31 David S. Miller <davem@davemloft.net>
11524 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11527 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11529 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11533 * elf/dl-reloc.c: Include <_itoa.h>.
11534 (_dl_reloc_bad_type): Remove use of INTUSE.
11535 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11536 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11537 * stdio-common/psiginfo.c (psiginfo): Likewise.
11538 * stdio-common/psignal.c (psignal): Likewise.
11539 * string/strsignal.c (strsignal): Likewise.
11540 * include/signal.h (_sys_siglist): Declare hidden proto.
11541 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11542 INTVARDEF with libc_hidden_data_def.
11543 * stdio-common/itoa-udigits.c: Likewise.
11544 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11545 (_itoa_lower_digits_internal): Remove declaration.
11546 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11547 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11548 (_sys_sigabbrev_internal): Remove aliases.
11549 (_sys_siglist): Define hidden alias.
11551 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11556 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11559 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11560 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11562 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11563 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11564 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11565 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11566 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11567 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11569 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11570 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11571 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11573 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11581 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11582 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11583 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11585 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11586 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11587 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11588 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11589 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11590 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11592 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11593 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11595 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11596 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11598 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11599 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11600 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11602 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11603 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11605 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11607 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11608 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11609 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11611 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11613 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11615 2012-05-31 Joseph Myers <joseph@codesourcery.com>
11617 * math/math.h (M_El): Use two more decimal places.
11618 (M_LOG2El): Likewise.
11619 (M_LOG10El): Likewise.
11620 (M_LN2l): Likewise.
11621 (M_LN10l): Likewise.
11623 (M_PI_2l): Likewise.
11624 (M_PI_4l): Likewise.
11625 (M_1_PIl): Likewise.
11626 (M_2_PIl): Likewise.
11627 (M_2_SQRTPIl): Likewise.
11628 (M_SQRT2l): Likewise.
11629 (M_SQRT1_2l): Likewise.
11631 2012-05-31 David S. Miller <davem@davemloft.net>
11633 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11634 values between float registers.
11635 * sysdeps/sparc/sparc64/memset.S: Likewise.
11636 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11638 2012-05-31 Mike Frysinger <vapier@gentoo.org>
11640 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11641 -D_FORTIFY_SOURCE=1.
11642 (CPPFLAGS-tst-longjmp_chk.c): Define.
11643 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11644 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11645 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11646 CFLAGS-tst-wchar-h.c.
11648 2012-05-31 Marek Polacek <polacek@redhat.com>
11651 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11652 __endmntent_internal): Remove declaration.
11653 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11654 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11655 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11657 2012-05-30 David S. Miller <davem@davemloft.net>
11659 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11660 (___Q_simulate_exceptions): Use real FP ops rather than writing
11662 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11665 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11668 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11669 * sysdeps/x86/bits/xtitypes.h: This.
11671 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11672 * sysdeps/x86/bits/wordsize.h: This.
11674 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11675 * sysdeps/x86/bits/huge_vall.h: This.
11677 * sysdeps/i386/bits/select.h: Removed.
11678 * sysdeps/x86_64/bits/select.h: Renamed to ...
11679 * sysdeps/x86/bits/select.h: This.
11681 * sysdeps/i386/bits/setjmp.h: Removed.
11682 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11683 * sysdeps/x86/bits/setjmp.h: This.
11685 * sysdeps/i386/bits/mathdef.h: Removed.
11686 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11687 * sysdeps/x86/bits/mathdef.h: This.
11689 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11692 * include/sys/socket.h (__connect_internal)
11693 (__libc_sa_len_internal): Remove declaration.
11694 (__connect, __libc_sa_len): Declare hidden_proto.
11695 (SA_LEN): Remove use of INTUSE.
11696 * socket/connect.c: Add libc_hidden_def.
11697 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11698 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11699 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11701 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11702 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11703 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11704 of adding _internal alias.
11706 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11709 * sysdeps/i386/bits/link.h: Removed.
11710 * sysdeps/i386/bits/linkmap.h: Likewise.
11711 * sysdeps/x86_64/bits/link.h: Renamed to ...
11712 * sysdeps/x86/bits/link.h: This.
11713 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11714 * sysdeps/x86/bits/linkmap.h: This.
11716 * sysdeps/i386/bits/endian.h: Removed.
11717 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11718 * sysdeps/x86/bits/endian.h: This.
11720 * sysdeps/i386/bits/byteswap.h: Removed.
11721 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11722 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11723 * sysdeps/x86/bits/byteswap.h: This.
11724 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11725 * sysdeps/x86/bits/byteswap-16.h: This.
11726 * sysdeps/i386/Implies: Add x86.
11727 * sysdeps/x86_64/Implies: Likewise.
11729 2012-05-30 David S. Miller <davem@davemloft.net>
11731 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11732 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11733 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11734 (FP_TRAPPING_EXCEPTIONS): Define.
11735 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11736 (FP_TRAPPING_EXCEPTIONS): Define.
11737 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11738 subnormals only when inexact has been signalled or underflow
11739 exceptions are enabled.
11740 (_FP_PACK_CANONICAL): Likewise.
11742 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11745 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11746 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11748 2012-05-30 Richard Henderson <rth@twiddle.net>
11750 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11751 with #ifndef NOT_IN_libc.
11753 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11754 marked to avoid plt entry.
11756 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11759 * Makeconfig (default-abi): New macro.
11760 (abi-includes): Likewise.
11761 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11762 $(abi-$(default-abi)-lib-soname) for soname if defined.
11763 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11765 * Makefile (installed-stubs): Likewise.
11766 * include/stubs-biarch.h: Removed.
11767 * scripts/lib-names.awk: Only handle one library at a time.
11768 * scripts/soversions.awk: Remove WORDSIZE support.
11769 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11771 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11773 (syscall-list-default-condition): Likewise.
11774 (syscall-list-default-condition): Likewise.
11775 (syscall-list-includes): Likewise.
11776 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11777 syscall-list-* with abi-*. Handle undefined abi-variants.
11778 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11779 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11780 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11781 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11782 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11783 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11785 (syscall-list-32-options): Likewise.
11786 (syscall-list-32-condition): Likewise.
11787 (syscall-list-64-options): Likewise.
11788 (syscall-list-64-condition): Likewise.
11789 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11791 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11794 (abi-64-ld-soname): New macro.
11795 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11796 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11799 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11800 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11802 2012-05-30 Joseph Myers <joseph@codesourcery.com>
11804 * sysdeps/unix/sysv/linux/kernel-features.h
11805 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11806 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11807 include <kernel-features.h>.
11808 [!__NR_ftruncate64]: Remove conditional code.
11809 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11810 [__NR_ftruncate64]: Make code unconditional.
11811 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11812 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11813 include <kernel-features.h>.
11814 [!__NR_ftruncate64]: Remove conditional code.
11815 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11816 [__NR_ftruncate64]: Make code unconditional.
11817 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11819 include <kernel-features.h>.
11820 [!__NR_ftruncate64]: Remove conditional code.
11821 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11822 [__NR_ftruncate64]: Make code unconditional.
11823 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11825 include <kernel-features.h>.
11826 [!__NR_ftruncate64]: Remove conditional code.
11827 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11828 [__NR_ftruncate64]: Make code unconditional.
11829 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11831 * configure.in (libc_cv_fpie): Weaken to a compile test using
11832 LIBC_TRY_CC_OPTION.
11833 * configure: Regenerated.
11835 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11850 2012-05-27 David S. Miller <davem@davemloft.net>
11852 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11854 (__Q_simulate_exceptions): Return void. Change to simulate
11855 exceptions by writing into the %fsr.
11856 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11857 (__Qp_handle_exceptions): Likewise.
11859 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11860 __Qp_handle_exceptions.
11861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11862 __Qp_handle_exceptions.
11863 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11864 as unused and give dummy FP_RND_NEAREST initializer.
11865 (FP_INHIBIT_RESULTS): Define.
11866 (___Q_simulate_exceptions): Update declaration.
11867 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11869 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11870 as unused and give dummy FP_RND_NEAREST initializer.
11871 (__Qp_handle_exceptions): Update declaration.
11872 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11875 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11877 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11878 the temporary FPU control word.
11879 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11880 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11881 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11882 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11883 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11884 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11885 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11886 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11887 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11888 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11889 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11891 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11893 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11896 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11898 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11899 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11900 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11901 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11903 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11904 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11907 2012-05-27 Ulrich Drepper <drepper@gmail.com>
11909 * po/h.po: Update from translation team.
11911 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11913 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11915 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11916 handling of denormals.
11917 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11918 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11919 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11920 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11921 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11922 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11923 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11926 2012-05-26 Marek Polacek <polacek@redhat.com>
11929 * math/libm-test.inc (fma_test): Don't always expect underflow
11932 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11935 * elf/tst-execstack.c: Include stackinfo.h.
11936 (do_test): Adjust test case to ensure that pthread_getattr_np
11937 behaviour remains the same after marking stack executable.
11939 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11941 * sysdeps/unix/sysv/linux/kernel-features.h
11942 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11943 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11945 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11946 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11947 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11949 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11950 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11952 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11954 * configure.in: Define the default includes to being none.
11955 * configure: Regenerated.
11957 2012-05-25 Roland McGrath <roland@hack.frob.com>
11959 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11960 * sysdeps/x86_64/setjmp.S: Likewise.
11961 * sysdeps/i386/bsd-setjmp.S: Likewise.
11962 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11963 * sysdeps/i386/setjmp.S: Likewise.
11964 * sysdeps/i386/__longjmp.S: Likewise.
11965 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11966 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11968 * include/stap-probe.h: New file.
11969 * configure.in: Handle --enable-systemtap.
11970 * configure: Regenerated.
11971 * config.h.in (USE_STAP_PROBE): New #undef.
11972 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11973 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11974 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11976 2012-05-25 Joseph Myers <joseph@codesourcery.com>
11979 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11980 to 2.4.0 where earlier.
11981 * sysdeps/unix/sysv/linux/configure: Regenerated.
11982 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11983 <kernel-features.h>.
11984 [__ASSUME_32BITUIDS]: Make code unconditional.
11985 [!__ASSUME_32BITUIDS]: Remove conditional code.
11986 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11987 <kernel-features.h>.
11988 [__ASSUME_32BITUIDS]: Make code unconditional.
11989 [!__ASSUME_32BITUIDS]: Remove conditional code.
11990 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11991 [__ASSUME_32BITUIDS]: Make code unconditional.
11992 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11993 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11994 <kernel-features.h>.
11995 [__ASSUME_32BITUIDS]: Make code unconditional.
11996 [!__ASSUME_32BITUIDS]: Remove conditional code.
11997 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11998 <kernel-features.h>.
11999 [__ASSUME_32BITUIDS]: Make code unconditional.
12000 [!__ASSUME_32BITUIDS]: Remove conditional code.
12001 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12002 <kernel-features.h>.
12003 [__ASSUME_32BITUIDS]: Make code unconditional.
12004 [!__ASSUME_32BITUIDS]: Remove conditional code.
12005 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12006 <kernel-features.h>.
12007 [__ASSUME_32BITUIDS]: Make code unconditional.
12008 [!__ASSUME_32BITUIDS]: Remove conditional code.
12009 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12010 <kernel-features.h>.
12011 [__ASSUME_32BITUIDS]: Make code unconditional.
12012 [!__ASSUME_32BITUIDS]: Remove conditional code.
12013 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12014 <kernel-features.h>.
12015 [__ASSUME_32BITUIDS]: Make code unconditional.
12016 [!__ASSUME_32BITUIDS]: Remove conditional code.
12017 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12018 <kernel-features.h>.
12019 [__ASSUME_32BITUIDS]: Make code unconditional.
12020 [!__ASSUME_32BITUIDS]: Remove conditional code.
12021 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12022 <kernel-features.h>.
12023 [__ASSUME_32BITUIDS]: Make code unconditional.
12024 [!__ASSUME_32BITUIDS]: Remove conditional code.
12025 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12026 <kernel-features.h>.
12027 [__ASSUME_32BITUIDS]: Make code unconditional.
12028 [!__ASSUME_32BITUIDS]: Remove conditional code.
12029 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12030 <kernel-features.h>.
12031 [__ASSUME_32BITUIDS]: Make code unconditional.
12032 [!__ASSUME_32BITUIDS]: Remove conditional code.
12033 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12034 <kernel-features.h>.
12035 [__NR_setresgid] (__setresgid): Do not declare.
12036 [__ASSUME_32BITUIDS]: Make code unconditional.
12037 [!__ASSUME_32BITUIDS]: Remove conditional code.
12038 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12039 <kernel-features.h>.
12040 [__NR_setresuid] (__setresuid): Do not declare.
12041 [__ASSUME_32BITUIDS]: Make code unconditional.
12042 [!__ASSUME_32BITUIDS]: Remove conditional code.
12043 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12044 <kernel-features.h>.
12045 [__ASSUME_32BITUIDS]: Make code unconditional.
12046 [!__ASSUME_32BITUIDS]: Remove conditional code.
12047 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12048 <kernel-features.h>.
12049 [__ASSUME_32BITUIDS]: Make code unconditional.
12050 [!__ASSUME_32BITUIDS]: Remove conditional code.
12051 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12052 <kernel-features.h>.
12053 [__ASSUME_32BITUIDS]: Make code unconditional.
12054 [!__ASSUME_32BITUIDS]: Remove conditional code.
12055 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12056 <kernel-features.h>.
12057 [__ASSUME_32BITUIDS]: Make code unconditional.
12058 [!__ASSUME_32BITUIDS]: Remove conditional code.
12059 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12060 <kernel-features.h>.
12061 [__ASSUME_32BITUIDS]: Make code unconditional.
12062 [!__ASSUME_32BITUIDS]: Remove conditional code.
12063 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12064 <kernel-features.h>.
12065 [__ASSUME_32BITUIDS]: Make code unconditional.
12066 [!__ASSUME_32BITUIDS]: Remove conditional code.
12067 * sysdeps/unix/sysv/linux/i386/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
12084 (__ASSUME_SETRESUID_SYSCALL): Remove.
12085 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12086 (__ASSUME_32BITUIDS): Likewise.
12087 (__ASSUME_LDT_WORKS): Likewise.
12088 (__ASSUME_O_DIRECTORY): Likewise.
12089 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12090 architecture but not kernel version.
12091 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12092 (__ASSUME_MMAP2_SYSCALL): Likewise.
12093 (__ASSUME_STAT64_SYSCALL): Likewise.
12094 (__ASSUME_IPC64): Likewise.
12095 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12096 <kernel-features.h>.
12097 [__ASSUME_32BITUIDS]: Make code unconditional.
12098 [!__ASSUME_32BITUIDS]: Remove conditional code.
12099 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12100 <kernel-features.h>.
12101 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12102 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12103 132096]: Remove conditional code.
12104 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12105 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12106 <kernel-features.h>.
12107 [__ASSUME_32BITUIDS]: Make code unconditional.
12108 [!__ASSUME_32BITUIDS]: Remove conditional code.
12109 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12110 <kernel-features.h>.
12111 [__ASSUME_32BITUIDS]: Make code unconditional.
12112 [!__ASSUME_32BITUIDS]: Remove conditional code.
12113 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12114 <kernel-features.h>.
12115 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12117 (__setresgid): Do not declare.
12118 [__ASSUME_32BITUIDS]: Make code unconditional.
12119 [!__ASSUME_32BITUIDS]: Remove conditional code.
12120 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12121 <kernel-features.h>.
12122 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12124 (__setresuid): Do not declare.
12125 [__ASSUME_32BITUIDS]: Make code unconditional.
12126 [!__ASSUME_32BITUIDS]: Remove conditional code.
12127 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12128 <kernel-features.h>.
12129 [__ASSUME_32BITUIDS]: Make code unconditional.
12130 [!__ASSUME_32BITUIDS]: Remove conditional code.
12131 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12132 <kernel-features.h>.
12133 [__ASSUME_32BITUIDS]: Make code unconditional.
12134 [!__ASSUME_32BITUIDS]: Remove conditional code.
12136 2012-05-25 Richard Henderson <rth@twiddle.net>
12138 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12139 dl_hwcap to ifunc resolver.
12140 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12142 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12143 dl_hwcap to ifunc resolver.
12144 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12146 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12149 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12150 for |x| <= 2**-26, not 2**-57.
12151 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12154 2012-05-24 Jeff Law <law@redhat.com>
12156 * stdio-common/Makefile (tests): Add bug25.
12157 * stdio-common/bug25.c: New test.
12159 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12162 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12163 multiple of MALLOC_ALIGNMENT in size.
12164 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12166 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12168 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12170 (FILENAME_MAX): Use macro-int-constant.
12171 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12172 (_IOFBF): Use macro-int-constant.
12173 (_IOLBF): Likewise.
12174 (_IONBF): Likewise.
12175 (SEEK_CUR): Likewise.
12176 (SEEK_END): Likewise.
12177 (SEEK_SET): Likewise.
12178 (TMP_MAX): Likewise.
12179 (EOF): Use macro-int-constant. Require < 0.
12180 (NULL): Use macro-constant. Require == 0.
12181 (stdin): Require type to be FILE *.
12182 (stdout): Likewise.
12183 (stderr): Likewise.
12184 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12185 macro-int-constant.
12186 (EXIT_SUCCESS): Likewise.
12187 (NULL): Use macro-constant. Require == 0.
12188 (RAND_MAX): Use macro-int-constant.
12189 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12190 [C99-based standards] (strtof): Require function.
12191 [C99-based standards] (strtold): Likewise.
12192 [C99-based standards] (strtoll): Likewise.
12193 [C99-based standards] (strtoull): Likewise.
12194 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12195 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12196 [ISO || ISO99 || ISO11] (math.h): Likewise.
12197 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12198 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12199 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12201 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12204 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12205 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12206 * intl/dgettext.c (DCGETTEXT): Likewise.
12207 * intl/gettext.c (DCGETTEXT): Likewise.
12208 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12209 * posix/regex_internal.h (gettext): Likewise.
12210 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12211 Remove declaration.
12212 * include/argz.h (__argz_count_internal)
12213 (__argz_stringify_internal): Remove declaration.
12214 (__argz_count, __argz_stringify): Declare hidden proto.
12215 * intl/dcgettext.c: Remove use of INTDEF.
12216 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12217 * string/argz-stringify.c: Likewise.
12218 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12219 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12220 Declare hidden proto.
12221 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12222 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12223 Declare hidden proto.
12224 * include/stdio.h (__asprintf_internal): Don't declare.
12225 (__asprintf): Don't define as macro. Declare hidden proto.
12226 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12227 (__fsetlocking): Declare hidden proto.
12228 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12229 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12231 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12232 (_IO_setlinebuf): Remove use of INTUSE.
12233 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12234 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12235 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12236 Remove declaration.
12237 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12238 (_IO_do_flush): Remove use of INTUSE.
12239 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12240 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12241 (_IO_adjust_column, _IO_least_wmarker)
12242 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12243 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12244 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12245 (_IO_default_doallocate, _IO_wdefault_doallocate)
12246 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12247 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12248 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12249 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12250 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12251 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12252 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12253 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12254 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12255 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12256 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12257 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12258 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12260 (_IO_flush_all_internal, _IO_adjust_column_internal)
12261 (_IO_default_uflow_internal, _IO_default_finish_internal)
12262 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12263 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12264 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12265 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12266 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12267 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12268 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12269 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12270 (_IO_file_close_internal, _IO_file_close_it_internal)
12271 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12272 (_IO_file_init_internal, _IO_file_attach_internal)
12273 (_IO_file_fopen_internal, _IO_file_read_internal)
12274 (_IO_file_sync_internal, _IO_file_seek_internal)
12275 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12276 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12277 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12278 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12279 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12280 (_IO_list_all_internal, _IO_link_in_internal)
12281 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12282 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12283 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12284 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12285 (_IO_do_write_internal, _IO_padn_internal)
12286 (_IO_getline_info_internal, _IO_getline_internal)
12287 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12288 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12289 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12290 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12291 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12292 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12293 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12294 with libc_hidden_ver, remove use of INTUSE.
12295 * libio/genops.c: Likewise.
12296 * libio/freopen.c: Likewise.
12297 * libio/freopen64.c: Likewise.
12298 * libio/iofclose.c: Likewise.
12299 * libio/iofdopen.c: Likewise.
12300 * libio/iofflush.c: Likewise.
12301 * libio/iofflush_u.c: Likewise.
12302 * libio/iofgets.c: Likewise.
12303 * libio/iofgets_u.c: Likewise.
12304 * libio/iofopen.c: Likewise.
12305 * libio/iofopncook.c: Likewise.
12306 * libio/iofread.c: Likewise.
12307 * libio/iofread_u.c: Likewise.
12308 * libio/ioftell.c: Likewise.
12309 * libio/iofwrite.c: Likewise.
12310 * libio/iogetline.c: Likewise.
12311 * libio/iogets.c: Likewise.
12312 * libio/iogetwline.c: Likewise.
12313 * libio/iopadn.c: Likewise.
12314 * libio/iopopen.c: Likewise.
12315 * libio/ioseekoff.c: Likewise.
12316 * libio/ioseekpos.c: Likewise.
12317 * libio/iosetbuffer.c: Likewise.
12318 * libio/iosetvbuf.c: Likewise.
12319 * libio/ioungetc.c: Likewise.
12320 * libio/ioungetwc.c: Likewise.
12321 * libio/iovdprintf.c: Likewise.
12322 * libio/iovsprintf.c: Likewise.
12323 * libio/iovsscanf.c: Likewise.
12324 * libio/memstream.c: Likewise.
12325 * libio/obprintf.c: Likewise.
12326 * libio/oldfileops.c: Likewise.
12327 * libio/oldiofclose.c: Likewise.
12328 * libio/oldiofdopen.c: Likewise.
12329 * libio/oldiofopen.c: Likewise.
12330 * libio/oldiopopen.c: Likewise.
12331 * libio/oldstdfiles.c: Likewise.
12332 * libio/putc.c: Likewise.
12333 * libio/setbuf.c: Likewise.
12334 * libio/setlinebuf.c: Likewise.
12335 * libio/stdfiles.c: Likewise.
12336 * libio/strops.c: Likewise.
12337 * libio/vasprintf.c: Likewise.
12338 * libio/vscanf.c: Likewise.
12339 * libio/vsnprintf.c: Likewise.
12340 * libio/vswprintf.c: Likewise.
12341 * libio/wfiledoalloc.c: Likewise.
12342 * libio/wfileops.c: Likewise.
12343 * libio/wgenops.c: Likewise.
12344 * libio/wmemstream.c: Likewise.
12345 * libio/wstrops.c: Likewise.
12346 * libio/__fpurge.c: Likewise.
12347 * libio/__fsetlocking.c: Likewise.
12348 * assert/assert.c: Likewise.
12349 * debug/fgets_chk.c: Likewise.
12350 * debug/fgets_u_chk.c: Likewise.
12351 * debug/fread_chk.c: Likewise.
12352 * debug/fread_u_chk.c: Likewise.
12353 * debug/gets_chk.c: Likewise.
12354 * debug/obprintf_chk.c: Likewise.
12355 * debug/vasprintf_chk.c: Likewise.
12356 * debug/vdprintf_chk.c: Likewise.
12357 * debug/vsnprintf_chk.c: Likewise.
12358 * debug/vsprintf_chk.c: Likewise.
12359 * malloc/mtrace.c: Likewise.
12360 * misc/error.c: Likewise.
12361 * misc/syslog.c: Likewise.
12362 * stdio-common/asprintf.c: Likewise.
12363 * stdio-common/fxprintf.c: Likewise.
12364 * stdio-common/getw.c: Likewise.
12365 * stdio-common/isoc99_fscanf.c: Likewise.
12366 * stdio-common/isoc99_scanf.c: Likewise.
12367 * stdio-common/isoc99_vfscanf.c: Likewise.
12368 * stdio-common/isoc99_vscanf.c: Likewise.
12369 * stdio-common/isoc99_vsscanf.c: Likewise.
12370 * stdio-common/printf-prs.c: Likewise.
12371 * stdio-common/printf_fp.c: Likewise.
12372 * stdio-common/printf_fphex.c: Likewise.
12373 * stdio-common/printf_size.c: Likewise.
12374 * stdio-common/putw.c: Likewise.
12375 * stdio-common/scanf.c: Likewise.
12376 * stdio-common/sprintf.c: Likewise.
12377 * stdio-common/tmpfile.c: Likewise.
12378 * stdio-common/vfprintf.c: Likewise.
12379 * stdio-common/vfscanf.c: Likewise.
12380 * stdlib/strfmon_l.c: Likewise.
12381 * sunrpc/openchild.c: Likewise.
12382 * sunrpc/xdr_stdio.c: Likewise.
12383 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12384 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12386 2012-05-24 Roland McGrath <roland@hack.frob.com>
12388 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12390 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12391 in the third column, to generate for the shared library an IFUNC
12392 that uses _dl_vdso_vsym.
12393 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12394 * Makeconfig (object-suffixes-noshared): New variable.
12396 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12397 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12398 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12399 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12402 * include/sys/time.h (__gettimeofday): Remove macro.
12403 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12404 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12406 (__gettimeofday): Add libc_hidden_def.
12407 (gettimeofday): Add libc_hidden_weak.
12408 * sysdeps/mach/gettimeofday.c: Likewise.
12409 * sysdeps/posix/gettimeofday.c: Likewise.
12410 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12411 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12412 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12413 (__gettimeofday_internal): Remove strong_alias.
12414 (__gettimeofday): Add libc_hidden_def.
12415 (gettimeofday): Add libc_hidden_weak.
12416 * sysdeps/unix/syscalls.list (gettimeofday):
12417 Remove __gettimeofday_internal alias.
12419 2012-05-24 Daniel Jacobowitz <drow@false.org>
12420 H.J. Lu <hongjiu.lu@intel.com>
12423 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12424 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12425 (largebin_index_32_big): New.
12426 (largebin_index): Use it for 16-byte alignment.
12427 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12428 correction with front_misalign.
12430 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12458 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12459 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12461 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12465 * math/libm-test.inc (exp_test): Add test from bug 14036.
12466 (pow_test): Add test from bug 10846.
12468 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12470 (special_function): Do not include flags in test name.
12471 (parse_args): Likewise.
12472 * sysdeps/i386/fpu/libm-test-ulps: Update.
12473 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12474 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12475 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12478 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12480 * math/libm-test.inc ("Philosophy"): Update comment about
12482 (UNDERFLOW_EXCEPTION): New macro.
12483 (UNDERFLOW_EXCEPTION_OK): Likewise.
12484 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12485 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12486 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12487 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12488 (INVALID_EXCEPTION_OK): Update value.
12489 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12490 (OVERFLOW_EXCEPTION_OK): Likewise.
12491 (IGNORE_ZERO_INF_SIGN): Likewise.
12492 (test_exceptions): Handle underflow exceptions.
12493 (acos_test): Update for underflow exception expectations.
12494 (cexp_test): Likewise.
12495 (clog_test): Likewise.
12496 (clog10_test): Likewise.
12497 (csqrt_test): Likewise.
12498 (ctan_test): Likewise.
12499 (ctanh_test): Likewise.
12500 (exp_test): Likewise.
12501 (exp10_test): Likewise.
12502 (exp2_test): Likewise.
12503 (expm1_test): Likewise.
12504 (fma_test): Likewise.
12505 (j0_test): Likewise.
12506 (jn_test): Likewise.
12507 (nexttoward_test): Likewise.
12508 (pow_test): Likewise.
12509 (scalbn_test): Likewise.
12510 (scalbln_test): Likewise.
12511 (tan_test): Likewise.
12512 (y1_test): Likewise.
12513 * sysdeps/i386/fpu/libm-test-ulps: Update.
12514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12516 2012-05-23 David S. Miller <davem@davemloft.net>
12518 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12519 (__libc_sigaction): Remove unused local variables.
12521 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12523 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12525 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12527 mktime: avoid signed integer overflow
12528 * time/mktime.c (__mktime_internal): Do not mishandle the case
12529 where diff == INT_MIN.
12531 mktime: simplify computation of average
12532 * time/mktime.c (ranged_convert): Use new time_t_avg function
12533 instead of rolling our own (probably-slower) code.
12535 mktime: do not assume signed right shift propagates sign bit
12536 * time/mktime.c (isdst_differ): New static function.
12537 (__mktime_internal): No need to normalize tm_isdst now.
12538 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12541 mktime: merge another wrapv change from gnulib
12542 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12543 from some compilers.
12545 mktime: remove incorrect attempt at unusual arithmetics
12546 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12547 The code didn't really work on such machines anyway.
12548 (TYPE_MINIMUM): Assume two's complement.
12549 (twos_complement_arithmetic): Verify that long_int and time_t
12550 are two's complement (or unsigned, in the latter case).
12552 mktime: check signed shifts on long_int and time_t, too
12553 * time/mktime.c (SHR): Check that shifts work as desired
12554 on the types long_int and time_t too, as SHR is used on
12557 mktime: do not assume 'long' is wide enough
12558 * time/mktime.c (verify): Move decl up.
12559 (long_int): New type.
12560 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12561 to remove assumption in the code that 'long' is wide enough to
12562 store year values. This assumption is not true on x32 and on
12563 some non-glibc platforms.
12565 mktime: merge wrapv change from gnulib
12566 * time/mktime.c (WRAPV): New macro.
12567 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12568 (guess_time_tm, __mktime_internal): Do not assume that signed
12569 integer overflow wraps around; modern compilers generate code
12570 where this assumption is no longer valid.
12572 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12574 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12575 Replace "jmp L(pseudo_end)" with "ret".
12576 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12579 2012-05-23 Andreas Jaeger <aj@suse.de>
12581 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12582 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12584 2012-05-23 Andreas Jaeger <aj@suse.de>
12585 Maximilian Attems <max@stro.at>
12587 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12590 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12592 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12593 code so that pseudo_end is just ret and the stack pointer is
12594 correct also for static library in error case.
12596 2012-05-23 Joseph Myers <joseph@codesourcery.com>
12598 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12599 move to syscalls.list.
12600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12605 * manual/install.texi (Running make install): Do not mention Linux
12606 kernel version for which pt_chown is not needed.
12607 (Linux): Do not mention problems with nscd with 2.0 kernels.
12608 * INSTALL: Regenerated.
12610 2012-05-23 Andreas Jaeger <aj@suse.de>
12612 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12613 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12615 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12616 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12617 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12618 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12619 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12620 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12621 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12622 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12623 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12624 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12625 * sysdeps/unix/sysv/linux/bits/in.h
12626 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12628 2012-05-22 Roland McGrath <roland@hack.frob.com>
12630 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12631 (PREPARE_VERSION): Just use assert instead, it will be elided
12632 under [NDEBUG] anyway.
12634 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12636 * sysdeps/unix/sysv/linux/Makefile: Include
12637 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12638 (sysdep_routines): Remove sysctl.
12639 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12640 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12641 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12642 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12643 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12645 2012-05-22 Andreas Jaeger <aj@suse.de>
12647 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12648 that pseudo_end is just ret and the stack pointer is correct also
12649 for static library in error case.
12651 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12654 * nss/nsswitch.c (defconfig_entries): New variable.
12655 (__nss_database_lookup): Don't leak defconfig entries.
12656 (nss_parse_service_list): Don't leak on error paths.
12657 (free_database_entries): New function.
12658 (free_defconfig): New function.
12659 (free_mem): Move common code to free_database_entries.
12661 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12663 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12665 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12667 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12668 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12671 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12672 (INTERNAL_SYSCALL_TYPES): Likewise.
12673 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12674 (LOAD_REGS_TYPES_[1-6]): Likewise.
12675 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12676 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12678 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12680 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12681 copysignl for GLIBC_2_0.
12682 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12683 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12684 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12685 logbl for GLIBC_2_0.
12686 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12687 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12689 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12691 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12692 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12694 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12697 * time/mktime.c: Update copyright years.
12699 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12701 mktime: merge comment-quoting-style change from gnulib
12702 * time/mktime.c: Quote 'like this' in comments.
12703 The GNU coding standards suggest that we no longer quote `like this',
12704 as "`" and "'" are typically rendered asymmetrically nowadays.
12705 The typical gnulib style is to quote 'like this' when quoting
12706 code, and "like this" when quoting English.
12708 * time/mktime.c (compile-command): Add "-I.".
12710 mktime: merge mktime-internal.h change from gnulib
12711 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12713 mktime: merge time_r change from gnulib
12714 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12716 mktime: merge DEBUG change from gnulib
12717 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12718 case system <time.h> has a #define.
12720 mktime: merge <sys/types.h> change from gnulib
12721 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12722 since <time.t> is now guaranteed to define time_t.
12724 mktime: merge HAVE_CONFIG_H change from gnulib
12725 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12727 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12732 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12734 (struct rusage): Use anonymous union to pad each field to
12737 2012-05-21 David S. Miller <davem@davemloft.net>
12739 * Makefules (o-iterator): Remove .s cases.
12740 (compile-command.s): Delete.
12741 (COMPILE.s): Delete.
12742 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12744 2012-05-21 Joseph Myers <joseph@codesourcery.com>
12746 * configure.in (libc_cv_predef_stack_protector): Only consider
12747 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12748 * configure: Regenerated.
12750 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12752 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12753 New macro. Use R*LP on int and pointer.
12754 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12755 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12756 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12757 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12759 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12760 [__WORDSIZE_TIME64_COMPAT32] instead of
12761 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12762 (struct utmp): Likewise.
12763 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12764 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12766 (__WORDSIZE_TIME64_COMPAT32): This.
12767 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12768 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12769 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12770 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12771 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12772 (__WORDSIZE_TIME64_COMPAT32): New macro.
12774 2012-05-21 Andreas Jaeger <aj@suse.de>
12776 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12777 only if [SHARED]. Add prototype for __wcschr_ia32.
12779 2012-05-21 Roland McGrath <roland@hack.frob.com>
12781 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12782 of %rbp unmolested in the jmp_buf while mangling the low bits.
12783 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12784 unmolested high bits of %rbp while demangling the low bits.
12785 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12787 2012-05-21 Andreas Jaeger <aj@suse.de>
12789 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12790 * sunrpc/svc_simple.c: Use it for registerrpc.
12791 * sunrpc/xcrypt.c: Use it for passwd2des.
12793 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12795 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12797 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12798 Don't define if [__SYSCALL_WORDSIZE != 32].
12799 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12802 2012-05-21 Bruno Haible <bruno@clisp.org>
12803 Andreas Jaeger <aj@suse.de>
12805 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12806 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12807 inptr and inend for must_buffer_ch.
12808 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12809 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12810 * stdio-common/Makefile (tests): Remove bug15.
12811 (bug15-ENV): Remove macro.
12812 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12815 2012-05-19 Andreas Jaeger <aj@suse.de>
12816 Roland McGrath <roland@hack.frob.com>
12818 * manual/contrib.texi: Completely rewritten. It contains now an
12819 alphabetical list of contributors and their contributions.
12821 2012-05-21 Richard Henderson <rth@twiddle.net>
12823 * misc/getauxval.c (__getauxval): Use unsigned long int.
12824 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12825 (getauxval): Use unsigned long int.
12827 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12829 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12831 2012-05-21 Roland McGrath <roland@hack.frob.com>
12833 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12834 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12835 __alignof__ (long double).
12837 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12841 2012-05-20 Richard Henderson <rth@twiddle.net>
12843 * misc/getauxval.c: New file.
12844 * misc/sys/auxv.h: New file.
12845 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12846 (routines): Add getauxval.
12847 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12848 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12849 * elf/dl-sysdep.c (_dl_auxv): Remove.
12850 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12851 * elf/dl-support.c (_dl_auxv): New variable.
12852 (_dl_aux_init): Initialize it.
12853 * manual/startup.texi (Auxiliary Vector): New node.
12854 * sysdeps/generic/bits/hwcap.h: New file.
12855 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12856 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12857 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12858 * sysdeps/sparc/sysdep.h: ... here. Include it.
12859 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12860 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12866 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12872 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12876 2012-05-19 David S. Miller <davem@davemloft.net>
12878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12880 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12883 * math/s_ccosh.c: Include <float.h>
12884 (__ccosh): Avoid internal overflow calculating sinh and cosh
12885 values before multiplying by sin and cos values.
12886 * math/s_ccoshf.c: Likewise.
12887 * math/s_ccoshl.c: Likewise.
12888 * math/s_csin.c: Likewise.
12889 * math/s_csinf.c: Likewise.
12890 * math/s_csinl.c: Likewise.
12891 * math/s_csinh.c: Likewise.
12892 * math/s_csinhf.c: Likewise.
12893 * math/s_csinhl.c: Likewise.
12894 * math/libm-test.inc (ccos_test): Add more tests.
12895 (ccosh_test): Likewise.
12896 (csin_test): Likewise.
12897 (csinh_test): Likewise.
12898 * sysdeps/i386/fpu/libm-test-ulps: Update.
12899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12901 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12903 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12904 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12906 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12908 2012-05-19 Joseph Myers <joseph@codesourcery.com>
12910 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12911 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12912 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12913 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12914 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12915 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12916 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12917 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12918 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12919 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12920 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12921 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12922 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12923 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12924 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12925 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12926 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12927 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12928 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12929 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12930 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12931 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12932 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12933 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12934 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12935 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12936 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12937 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12938 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12939 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12940 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12942 2012-05-18 Andreas Jaeger <aj@suse.de>
12944 * csu/.gitignore: Delete.
12946 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12948 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12949 (timex): Use __syscall_slong_t.
12951 2012-05-18 Andreas Jaeger <aj@suse.de>
12952 Carlos O'Donell <carlos_odonell@mentor.com>
12954 * manual/install.texi (Configuring and compiling): Update
12955 description about files modified in the source directory.
12956 * INSTALL: Regenerated.
12958 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12960 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12961 value. Use "or" to set return value to -1.
12962 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12963 negate return value.
12965 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12967 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12968 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12969 failure if the compiler has Graphite support disabled.
12970 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12972 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12973 CFLAGS-memmove.c): Likewise.
12974 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12977 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12979 * sysdeps/x86_64/x32/_itoa.h: New file.
12981 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12982 getdents system call only if kernel and user dirents have the
12983 same d_ino and d_off.
12985 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12986 LLONG_MAX != LONG_MAX.
12987 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12988 (_fitoa_word): Likewise.
12990 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12992 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12993 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12994 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12996 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12997 include <bits/wordsize.h>. Check __x86_64__ instead of
12999 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13000 if __x86_64__ is defined. Use anonymous union on fpstate.
13002 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13005 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13007 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13008 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13009 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13010 Refer to _rtld_local_ro instead of _rtld_global_ro.
13011 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13013 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13015 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13017 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13018 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13019 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13021 * sysdeps/powerpc/powerpc32/dl-machine.c
13022 (__elf_machine_runtime_setup) [PROF]: Don't reference
13025 2012-05-18 Andreas Jaeger <aj@suse.de>
13027 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13028 function only available for GCCs before 3.4 since GCC 3.4
13029 introduced a builtin.
13031 (llrintf): Likewise.
13032 (llrint): Likewise.
13039 (nearbyint): Likewise.
13040 (nearbyintf): Likewise.
13044 (floorf): Likewise.
13046 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13048 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13049 on both fields and cast pointer to __syscall_ulong_t.
13051 * bits/types.h (__fsword_t): New type.
13052 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13053 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13054 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13055 (__FSWORD_T_TYPE): Likewise.
13056 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13057 (__FSWORD_T_TYPE): Likewise.
13058 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13059 (__FSWORD_T_TYPE): Likewise.
13060 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13061 (__FSWORD_T_TYPE): Likewise.
13062 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13063 __SWORD_TYPE with __fsword_t.
13064 (statfs64): Likewise.
13066 2012-05-17 David S. Miller <davem@davemloft.net>
13068 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13070 2012-05-17 Andreas Jaeger <aj@suse.de>
13072 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13075 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13077 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13079 2012-05-17 Andreas Jaeger <aj@suse.de>
13081 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13084 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13086 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13088 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13090 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13091 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13093 2012-05-17 Andreas Jaeger <aj@suse.de>
13094 Carlos O'Donell <carlos_odonell@mentor.com>
13097 * sysdeps/x86_64/multiarch/init-arch.h
13098 (bit_YMM_Usable): Rename to...
13099 (bit_AVX_Usable): ... this.
13100 (bit_FMA4_Usable): New macro.
13101 (bit_XMM_state): New macro.
13102 (bit_YMM_state): New macro.
13103 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13104 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13105 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13106 (CPUID_OSXSAVE): New macro.
13107 (CPUID_AVX): New macro.
13108 (CPUID_FMA4): New macro.
13109 (index_YMM_Usable): Rename to...
13110 (index_AVX_Usable): ... this.
13111 (HAS_AVX): Use HAS_ARCH_FEATURE.
13112 (HAS_FMA4): Likewise.
13113 (HAS_YMM_USABLE): Remove.
13114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13115 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13117 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13118 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13119 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13120 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13121 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13123 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13125 * math/libm-test.c: Support platforms without multiple rounding modes.
13126 * math/bug-nextafter.c: Support platforms without FP exceptions.
13127 * math/bug-nexttoward.c: Likewise.
13128 * math/test-fenv.c: Likewise.
13129 * math/test-misc.c: Likewise.
13130 * stdlib/bug-getcontext.c: Likewise.
13132 2012-05-17 Andreas Jaeger <aj@suse.de>
13134 * manual/examples/search.c (critter_cmp): Change signature to
13136 * manual/string.texi (Collation Functions): Likewise.
13138 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13140 * bits/types.h: Fold copyright years.
13141 * bits/typesizes.h: Likewise.
13142 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13143 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13144 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13146 * time/time.h: Likewise.
13148 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13151 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13152 in instead of returning them. Return void.
13153 (__libc_mallinfo): Accumulate over all arenas.
13154 (__malloc_stats): Adjust for change in int_mallinfo interface.
13156 2012-05-16 Roland McGrath <roland@hack.frob.com>
13159 * configure.in (NM): Add AC_CHECK_TOOL for it.
13160 (libc_extra_cflags): New substituted variable.
13161 Check for -fstack-protector being used implicitly.
13162 * configure: Regenerated.
13163 * config.make.in (config-extra-cflags): New variable,
13164 gets @libc_extra_cflags@.
13165 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13168 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13169 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13170 * configure: Regenerated.
13171 * config.make.in (CPPUNDEFS): New substituted variable.
13172 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13173 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13174 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13176 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13178 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13179 (mq_attr): Use __syscall_slong_t.
13181 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13183 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13184 Check __x86_64__ instead of __WORDSIZE.
13185 (_STAT_VER_LINUX): Likewise.
13186 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13187 __syscall_ulong_t and __syscall_slong_t.
13188 (stat64): Likewise.
13190 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13192 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13194 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13196 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13198 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13200 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13203 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13204 include <bits/wordsize.h>. Check __x86_64__ instead of
13206 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13208 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13210 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13211 include <bits/wordsize.h>. Check __x86_64__ instead of
13213 (user_regs_struct): Use "__extension__ unsigned long long"
13214 instead of "unsigned long" if __x86_64__ is defined.
13215 (user): Likewise. Pad after pointer field if __ILP32__ is
13218 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13220 * configure.in (makeinfo): Require version 4.5 or later. Allow
13222 * configure: Regenerated.
13223 * manual/install.texi (texinfo): Increase version requirement to
13225 * INSTALL: Regenerated.
13227 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13229 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13231 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13233 * sysdeps/x86_64/x32/ffs.c: New file.
13235 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13237 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13238 defined. Use __syscall_ulong_t.
13239 (shminfo): Use __syscall_ulong_t.
13240 (shm_info): Likewise.
13242 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13245 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13247 (msgqnum_t): Use __syscall_ulong_t.
13248 (msglen_t): Likewise.
13249 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13252 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13253 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13255 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13257 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13258 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13260 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13263 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13264 include <bits/wordsize.h>. Check __x86_64__ instead of
13267 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13268 "unsigned long long int" if __x86_64__ is defined.
13269 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13271 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13272 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13273 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13275 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13277 (GET_PC): Cast to uintptr_t first.
13278 (GET_FRAME): Likewise.
13279 (GET_STACK): Likewise.
13281 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13282 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13283 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13284 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13285 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13286 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13287 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13288 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13289 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13290 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13291 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13292 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13293 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13294 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13295 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13296 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13297 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13298 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13299 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13300 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13301 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13302 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13303 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13304 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13305 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13306 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13307 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13308 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13309 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13311 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13313 * Makerules (+depfiles): Also collect depfiles from .oS in
13315 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13316 .oS, $(libnldbl-routines)).
13318 * Makerules (native-compile-mkdep-flags): Define.
13319 * sunrpc/Makefile (extra-objs): Add $(addprefix
13320 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13321 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13322 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13323 calling $(make-target-directory).
13325 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13327 * bits/types.h (__snseconds_t): Removed.
13328 * time/time.h (struct timespec): Replace __snseconds_t with
13330 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13331 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13333 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13334 (__SNSECONDS_T_TYPE): Likewise.
13335 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13336 (__SNSECONDS_T_TYPE): Likewise.
13337 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13338 (__SNSECONDS_T_TYPE): Likewise.
13340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13342 * sysdeps/mach/hurd/bits/typesizes.h
13343 (__SYSCALL_SLONG_TYPE): New macro.
13344 (__SYSCALL_ULONG_TYPE): Likewise.
13346 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13348 * bits/types.h (__syscall_slong_t): New type.
13349 (__syscall_ulong_t): Likewise.
13351 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13352 (__SYSCALL_ULONG_TYPE): Likewise.
13353 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13354 (__SYSCALL_SLONG_TYPE): Likewise.
13355 (__SYSCALL_ULONG_TYPE): Likewise.
13356 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13357 (__SYSCALL_SLONG_TYPE): Likewise.
13358 (__SYSCALL_ULONG_TYPE): Likewise.
13359 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13360 (__SYSCALL_SLONG_TYPE): Likewise.
13361 (__SYSCALL_ULONG_TYPE): Likewise.
13363 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13365 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13366 Add sigaltstack-offsets.sym.
13367 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13368 <sigaltstack-offsets.h>.
13369 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13370 longjmp_msg pointer.
13371 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13372 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13374 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13376 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13378 * elf/stackguard-macros.h: Remove file.
13379 * sysdeps/generic/stackguard-macros.h: New file.
13380 * sysdeps/i386/stackguard-macros.h: Likewise.
13381 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13382 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13383 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13384 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13385 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13386 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13387 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13388 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13389 <elf/stackguard-macros.h>.
13392 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13393 __aligned__ in attribute.
13394 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13395 (gregset_t): Likewise.
13397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13399 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13400 * sysdeps/x86_64/64/Implies-after: Here. New file.
13401 * sysdeps/x86_64/x32/Implies-after: New file.
13403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13405 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13406 and access return value for _dl_profile_fixup. Use R10_LP to
13409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13411 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13415 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13416 * sysdeps/x86_64/x32/sysdep.h: New file.
13418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13420 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13421 * sysdeps/x86_64/setjmp.S: Likewise.
13423 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13425 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13426 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13427 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13428 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13429 remove unused global constant.
13431 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13433 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13434 include of <not-cancel.h>.
13436 2012-05-15 Roland McGrath <roland@hack.frob.com>
13438 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13440 2012-05-15 Jeff Law <law@redhat.com>
13441 Andreas Jaeger <aj@suse.de>
13444 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13446 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13447 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13448 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13449 code changing __hst_map_handle.map.
13451 2012-05-15 Roland McGrath <roland@hack.frob.com>
13453 * configure.in (sysnames): Look for Implies-before and Implies-after
13455 * configure: Regenerated.
13457 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13459 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13460 8-byte data alignment with LP_SIZE alignment.
13462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13464 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13467 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13469 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13473 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13474 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13475 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13477 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13479 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13481 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13482 (stackinfo_sub_sp): Likewise.
13484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13486 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13489 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13491 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13496 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13499 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13501 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13503 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13505 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13506 into R11_LP and load __x86_64_shared_cache_size_half into
13509 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13511 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13514 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13520 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13522 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13523 powerpc32/power7/fpu/s_logb.c via #include.
13524 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13525 powerpc32/power7/fpu/s_logbf.c via #include.
13526 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13527 powerpc32/power7/fpu/s_logbl.c via #include.
13529 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13531 * README.libm: Remove file.
13533 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13535 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13536 count for x32. Use R*_LP and omit operand-size suffix.
13538 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13540 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13541 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13542 * sysdeps/x86_64/x32/shlib-versions: New file.
13544 2012-05-14 Roland McGrath <roland@hack.frob.com>
13546 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13547 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13548 Use _dl_fatal_printf instead.
13550 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13552 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13553 set if not set by the user. Do not allow for being unset.
13554 * sysdeps/unix/sysv/linux/configure: Regenerated.
13556 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13558 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13559 the `q' suffix from lea and replace .quad with ASM_ADDR.
13561 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13564 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13566 (PTR_DEMANGLE): Likewise.
13568 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13570 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13572 (ASM_ADDR): Likewise.
13573 (RAX_LP): Likewise.
13574 (RBP_LP): Likewise.
13575 (RBX_LP): Likewise.
13576 (RCX_LP): Likewise.
13577 (RDI_LP): Likewise.
13578 (RSI_LP): Likewise.
13579 (RSP_LP): Likewise.
13582 (R10_LP): Likewise.
13583 (R10_LP): Likewise.
13584 (R11_LP): Likewise.
13585 (R12_LP): Likewise.
13586 (R13_LP): Likewise.
13587 (R14_LP): Likewise.
13588 (R15_LP): Likewise.
13590 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13592 * sysdeps/x86_64/x32/dl-machine.h: New file.
13594 2012-05-14 Andreas Jaeger <aj@suse.de>
13596 * manual/Makefile (subdir): Remove export of subdir.
13597 (all): Remove target.
13598 (.PHONY): Remove all from list.
13599 (mkinstalldirs): Remove.
13600 (.PHONY): Remove installdirs from list.
13601 ($(inst_infodir)/libc.info): Use make-target-directory.
13602 (installdirs): Remove.
13603 (subdir_%): Remove.
13604 (glibc-targets): Remove.
13607 ($(objpfx)stubs ../po/manual.pot): Remove.
13608 ($(objpfx)stamp%): Remove.
13609 (make-target-directory): Remove.
13610 (subdir_install): Remove.
13611 (routines): Remove.
13618 * manual/.gitignore: Remove, it's not needed anymore.
13619 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13621 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13623 (texis): Renamed to $(objpfx)texis.
13624 (texis-path): New, contains path to generated files.
13625 (chapters.%): Use texis-path for complete path, add extra argument
13627 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13628 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13629 (summary,texi, stamp-summary): Use complete path of
13630 files. Generate files in build dir.
13631 (dir-add.texi): Build in build dir.
13632 (libm-err.texi,stamp-libm-err): Likewise.
13633 (version.texi, stamp-version): Likewise.
13634 (.%c.texi): Likewise.
13635 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13636 (mostlyclean): Remove target.
13637 (realclean): Remove target.
13638 (generated): Add new variable with contents from mostlyclean and
13639 realclean, remove entries duplicated in common-mostlyclean, add
13640 stamp-libm-err and stamp-version.
13641 (generated-dirs): Add libc directory.
13642 ($(inst_infodir)/libc.info): Install files from build dir.
13644 * manual/install.texi (Configuring and compiling): Adjust since
13645 the info files are not part of the tar ball anymore.
13647 2012-05-14 Andreas Jaeger <aj@suse.de>
13649 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13652 2012-05-14 Joseph Myers <joseph@codesourcery.com>
13655 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13656 to 2.2.0 where earlier.
13657 * sysdeps/unix/sysv/linux/configure: Regenerated.
13658 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13659 Remove conditional code.
13660 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13661 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13662 Remove conditional code.
13663 [!__NR_lchown]: Likewise.
13664 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13665 [__NR_lchown]: Likewise.
13666 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13667 comment referencing __ASSUME_LCHOWN_SYSCALL.
13668 * sysdeps/unix/sysv/linux/i386/sigaction.c
13669 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13670 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13671 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13672 Remove conditional code.
13673 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13674 (__protocol_available): Remove #if 0 code.
13675 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13677 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13678 * sysdeps/unix/sysv/linux/kernel-features.h
13679 (__ASSUME_GETCWD_SYSCALL): Don't define.
13680 (__ASSUME_REALTIME_SIGNALS): Likewise.
13681 (__ASSUME_PREAD_SYSCALL): Likewise.
13682 (__ASSUME_PWRITE_SYSCALL): Likewise.
13683 (__ASSUME_POLL_SYSCALL): Likewise.
13684 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13685 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13687 (__ASSUME_SIOCGIFNAME): Don't define.
13688 (__ASSUME_MSG_NOSIGNAL): Likewise.
13689 (__ASSUME_SENDFILE): Define unconditionally.
13690 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13691 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13693 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13694 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13695 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13696 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13697 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13698 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13699 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13701 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13702 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13704 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13705 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13707 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13708 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13710 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13711 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13713 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13714 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13716 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13717 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13719 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13720 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13722 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13723 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13724 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13725 Remove conditional code.
13726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13727 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13728 Remove conditional code.
13729 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13730 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13731 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13732 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13733 Remove conditional code.
13734 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13735 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13736 Remove conditional code.
13737 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13738 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13739 Remove conditional code.
13740 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13741 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13742 Remove conditional code.
13743 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13744 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13745 Remove conditional code.
13746 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13747 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13748 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13749 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13750 * sysdeps/unix/sysv/linux/sigaction.c
13751 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13752 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13753 * sysdeps/unix/sysv/linux/sigpending.c
13754 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13755 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13756 * sysdeps/unix/sysv/linux/sigprocmask.c
13757 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13758 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13759 * sysdeps/unix/sysv/linux/sigsuspend.c
13760 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13761 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13762 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13763 (__libc_missing_rt_sigs): Remove.
13764 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13765 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13766 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13767 Remove conditional code.
13768 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13769 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13771 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13772 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13773 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13774 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13776 2012-05-14 Andreas Jaeger <aj@suse.de>
13778 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13779 it's not used in glibc.
13780 (__coshm1): Likewise.
13781 (__acosh1p): Likewise.
13784 * manual/string.texi (Copying and Concatenation): Add missing
13785 variable in concat example.
13786 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13788 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13791 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13792 __builtin_clzl with __builtin_clzll.
13794 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13797 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13800 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13802 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13803 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13804 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13805 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13807 2012-05-14 Mike Frysinger <vapier@gentoo.org>
13809 * NEWS: Update ia64 info.
13811 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13813 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13816 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13818 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13819 * sysdeps/unix/syscalls.list (dup3): Likewise.
13820 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13821 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13823 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13825 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13826 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13828 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13830 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13832 (TLS_IE): Use mov/add instead of movq/addq to load thread
13834 (TLS_GD_PREFIX): New.
13837 2012-05-11 David S. Miller <davem@davemloft.net>
13839 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13840 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13841 (_FPU_SETCW): Likewise.
13843 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13845 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13846 is 32-byte aligned.
13848 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13851 * iconvdata/gb18030.c: Update tables.
13852 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13853 characters specially.
13854 (BODY for TO_LOOP): Add encoding of missing ranges.
13856 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13859 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13860 * sysdeps/mach/hurd/dup3.c: Likewise.
13861 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13862 * sysdeps/powerpc/memmove.c:: Likewise.
13864 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13866 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13867 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13869 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13871 * elf/elf.h (R_X86_64_RELATIVE64): New.
13872 (R_X86_64_NUM): Updated.
13873 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13874 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13875 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13876 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13877 tst-quad1pie tst-quad2pie
13878 (modules-names): Add tst-quadmod1 tst-quadmod2.
13879 ($(objpfx)tst-quad1): New dependency.
13880 ($(objpfx)tst-quad2): Likewise.
13881 ($(objpfx)tst-quad1pie): Likewise.
13882 ($(objpfx)tst-quad2pie): Likewise.
13883 * sysdeps/x86_64/tst-quad1.c: New file.
13884 * sysdeps/x86_64/tst-quad1pie.c: New file.
13885 * sysdeps/x86_64/tst-quad2.c: Likewise.
13886 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13887 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13888 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13889 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13890 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13892 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13894 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13895 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13896 * streams/stropts.h (t_scalar_t): Define type.
13898 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13899 (_PATH_PRESERVE): Set to "/var/lib".
13900 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13902 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13905 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13906 if __dir_mkfile succeeded.
13908 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13909 checking for _hurd_dtablesize. Unlock it right after having
13910 finished _hurd_dtable allocation.
13912 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13914 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13915 * sysdeps/mach/hurd/configure: Regenerated.
13916 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13917 special-casing to...
13918 * sysdeps/gnu/configure.in: ... this new file.
13919 * sysdeps/unix/sysv/linux/configure: Regenerated.
13920 * sysdeps/gnu/configure: New generated file.
13922 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13923 for Linux: use nsec instead of usec, as well as:
13924 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13925 members of type struct timespec.
13926 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13928 (struct stat64): Likewise.
13929 (_STATBUF_ST_NSEC): New macro.
13930 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13932 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13933 __strtoul_internal rather than strtoul.
13935 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13937 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13940 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13942 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13943 which preserves existing values.
13944 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13946 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13948 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13949 TIMEOUT values. Return EINVAL for NFDS values either negative or
13950 greater than FD_SETSIZE.
13952 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13954 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13955 allocated, call __vm_protect to finish enabling the existing space, and
13956 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13957 allocate the remainder.
13959 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13961 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13962 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13964 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13966 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13967 sysdeps/mach/hurd/readlink.c.
13969 * posix/tst-sysconf.c (posix_options): Only use
13970 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13971 _POSIX_SYNCHRONIZED_IO when they are defined
13972 * sysdeps/mach/hurd/bits/posix_opt.h:
13973 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13974 (_XOPEN_REALTIME): Undefine macro.
13975 (_XOPEN_REALTIME_THREADS): Undefine macro.
13976 (_XOPEN_SHM): Undefine macro.
13977 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13979 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13981 (_POSIX_ASYNC_IO): Undefine macro.
13982 (_POSIX_PRIORITIZED_IO): Undefine macro.
13983 (_POSIX_SPIN_LOCKS): Define macro to -1.
13985 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13986 SA_NODEFER, SA_RESETHAND.
13987 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13988 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13991 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13993 * elf/Makefile (pldd-modules): Define unconditionally.
13995 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
13997 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13999 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14001 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14002 Return ENOENT when name is empty.
14003 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14005 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14007 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14009 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14011 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14013 Fix mlock in all cases except non-readable pages.
14014 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14015 instead of VM_PROT_ALL as parameter to __vm_wire function.
14017 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14018 (__mkdir): When path is `/', just fail with EEXIST.
14019 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14021 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14023 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14024 <sys/uio.h> (for writev).
14025 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14026 and <sys/param.h> (for MIN).
14028 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14030 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14031 REQUESTED_TIME. Properly set the remaining time and return EINTR
14034 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14036 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14037 Depend on against $(link-rpcuserlibs).
14039 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14041 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14042 (__libc_stack_end): Do not use attribute_relro.
14043 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14044 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14045 to libthread-provided value.
14046 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14049 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14052 * bits/libc-lock.h (__libc_once_get): New macro.
14053 * sysdeps/mach/bits/libc-lock.h: Likewise.
14054 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14055 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14056 instead of using implementation details.
14058 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14059 * libio/freopen.c: Likewise.
14060 * libio/freopen64.c: Likewise.
14061 * misc/syslog.c: Likewise.
14062 * nscd/connections.c: Likewise.
14063 * nscd/netgroupcache.c: Likewise.
14064 * sysdeps/posix/getcwd.c: Likewise.
14066 2012-05-10 Roland McGrath <roland@hack.frob.com>
14068 * math/w_ilogbf.c: Add #include <limits.h>.
14070 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14072 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14073 path instead of returning without unlocking.
14075 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14076 immediate-write ioctls.
14077 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14079 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14081 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14082 __builtin_frame_address instead of making assumptions about the
14083 location of the return address relative to DATA. Force early load of
14084 the return address.
14085 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14086 __builtin_frame_address.
14089 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14090 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14091 implement dup3 and do some further code clean-ups.
14092 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14093 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14095 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14097 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14099 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14100 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14101 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14102 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14103 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14106 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14107 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14108 when handler == SIG_ERR, not when handler != SIG_ERR.
14110 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14112 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14113 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14116 accept4 for GNU Hurd.
14117 * include/sys/socket.h (__libc_accept4): New prototype.
14118 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14119 to implement __libc_accept4.
14120 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14122 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14124 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14125 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14126 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14127 signal-defines.sym.
14129 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14131 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14133 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14135 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14136 assertion on O_CLOEXEC flag.
14137 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14138 * hurd/intern-fd.c: Likewise.
14139 * hurd/port2fd.c: Likewise.
14141 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14144 * bits/in.h (IPV6_PKTINFO): Define new macro.
14145 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14147 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14152 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14153 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14154 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14155 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14156 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14157 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14158 * math/libm-test.inc (logb_test) : Additional logb tests.
14160 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14161 Andreas Jaeger <aj@suse.de>
14163 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14164 * configure: Regenerated.
14165 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14166 * config.make.in (link-obsolete-rpc): New substituted variable.
14167 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14168 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14169 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14170 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14171 so that libc.a contains the symbols.
14172 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14173 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14174 * sunrpc/auth_none.c: Likewise.
14175 * sunrpc/auth_unix.c: Likewise.
14176 * sunrpc/authdes_prot.c: Likewise.
14177 * sunrpc/authuxprot.c: Likewise.
14178 * sunrpc/clnt_gen.c: Likewise.
14179 * sunrpc/clnt_perr.c: Likewise.
14180 * sunrpc/clnt_raw.c: Likewise.
14181 * sunrpc/clnt_simp.c: Likewise.
14182 * sunrpc/clnt_tcp.c: Likewise.
14183 * sunrpc/clnt_udp.c: Likewise.
14184 * sunrpc/clnt_unix.c: Likewise.
14185 * sunrpc/des_crypt.c: Likewise.
14186 * sunrpc/des_soft.c: Likewise.
14187 * sunrpc/get_myaddr.c: Likewise.
14188 * sunrpc/key_call.c: Likewise.
14189 * sunrpc/key_prot.c: Likewise.
14190 * sunrpc/netname.c: Likewise.
14191 * sunrpc/pm_getmaps.c: Likewise.
14192 * sunrpc/pm_getport.c: Likewise.
14193 * sunrpc/pmap_clnt.c: Likewise.
14194 * sunrpc/pmap_prot.c: Likewise.
14195 * sunrpc/pmap_prot2.c: Likewise.
14196 * sunrpc/pmap_rmt.c: Likewise.
14197 * sunrpc/publickey.c: Likewise.
14198 * sunrpc/rpc_cmsg.c: Likewise.
14199 * sunrpc/rpc_common.c: Likewise.
14200 * sunrpc/rpc_dtable.c: Likewise.
14201 * sunrpc/rpc_prot.c: Likewise.
14202 * sunrpc/rpc_thread.c: Likewise.
14203 * sunrpc/rtime.c: Likewise.
14204 * sunrpc/svc.c: Likewise.
14205 * sunrpc/svc_auth.c: Likewise.
14206 * sunrpc/svc_raw.c: Likewise.
14207 * sunrpc/svc_run.c: Likewise.
14208 * sunrpc/svc_tcp.c: Likewise.
14209 * sunrpc/svc_udp.c: Likewise.
14210 * sunrpc/svc_unix.c: Likewise.
14211 * sunrpc/svcauth_des.c: Likewise.
14212 * sunrpc/xcrypt.c: Likewise.
14213 * sunrpc/xdr.c: Likewise.
14214 * sunrpc/xdr_array.c: Likewise.
14215 * sunrpc/xdr_float.c: Likewise.
14216 * sunrpc/xdr_intXX_t.c: Likewise.
14217 * sunrpc/xdr_mem.c: Likewise.
14218 * sunrpc/xdr_rec.c: Likewise.
14219 * sunrpc/xdr_ref.c: Likewise.
14220 * sunrpc/xdr_sizeof.c: Likewise.
14221 * sunrpc/xdr_stdio.c: Likewise.
14223 2012-05-10 Roland McGrath <roland@hack.frob.com>
14225 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14226 change. Update copyright years.
14228 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14230 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14232 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14233 Joseph Myers <joseph@codesourcery.com>
14234 Paul Pluzhnikov <ppluzhnikov@google.com>
14237 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14239 [cross-compiling] (extra-libs): Likewise.
14240 [cross-compiling] (extra-libs-others): Likewise.
14241 [cross-compiling] (librpcsvc-routines): Likewise.
14242 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14243 [cross-compiling] (omit-deps): Likewise.
14244 (sunrpc-CPPFLAGS): New variable.
14245 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14246 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14247 (cross-rpcgen-objs): New variable.
14248 (extra-objs): Append $(cross-rpcgen-objs).
14249 ($(cross-rpcgen-objs)): New rule.
14250 ($(objpfx)cross-rpcgen): Likewise.
14251 (rpcgen-cmd): Define to use $(built-program-file). Expand
14253 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14254 ($(objpfx)x%.stmp): Likewise.
14255 * sunrpc/proto.h [IS_IN_build] (_): Define.
14256 [IS_IN_build] (_libc_intl_domainname): Likewise.
14258 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14260 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14261 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14262 and R_X86_64_TPOFF64.
14264 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14266 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14267 sysdeps/unix/sysv/syscalls.list.
14270 * sysdeps/unix/sysv/syscalls.list: Remove file.
14272 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14275 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14276 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14277 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14278 (__LC_IDENTIFICATION): Make these macros useful in #if
14279 expressions, as required by C99.
14281 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14283 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14284 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14287 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14289 * stdlib/longlong.h: Updated from GCC.
14291 2012-05-09 Andreas Jaeger <aj@suse.de>
14293 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14294 default is first entry.
14295 (run_mode): Set type.
14296 (main): Remove informal message about syslog.
14297 (options): Fix typo.
14300 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14303 (llrintf): Likewise.
14304 (llrint): Likewise.
14307 (nearbyint): Likewise.
14308 (nearbyintf): Likewise.
14310 2012-05-09 Andreas Jaeger <aj@suse.de>
14311 Pedro Alves <palves@redhat.com>
14313 * nscd/nscd.c (run_mode): Use enum.
14314 (main): Cleanup coding style issue.
14316 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14317 Andreas Jaeger <aj@suse.de>
14319 * nscd/nscd.c (go_background): Replaced with...
14320 (run_mode): ... this.
14321 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14322 (options): Add -F --foreground.
14323 (main): Implement it.
14324 (parse_opt): Parse it.
14326 2012-05-09 Andreas Jaeger <aj@suse.de>
14329 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14330 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14331 -Wconversion warning.
14332 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14335 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14337 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14339 (LC_ALL): Use macro-int-constant.
14340 (LC_COLLATE): Likewise.
14341 (LC_CTYPE): Likewise.
14342 (LC_MESSAGES): Likewise.
14343 (LC_MONETARY): Likewise.
14344 (LC_NUMERIC): Likewise.
14345 (LC_TIME): Likewise.
14346 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14347 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14348 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14349 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14351 [C99-based standards] (float_t): Expect type.
14352 [C99-based standards] (double_t): Expect type.
14353 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14355 [C99-based standards] (HUGE_VALL): Likewise.
14356 [C99-based standards] (INFINITY): Likewise.
14357 [C99-based standards] (NAN): Likewise.
14358 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14359 [C99-based standards] (FP_NAN): Likewise.
14360 [C99-based standards] (FP_NORMAL): Likewise.
14361 [C99-based standards] (FP_SUBNORMAL): Likewise.
14362 [C99-based standards] (FP_ZERO): Likewise.
14363 [C99-based standards] (FP_FAST_FMA): Use
14364 optional-macro-int-constant. Specify type. Require == 1.
14365 [C99-based standards] (FP_FAST_FMAF): Likewise.
14366 [C99-based standards] (FP_FAST_FMAL): Likewise.
14367 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14368 [C99-based standards] (FP_ILOGBNAN): Likewise.
14369 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14371 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14372 [C99-based standards] (math_errhandling): Specify type.
14373 [ISO99 || ISO11] (signgam): Do not allow.
14374 [non-C99-based standards] (copysignf): Do not allow.
14375 [non-C99-based standards] (exp2f): Likewise.
14376 [non-C99-based standards] (log2f): Likewise.
14377 [non-C99-based standards] (modff): Allow.
14378 [non-C99-based standards] (erff): Do not allow.
14379 [non-C99-based standards] (erfcf): Likewise.
14380 [non-C99-based standards] (gammaf): Likewise.
14381 [non-C99-based standards] (hypotf): Likewise.
14382 [non-C99-based standards] (j0f): Likewise.
14383 [non-C99-based standards] (j1f): Likewise.
14384 [non-C99-based standards] (jnf): Likewise.
14385 [non-C99-based standards] (lgammaf): Likewise.
14386 [non-C99-based standards] (tgammaf): Likewise.
14387 [non-C99-based standards] (y0f): Likewise.
14388 [non-C99-based standards] (y1f): Likewise.
14389 [non-C99-based standards] (ynf): Likewise.
14390 [non-C99-based standards] (isnanf): Likewise.
14391 [non-C99-based standards] (acoshf): Likewise.
14392 [non-C99-based standards] (asinhf): Likewise.
14393 [non-C99-based standards] (atanhf): Likewise.
14394 [non-C99-based standards] (cbrtf): Likewise.
14395 [non-C99-based standards] (expm1f): Likewise.
14396 [non-C99-based standards] (ilogbf): Likewise.
14397 [non-C99-based standards] (log1pf): Likewise.
14398 [non-C99-based standards] (logbf): Likewise.
14399 [non-C99-based standards] (nextafterf): Likewise.
14400 [non-C99-based standards] (remainderf): Likewise.
14401 [non-C99-based standards] (rintf): Likewise.
14402 [non-C99-based standards] (scalbf): Likewise.
14403 [non-C99-based standards] (copysignl): Likewise.
14404 [non-C99-based standards] (exp2l): Likewise.
14405 [non-C99-based standards] (log2l): Likewise.
14406 [non-C99-based standards] (modfl): Allow.
14407 [non-C99-based standards] (erfl): Do not allow.
14408 [non-C99-based standards] (erfcl): Likewise.
14409 [non-C99-based standards] (gammal): Likewise.
14410 [non-C99-based standards] (hypotl): Likewise.
14411 [non-C99-based standards] (j0l): Likewise.
14412 [non-C99-based standards] (j1l): Likewise.
14413 [non-C99-based standards] (jnl): Likewise.
14414 [non-C99-based standards] (lgammal): Likewise.
14415 [non-C99-based standards] (tgammal): Likewise.
14416 [non-C99-based standards] (y0l): Likewise.
14417 [non-C99-based standards] (y1l): Likewise.
14418 [non-C99-based standards] (ynl): Likewise.
14419 [non-C99-based standards] (isnanl): Likewise.
14420 [non-C99-based standards] (acoshl): Likewise.
14421 [non-C99-based standards] (asinhl): Likewise.
14422 [non-C99-based standards] (atanhl): Likewise.
14423 [non-C99-based standards] (cbrtl): Likewise.
14424 [non-C99-based standards] (expm1l): Likewise.
14425 [non-C99-based standards] (ilogbl): Likewise.
14426 [non-C99-based standards] (log1pl): Likewise.
14427 [non-C99-based standards] (logbl): Likewise.
14428 [non-C99-based standards] (nextafterl): Likewise.
14429 [non-C99-based standards] (remainderl): Likewise.
14430 [non-C99-based standards] (rintl): Likewise.
14431 [non-C99-based standards] (scalbl): Likewise.
14432 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14433 [non-C99-based standards] (FP_*): Do not allow.
14434 [C99-based standards] (FP_*): Change to
14435 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14436 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14438 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14439 (SIG_ERR): Likewise.
14440 [X/Open-based standards] (SIG_HOLD): Likewise.
14441 (SIG_IGN): Likewise.
14442 (SIGABRT): Use macro-int-constant. Specify type. Require
14444 (SIGFPE): Likewise.
14445 (SIGILL): Likewise.
14446 (SIGINT): Likewise.
14447 (SIGSEGV): Likewise.
14448 (SIGTER): Likewise.
14449 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14450 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14451 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14452 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14453 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14454 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14455 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14456 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14457 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14458 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14459 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14460 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14461 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14462 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14463 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14464 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14465 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14466 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14467 [X/Open-based standards] (SIGTRAP): Likewise.
14468 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14469 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14470 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14471 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14472 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14475 2012-05-08 Ian Wienand <ianw@vmware.com>
14478 * time/tzset.c (__tzset_parse_tz): Update default rules for
14479 daylight time changes in the Energy Policy Act of 2005.
14481 2012-05-09 Andreas Jaeger <aj@suse.de>
14484 * elf/ldconfig.c (parse_conf): Change string to make clear that
14485 ldconfig only issued a warning if ld.so.conf does not exist.
14487 2012-05-08 David S. Miller <davem@davemloft.net>
14489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14490 movxtod instead of popping the value on the stack.
14492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14494 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14496 * config.h.in: Add HAVE_ARM_PCS_VFP.
14498 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
14501 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14502 checking but the checks are disabled for any reason.
14504 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14506 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14507 and ELF64_R_TYPE with ELFW(R_TYPE).
14509 2012-05-08 Joseph Myers <joseph@codesourcery.com>
14511 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14512 (ulimit): Likewise.
14514 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14515 (settimeofday): Likewise.
14517 2012-05-08 Mike Frysinger <vapier@gentoo.org>
14519 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14520 a struct th_u2 inside the union, and move tu_block/tu_code into
14521 a new th_u3 union of tu_block/tu_code inside of that. Move
14522 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14523 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14524 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14525 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14526 (th_stuff): Change to th_u1.tu_stuff.
14528 (th_msg): Change to th_u1.th_u2.tu_data.
14530 2012-05-07 David S. Miller <davem@davemloft.net>
14532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14535 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14536 (SETUP_PIC_REG): Use it.
14537 (SETUP_PIC_REG_LEAF): Use it.
14539 2012-05-07 Joseph Myers <joseph@codesourcery.com>
14543 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14545 (EXPL_FINITE): Likewise.
14546 (FLDLOG): Likewise.
14547 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14548 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14550 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14552 (EXPL_FINITE): Likewise.
14553 (FLDLOG): Likewise.
14554 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14555 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14557 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14558 test of -max_value argument for long double.
14559 * sysdeps/i386/fpu/libm-test-ulps: Update.
14560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14562 2012-05-06 David S. Miller <davem@davemloft.net>
14564 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14565 quad soft-float symbols whose references which are compiler
14567 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14569 2012-05-06 Joseph Myers <joseph@codesourcery.com>
14573 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14575 (EXPL_FINITE): Likewise.
14576 (FLDLOG): Likewise.
14579 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14580 Adjust comments for base varying.
14581 (__expl_finite): Change alias to EXPL_FINITE.
14582 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14584 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14585 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14586 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14587 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14588 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14590 (EXPL_FINITE): Likewise.
14591 (FLDLOG): Likewise.
14594 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14595 Adjust comments for base varying.
14596 (__expl_finite): Change alias to EXPL_FINITE.
14597 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14602 * math/libm-test.inc (check_float_internal): Correct ulp
14603 calculation for subnormal expected results.
14605 2012-05-06 Andreas Jaeger <aj@suse.de>
14607 * Makeconfig (+math-flags): New, set to -frounding-math.
14608 (+cflags): Add +math-flags so that all of glibc gets compiled with
14611 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14613 2012-05-05 Joseph Myers <joseph@codesourcery.com>
14615 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14621 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14622 (__ieee754_expl): Allow for and saturate large arguments.
14623 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14624 (u_threshold): Likewise.
14625 (__exp): Call __ieee754_exp before checking for overflow and
14627 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14628 (u_threshold): Likewise.
14629 (__expf): Call __ieee754_expf before checking for overflow and
14631 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14632 (u_threshold): Likewise.
14633 (__expl): Call __ieee754_expl before checking for overflow and
14635 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14636 (__ieee754_expl): Allow for and saturate large arguments.
14637 * math/libm-test.inc (exp_test): Add another test. Do not allow
14638 missing overflow exception on overflow.
14639 (expm1_test): Do not allow missing overflow exception on overflow.
14641 * sysdeps/i386/fpu/e_expl.c: Move to ...
14642 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14643 rather than using inline asm.
14644 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14645 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14646 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14648 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14651 (signal): Likewise.
14655 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14657 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14658 sysdeps/unix/common/syscalls.list.
14659 (fchmod): Likewise.
14660 (fchown): Likewise.
14661 (ftruncate): Likewise.
14662 (getrusage): Likewise.
14663 (gettimeofday): Likewise.
14664 (setpgid): Likewise.
14665 (setregid): Likewise.
14666 (setreuid): Likewise.
14667 (sigaction): Likewise.
14668 (truncate): Likewise.
14669 (vhangup): Likewise.
14670 * sysdeps/unix/common/syscalls.list: Remove file.
14671 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14672 * sysdeps/unix/sysv/linux/Implies: Likewise.
14674 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14676 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14678 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14682 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14685 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14688 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14691 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14694 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14697 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14700 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14704 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14708 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14711 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14715 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14719 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14721 * sysdeps/unix/common/bits/dirent.h: Remove file.
14722 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14724 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14725 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14726 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14727 * sysdeps/unix/bsd/isatty.c: Likewise.
14728 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14729 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14730 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14732 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14735 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14736 long double comparison inaccuracies.
14737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14740 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14742 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14743 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14745 2012-05-04 Joseph Myers <joseph@codesourcery.com>
14748 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14749 nonzero digits before rounding a hex value.
14750 * stdlib/tst-strtod.c (tests): Add another test.
14752 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14754 * sysdeps/s390/fpu/libm-test-ulps: Update.
14756 2012-05-03 Andreas Jaeger <aj@suse.de>
14758 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14759 does not get optimized out.
14760 (malloc_opt_barrier): New.
14762 2012-05-03 Andreas Jaeger <aj@suse.de>
14763 Roland McGrath <roland@hack.frob.com>
14765 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14766 intermediate file deletion.
14767 (generated): Add .symlist files.
14769 2012-05-03 Joseph Myers <joseph@codesourcery.com>
14772 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14773 Redirect under this condition.
14774 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14775 [__USE_GNU] (__dprintf_chk): Not under this condition.
14776 [__USE_GNU] (__vdprintf_chk): Likewise.
14777 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14778 under this condition.
14779 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14780 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14781 [__USE_XOPEN2K8] (vdprintf): Likewise.
14782 [__USE_GNU] (__dprintf_chk): Not under this condition.
14783 [__USE_GNU] (__vdprintf_chk): Likewise.
14784 [__USE_GNU] (dprintf): Likewise.
14785 [__USE_GNU] (vdprintf): Likewise.
14787 2012-05-03 Roland McGrath <roland@hack.frob.com>
14789 * elf/Makefile (common-generated): Set this instead of generated for
14790 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14791 $(all-built-dso)-derived lists.
14793 2012-05-03 Andreas Jaeger <aj@suse.de>
14795 * sysdeps/i386/fpu/libm-test-ulps: Update.
14798 * FAQ.in: Likewise.
14799 * scripts/gen-FAQ.pl: Likewise.
14800 * manual/install.texi (Installation): Point to online location of
14802 * Makefile (files-for-dist): Remove FAQ.
14805 2012-05-02 Allan McRae <allan@archlinux.org>
14807 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14808 (LDFLAGS-reldepmod5.so): Likewise.
14809 (LDFLAGS-reldep6mod1.so): Likewise.
14810 (LDFLAGS-reldep6mod4.so): Likewise.
14811 (LDFLAGS-reldep8mod3.so): Likewise.
14812 (LDFLAGS-unload4mod1.so): Likewise.
14813 (LDFLAGS-unload4mod2.so): Likewise.
14814 (LDFLAGS-tst-initorder): Likewise.
14815 (LDFLAGS-tst-initordera2.so): Likewise.
14816 (LDFLAGS-tst-initordera3.so): Likewise.
14817 (LDFLAGS-tst-initordera4.so): Likewise.
14818 (LDFLAGS-tst-initorderb2.so): Likewise.
14819 (LDFLAGS-noload): Likewise.
14820 (LDFLAGS-next): Likewise.
14821 (LDFLAGS-order2mod1.so): Likewise.
14822 (LDFLAGS-order2mod2.so): Likewise.
14823 (LDFLAGS-tst-initorder2): Likewise.
14824 (LDFLAGS-tst-initorder2a.so): Likewise.
14825 (LDFLAGS-tst-initorder2b.so): Likewise.
14826 (LDFLAGS-tst-initorder2c.so): Likewise.
14827 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14829 2012-05-02 David S. Miller <davem@davemloft.net>
14831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14833 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14836 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14838 2012-05-02 Andreas Jaeger <aj@suse.de>
14840 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14841 since we manipulate rounding mode.
14842 (CPPFLAGS-test-idouble.c): Likewise.
14843 (CPPFLAGS-test-ifloat.c): Likewise.
14844 (CFLAGS-test-ldouble.c): Likewise.
14845 (CFLAGS-test-double.c): Likewise.
14846 (CFLAGS-test-float.c): Likewise.
14847 (CFLAGS-test-misc.c): Likewise.
14848 (CFLAGS-test-test-fenv.c): Likewise.
14850 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14854 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14855 comparisons to determine direction to adjust input.
14857 2012-05-01 Roland McGrath <roland@hack.frob.com>
14859 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14860 output to the target.
14862 * scripts/localplt.awk: New file.
14863 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14864 (check-localplt-CFLAGS): Variable removed.
14865 ($(all-built-dso:=.jmprel)): New static pattern rule.
14866 (generated): Add those targets.
14867 (localplt-built-dso): New variable.
14868 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14870 * elf/check-localplt.c: File removed.
14872 * scripts/check-execstack.awk: New file.
14873 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14874 (check-execstack-CFLAGS): Variable removed.
14875 ($(objpfx)check-execstack.h): Target removed.
14876 ($(objpfx)execstack-default): New target.
14877 (generated): Add that instead of check-execstack.h.
14878 ($(all-built-dso:=.phdr)): New static pattern rule.
14879 (generated): Add those targets.
14880 * elf/check-execstack.c: File removed.
14882 * scripts/check-textrel.awk: New file.
14883 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14884 (check-textrel-CFLAGS): Variable removed.
14885 (all-built-dso): Use := to define.o
14886 ($(all-built-dso:=.dyn)): New static pattern rule.
14887 (generated): Add those targets.
14888 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14889 * config.make.in (READELF): New substituted variable.
14890 * elf/check-textrel.c: File removed.
14892 2012-05-01 Joseph Myers <joseph@codesourcery.com>
14894 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14896 * conform/data/ctype.h-data [C99-based standards] (isblank):
14898 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14899 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14900 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14901 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14902 Specify type. Require positive value.
14903 (EILSEQ): Likewise.
14904 (ERANGE): Likewise.
14905 [ISO || POSIX] (EILSEQ): Do not expect.
14906 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14907 Specify type. Require positive value.
14908 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14909 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14910 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14911 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14912 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14913 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14914 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14915 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14916 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14917 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14918 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14919 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14920 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14921 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14922 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14923 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14924 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14925 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14926 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14927 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14928 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14929 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14930 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14931 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14932 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14933 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14934 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14935 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14936 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14937 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14938 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14939 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14940 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14941 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14942 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14943 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14944 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14945 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14946 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14947 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14948 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14949 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14950 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14951 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14952 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14953 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14954 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14955 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14956 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14957 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14958 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14959 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14960 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14961 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14962 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14963 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14964 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14965 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14966 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14967 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14968 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14969 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14970 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14971 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14972 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14973 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14974 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14975 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14976 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14977 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14978 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14979 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14980 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14981 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14982 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14983 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14984 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14986 (FLT_ROUNDS): Expect as macro, not constant.
14987 (FLT_MANT_DIG): Use macro-int-constant.
14988 (DBL_MANT_DIG): Likewise.
14989 (LDBL_MANT_DIG): Likewise.
14990 (FLT_DIG): Likewise.
14991 (DBL_DIG): Likewise.
14992 (LDBL_DIG): Likewise.
14993 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14994 (DBL_MIN_EXP): Likewise.
14995 (LDBL_MIN_EXP): Likewise.
14996 (FLT_MAX_EXP): Use macro-int-constant.
14997 (DBL_MAX_EXP): Likewise.
14998 (LDBL_MAX_EXP): Likewise.
14999 (FLT_MAX_10_EXP): Likewise.
15000 (DBL_MAX_10_EXP): Likewise.
15001 (LDBL_MAX_10_EXP): Likewise.
15002 (FLT_MAX): Use macro-constant.
15003 (DBL_MAX): Likewise.
15004 (LDBL_MAX): Likewise.
15005 (FLT_EPSILON): Use macro-constant. Give upper bound.
15006 (DBL_EPSILON): Likewise.
15007 (LDBL_EPSILON): Likewise.
15008 (FLT_MIN): Likewise.
15009 (DBL_MIN): Likewise.
15010 (LDBL_MIN): Likewise.
15011 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15012 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15013 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15014 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15015 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15016 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15017 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15018 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15019 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15020 [ISO11] (FLT_TRUE_MIN): Likewise.
15021 [ISO11] (LDBL_TRUE_MIN): Likewise.
15022 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15023 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15024 (SCHAR_MIN): Use macro-int-constant. Specify type.
15025 (SCHAR_MAX): Likewise.
15026 (UCHAR_MAX): Likewise.
15027 (CHAR_MIN): Likewise.
15028 (CHAR_MAX): Likewise.
15029 (MB_LEN_MAX): Use macro-int-constant.
15030 (SHRT_MIN): Use macro-int-constant. Specify type.
15031 (SHRT_MAX): Likewise.
15032 (USHRT_MAX): Likewise.
15033 (INT_MAX): Likewise.
15034 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15036 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15038 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15040 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15041 bound negative. Suffix upper bound with "L".
15042 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15044 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15046 [C99-based standards] (LLONG_MAX): Likewise.
15047 [C99-based standards] (ULLONG_MAX): Likewise.
15048 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15050 [ISO11] (max_align_t): Require type.
15051 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15053 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15054 from $CFLAGS, without defining away __attribute__ calls.
15055 (checknamespace): Use $CFLAGS_namespace.
15057 * conform/conformtest.pl (@keywords): Only include C99 keywords
15058 for standards based on C99 or C11.
15060 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15062 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15065 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15066 usability of symbols in #if.
15068 * conform/conformtest.pl: If macro or constant types start
15069 "promoted:", expect the symbol to be of the following type
15070 promoted by the integer promotions.
15072 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15073 in one place. Also handle "macro-constant".
15075 * conform/conformtest.pl: Only accept expected macro values with
15076 "==". Parse all "macro" lines in one place.
15077 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15079 * conform/conformtest.pl: Handle braced types on "constant" lines
15080 instead of handling "typed-constant".
15081 * conform/data/signal.h-data: Use "constant" instead of
15084 * conform/conformtest.pl: Handle "optional-" at start of lines in
15085 one place rather than duplicating several cases. Handle each
15086 format of "macro" line with initial "optional-".
15088 * conform/conformtest.pl: Only accept expected constant or
15089 optional-constant values with "==". Parse all "constant" lines in
15090 one place. Parse all "optional-constant" lines in one place.
15091 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15092 * conform/data/fmtmsg.h-data: Likewise.
15093 * conform/data/netinet/in.h-data: Likewise.
15094 * conform/data/tar.h-data: Likewise.
15095 * conform/data/limits.h-data: Use "==" form on "constant" and
15096 "optional-constant" lines.
15098 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15099 Use -std=c99 for XOPEN2K.
15100 (@knownproblems): Remove.
15101 (newtoken): Don't check %isknown.
15103 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15104 Do not expect macro.
15105 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15106 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15107 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15108 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15109 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15110 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15111 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15112 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15113 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15114 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15115 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15116 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15117 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15118 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15119 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15120 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15121 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15122 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15123 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15124 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15125 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15126 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15127 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15128 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15129 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15133 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15134 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15135 [XPG3] (acosh): Likewise.
15136 [XPG3] (asinh): Likewise.
15137 [XPG3] (atanh): Likewise.
15138 [XPG3] (cbrt): Likewise.
15139 [XPG3] (expm1): Likewise.
15140 [XPG3] (ilogb): Likewise.
15141 [XPG3] (log1p): Likewise.
15142 [XPG3] (logb): Likewise.
15143 [XPG3] (nextafter): Likewise.
15144 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15146 [XPG3] (remainder): Likewise.
15147 [XPG3] (rint): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15152 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15153 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15155 [UNIX98 || XOPEN2K] (scalb): Expect.
15156 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15157 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15159 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15161 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15162 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15163 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15171 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15212 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15213 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15220 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15221 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15225 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15226 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15227 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15228 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15229 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15230 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15231 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15232 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15233 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15234 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15235 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15236 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15237 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15238 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15240 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15241 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15242 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15243 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15244 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15245 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15246 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15247 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15248 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15249 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15250 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15251 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15252 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15253 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15254 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15255 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15256 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15257 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15258 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15259 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15260 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15261 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15262 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15263 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15264 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15265 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15266 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15267 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15268 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15269 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15270 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15271 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15272 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15273 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15274 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15275 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15276 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15277 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15278 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15279 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15280 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15281 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15282 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15283 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15284 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15285 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15286 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15287 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15288 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15289 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15290 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15291 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15292 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15294 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15295 _XOPEN_SOURCE_EXTENDED for XPG4.
15297 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15299 * Makeconfig (localtime): Remove variable.
15300 (inst_localtime-file): Likewise.
15302 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15323 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15327 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15328 comparisons to determine direction to adjust input.
15329 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15330 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15331 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15333 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15335 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15337 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15338 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15340 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15342 * math/libm-test.inc (nexttoward_test): Add more tests.
15344 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15347 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15348 in version GLIBC_2.1, not GLIBC_2.0.
15349 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15352 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15355 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15357 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15358 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15359 * math/libm-test.inc (acos_test): Add more tests.
15360 (asin_test): Likewise.
15361 * sysdeps/i386/fpu/libm-test-ulps: Update.
15362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15365 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15367 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15368 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15369 * math/libm-test.inc (acos_test_tonearest): New function.
15370 (acos_test_towardzero): Likewise.
15371 (acos_test_downward): Likewise.
15372 (acos_test_upward): Likewise.
15373 (asin_test_tonearest): Likewise.
15374 (asin_test_towardzero): Likewise.
15375 (asin_test_downward): Likewise.
15376 (asin_test_upward): Likewise.
15377 (main): Call the new functions.
15378 * sysdeps/i386/fpu/libm-test-ulps: Update.
15379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15383 * math/e_exp10.c: Include <float.h>.
15384 (__ieee754_exp10): Handle underflow here rather than multiplying
15385 large negative argument by M_LN10.
15386 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15388 * math/e_exp10l.c: Include <float.h>.
15389 (__ieee754_exp10l): Handle underflow here rather than multiplying
15390 large negative argument by M_LN10l.
15391 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15392 spurious overflow exception on underflow.
15394 2012-04-29 Marek Polacek <polacek@redhat.com>
15396 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15397 (__fortify_function): New macro.
15398 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15399 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15400 __extern_always_inline.
15401 * libio/bits/stdio2.h: Likewise.
15402 * libio/bits/stdio.h: Likewise.
15403 * string/string.h: Likewise.
15404 * string/bits/string3.h: Likewise.
15405 * include/stdio.h: Likewise.
15406 * stdlib/bits/stdlib.h: Likewise.
15407 * stdlib/stdlib.h: Likewise.
15408 * rt/bits/mqueue2.h: Likewise.
15409 * rt/mqueue.h: Likewise.
15410 * posix/bits/unistd.h: Likewise.
15411 * posix/unistd.h: Likewise.
15412 * io/bits/poll2.h: Likewise.
15413 * io/bits/fcntl2.h: Likewise.
15414 * io/fcntl.h: Likewise.
15415 * io/sys/poll.h: Likewise.
15416 * misc/bits/syslog.h: Likewise.
15417 * misc/bits/syslog-ldbl.h: Likewise.
15418 * misc/sys/syslog.h: Likewise.
15419 * socket/bits/socket2.h: Likewise.
15420 * socket/sys/socket.h: Likewise.
15421 * debug/tst-chk1.c: Likewise.
15422 * wcsmbs/bits/wchar2.h: Likewise.
15423 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15424 * wcsmbs/wchar.h: Likewise.
15426 2012-04-29 Andreas Jaeger <aj@suse.de>
15428 * Makerules (tests): Remove enable-check-abi protection.
15429 (check-abi-warn): Remove.
15430 (check-abi-%): Remove check-abi-warn usage.
15432 * configure.in: Remove check-abi configure option.
15433 * configure: Regenerated.
15434 * config.make.in (enable-check-abi): Remove.
15436 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15439 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15440 double functions to double *_finite functions.
15443 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15444 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15446 * stdio-common/Makefile (tests): Add tst-sprintf3.
15447 * stdio-common/tst-sprintf3.c: New file.
15449 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15450 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15452 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15454 * conform/conformtest.pl: Remove duplicate typed-constant
15457 2012-04-28 David S. Miller <davem@davemloft.net>
15459 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15460 (check-abi-%): Remove AWK script prerequisite and explicit
15462 (check-abi): Rewrite to just diff the symlist with the abilist.
15463 (config-tls, config-abi-config): Delete, no longer used.
15464 (update-abi-%): Remove AWK script and explicit abilist directory.
15465 (update-abi): Rewrite to simply compare and conditionally copy the
15466 symlist and the sysdep abilist file. Remove update-abi-config
15468 * abilist/ld.abilist: Remove.
15469 * abilist/libBrokenLocale.abilist: Remove.
15470 * abilist/libanl.abilist: Remove.
15471 * abilist/libcrypt.abilist: Remove.
15472 * abilist/libdl.abilist: Remove.
15473 * abilist/librt.abilist: Remove.
15474 * abilist/libthread_db.abilist: Remove.
15475 * abilist/libutil.abilist: Remove.
15476 * scripts/extract-abilist.awk: Remove.
15477 * scripts/merge-abilist.awk: Remove.
15478 * sysdeps/generic/libcidn.abilist: New file.
15479 * sysdeps/generic/libnss_compat.abilist: New file.
15480 * sysdeps/generic/libnss_db.abilist: New file.
15481 * sysdeps/generic/libnss_dns.abilist: New file.
15482 * sysdeps/generic/libnss_files.abilist: New file.
15483 * sysdeps/generic/libnss_hesiod.abilist: New file.
15484 * sysdeps/generic/libnss_nis.abilist: New file.
15485 * sysdeps/generic/libnss_nisplus.abilist: New file.
15486 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15487 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15488 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15490 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15491 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15492 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15493 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15494 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15495 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15496 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15497 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15498 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15500 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15501 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15502 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15503 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15505 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15506 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15507 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15508 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15509 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15510 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15512 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15513 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15514 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15516 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15619 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15620 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15621 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15623 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15624 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15625 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15626 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15627 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15628 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15629 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15630 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15631 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15632 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15684 2012-04-28 Joseph Myers <joseph@codesourcery.com>
15686 * conform/conformtest.pl: Fix typo in handling typed-constant from
15689 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15691 * README: Cut down references to pre-2.6 Linux kernels and
15692 Linuxthreads. Update lists of configurations in libc and ports
15693 and sort alphabetically. Say "or newer" with Linux kernel version
15696 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15698 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15701 * math/libm-test.inc (logb_test_downward): New test to expose
15702 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15705 2012-04-27 Joseph Myers <joseph@codesourcery.com>
15708 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15710 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15711 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15713 2012-04-26 Joseph Myers <joseph@codesourcery.com>
15715 * sysdeps/unix/i386/brk.S: Remove file.
15716 * sysdeps/unix/i386/dl-brk.S: Likewise.
15717 * sysdeps/unix/i386/pipe.S: Likewise.
15718 * sysdeps/unix/i386/sigreturn.S: Likewise.
15719 * sysdeps/unix/i386/syscall.S: Likewise.
15720 * sysdeps/unix/i386/vfork.S: Likewise.
15721 * sysdeps/unix/i386/wait.S: Likewise.
15723 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15724 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15726 * configure.in (arm*-none*): Do not allow without
15727 --enable-hacker-mode.
15728 (netbsd*): Remove case setting base_os.
15729 (386bsd*): Likewise.
15730 (freebsd*): Likewise.
15733 (sunos*): Likewise.
15734 (ultrix*): Likewise.
15735 (newsos*): Likewise.
15736 (dynix*): Likewise.
15742 (minix*): Likewise.
15743 (irix4*): Likewise.
15744 (irix6*): Likewise.
15745 (solaris[2-9]*): Likewise.
15747 * configure: Regenerated.
15749 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15752 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15753 overflow or cancellation in calculating denominator.
15754 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15755 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15756 down expression to avoid unexpected rounding in newer GCCs.
15757 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15759 2012-04-26 David S. Miller <davem@davemloft.net>
15761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15762 long-double compat symbols.
15763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15777 2012-04-25 David S. Miller <davem@davemloft.net>
15779 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15780 HWCAP_* values only after the memory barriers have been defined.
15781 (atomic_full_barrier): Define.
15782 (atomic_read_barrier): Define.
15783 (atomic_write_barrier): Define.
15785 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15787 * shlib-versions: Add libgcc_s version information.
15788 * sysdeps/generic/libgcc_s.h: Remove.
15789 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15791 * sysdeps/gnu/unwind-resume.c: Likewise.
15792 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15794 2012-04-25 David S. Miller <davem@davemloft.net>
15796 * sysdeps/unix/sparc/brk.S: Delete.
15797 * sysdeps/unix/sparc/dl-brk.S: Delete.
15798 * sysdeps/unix/sparc/pipe.S: Delete.
15799 * sysdeps/unix/sparc/sysdep.S: Delete.
15800 * sysdeps/unix/sparc/sysdep.h: Delete.
15801 * sysdeps/unix/sparc/vfork.S: Delete.
15802 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15803 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15804 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15805 ret_ERRVAL, r0, r1, MOVE): Define.
15806 (JUMPTARGET): Remove.
15807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15808 sysdeps/unix/sparc/sysdep.h
15809 (ENTRY, END): Remove.
15810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15812 2012-04-25 Joseph Myers <joseph@codesourcery.com>
15814 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15815 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15818 * timezone/README: Update upstream location and email address for
15820 * timezone/zdump.c: Update from tzcode 2012b.
15821 * timezone/zic.c: Likewise.
15823 * configure.in (libc_cv_as_needed): Remove test.
15824 * configure: Regenerated.
15825 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15826 conditional definition.
15827 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15828 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15829 * config.make.in (have-as-needed): Remove variable.
15831 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15832 Paul Pluzhnikov <ppluzhnikov@google.com>
15834 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15837 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15839 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15840 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15841 * sysdeps/sh/strlen.S: Likewise.
15843 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15845 * sysdeps/unix/fork.S: Remove file.
15846 * sysdeps/unix/i386/fork.S: Likewise.
15847 * sysdeps/unix/sparc/fork.S: Likewise.
15849 * sysdeps/unix/system.c: Remove file.
15850 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15852 * sysdeps/unix/getegid.S: Remove file.
15853 * sysdeps/unix/geteuid.S: Likewise.
15855 2012-04-24 Roland McGrath <roland@hack.frob.com>
15857 * scripts/check-localplt.awk: New file.
15858 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15860 * scripts/data/localplt-generic.data: Add a comment.
15862 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15863 NODE when __dir_mkfile failed.
15864 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15865 Reported by Ludovic Courtès <ludo@gnu.org>.
15867 2012-04-24 Andreas Jaeger <aj@suse.de>
15869 * Makerules (common-clean): Also remove gen-as-const-headers
15872 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15874 * Makerules (native-compile): Do not change working directory for
15875 build. Use $(OUTPUT_OPTION) in command.
15876 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15878 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15881 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15882 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15883 * math/libm-test.inc (floor_test): Add more tests.
15884 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15886 2012-04-24 Joseph Myers <joseph@codesourcery.com>
15888 * sysdeps/unix/getdents.c: Remove file.
15889 * sysdeps/unix/sysv/getdents.c: Likewise.
15890 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15892 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15893 sysdeps/unix/mman/syscalls.list.
15895 (mprotect): Likewise.
15897 (munmap): Likewise.
15898 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15899 * sysdeps/unix/mman/syscalls.list: Remove.
15900 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15902 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15903 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15904 * configure: Regenerated.
15905 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15906 $(libgcc_s_suffix).
15907 * config.make.in (libgcc_s_suffix): Remove variable.
15909 2012-04-23 Joseph Myers <joseph@codesourcery.com>
15911 * sysdeps/unix/sysv/gethostname.c: Move to ...
15912 * sysdeps/posix/gethostname.c: ... here.
15914 * sysdeps/unix/execve.S: Remove file.
15916 * sysdeps/unix/_exit.S: Remove file.
15918 2012-04-23 Andreas Jaeger <aj@suse.de>
15921 * manual/Makefile: Remove make dist support, there's no
15922 need for a stand-alone documentation tar ball.
15923 (TEXI2DVI): Define always, it's not in Makeconfig.
15926 (edition): Removed.
15927 (glibc-doc-$(edition).tar): Removed
15931 (ETAGS): Remove, it's in Makeconfig.
15932 (move-if-change): Remove, it's in Makeconfig.
15934 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
15937 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15938 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15939 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15940 (strtod_l, strtof_l, strtold_l): Remove __wur.
15941 It is not necessarily an error to ignore strtol's return value.
15942 One can reliably look at the stored endptr to decide whether
15943 the number had valid syntax.
15945 2012-04-21 Andreas Jaeger <aj@suse.de>
15948 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15950 2012-04-21 Joseph Myers <joseph@codesourcery.com>
15952 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15953 * sysdeps/unix/sysv/Versions: Remove file.
15955 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15960 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
15963 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15964 version from __vm86.
15966 2012-04-20 Joseph Myers <joseph@codesourcery.com>
15968 * sysdeps/unix/common/lxstat.c: Remove file.
15969 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15971 * sysdeps/unix/sysv/Makefile: Remove file.
15973 * sysdeps/unix/sysv/direct.h: Remove file.
15975 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15976 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15977 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15978 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15979 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15980 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15981 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15983 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15985 * sysdeps/unix/xmknod.c: Remove file.
15986 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15988 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15990 * sysdeps/unix/sysv/i386/time.S: Remove file.
15992 * sysdeps/unix/fxstat.c: Remove file.
15993 * sysdeps/unix/xstat.c: Likewise.
15994 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15996 * sysdeps/unix/sysv/sigaction.c: Remove file.
15998 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15999 (sysdep_headers): Remove variable.
16000 [termio.h not in sysdep_headers] (generated): Likewise.
16001 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16002 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16003 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16004 * sysdeps/unix/sysv/tcflow.c: Likewise.
16005 * sysdeps/unix/sysv/tcflush.c: Likewise.
16006 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16007 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16008 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16009 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16010 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16012 * sysdeps/unix/siglist.c: Remove file.
16014 * sysdeps/unix/getppid.S: Remove file.
16016 * sysdeps/unix/mkdir.c: Remove file.
16017 * sysdeps/unix/rmdir.c: Likewise.
16019 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16021 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16023 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16024 errlist-compat value.
16026 2012-04-18 David S. Miller <davem@davemloft.net>
16028 * sysdeps/generic/memcopy.h (reg_char): Delete.
16029 * debug/strcat_chk.c: Use char, not reg_char.
16030 * debug/strcpy_chk.c: Likewise.
16031 * debug/strncat_chk.c: Likewise.
16032 * debug/strncpy_chk.c: Likewise.
16033 * string/memchr.c: Likewise.
16034 * string/memrchr.c: Likewise.
16035 * string/rawmemchr.c: Likewise.
16036 * string/strcat.c: Likewise.
16037 * string/strchr.c: Likewise.
16038 * string/strchrnul.c: Likewise.
16039 * string/strcmp.c: Likewise.
16040 * string/strcpy.c: Likewise.
16041 * string/strncat.c: Likewise.
16042 * string/strncmp.c: Likewise.
16043 * string/strncpy.c: Likewise.
16045 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16047 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16048 __builtin_memcopy is called when src and dest ranges are known to not
16051 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16053 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16054 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16055 fwd_align_merge macro call.
16056 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16057 bwd_align_merge macro call.
16058 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16060 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16062 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16063 bwd_align_merge macros.
16064 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16065 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16066 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16068 2012-04-18 David S. Miller <davem@davemloft.net>
16070 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16072 2012-04-18 Andreas Jaeger <aj@suse.de>
16075 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16076 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16077 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16079 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16080 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16081 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16083 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16084 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16085 Adjust for changed ldbl-128 files.
16087 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16088 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16089 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16091 2012-04-17 David S. Miller <davem@davemloft.net>
16093 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16095 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16097 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16098 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16099 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16100 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16101 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16102 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16104 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16107 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16108 * math/libm-test.inc: Add ilogb errno and exception tests.
16109 * math/w_ilogb.c: New file: ilogb wrapper.
16110 * math/w_ilogbf.c: New file: ilogbf wrapper.
16111 * math/w_ilogbl.c: New file: ilogbl wrapper.
16112 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16113 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16114 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16115 exception being thrown with 0.0 as argument.
16116 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16117 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16118 exception being thrown with 0.0 as argument.
16119 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16120 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16121 exception being thrown with 0.0 as argument.
16122 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16123 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16124 exception being thrown with 0.0 as argument.
16125 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16126 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16127 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16128 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16129 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16130 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16131 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16132 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16133 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16135 2012-04-17 Petr Baudis <pasky@ucw.cz>
16137 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16140 2012-04-16 Marek Polacek <polacek@redhat.com>
16142 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16144 2012-04-16 Marek Polacek <polacek@redhat.com>
16146 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16147 operands of fdivp instruction.
16149 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16151 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16152 * elf/tst-auditmod3b.c: Likewise.
16153 * elf/tst-auditmod4b.c: Likewise.
16154 * elf/tst-auditmod5b.c: Likewise.
16155 * elf/tst-auditmod6b.c: Likewise.
16156 * elf/tst-auditmod6c.c: Likewise.
16157 * elf/tst-auditmod7b.c: Likewise.
16158 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16159 * sysdeps/x86_64/preconfigure.in: Likewise.
16160 * sysdeps/x86_64/preconfigure: Regenerated.
16162 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16164 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16167 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16169 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16170 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16172 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16175 * locale/iso-639.def: Fix gl language name. Spotted by
16178 2012-04-12 Roland McGrath <roland@hack.frob.com>
16181 * libio/libio.h (__io_write_fn): Update comment.
16183 2012-04-12 Petr Baudis <pasky@ucw.cz>
16186 * stdio.texi (Hook Functions): The user provided writer function
16187 is not allowed to return -1.
16189 2012-04-11 David S. Miller <davem@davemloft.net>
16191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16193 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16195 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16196 Add a leading slash to rtkaio.
16198 2012-04-11 Jim Meyering <meyering@redhat.com>
16201 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16202 It is not necessarily an error to ignore fwrite's return
16203 value. One can reliably use ferror to test for errors after
16206 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16208 * bits/types.h (__snseconds_t): New type.
16209 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16211 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16213 (__SNSECONDS_T_TYPE): Likewise.
16214 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16215 (__SNSECONDS_T_TYPE): Likewise.
16216 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16217 (__SNSECONDS_T_TYPE): Likewise.
16219 2012-04-10 Andreas Jaeger <aj@suse.de>
16222 * manual/time.texi (Processor Time): Return type of times is
16223 elapsed real time since an arbitrary point in the past.
16224 (CPU Time): Move CLK_TCK from here...
16225 (Processor Time): ...to here. Correct description.
16226 * manual/conf.texi (Constants for Sysconf): Correct description of
16229 2012-04-10 David S. Miller <davem@davemloft.net>
16232 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16233 where the is a gap between DT_REL(A) and DT_JMPREL.
16235 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16237 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16238 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16239 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16241 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16243 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16244 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16245 (dl_main): Handle --inhibit-cache.
16246 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16248 * elf/dl-load.c (_dl_map_object): Use it.
16249 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16251 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16254 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16255 (__ieee754_powl): Saturate large exponents rather than testing for
16256 overflow of y*log2(x).
16257 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16258 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16262 * math/s_ctan.c: Include <float.h>.
16263 (__ctan): Avoid internal overflow or cancellation in calculating
16265 * math/s_ctanf.c: Likewise.
16266 * math/s_ctanl.c: Likewise.
16267 * math/s_ctanh.c: Likewise.
16268 * math/s_ctanhf.c: Likewise.
16269 * math/s_ctanhl.c: Likewise.
16270 * math/libm-test.inc (ctan_test): Add more tests.
16271 (ctanh_test): Likewise.
16272 * sysdeps/i386/fpu/libm-test-ulps: Update.
16273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16275 2012-04-09 Andreas Jaeger <aj@suse.de>
16278 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16279 is an optional BSD extension.
16282 * manual/stdio.texi (Opening Streams): Document additional fopen
16285 2012-04-09 Roland McGrath <roland@hack.frob.com>
16287 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16288 %eax without telling the compiler.
16290 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16293 * manual/install.texi: Use sourceware.org.
16295 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16298 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16299 (__ieee754_pow): Generate overflow and underflow using huge*huge
16300 and tiny*tiny rather than just returning constant infinity or zero
16301 for large exponents.
16302 * math/libm-test.inc (pow_test): Require overflow exceptions for
16303 applicable cases of large exponents.
16306 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16307 (__ieee754_pow): Use iterative multiplication algorithm only for
16308 integer exponents with absolute value below 1024. Check for odd
16309 integer exponents when using algorithm for real exponents.
16310 * math/libm-test.inc (pow_test): Add more tests.
16311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16313 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16316 * math/libm-test.inc (exp_test): Do not allow overflow exception
16319 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16322 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16323 instead of __kernel_standard_f.
16325 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16327 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16328 * sysdeps/x86_64/memset_chk.S: Likewise.
16330 2012-04-08 Andreas Jaeger <aj@suse.de>
16333 * manual/startup.texi (Environment Access): Describe return value
16334 for putenv and setenv.
16337 * manual/filesys.texi (Directory Entries): Add description for
16341 * manual/filesys.texi (Directory Entries): Clarify that it's file
16342 system not operating system in the description of DT_UNKNOWN.
16345 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16347 2012-04-08 Stephen Compall <s11@member.fsf.org>
16350 * manual/llio.texi (Opening and Closing Files): Add cross
16351 reference to explain mode argument.
16353 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16355 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16356 * sysdeps/x86_64/memset_chk.S: Likewise.
16358 2012-04-07 David S. Miller <davem@davemloft.net>
16360 * elf/elf.h (R_SPARC_WDISP10): Define.
16361 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16363 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16364 R_SPARC_SIZE64 and R_SPARC_H34.
16366 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16368 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16369 conditions and remove no longer applicable assertion.
16371 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16373 * bits/byteswap.h: Include <features.h>.
16374 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16375 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16377 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16379 * bits/byteswap.h (__bswap_16): Removed.
16380 Include <bits/byteswap-16.h> to get __bswap_16.
16381 * sysdeps/i386/bits/byteswap.h: Likewise.
16382 * sysdeps/s390/bits/byteswap.h: Likewise.
16383 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16384 * bits/byteswap-16.h: New file.
16385 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16386 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16387 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16388 * string/Makefile (headers): Add bits/byteswap-16.h.
16390 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16393 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16395 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16396 * nss/tst-nss-static.c: New.
16398 2012-04-06 Robert Millan <rmh@gnu.org>
16401 * manual/llio.texi (File Position Primitive): lseek
16402 refers to WHENCE when it really means OFFSET.
16404 2012-04-06 Andreas Jaeger <aj@suse.de>
16406 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16407 strncmp declarations.
16409 * abilist/libc.abilist: Add __poll and __ppoll.
16411 2012-04-05 David S. Miller <davem@davemloft.net>
16413 * scripts/check-local-headers.sh: Accept a host triplet in the
16414 path matched by the exclude regexp.
16416 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16418 * sysdeps/powerpc/powerpc32/dl-machine.h
16419 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16420 * sysdeps/s390/s390-32/dl-machine.h
16421 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16422 * sysdeps/sparc/sparc32/dl-machine.h
16423 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16424 * sysdeps/sparc/sparc64/dl-machine.h
16425 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16427 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16429 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16430 undefined symbol errors.
16432 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16435 2012-04-05 Michael Matz <matz@suse.de>
16438 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16440 2012-04-05 Andreas Jaeger <aj@suse.de>
16443 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16446 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16448 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16449 which ROUND is no valid rounding mode.
16451 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16453 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16455 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16457 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16459 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16460 an exception using FPU order intentionally.
16462 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16464 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16465 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16466 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16467 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16469 2012-04-05 Simon Josefsson <simon@josefsson.org>
16472 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16473 EINVAL when BUFLEN is too smal.
16475 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16478 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16479 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16481 2012-04-03 Andreas Jaeger <aj@suse.de>
16484 * manual/setjmp.texi (System V contexts): Fix sentence.
16487 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16488 New macro for this case.
16489 [!__GNUC__] (__bswap_64): New inline function for this case.
16490 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16491 * bits/byteswap.h: Likewise.
16492 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16493 ull, guard with __GLIBC_HAVE_LONG_LONG.
16495 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16496 __GLIBC_HAVE_LONG_LONG.
16498 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16499 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16501 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16504 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16505 inptr and inend, rather than using last_ch.
16507 2012-04-02 David S. Miller <davem@davemloft.net>
16509 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16510 * stdio-common/printf-parse.h (read_int): Change return type to
16511 'int', return -1 on INT_MAX overflow.
16512 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16513 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16514 overflows INT_MAX. Check for overflow of in-format-string precision
16515 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16516 SIZE_MAX not INT_MAX for integer overflow test.
16517 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16518 skip the construct in the format string but do not record anything.
16519 * stdio-common/bug22.c: Adjust to test both width/prevision
16520 INT_MAX overflow as well as total length INT_MAX overflow. Check
16521 explicitly for proper errno values.
16523 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16525 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16527 * string/test-strcmp.c [! WIDE]: Likewise.
16528 * time/tst-mktime2.c: Likewise for INT_MAX.
16529 * string/test-string.h: #include <sys/param.h> for MIN.
16531 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16532 * sysdeps/i386/init-first.c (init): Likewise.
16533 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16534 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16535 * sysdeps/sh/init-first.c (init): Likewise.
16537 2012-04-01 Ulrich Drepper <drepper@gmail.com>
16539 * po/ru.po: Update from translation team.
16540 * po/vi.po: Likewise.
16542 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16544 * resolv/nss_dns/dns-host.c: Merge copyright years.
16546 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16548 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16549 Optimize memcpy with prefetch if
16550 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16551 src, dst pointers have unequal 16 byte alignments.
16553 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16556 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16557 from a CNAME entry and return the minimum ttl for the query.
16558 (gaih_getanswer_slice): Likewise.
16560 2012-03-30 Jeff Law <law@redhat.com>
16562 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16564 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16565 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16567 * resolv/nss_dns/dns-host.c: Update copyright year.
16569 2012-03-30 Ulrich Drepper <drepper@gmail.com>
16571 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16572 requests to save a system call. Fix check that all bytes are sent.
16574 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16575 comments for sendmmsg.
16577 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16580 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16581 with only 1 character between 0x0041 and 0x01b0.
16582 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16583 * wcsmbs/tst-mbsnrtowcs.c: New file.
16585 2012-03-29 David S. Miller <davem@davemloft.net>
16587 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16588 small copies by hand.
16590 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16593 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16594 _nss_compat_initgroups_dyn): Fall back to malloc/free
16595 for large group memberships.
16597 2012-03-28 David S. Miller <davem@davemloft.net>
16599 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16600 that branches into memcpy.
16601 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16602 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16603 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16604 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16607 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16608 implementation too.
16609 * sysdeps/sparc/mempcpy.S: New file.
16611 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16612 the IFUNC routine in the libc case.
16613 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16615 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16616 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16617 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16618 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16619 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16620 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16621 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16622 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16624 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16625 loop to 256 bytes instead of 64 bytes and fix test signedness.
16627 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16628 * sysdeps/sparc/sparc32/Makefile: rather than here...
16629 * sysdeps/sparc/sparc64/Makefile: and here.
16631 2012-03-28 Ulrich Drepper <drepper@gmail.com>
16633 * malloc/mallocbug.c: Avoid warnings about unused variables.
16635 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16638 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16639 in the right place. Discard and retry query if response is
16640 larger than input buffer size.
16642 2012-03-28 Joseph Myers <joseph@codesourcery.com>
16647 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16648 x for large integer exponent.
16649 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16650 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16651 sign of result as needed afterwards.
16652 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16653 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16654 result for underflowing pow the same as for overflow.
16655 (__kernel_standard_l): Handle powl overflow and underflow here
16656 rather than calling __kernel_standard.
16657 * math/libm-test.inc (pow_test): Add more tests.
16672 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16673 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16674 (__kernel_standard_l): New function.
16675 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16677 * math/w_acosl.c (__acosl): Likewise.
16678 * math/w_asinl.c (__asinl): Likewise.
16679 * math/w_atan2l.c (__atan2l): Likewise.
16680 * math/w_atanhl.c (__atanhl): Likewise.
16681 * math/w_coshl.c (__coshl): Likewise.
16682 * math/w_exp10l.c (__exp10l): Likewise.
16683 * math/w_exp2l.c (__exp2l): Likewise.
16684 * math/w_fmodl.c (__fmodl): Likewise.
16685 * math/w_hypotl.c (__hypotl): Likewise.
16686 * math/w_j0l.c (__j0l, __y0l): Likewise.
16687 * math/w_j1l.c (__j1l, __y1l): Likewise.
16688 * math/w_jnl.c (__jnl, __ynl): Likewise.
16689 * math/w_lgammal.c (__lgammal): Likewise.
16690 * math/w_log10l.c (__log10l): Likewise.
16691 * math/w_log2l.c (__log2l): Likewise.
16692 * math/w_logl.c (__logl): Likewise.
16693 * math/w_powl.c (__powl): Likewise.
16694 * math/w_remainderl.c (__remainderl): Likewise.
16695 * math/w_scalbl.c (sysv_scalbl): Likewise.
16696 * math/w_sinhl.c (__sinhl): Likewise.
16697 * math/w_sqrtl.c (__sqrtl): Likewise.
16698 * math/w_tgammal.c (__tgammal): Likewise.
16699 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16700 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16701 * math/libm-test.inc (acos_test): Add more tests.
16702 (acosh_test): Likewise.
16703 (asin_test): Likewise.
16704 (atanh_test): Likewise.
16705 (exp_test): Likewise.
16706 (exp10_test): Likewise.
16707 (exp2_test): Likewise.
16708 (expm1_test): Likewise.
16709 (lgamma_test): Likewise.
16710 (log_test): Likewise.
16711 (log10_test): Likewise.
16712 (log1p_test): Likewise.
16713 (log2_test): Likewise.
16714 (pow_test): Do not allow some spurious overflow exceptions.
16715 (sqrt_test): Add more tests.
16716 (tgamma_test): Likewise.
16717 (y0_test): Likewise.
16718 (y1_test): Likewise.
16719 (yn_test): Likewise.
16721 2012-03-27 Anton Blanchard <anton@samba.org>
16723 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16725 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16726 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16727 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16729 2012-03-27 David S. Miller <davem@davemloft.net>
16731 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16733 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16734 have-as-vis3 check.
16736 2012-03-27 Andreas Jaeger <aj@suse.de>
16738 * sysdeps/x86_64/elf/configure.in: Moved to ...
16739 * sysdeps/x86_64/configure.in: ... here.
16740 * sysdeps/x86_64/elf/start.S: Moved to ...
16741 * sysdeps/x86_64/start.S: ... here.
16742 * sysdeps/x86_64/elf/configure: Delete.
16744 * sysdeps/x86_64/configure.in: Merge contents from
16745 sysdeps/i386/configure.in (without i686 check).
16747 * sysdeps/i386/elf/Versions: Merge into ...
16748 * sysdeps/i386/Versions: ... this.
16749 * sysdeps/i386/elf/Versions: Delete file.
16750 * sysdeps/i386/elf/start.S: Moved to ...
16751 * sysdeps/i386/start.S: ...here.
16752 * sysdeps/i386/elf/configure.in: Merge into...
16753 * sysdeps/i386/configure.in: ...here.
16754 * sysdeps/i386/elf/configure.in: Delete file.
16755 * sysdeps/i386/elf/configure: Delete file.
16757 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16758 * debug/backtracesyms.c: ... here.
16759 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16760 * debug/backtracesymsfd.c: ... here.
16761 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16762 * sysdeps/generic/ifunc-sel.h: ... here.
16764 * sysdeps/unix/i386/start.c: Delete file.
16765 * sysdeps/unix/sparc/start.c: Delete file.
16766 * sysdeps/unix/start.c: Delete file.
16768 * sysdeps/sh/elf/configure.in: Moved to ...
16769 * sysdeps/sh/configure.in: ... here.
16770 * sysdeps/sh/elf/start.S: Moved to ...
16771 * sysdeps/sh/start.S: ... here.
16772 * sysdeps/sh/elf/configure: Delete file.
16774 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16775 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16776 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16777 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16778 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16779 * sysdeps/powerpc/powerpc64/start.S: here.
16780 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16781 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16782 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16783 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16784 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16786 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16787 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16788 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16789 * sysdeps/powerpc/powerpc32/start.S: ... here.
16790 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16791 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16792 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16794 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16795 * sysdeps/powerpc/ifunc-sel.h: ... here.
16796 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16797 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16799 * sysdeps/sparc/elf/configure.in: Moved to ...
16800 * sysdeps/sparc/configure.in: ... here.
16801 * sysdeps/sparc/elf/configure: Delete file.
16802 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16803 * sysdeps/sparc/sparc32/start.S: ... here.
16804 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16805 * sysdeps/sparc/sparc64/start.S: ... here.
16806 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16807 * sysdeps/sparc/sparc32/Makefile: ... this.
16808 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16809 * sysdeps/sparc/sparc64/Makefile: ... this.
16811 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16812 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16813 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16814 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16815 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16816 * sysdeps/s390/s390-32/setjmp.S: ... here.
16817 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16818 * sysdeps/s390/s390-32/configure.in: ... here.
16819 * sysdeps/s390/s390-32/elf/configure: Delete file.
16820 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16821 * sysdeps/s390/s390-32/start.S: ... here.
16823 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16824 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16825 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16826 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16827 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16828 * sysdeps/s390/s390-64/setjmp.S: ... here.
16829 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16830 * sysdeps/s390/s390-64/configure.in: ... here
16831 * sysdeps/s390/s390-64/elf/configure: Delete file.
16832 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16833 * sysdeps/s390/s390-64/start.S: ... here.
16834 * sysdeps/s390/s390-64/elf/configure: Delete.
16836 * configure.in: Remove support for elf directories in sysdeps.
16838 * configure: Regenerated.
16839 * sysdeps/i386/configure: Regenerated.
16840 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16841 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16842 * sysdeps/s390/s390-32/configure: Regenerated.
16843 * sysdeps/s390/s390-64/configure: Regenerated.
16844 * sysdeps/sh/configure: Regenerated.
16845 * sysdeps/sparc/configure: Regenerated.
16846 * sysdeps/x86_64/configure: Regenerated.
16848 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16852 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16853 denormal result into account.
16855 2012-03-25 Roland McGrath <roland@hack.frob.com>
16857 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16858 Reported by Allan McRae <allan@archlinux.org>.
16860 2012-03-23 Jeff Law <law@redhat.com>
16862 * nss/getnssent.c (__nss_getent): Fix typo.
16864 2012-03-23 David S. Miller <davem@davemloft.net>
16866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16868 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16870 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16871 to pad to uint64_t for each field.
16872 (dl_tls_index): Replace unsigned long with uint64_t.
16874 2012-03-23 Daniel Jacobowitz <dmj@google.com>
16875 Paul Pluzhnikov <ppluzhnikov@google.com>
16878 * grp/Makefile (otherlibs): Don't set it.
16879 * inet/Makefile (otherlibs): Likewise.
16880 * login/Makefile (otherlibs): Likewise.
16881 * nscd/Makefile (otherlibs): Likewise.
16882 * posix/Makefile (otherlibs): Likewise.
16883 * pwd/Makefile (otherlibs): Likewise.
16884 * rt/Makefile (otherlibs): Likewise.
16885 * sunrpc/Makefile (otherlibs): Likewise.
16886 * nss/Makefile (otherlibs): Likewise.
16887 Add libnss_files to routines and static-only-routines.
16888 ($(objpfx)getent): Remove rule.
16889 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16890 static-only-routines.
16892 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16895 * math/s_cexp.c: Include <float.h>.
16896 (__cexp): Handle exp result overflowing not necessarily
16897 overflowing both real and imaginary parts of result.
16898 * math/s_cexpf.c: Likewise.
16899 * math/s_cexpl.c: Likewise.
16900 * math/libm-test.inc (cexp_test): Add more tests.
16901 * sysdeps/i386/fpu/libm-test-ulps: Update.
16902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16904 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16906 * include/link.h (ELFW): New macro.
16907 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16908 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16910 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16912 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16915 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16917 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16919 (struct La_x32_retval): Likewise.
16921 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16923 * sysdeps/x86_64/preconfigure.in: New file.
16924 * sysdeps/x86_64/preconfigure: New generated file.
16926 2012-03-22 Joseph Myers <joseph@codesourcery.com>
16929 * math/e_exp2l.c: Include <float.h>.
16930 (__ieee754_exp2l): Handle overflow and underflow cases
16931 separately. Only pass fractional part of argument to
16933 * math/libm-test.inc (exp2_test): Add more tests.
16935 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16936 negating x to take absolute value.
16937 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16939 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16940 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16942 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16943 computing low part if x was negated.
16944 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16946 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16948 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16949 la_x32_gnu_pltexit.
16950 (pltexit): Cast int_retval to ptrdiff_t.
16951 * elf/tst-auditmod3b.c: Likewise.
16952 * elf/tst-auditmod4b.c: Likewise.
16953 * elf/tst-auditmod5b.c: Likewise.
16954 * elf/tst-auditmod6b.c: Likewise.
16955 * elf/tst-auditmod6c.c: Likewise.
16956 * elf/tst-auditmod7b.c: Likewise.
16958 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16959 and x32_gnu_pltexit.
16961 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16962 __ELF_NATIVE_CLASS.
16963 (La_x32_regs): New macro.
16964 (La_x32_retval): Likewise.
16965 (la_x32_gnu_pltenter): New function prototype.
16966 (la_x32_gnu_pltexit): Likewise.
16968 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16970 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16975 * configure.in (libc_cv_cc_nofma): Check for option to disable
16976 generation of FMA instructions.
16977 * configure: Regenerate.
16978 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16979 * sysdeps/ieee754/dbl-64/Makefile: New file.
16980 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16981 Remove brandred-fma4.
16982 (CFLAGS-brandred-fma4.c): Remove.
16983 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16984 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16986 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16989 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16991 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16992 LLONG_MAX != LONG_MAX.
16993 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16994 (_fitoa_word): Likewise.
16995 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16996 LLONG_MAX != LONG_MAX.
16997 * stdio-common/_itowa.h: Include <_itoa.h>.
16998 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16999 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17000 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17001 only if not defined.
17002 (_ITOA_WORD_TYPE): Likewise.
17003 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17004 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17006 2012-03-21 David S. Miller <davem@davemloft.net>
17008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17010 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17012 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17013 of x86_64 when setting libc_cv_slibdir, libdir and
17015 * sysdeps/unix/sysv/linux/configure: Regenerated.
17017 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17019 * manual/lang.texi (Old Varargs): Remove section.
17020 (How Variadic): Update menu.
17021 (va_start): Do not mention varargs.h.
17023 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17024 Joseph Myers <joseph@codesourcery.com>
17026 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17028 * configure: Regenerated.
17030 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17032 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17033 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17036 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17039 * Makefile (files-for-dist): Remove NOTES.
17040 (NOTES): Remove rule.
17041 * README: Don't refer to NOTES.
17042 * manual/creature.texi: Don't include macros.texi.
17043 * manual/intro.texi (creature.texi): Remove comment referring to
17046 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17047 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17048 * configure: Regenerated.
17049 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17050 LIBC_TRY_CC_OPTION.
17051 (libc_cv_as_i686): Likewise.
17052 (libc_cv_cc_avx): Likewise.
17053 (libc_cv_cc_sse2avx): Likewise.
17054 (libc_cv_cc_fma4): Likewise.
17055 (libc_cv_cc_novzeroupper): Likewise.
17056 * sysdeps/i386/configure: Regenerated.
17059 * sysdeps/i386/fpu/s_cexp.S: Remove.
17060 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17061 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17062 * math/libm-test.inc (cexp_test): Add more tests.
17063 * sysdeps/i386/fpu/libm-test-ulps: Update.
17064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17066 2012-03-21 Allan McRae <allan@archlinux.org>
17068 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17070 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17073 * math/w_exp2.c: Do not include <float.h>.
17074 (o_threshold, u_threshold): Remove.
17075 (__exp2): Calculate result before checking finiteness and calling
17077 * math/w_exp2f.c: Likewise.
17078 * math/w_exp2l.c: Likewise.
17079 * math/libm-test.inc (exp2_test): Require overflow exception for
17083 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17084 range of signed 64-bit integers before using fistpll. Remove
17085 checks for whether integers fit in mantissa bits.
17086 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17087 the range of signed 32-bit integers before using fistpl. Remove
17088 checks for whether integers fit in mantissa bits.
17089 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17090 (__ieee754_powl): Test for y outside the range of signed 64-bit
17091 integers before using fistpll. Reduce 64-bit values to 63-bit
17093 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17094 divide-by-zero is raised for zero to large negative powers.
17095 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17096 (__ieee754_powl): Test for y outside the range of signed 64-bit
17097 integers before using fistpll. Reduce 64-bit values to 63-bit
17099 * math/libm-test.inc (pow_test): Add more tests.
17101 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17103 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17104 <stdio-common/_itoa.h>.
17105 * debug/segfault.c: Likewise.
17106 * elf/dl-cache.c: Likewise.
17107 * elf/dl-minimal.c: Likewise.
17108 * elf/dl-misc.c: Likewise.
17109 * elf/dl-sysdep.c: Likewise.
17110 * elf/dl-version.c: Likewise.
17111 * elf/rtld.c: Likewise.
17112 * hurd/hurdsock.c: Likewise.
17113 * hurd/lookup-retry.c: Likewise.
17114 * malloc/malloc.c: Likewise.
17115 * malloc/mtrace.c: Likewise.
17116 * nscd/nscd_getgr_r.c: Likewise.
17117 * nscd/nscd_getpw_r.c: Likewise.
17118 * nscd/nscd_getserv_r.c: Likewise.
17119 * posix/getopt_init.c: Likewise.
17120 * posix/wordexp.c: Likewise.
17121 * stdio-common/_itoa.c: Likewise.
17122 * stdio-common/printf_fphex.c: Likewise.
17123 * stdio-common/vfprintf.c: Likewise.
17124 * string/_strerror.c: Likewise.
17125 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17126 * sysdeps/i386/i686/hp-timing.h: Likewise.
17127 * sysdeps/mach/_strerror.c: Likewise.
17128 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17129 * sysdeps/mach/hurd/sethostid.c: Likewise.
17130 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17131 * sysdeps/mach/xpg-strerror.c: Likewise.
17132 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17133 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17134 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17135 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17136 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17137 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17138 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17139 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17140 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17141 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17142 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17143 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17144 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17145 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17146 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17147 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17148 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17149 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17150 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17151 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17152 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17154 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17156 * stdio-common/_itoa.h: Moved to ...
17157 * sysdeps/generic/_itoa.h: Here.
17159 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17161 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17162 instead of "_itoa.h" and "_itowa.h".
17163 * stdio-common/vfprintf.: Likewise.
17165 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17167 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17169 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17170 (__signbit): Likwise.
17171 (llrintf): Likwise.
17174 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17176 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17179 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17181 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17182 OVERFLOW_EXCEPTION_OK.
17183 * math/libm-test.inc ("Philosophy"): Update comment about
17185 (OVERFLOW_EXCEPTION): Define.
17186 (OVERFLOW_EXCEPTION_OK): Likewise.
17187 (INVALID_EXCEPTION_OK): Renumber.
17188 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17189 (IGNORE_ZERO_INF_SIGN): Likewise.
17190 (test_exceptions): Handle FE_OVERFLOW.
17191 (exp10_test): Expect overflow exceptions.
17192 (exp2_test): Likewise.
17193 (expm1_test): Likewise.
17194 (nextafter_test): Likewise.
17195 (pow_test): Likewise.
17196 (scalbn_test): Likewise.
17197 (scalbln_test): Likewise.
17199 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17201 * sysdeps/x86_64/bits/atomic.h
17202 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17204 (atomic_exchange_acq): Likewise.
17205 (__arch_exchange_and_add_body): Likewise.
17206 (__arch_add_body): Likewise.
17207 (atomic_add_negative): Likewise.
17208 (atomic_add_zero): Likewise.
17210 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17212 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17213 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17215 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17217 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17218 Check __x86_64__ instead of __WORDSIZE.
17220 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17222 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17224 2012-03-19 David S. Miller <davem@davemloft.net>
17226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17228 * sysdeps/sparc/fpu/fenv_private.h: New file.
17229 * sysdeps/sparc/fpu/math_private.h: Use it.
17230 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17232 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17233 (libc_feholdexcept_setroundl): Remove.
17234 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17236 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17237 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17239 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17241 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17242 int64_t instead of long int.
17243 (INSERT_WORDS64): Likwise.
17245 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17247 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17248 _Unwind_GetCFA return to _Unwind_Ptr first.
17250 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17253 * math/s_clog.c: Include <float.h>.
17254 (__clog): Scale large or subnormal inputs.
17255 * math/s_clogf.c: Likewise.
17256 * math/s_clogl.c: Likewise.
17257 * math/s_clog10.c: Include <float.h>.
17258 (M_LOG10_2): Define.
17259 (__clog10): Scale large or subnormal inputs.
17260 * math/s_clog10f.c: Likewise.
17261 * math/s_clog10l.c: Likewise.
17262 * math/libm-test.inc (clog_test): Add more tests.
17263 (clog10_test): Likewise.
17264 * sysdeps/i386/fpu/libm-test-ulps: Update.
17265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17268 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17270 * math/libm-test.inc (atan2_test): Add another test.
17272 * Makerules (common-objdir-compile): Remove.
17273 * sysdeps/unix/Makefile (config-generated): Do not add
17274 $(unix-generated) to variable.
17275 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17276 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17278 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17280 [generic bits/local_lim.h] (before-compile): Do not append to
17282 [generic bits/local_lim.h] (common-generated): Likewise.
17283 [generic sys/param.h] (before-compile): Do not append to variable.
17284 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17285 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17286 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17287 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17289 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17290 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17291 [generic sys/param.h] ($(addprefix
17292 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17293 [generic sys/param.h] (common-generated): Do not append to
17295 [generic sys/param.h] (sysdep_headers): Likewise.
17296 [generic bits/errno.h] (before-compile): Do not append to
17298 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17300 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17301 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17302 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17303 [generic bits/errno.h] (common-generated): Do not append to
17305 [generic bits/ioctls.h] (before-compile): Do not append to
17307 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17309 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17310 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17311 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17313 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17314 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17315 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17316 [generic bits/ioctls.h] (common-generated): Do not append to
17318 [generic sys/syscall.h] (syscall.h): Remove variable.
17319 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17321 [generic sys/syscall.h] (before-compile): Do not append to
17323 [generic sys/syscall.h] (common-generated): Likewise.
17324 * sysdeps/unix/errnos-tmpl.c: Remove file.
17325 * sysdeps/unix/errnos.awk: Likewise.
17326 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17327 * sysdeps/unix/ioctls.awk: Likewise.
17328 * sysdeps/unix/mk-local_lim.c: Likewise.
17329 * sysdeps/unix/snarf-ioctls: Likewise.
17331 2012-03-19 Richard Henderson <rth@twiddle.net>
17333 * sysdeps/i386/fpu/fenv_private.h: New file.
17334 * sysdeps/i386/fpu/math_private.h: Use it.
17335 (math_opt_barrier, math_force_eval): Remove.
17336 (libc_feholdexcept_setround_53bit): Remove.
17337 (libc_feupdateenv_53bit): Remove.
17338 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17339 (math_opt_barrier, math_force_eval): Remove.
17340 (libc_feholdexcept): Remove.
17341 (libc_feholdexcept_setround): Remove.
17342 (libc_fetestexcept, libc_fesetenv): Remove.
17343 (libc_feupdateenv_test): Remove.
17344 (libc_feupdateenv, libc_feholdsetround): Remove.
17345 (libc_feresetround): Remove.
17347 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17348 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17350 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17351 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17352 (libc_feupdateenv_testl): New.
17353 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17354 (libc_feupdateenv_testf): New.
17355 (libc_feupdateenv): Use libc_feupdateenv_test.
17356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17357 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17359 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17360 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17361 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17362 (libc_feresetround_noex): New.
17363 (libc_feresetround_noexf): New.
17364 (libc_feresetround_noexl): New.
17365 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17366 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17367 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17368 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17370 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17371 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17373 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17374 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17375 SET_RESTORE_ROUND_NOEX.
17376 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17377 SET_RESTORE_ROUND_NOEXF.
17378 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17379 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17380 (libc_feholdsetroundf): New.
17381 (libc_feresetround, libc_feresetroundf): New.
17383 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17384 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17385 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17387 * sysdeps/generic/math_private.h: Include <fenv.h>.
17388 (default_libc_feholdexcept): New.
17389 (default_libc_feholdexcept_setround): New.
17390 (default_libc_fesetenv, default_libc_feupdateenv): New.
17391 (libc_feholdexcept): Only define if undefined.
17392 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17393 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17394 (libc_feholdexcept_setroundl): Likewise.
17395 (libc_feholdexcept_setround_53bit): Likewise.
17396 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17397 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17398 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17399 (libc_feupdateenv_53bit): Likewise.
17400 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17401 (libc_feholdexcept): Convert from macro to inline function.
17402 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17403 (libc_fesetenv, libc_feupdateenv): Likewise.
17405 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17406 not previously defined.
17407 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17408 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17409 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17410 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17411 * sysdeps/ieee754/flt-32/math_private.h: New file.
17412 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17413 math_private.h below SET_FLOAT_WORD.
17414 (__isnan, __isinf_ns, __finite): Remove.
17415 (__isnanf, __isinf_nsf, __finitef): Remove.
17417 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17421 2012-03-17 David S. Miller <davem@davemloft.net>
17424 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17427 2012-03-16 David S. Miller <davem@davemloft.net>
17429 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17433 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17435 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17436 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17437 sysdep_routines when subdir is sysvipc.
17438 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17439 __getshmlba helper.
17441 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17443 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17445 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17448 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17450 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17451 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17452 (__lround): Renamed to ...
17453 (__llround): This. Replace long int with long long int.
17454 Define lround functions as aliases of llround functions.
17455 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17457 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17459 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17460 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17461 adresses to uintptr_t. Replace "long int" and "unsigned long
17462 int" with "greg_t" on va_arg.
17464 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17466 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17467 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17469 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17470 Move e_machine check before EI_CLASS check. Handle x32
17471 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17472 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17473 SKIP_EM_IA_64 and include
17474 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17476 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17477 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17478 (add_system_dir): New macro.
17480 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17481 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17483 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17494 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17496 * math/w_j0f.c (j0f): Likewise.
17498 * math/w_j0l.c (__j0l): Likewise.
17500 * math/w_j1.c (j1): Likewise.
17502 * math/w_j1f.c (j1f): Likewise.
17504 * math/w_j1l.c (__j1l): Likewise.
17506 * math/w_jn.c (jn): Likewise.
17508 * math/w_jnf.c (jnf): Likewise.
17510 * math/w_jnl.c (__jnl): Likewise.
17512 * math/libm-test.inc (j0_test): Add more tests.
17513 (j1_test): Likewise.
17514 (jn_test): Likewise. Add trailing semicolon to existing test.
17515 (y0_test): Likewise.
17516 (y1_test): Likewise.
17517 * sysdeps/i386/fpu/libm-test-ulps: Update.
17518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17522 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17523 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17524 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17525 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17526 (__tanl): Set errno for infinite argument.
17527 * sysdeps/i386/fpu/mptan.c: Remove.
17528 * sysdeps/i386/fpu/s_tan.S: Likewise.
17529 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17530 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17531 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17532 * math/libm-test.inc (tan_test): Add more tests and enable more
17533 tests for double and long double.
17534 * sysdeps/i386/fpu/libm-test-ulps: Update.
17535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17537 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17539 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17540 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17542 2012-03-16 Roland McGrath <roland@hack.frob.com>
17544 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17545 * configure.in: Use it for both main tree and add-ons.
17546 * configure: Regenerated.
17548 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17550 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17552 2012-03-16 Joseph Myers <joseph@codesourcery.com>
17554 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17558 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17559 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17560 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17561 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17562 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17564 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17565 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17566 != 0 for prec == 2.
17567 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17568 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17569 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17570 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17571 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17572 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17573 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17574 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17575 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17576 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17577 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17578 * math/libm-test.inc (cos_test): Add more tests and enable more
17579 tests for long double.
17580 (sin_test): Likewise.
17581 (sincos_test): Likewise.
17582 * sysdeps/i386/fpu/libm-test-ulps: Update.
17583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17585 2012-03-16 David S. Miller <davem@davemloft.net>
17587 * sysdeps/sparc/fpu/math_private.h: New file.
17589 2012-03-15 David S. Miller <davem@davemloft.net>
17591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17601 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17605 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17606 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17608 * sysdeps/sparc/sparc-ifunc.h: New file.
17609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17633 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17634 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17635 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17636 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17647 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17648 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17649 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17650 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17651 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17652 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17654 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17656 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17660 2012-03-15 Andreas Jaeger <aj@suse.de>
17663 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17664 ieee754/flt-32 implementation for sin, cos and sincos.
17665 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17666 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17667 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17668 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17669 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17670 ieee754/flt-32 implementation for tan.
17672 * math/libm-test.inc (cos_test): Enable some large input tests for
17674 (sin_test): Likewise.
17675 (sincos_test): Likewise.
17676 (tan_test): Add tests for large input.
17678 * sysdeps/i386/fpu/libm-test-ulps: Update.
17680 2012-03-15 Andreas Jaeger <aj@suse.de>
17683 * math/libm-test.inc (cos_test): Add more test cases.
17684 (sin_test): Likewise.
17685 (sincos_test): Likewise.
17687 2012-03-15 Andreas Jaeger <aj@suse.de>
17690 * math/libm-test.inc (cos_test): Add a test case for large input
17692 (sin_test): Likewise.
17693 (sincos_test): Likewise.
17695 2012-03-15 Andreas Jaeger <aj@suse.de>,
17696 Joseph Myers <joseph@codesourcery.com>
17699 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17700 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17701 * sysdeps/i386/fpu/branred.c: Likewise.
17702 * sysdeps/i386/fpu/dosincos.c: Likewise.
17703 * sysdeps/i386/fpu/mpa.c: Likewise.
17704 * sysdeps/i386/fpu/s_cos.S: Likewise.
17705 * sysdeps/i386/fpu/s_sin.S: Likewise.
17706 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17707 * sysdeps/i386/fpu/sincos32.c: Likewise.
17709 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17711 (libc_feupdateenv_53bit): Define.
17712 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17714 (libc_feupdateenv_53bit): Define.
17716 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17717 53 bit (without extend i386 double precision).
17719 * math/libm-test.inc (sincos_test): Add tests for large input.
17723 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17725 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17729 2012-03-15 David S. Miller <davem@davemloft.net>
17731 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17732 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17733 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17734 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17758 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17759 fmin/fmax sysdep routines.
17760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17762 2012-03-14 David S. Miller <davem@davemloft.net>
17764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17768 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17769 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17770 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17771 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17772 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17784 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17785 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17786 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17787 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17788 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17789 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17790 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17791 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17792 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17836 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17841 * sysdeps/sparc/configure.in: New file.
17842 * sysdeps/sparc/configure: Generate.
17843 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17844 * configure: Regenerate.
17845 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17846 * config.make.in (have-as-vis3): New.
17847 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17848 available use -Av9d instead of -Av9a.
17849 * sysdeps/sparc/sparc64/Makefile: Likewise.
17850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17860 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17861 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17862 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17863 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17865 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17866 fzeros/fnegs to load 0x80000000 into a float register instead of
17868 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17870 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17874 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17875 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17876 ($(inst_includedir)/bits/syscall.h): Remove rule.
17877 ($(objpfx)bits/syscall.d): Include instead of
17878 $(objpfx)syscall-list.d.
17879 (generated): Change syscall-list.h and syscall-list.d to
17880 bits/syscall.h and bits/syscall.d.
17882 2012-03-14 Roland McGrath <roland@hack.frob.com>
17885 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17887 2012-03-14 Joseph Myers <joseph@codesourcery.com>
17890 * math/s_csqrt.c: Include <float.h>.
17891 (__csqrt): Scale large or subnormal inputs.
17892 * math/s_csqrtf.c: Likewise.
17893 * math/s_csqrtl.c: Likewise.
17894 * math/libm-test.inc (csqrt_test): Add more tests.
17895 * sysdeps/i386/fpu/libm-test-ulps: Update.
17896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17899 * math/libm-test.inc (hypot_test): Add more tests.
17901 2012-03-13 David S. Miller <davem@davemloft.net>
17904 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17905 double-precision for the calculation instead of scaling.
17907 2012-03-13 Joseph Myers <joseph@codesourcery.com>
17909 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17910 manipulate bits before adding and subtracting TWO52[sx].
17911 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17912 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17914 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17916 2012-03-13 David S. Miller <davem@davemloft.net>
17918 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17919 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17920 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17921 rtld-global-offsets.h
17922 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17924 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17927 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17929 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17930 'err' in the ifdef scope in which it is actually used.
17932 * nss/nss_db/db-init.c: Include string.h
17934 2012-03-12 David S. Miller <davem@davemloft.net>
17936 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17937 masking out of the most significant byte of random value used.
17938 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17939 Fix coding style in previous change.
17941 * sysdeps/unix/sysv/linux/kernel-features.h
17942 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17943 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17945 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17948 2012-03-11 David S. Miller <davem@davemloft.net>
17950 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17951 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17952 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17953 for 'resultvar' otherwise things get truncated on 64-bit.
17955 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17956 Fix masking out of the most significant byte of random value used.
17958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17960 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17964 2012-03-09 David S. Miller <davem@davemloft.net>
17966 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17967 variables with appropriate CPP guards.
17968 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17969 frame pointer, not the stack pointer. Correct layout comments. Fix test
17970 on resulting framesize and the management of the outregs buffer for pltexit.
17971 Preserve floating point return values across _dl_call_pltexit call.
17972 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17973 framesize and the management of the outregs buffer for pltexit.
17974 Preserve floating point return values across _dl_call_pltexit
17976 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17977 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17978 (print_exit): Fix format string for return register value.
17980 2012-03-10 Joseph Myers <joseph@codesourcery.com>
17982 * sunrpc/Makefile (others): Add rpcgen.
17983 ($(objpfx)rpcgen): Remove special build rule and dependency on
17985 * sunrpc/rpcgen.c: New file.
17987 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17990 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17991 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17992 * sysdeps/i386/crti.S: Likewise.
17993 * sysdeps/i386/crtn.S: Likewise.
17994 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17995 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17996 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17997 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17998 * sysdeps/sh/crti.S: Likewise.
17999 * sysdeps/sh/crtn.S: Likewise.
18000 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18003 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18005 * locale/programs/locfile-kw.gperf: Likewise.
18006 * locale/programs/charmap-kw.h: Regenerated.
18007 * locale/programs/locfile-kw.h: Likewise.
18010 * intl/plural.y: Replace FSF snail mail address with URL.
18011 * intl/plural.c: Regenerated.
18013 2012-03-09 Richard Henderson <rth@twiddle.net>
18015 * include/math_private.h: Remove file.
18016 * math/math_private.h: Move file ...
18017 * sysdeps/generic/math_private.h: ... here.
18019 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18020 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18021 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18023 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18024 and <math_private.h>.
18025 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18026 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18027 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18028 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18029 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18036 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18038 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18039 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18069 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18070 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18071 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18072 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18074 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18075 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18077 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18078 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18079 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18081 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18083 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18084 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18103 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18104 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18105 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18106 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18107 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18108 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18109 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18112 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18113 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18114 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18115 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18116 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18117 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18118 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18119 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18120 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18121 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18122 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18123 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18124 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18125 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18126 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18127 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18128 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18129 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18130 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18131 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18132 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18133 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18134 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18135 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18136 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18137 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18138 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18139 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18140 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18141 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18142 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18143 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18144 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18145 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18146 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18147 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18148 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18149 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18150 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18151 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18152 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18153 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18154 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18155 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18156 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18157 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18158 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18159 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18160 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18161 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18162 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18163 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18164 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18165 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18166 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18167 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18168 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18169 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18170 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18171 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18172 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18173 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18174 * sysdeps/ieee754/k_standard.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18242 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18248 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18249 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18252 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18268 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18278 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18290 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18292 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18294 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18295 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18296 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18297 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18298 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18300 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18301 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18302 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18303 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18304 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18307 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18308 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18323 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18324 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18325 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18331 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18332 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18333 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18334 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18335 * sysdeps/ieee754/s_lib_version.c: Likewise.
18336 * sysdeps/ieee754/s_matherr.c: Likewise.
18337 * sysdeps/ieee754/s_signgam.c: Likewise.
18338 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18339 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18340 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18341 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18342 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18343 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18344 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18345 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18346 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18347 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18348 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18349 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18350 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18351 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18352 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18353 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18354 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18355 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18356 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18357 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18358 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18360 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18362 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18363 * sunrpc/rpc_main.c: Likewise.
18364 * sunrpc/rpc_svcout.c: Likewise.
18366 2012-03-09 David S. Miller <davem@davemloft.net>
18368 * include/math_private.h: New file.
18370 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18372 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18373 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18374 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18375 from <bits/socket_type.h>.
18376 (enum __socket_type): Don't define here.
18377 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18379 bits/socket_type.h.
18382 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18383 checking __USE_GNU.
18385 * Makerules ($(inst_includedir)/%.h): New rule.
18386 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18387 (install-others): Remove variable setting.
18388 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18390 2012-03-08 Richard Henderson <rth@twiddle.net>
18392 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18393 from macro to inline function; merge with the
18394 !__LIBC_INTERNAL_MATH_INLINES version.
18395 (__ieee754_sqrtf): Likewise.
18397 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18398 to inline function.
18399 (__rintf, __floor, __floorf): Likewise.
18401 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18402 macro to inline function.
18403 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18405 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18406 not <math/math_private.h>.
18408 2012-03-08 David S. Miller <davem@davemloft.net>
18410 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18412 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18414 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18416 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18418 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18419 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18421 2012-03-08 Ulrich Drepper <drepper@gmail.com>
18423 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18424 be defined individually, they must be defined as a block. Define
18425 S for printing a string instead of hidint the different by using a
18426 macro for adding the 'l'.
18427 * stdio-common/tst-fphex-wide.c: Adjust.
18429 2012-03-07 Marek Polacek <polacek@redhat.com>
18431 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18433 2012-03-08 Marek Polacek <polacek@redhat.com>
18436 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18437 * stdio-common/tst-fphex.c: Define a few macros to make the
18438 test reusable. Use them.
18439 * stdio-common/tst-fphex-wide.c: New file.
18441 2012-03-08 Joseph Myers <joseph@codesourcery.com>
18444 * manual/macros.texi (gnusystems): New macro.
18445 (nongnusystems): Likewise.
18446 (gnulinuxhurdsystems): Likewise.
18447 (gnuhurdsystems): Likewise..
18448 (gnulinuxsystems): Likewise.
18449 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18450 variants of the GNU system, not "GNU system".
18451 * manual/conf.texi: Likewise.
18452 * manual/errno.texi: Likewise. Update example of errno macro
18454 * manual/filesys.texi: Likewise.
18455 (getumask): Document as specific to GNU/Hurd.
18456 * manual/install.texi: Likewise. Reword some references to
18458 * manual/intro.texi: Likewise.
18459 * manual/io.texi: Likewise.
18460 (File Name Portability): Detail which constraints are inapplicable
18461 to all GNU systems and which are only inapplicable to GNU/Hurd.
18462 * manual/job.texi: Likewise.
18463 * manual/llio.texi: Likewise.
18464 (O_NOCTTY): Document as present on GNU/Linux.
18465 * manual/maint.texi: Likewise.
18466 * manual/memory.texi: Likewise.
18467 * manual/pattern.texi: Likewise.
18468 * manual/pipe.texi: Likewise.
18469 * manual/process.texi: Likewise.
18470 * manual/resource.texi: Likewise.
18471 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18473 * manual/setjmp.texi: Likewise.
18474 * manual/signal.texi: Likewise.
18475 * manual/startup.texi: Likewise.
18476 * manual/stdio.texi: Likewise.
18477 * manual/terminal.texi: Likewise.
18478 (ONLCR): Document as POSIX.
18479 (OXTABS): Document availability on GNU/Linux as XTABS.
18480 (ONOEOT): Document availability separately from other bits.
18481 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18482 * manual/time.texi: Likewise.
18483 * manual/users.texi: Likewise.
18484 * INSTALL: Regenerated.
18485 * sysdeps/gnu/errlist.c: Regenerated.
18487 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18488 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18489 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18491 * configure: Regenerated.
18493 2012-03-07 Joseph Myers <joseph@codesourcery.com>
18495 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18496 default includes instead of AC_HEADER_CHECK.
18497 * sysdeps/i386/configure: Regenerated.
18500 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18501 * math/s_cacoshf.c (__cacoshf): Likewise.
18502 * math/s_cacoshl.c (__cacoshl): Likewise.
18503 * math/s_casinh.c (__casinh): Set signs of result from argument.
18504 * math/s_casinhf.c (__casinhf): Likewise.
18505 * math/s_casinhl.c (__casinhl): Likewise.
18506 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18507 (casinh_test): Add more tests.
18508 * sysdeps/i386/fpu/libm-test-ulps: Update.
18509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18511 2012-03-07 Ulrich Drepper <drepper@gmail.com>
18513 * po/zh_TW.po: Update from translation team.
18515 * login/Makefile (distribute): Remove variable.
18516 * catgets/Makefile: Likewise.
18517 * mach/Makefile: Likewise.
18518 * malloc/Makefile: Likewise.
18519 * misc/Makefile: Likewise.
18520 * iconv/Makefile: Likewise.
18521 * nscd/Makefile: Likewise.
18522 * hurd/Makefile: Likewise.
18523 * manual/Makefile: Likewise.
18524 * locale/Makefile: Likewise.
18525 * intl/Makefile: Likewise.
18526 * conform/Makefile: Likewise.
18527 * nss/Makefile: Likewise.
18528 * time/Makefile: Likewise.
18529 * soft-fp/Makefile: Likewise.
18530 * dirent/Makefile: Likewise.
18531 * gmon/Makefile: Likewise.
18532 * po/Makefile: Likewise.
18533 * rt/Makefile: Likewise.
18534 * socket/Makefile: Likewise.
18535 * math/Makefile: Likewise.
18536 * signal/Makefile: Likewise.
18537 * debug/Makefile: Likewise.
18538 * elf/Makefile: Likewise.
18539 * timezone/Makefile: Likewise.
18540 * stdlib/Makefile: Likewise.
18541 * iconvdata/Makefile: Likewise.
18542 * sunrpc/Makefile: Likewise.
18543 * io/Makefile: Likewise.
18544 * argp/Makefile: Likewise.
18545 * inet/Makefile: Likewise.
18546 * hesiod/Makefile: Likewise.
18547 * grp/Makefile: Likewise.
18548 * csu/Makefile: Likewise.
18549 * wctype/Makefile: Likewise.
18550 * crypt/Makefile: Likewise.
18551 * libio/Makefile: Likewise.
18552 * string/Makefile: Likewise.
18553 * nis/Makefile: Likewise.
18554 * resolv/Makefile: Likewise.
18555 * stdio-common/Makefile: Likewise.
18556 * wcsmbs/Makefile: Likewise.
18557 * dlfcn/Makefile: Likewise.
18558 * posix/Makefile: Likewise.
18561 * timezone/Makefile: Don't install timezone files, just the programs
18564 2012-03-06 Ulrich Drepper <drepper@gmail.com>
18566 * nss/databases.def: Add missing gshadow entry.
18568 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18570 2012-03-06 Marek Polacek <polacek@redhat.com>
18573 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18574 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18575 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18576 * stdio-common/tst-long-dbl-fphex.c: New file.
18578 2012-03-06 David S. Miller <davem@davemloft.net>
18580 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18581 (set_obp_int): New function.
18582 (get_obp_int): New function.
18583 (__get_clockfreq_via_dev_openprom): Likewise.
18584 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18585 Avoid unused variable warnings on 'val' and use builtin_expect.
18586 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18588 (INLINE_CLONE_SYSCALL): Likewise.
18590 2012-03-05 David S. Miller <davem@davemloft.net>
18592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18594 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18598 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18599 only for |x| >= 40.
18600 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18602 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
18604 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18605 Replace gettimeofday with __vdso_gettimeofday.
18607 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18608 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18609 __vdso_clock_gettime and __vdso_getcpu.
18611 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18612 time with __vdso_time.
18614 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18616 * manual/lang.texi (size_t): Note types to which size_t may be
18617 equivalent with the GNU C Library, but do not describe when
18618 differences between them are significant.
18620 2012-03-05 Andreas Jaeger <aj@suse.de>
18622 * sysdeps/i386/fpu/libm-test-ulps: Update.
18624 2012-03-05 Joseph Myers <joseph@codesourcery.com>
18627 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18628 (__ieee754_pow): Save and restore rounding mode and use
18629 round-to-nearest for main computations.
18630 * math/libm-test.inc (pow_test_tonearest): New function.
18631 (pow_test_towardzero): Likewise.
18632 (pow_test_downward): Likewise.
18633 (pow_test_upward): Likewise.
18634 (main): Call the new functions.
18635 * sysdeps/i386/fpu/libm-test-ulps: Update.
18636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18639 * math/libm-test.inc (cosh_test_tonearest): New function.
18640 (cosh_test_towardzero): Likewise.
18641 (cosh_test_downward): Likewise.
18642 (cosh_test_upward): Likewise.
18643 (sinh_test_tonearest): Likewise.
18644 (sinh_test_towardzero): Likewise.
18645 (sinh_test_downward): Likewise.
18646 (sinh_test_upward): Likewise.
18647 (main): Call the new functions.
18648 * sysdeps/i386/fpu/libm-test-ulps: Update.
18649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18651 2012-03-05 Tom de Vries <tom@codesourcery.com>
18653 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18654 default stack guard is set in last bytes.
18655 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18657 2012-03-05 Kees Cook <keescook@chromium.org>
18659 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18662 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18663 possibly allocate from heap instead of stack.
18664 * stdio-common/bug-vfprintf-nargs.c: New file.
18665 * stdio-common/Makefile (tests): Add nargs overflow test.
18667 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18671 2012-03-03 Marek Polacek <polacek@redhat.com>
18673 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18674 * math/math_private.h: Likewise.
18675 * stdlib/tst-strtod.c: Likewise.
18676 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18677 * sysdeps/x86_64/bits/atomic.h: Likewise.
18679 2012-03-02 David S. Miller <davem@davemloft.net>
18681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18685 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18686 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18687 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18688 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18690 2012-03-02 Roland McGrath <roland@hack.frob.com>
18693 * manual/examples/README: New file, says the example source files
18694 can be used under GPL>=2.
18695 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18696 line containing just "*/".
18697 * manual/examples/add.c: Add copyright header (GPL>=2).
18698 * manual/examples/argp-ex1.c: Likewise.
18699 * manual/examples/argp-ex2.c: Likewise.
18700 * manual/examples/argp-ex3.c: Likewise.
18701 * manual/examples/argp-ex4.c: Likewise.
18702 * manual/examples/atexit.c: Likewise.
18703 * manual/examples/db.c: Likewise.
18704 * manual/examples/dir.c: Likewise.
18705 * manual/examples/dir2.c: Likewise.
18706 * manual/examples/execinfo.c: Likewise.
18707 * manual/examples/filecli.c: Likewise.
18708 * manual/examples/filesrv.c: Likewise.
18709 * manual/examples/fmtmsgexpl.c: Likewise.
18710 * manual/examples/genpass.c: Likewise.
18711 * manual/examples/inetcli.c: Likewise.
18712 * manual/examples/inetsrv.c: Likewise.
18713 * manual/examples/isockad.c: Likewise.
18714 * manual/examples/longopt.c: Likewise.
18715 * manual/examples/memopen.c: Likewise.
18716 * manual/examples/memstrm.c: Likewise.
18717 * manual/examples/mkfsock.c: Likewise.
18718 * manual/examples/mkisock.c: Likewise.
18719 * manual/examples/mygetpass.c: Likewise.
18720 * manual/examples/pipe.c: Likewise.
18721 * manual/examples/popen.c: Likewise.
18722 * manual/examples/rprintf.c: Likewise.
18723 * manual/examples/search.c: Likewise.
18724 * manual/examples/select.c: Likewise.
18725 * manual/examples/setjmp.c: Likewise.
18726 * manual/examples/sigh1.c: Likewise.
18727 * manual/examples/sigusr.c: Likewise.
18728 * manual/examples/stpcpy.c: Likewise.
18729 * manual/examples/strdupa.c: Likewise.
18730 * manual/examples/strftim.c: Likewise.
18731 * manual/examples/strncat.c: Likewise.
18732 * manual/examples/subopt.c: Likewise.
18733 * manual/examples/swapcontext.c: Likewise.
18734 * manual/examples/termios.c: Likewise.
18735 * manual/examples/testopt.c: Likewise.
18736 * manual/examples/testpass.c: Likewise.
18737 * manual/examples/timeval_subtract.c: Likewise.
18740 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18742 * manual/timeval_subtract.c.texi: ... here, new file.
18744 2012-03-02 David S. Miller <davem@davemloft.net>
18746 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18748 2012-03-02 Joseph Myers <joseph@codesourcery.com>
18751 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18752 (__sin): Save and restore rounding mode and use round-to-nearest
18753 for all computations.
18754 (__cos): Save and restore rounding mode and use round-to-nearest
18755 for all computations.
18756 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18758 (tan): Save and restore rounding mode and use round-to-nearest for
18760 * math/libm-test.inc (cos_test_tonearest): New function.
18761 (cos_test_towardzero): Likewise.
18762 (cos_test_downward): Likewise.
18763 (cos_test_upward): Likewise.
18764 (sin_test_tonearest): Likewise.
18765 (sin_test_towardzero): Likewise.
18766 (sin_test_downward): Likewise.
18767 (sin_test_upward): Likewise.
18768 (tan_test_tonearest): Likewise.
18769 (tan_test_towardzero): Likewise.
18770 (tan_test_downward): Likewise.
18771 (tan_test_upward): Likewise.
18772 (main): Call the new functions.
18773 * sysdeps/i386/fpu/libm-test-ulps: Update.
18774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18777 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18778 small n, then large n, before computing and testing k+n.
18779 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18780 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18782 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18784 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18785 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18786 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18787 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18788 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18789 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18790 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18791 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18792 * math/libm-test.inc (scalbn_test): Add more tests.
18793 (scalbln_test): Likewise.
18795 * manual/filesys.texi (mode_t): Describe constraints on size and
18796 signedness, not exact equivalence to a particular type.
18798 (ino64_t): Likewise.
18800 (nlink_t): Likewise.
18801 (blkcnt_t): Likewise.
18802 (blkcnt64_t): Likewise.
18803 * manual/llio.texi (off_t): Likewise.
18806 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18807 (__ieee754_exp): Save and restore rounding mode and use
18808 round-to-nearest for all computations.
18809 * math/libm-test.inc (exp_test_tonearest): New function.
18810 (exp_test_towardzero): Likewise.
18811 (exp_test_downward): Likewise.
18812 (exp_test_upward): Likewise.
18813 (main): Call the new functions.
18814 * sysdeps/i386/fpu/libm-test-ulps: Update.
18815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18817 2012-03-01 Chris Demetriou <cgd@google.com>
18819 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18820 have predictable order.
18822 2012-03-01 David S. Miller <davem@davemloft.net>
18824 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18826 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18827 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18828 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18829 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18831 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18832 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18833 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18835 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18836 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18837 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18838 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18839 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18843 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18844 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18845 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18847 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18848 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18849 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18850 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18851 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18852 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18853 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18854 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18855 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18856 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18857 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18858 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18859 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18860 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18861 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18862 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18863 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18864 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18865 * sysdeps/sparc/elf/configure: Regenerated.
18867 2012-03-01 Joseph Myers <joseph@codesourcery.com>
18869 * configure.in (AS, LD): Require binutils 2.20 or later.
18870 * configure: Regenerated.
18871 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18872 as required minimum version.
18873 * INSTALL: Regenerated.
18877 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18878 before squaring exponent.
18879 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18880 bottom long double and 27 bits of top long double before squaring
18882 * math/libm-test.inc (erfc_test): Add more tests.
18883 * sysdeps/i386/fpu/libm-test-ulps: Update.
18884 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18887 2012-03-01 Kai Tietz <ktietz@redhat.com>
18889 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18890 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18891 containing bit-fields.
18892 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18893 * soft-fp/single.h (_FP_UNION_S): Likewise.
18894 * soft-fp/double.h (_FP_UNION_D): Likewise.
18896 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18899 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18900 not include ../strcmp.S.
18901 [USE_AS_STRNCASECMP_L]: Likewise.
18902 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18903 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18904 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18905 (__strncasecmp_l_ia32): Define as alias to
18906 __strncasecmp_l_nonascii.
18909 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18910 * sysdeps/i386/fpu/libm-test-ulps: Update.
18911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18913 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18916 2012-02-29 Jeff Law <law@redhat.com>
18918 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18919 out of bounds read.
18921 2012-02-29 Marek Polacek <polacek@redhat.com>
18924 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18925 * elf/Makefile: Add rules to run tst-unused-dep.out.
18927 2012-02-28 David S. Miller <davem@davemloft.net>
18929 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18930 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18931 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18932 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18933 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18934 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18936 2012-02-29 Joseph Myers <joseph@codesourcery.com>
18938 * math/libm-test.inc (llround_test): Move one test from
18939 lround_test. Use TEST_f_L in moved test.
18940 (lround_test): Move misplaced test to llround_test. Add testcase
18943 2012-02-28 Ulrich Drepper <drepper@gmail.com>
18945 * sysdeps/x86_64/fpu/e_expf.S: New file.
18946 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18948 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18951 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18952 of remain_len that may cause incomplete multi-byte character and
18954 * posix/bug-regex33.c: New file.
18955 * posix/Makefile (tests): Add bug-regex33.
18957 2012-02-28 Joseph Myers <joseph@codesourcery.com>
18959 * manual/macros.texi: New file.
18960 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18961 * manual/libc.texinfo: Include macros.texi.
18962 * manual/creatute.texi: Likewise.
18963 * manual/install.texi: Likewise.
18964 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18965 @glibcadj{} in references to the GNU C Library.
18966 * manual/charset.texi: Likewise.
18967 * manual/conf.texi: Likewise.
18968 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18969 when not using those macros.
18970 * manual/creature.texi: Likewise.
18971 * manual/crypt.texi: Likewise.
18972 * manual/errno.texi: Likewise.
18973 * manual/filesys.texi: Likewise.
18974 * manual/header.texi: Likewise.
18975 * manual/install.texi: Likewise.
18976 * manual/intro.texi: Likewise.
18977 * manual/io.texi: Likewise.
18978 * manual/job.texi: Likewise.
18979 * manual/lang.texi: Likewise.
18980 * manual/libc.texiinfo: Likewise.
18981 * manual/llio.texi: Likewise.
18982 * manual/locale.texi: Likewise.
18983 * manual/maint.texi: Likewise.
18984 * manual/math.texi: Likewise.
18985 * manual/memory.texi: Likewise.
18986 * manual/message.texi: Likewise.
18987 * manual/nss.texi: Likewise.
18988 * manual/pattern.texi: Likewise.
18989 * manual/process.texi: Likewise.
18990 * manual/resource.texi: Likewise.
18991 * manual/search.texi: Likewise.
18992 * manual/setjmp.texi: Likewise.
18993 * manual/signal.texi: Likewise.
18994 * manual/socket.texi: Likewise.
18995 * manual/startup.texi: Likewise.
18996 * manual/stdio.texi: Likewise.
18997 * manual/string.texi: Likewise.
18998 * manual/sysinfo.texi: Likewise.
18999 * manual/syslog.texi: Likewise.
19000 * manual/terminal.texi: Likewise.
19001 * manual/time.texi: Likewise.
19002 * manual/users.texi: Likewise.
19003 * INSTALL: Regenerated.
19004 * NOTES: Regenerated.
19005 * sysdeps/gnu/errlist.c: Regenerated.
19007 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19009 * include/dirent.h: Include <dirstream.h> before
19012 2012-02-28 David S. Miller <davem@davemloft.net>
19014 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19015 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19016 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19017 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19019 2012-02-27 David S. Miller <davem@davemloft.net>
19021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19023 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19024 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19027 frame pointer instead of stack pointer relative arg slot.
19028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19029 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19030 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19032 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19035 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19037 2012-02-27 David S. Miller <davem@davemloft.net>
19039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19043 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19044 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19045 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19046 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19048 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19050 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19051 later. Allow versions 5-9.
19052 * configure: Regenerated.
19053 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19054 required minimum version and 4.6 as recommended version. Do not
19055 mention bugs in GCC 2.7 and 2.8.
19056 * INSTALL: Regenerated.
19058 2012-02-27 David S. Miller <davem@davemloft.net>
19060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19064 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19065 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19066 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19067 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19069 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19070 manipulate bits before adding and subtracting TWO112[sx].
19071 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19073 2012-02-27 Roland McGrath <roland@hack.frob.com>
19076 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19077 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19078 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19079 being in POSIX, because they are in 1003.1-2008.
19081 * rt/tst-aio.c: Include <fcntl.h>.
19082 * rt/tst-aio7.c: Likewise.
19083 * rt/tst-aio64.c: Likewise.
19085 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19087 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19089 * manual/install.texi (--with-headers): Describe headers as
19090 interface headers, not private headers.
19091 (Specific advice for GNU/Linux systems): Describe use of headers
19092 from "make headers_install", not private headers from older
19094 * INSTALL: Regenerated.
19095 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19097 * sysdeps/unix/sysv/linux/configure: Regenerated.
19099 * manual/llio.texi (fclean): Remove documentation.
19101 * manual/Makefile (libc-texi-generated): New variable. Include
19103 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19104 $(libc-texi-generated), not duplicated list of files.
19105 (version.texi, stamp-version): New rules.
19106 (realclean): Remove $(libc-texi-generated), not individual files
19107 from that list. Do not remove dir-add.texinfo.
19108 * manual/libc.texinfo: Comment out uses of edition numbers and
19109 references to printed manual. Remove last-updated dates.
19110 (EDITION): Comment out.
19112 (VERSION, UPDATED): Remove.
19113 (version.texi): Include.
19115 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19117 * sysdeps/posix/spawni.c: Include <signal.h>.
19118 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19119 * sysdeps/pthread/aio_fsync.c: Likewise.
19121 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19123 * conform/Makefile (tests): Run only when not cross-compiling and
19124 when fast-check is not defined.
19126 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19127 * conform/data/limits.h-data: Fixes for POSIX2008.
19128 * conform/run-conformtest.sh: Run all tests.
19129 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19131 * include/bits/dlfcn.h: Likewise.
19132 * include/langinfo.h: Likewise.
19133 * include/monetary.h: Likewise.
19134 * include/sys/poll.h: Likewise.
19136 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19138 * posix/spawn.h: Define __need_sigset_t.
19139 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19140 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19141 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19142 to get sigevent_t only.
19143 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19144 only for __USE_GNU.
19145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19146 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19147 process_vm_writev only for __USE_GNU.
19148 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19150 * conform/Makefile: For now ignore errors from run-conformtest.
19151 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19152 POSIX to avoid namespace pollution. Don't prepend headers.
19153 * conform/data/aio.h-data: Fixes for POSIX testing.
19154 * conform/data/fcntl.h-data: Likewise.
19155 * conform/data/glob.h-data: Likewise.
19156 * conform/data/grp.h-data: Likewise.
19157 * conform/data/pthread.h-data: Likewise.
19158 * conform/data/pwd.h-data: Likewise.
19159 * conform/data/signal.h-data: Likewise.
19160 * conform/data/spawn.h-data: Likewise.
19161 * conform/data/stdio.h-data: Likewise.
19162 * conform/data/stdlib.h-data: Likewise.
19163 * conform/data/stropts.h-data: Likewise.
19164 * conform/data/sys/mman.h-data: Likewise.
19165 * conform/data/sys/stat.h-data: Likewise.
19166 * conform/data/sys/types.h-data: Likewise.
19167 * conform/data/sys/wait.h-data: Likewise.
19168 * conform/data/time.h-data: Likewise.
19169 * conform/data/unistd.h-data: Likewise.
19170 * conform/data/utime.h-data: Likewise.
19172 * io/sys/stat.h: fchmod was always in POSIX.
19173 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19174 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19175 * rt/aio.h: Define __need_timespec before including <time.h>.
19176 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19177 struct. Add forward declaration of pthread_attr_t and use it in
19179 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19180 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19181 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19182 always remove CLK_TCK definition.
19184 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19186 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19188 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19190 * conform/run-conformtest.sh: New file.
19191 * conform/Makefile: Run run-conformtest for tests.
19192 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19195 * conform/data/uchar.h-data: New file.
19196 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19197 * conform/data/arpa/inet.h-data: Likewise.
19198 * conform/data/assert.h-data: Likewise.
19199 * conform/data/complex.h-data: Likewise.
19200 * conform/data/cpio.h-data: Likewise.
19201 * conform/data/ctype.h-data: Likewise.
19202 * conform/data/dirent.h-data: Likewise.
19203 * conform/data/dlfcn.h-data: Likewise.
19204 * conform/data/errno.h-data: Likewise.
19205 * conform/data/fcntl.h-data: Likewise.
19206 * conform/data/float.h-data: Likewise.
19207 * conform/data/fmtmsg.h-data: Likewise.
19208 * conform/data/fnmatch.h-data: Likewise.
19209 * conform/data/ftw.h-data: Likewise.
19210 * conform/data/glob.h-data: Likewise.
19211 * conform/data/grp.h-data: Likewise.
19212 * conform/data/iconv.h-data: Likewise.
19213 * conform/data/inttypes.h-data: Likewise.
19214 * conform/data/langinfo.h-data: Likewise.
19215 * conform/data/libgen.h-data: Likewise.
19216 * conform/data/limits.h-data: Likewise.
19217 * conform/data/locale.h-data: Likewise.
19218 * conform/data/math.h-data: Likewise.
19219 * conform/data/monetary.h-data: Likewise.
19220 * conform/data/mqueue.h-data: Likewise.
19221 * conform/data/ndbm.h-data: Likewise.
19222 * conform/data/net/if.h-data: Likewise.
19223 * conform/data/netdb.h-data: Likewise.
19224 * conform/data/netinet/in.h-data: Likewise.
19225 * conform/data/nl_types.h-data: Likewise.
19226 * conform/data/poll.h-data: Likewise.
19227 * conform/data/pthread.h-data: Likewise.
19228 * conform/data/pwd.h-data: Likewise.
19229 * conform/data/regex.h-data: Likewise.
19230 * conform/data/sched.h-data: Likewise.
19231 * conform/data/search.h-data: Likewise.
19232 * conform/data/semaphore.h-data: Likewise.
19233 * conform/data/setjmp.h-data: Likewise.
19234 * conform/data/signal.h-data: Likewise.
19235 * conform/data/spawn.h-data: Likewise.
19236 * conform/data/stdarg.h-data: Likewise.
19237 * conform/data/stdio.h-data: Likewise.
19238 * conform/data/stdlib.h-data: Likewise.
19239 * conform/data/string.h-data: Likewise.
19240 * conform/data/strings.h-data: Likewise.
19241 * conform/data/stropts.h-data: Likewise.
19242 * conform/data/sys/ipc.h-data: Likewise.
19243 * conform/data/sys/mman.h-data: Likewise.
19244 * conform/data/sys/msg.h-data: Likewise.
19245 * conform/data/sys/resource.h-data: Likewise.
19246 * conform/data/sys/select.h-data: Likewise.
19247 * conform/data/sys/sem.h-data: Likewise.
19248 * conform/data/sys/shm.h-data: Likewise.
19249 * conform/data/sys/socket.h-data: Likewise.
19250 * conform/data/sys/stat.h-data: Likewise.
19251 * conform/data/sys/statvfs.h-data: Likewise.
19252 * conform/data/sys/time.h-data: Likewise.
19253 * conform/data/sys/timeb.h-data: Likewise.
19254 * conform/data/sys/times.h-data: Likewise.
19255 * conform/data/sys/types.h-data: Likewise.
19256 * conform/data/sys/uio.h-data: Likewise.
19257 * conform/data/sys/un.h-data: Likewise.
19258 * conform/data/sys/utsname.h-data: Likewise.
19259 * conform/data/sys/wait.h-data: Likewise.
19260 * conform/data/syslog.h-data: Likewise.
19261 * conform/data/tar.h-data: Likewise.
19262 * conform/data/termios.h-data: Likewise.
19263 * conform/data/utime.h-data: Likewise.
19264 * conform/data/utmpx.h-data: Likewise.
19265 * conform/data/varargs.h-data: Likewise.
19266 * conform/data/wchar.h-data: Likewise.
19267 * conform/data/wctype.h-data: Likewise.
19268 * conform/data/wordexp.h-data: Likewise.
19270 * include/stropts.h: New file.
19271 * include/uchar.h: New file.
19272 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19273 * include/assert.h: Likewise.
19274 * include/ctype.h: Likewise.
19275 * include/dirent.h: Likewise.
19276 * include/dlfcn.h: Likewise.
19277 * include/fcntl.h: Likewise.
19278 * include/fnmatch.h: Likewise.
19279 * include/glob.h: Likewise.
19280 * include/grp.h: Likewise.
19281 * include/libio.h: Likewise.
19282 * include/locale.h: Likewise.
19283 * include/math.h: Likewise.
19284 * include/net/if.h: Likewise.
19285 * include/netdb.h: Likewise.
19286 * include/netinet/in.h: Likewise.
19287 * include/pthread.h: Likewise.
19288 * include/pwd.h: Likewise.
19289 * include/regex.h: Likewise.
19290 * include/sched.h: Likewise.
19291 * include/search.h: Likewise.
19292 * include/setjmp.h: Likewise.
19293 * include/signal.h: Likewise.
19294 * include/stdio.h: Likewise.
19295 * include/stdlib.h: Likewise.
19296 * include/string.h: Likewise.
19297 * include/sys/cdefs.h: Likewise.
19298 * include/sys/mman.h: Likewise.
19299 * include/sys/msg.h: Likewise.
19300 * include/sys/resource.h: Likewise.
19301 * include/sys/select.h: Likewise.
19302 * include/sys/socket.h: Likewise.
19303 * include/sys/stat.h: Likewise.
19304 * include/sys/statvfs.h: Likewise.
19305 * include/sys/time.h: Likewise.
19306 * include/sys/times.h: Likewise.
19307 * include/sys/uio.h: Likewise.
19308 * include/sys/utsname.h: Likewise.
19309 * include/sys/wait.h: Likewise.
19310 * include/termios.h: Likewise.
19311 * include/time.h: Likewise.
19312 * include/ulimit.h: Likewise.
19313 * include/unistd.h: Likewise.
19314 * include/utime.h: Likewise.
19315 * include/wchar.h: Likewise.
19316 * include/wctype.h: Likewise.
19317 * include/wordexp.h: Likewise.
19319 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19321 * time/time.h: TIME_UTC must be a macro.
19322 Make timespec_get available for ISO C11 only as well.
19324 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19326 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19327 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19329 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19331 * configure.in: Use -o not -a in test for unsupported multi-arch.
19333 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19335 * manual/texinfo.tex: Update to version 2012-01-19.16.
19337 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19339 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19341 2012-02-24 Roland McGrath <roland@hack.frob.com>
19344 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19345 * manual/fdl-1.3.texi: New file.
19346 * manual/fdl-1.1.texi: File removed.
19349 * manual/libc.texinfo (FDL_VERSION): New @set.
19350 Use it for mention of FDL in cover text.
19351 (Documentation License): Use it in @include file name.
19353 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19354 Roland McGrath <roland@hack.frob.com>
19357 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19358 not LONG_LONG_MAX and LONG_LONG_MIN.
19359 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19360 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19362 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19364 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19368 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19369 manipulate bits before adding and subtracting TWO23[sx].
19370 * math/libm-test.inc (nearbyint_test): Add more tests.
19372 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19375 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19376 bits before adding and subtracting TWO23[sx].
19377 * math/libm-test.inc (rint_test): Add more tests.
19378 (rint_test_tonearest): Likewise.
19379 (rint_test_towardzero): Likewise.
19380 (rint_test_downward): Likewise.
19381 (rint_test_upward: Likewise.
19383 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19386 * include/stdc-predef.h: New file. Extracted from features.h.
19387 * include/features.h: Include stdc-predef.h.
19388 * Makefile (headers): Add stdc-predef.h.
19389 * CONFORMANCE (Compiler limitations): Update.
19391 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19393 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19395 2012-02-21 David S. Miller <davem@davemloft.net>
19397 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19398 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19400 2012-02-20 David S. Miller <davem@davemloft.net>
19402 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19403 using a normal save/restore sequence, rather than allocating a
19404 dummy stack frame just to store a frame pointer and restore.
19405 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19407 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19409 * manual/install.texi: Fix stray word in line-wrapped comment.
19411 2012-02-20 David S. Miller <davem@davemloft.net>
19413 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19414 both binutils and gcc support GOTDATA.
19416 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19417 "rd %pc" in the PIC register setup sequences.
19419 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19420 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19421 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19422 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19423 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19424 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19425 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19426 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19427 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19428 (SYSCALL_ERROR_HANDLER): Likewise.
19429 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19430 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19431 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19432 (SYSCALL_ERROR_HANDLER): Likewise.
19434 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19435 (HAVE_GCC_GOTDATA): New.
19436 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19437 relocation support in both binutils and gcc.
19438 * sysdeps/sparc/elf/configure: Regenerate.
19440 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19441 * sysdeps/sparc/sparc32/elf/configure: Delete.
19442 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19443 * sysdeps/sparc/sparc64/elf/configure: Delete.
19444 * sysdeps/sparc/elf/configure.in: New file.
19445 * sysdeps/sparc/elf/configure: Generate.
19447 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19448 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19449 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19450 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19451 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19453 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19455 * manual/install.texi: Do not mention specific glibc version
19457 * manual/libc.texinfo (VERSION, UPDATED): Update.
19458 (@copying): Use @copyright{} and range of years.
19460 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19463 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19464 [crti.S not in sysdirs] (generated): Do not append.
19465 [crti.S not in sysdirs] (omit-deps): Likewise.
19466 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19467 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19468 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19469 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19470 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19472 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19473 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19474 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19475 * csu/defs.awk: Remove file.
19476 * sysdeps/generic/initfini.c: Likewise.
19477 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19479 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19482 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19484 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19485 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19486 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19487 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19488 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19489 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19491 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19492 (__EPOLL_PACKED): Define to empty if not defined by
19494 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19498 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19500 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19501 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19502 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19503 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19505 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19509 2012-02-20 Joseph Myers <joseph@codesourcery.com>
19511 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19513 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19514 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19515 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19518 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19520 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19521 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19523 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19525 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19526 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19528 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19530 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19533 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19535 * math/w_acos.c: Use non-signaling floating-point comparisons.
19536 * math/w_acosf.c: Likewise.
19537 * math/w_acosh.c: Likewise.
19538 * math/w_acoshf.c: Likewise.
19539 * math/w_acoshl.c: Likewise.
19540 * math/w_acosl.c: Likewise.
19541 * math/w_asin.c: Likewise.
19542 * math/w_asinf.c: Likewise.
19543 * math/w_asinl.c: Likewise.
19544 * math/w_atanh.c: Likewise.
19545 * math/w_atanhf.c: Likewise.
19546 * math/w_atanhl.c: Likewise.
19547 * math/w_exp2.c: Likewise.
19548 * math/w_exp2f.c: Likewise.
19549 * math/w_exp2l.c: Likewise.
19550 * math/w_j0.c: Likewise.
19551 * math/w_j0f.c: Likewise.
19552 * math/w_j0l.c: Likewise.
19553 * math/w_j1.c: Likewise.
19554 * math/w_j1f.c: Likewise.
19555 * math/w_j1l.c: Likewise.
19556 * math/w_jn.c: Likewise.
19557 * math/w_jnf.c: Likewise.
19558 * math/w_log.c: Likewise.
19559 * math/w_log10.c: Likewise.
19560 * math/w_log10f.c: Likewise.
19561 * math/w_log10l.c: Likewise.
19562 * math/w_log2.c: Likewise.
19563 * math/w_log2f.c: Likewise.
19564 * math/w_log2l.c: Likewise.
19565 * math/w_logf.c: Likewise.
19566 * math/w_logl.c: Likewise.
19567 * math/w_sqrt.c: Likewise.
19568 * math/w_sqrtf.c: Likewise.
19569 * math/w_sqrtl.c: Likewise.
19570 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19571 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19572 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19573 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19574 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19576 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19579 * manual/string.texi (strnlen): Use correct parameter name in
19580 equivalent expression.
19582 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19585 * manual/users.texi (seteuid): Consistently use neweuid for
19588 2012-02-19 Joseph Myers <joseph@codesourcery.com>
19591 * manual/nss.texi (Services in the NSS configuration): Correct
19592 list of services in example configuration file.
19594 2012-02-19 Nick Bowler <nbowler@draconx.ca>
19597 * manual/arith.texi: Remove statements about negative zero
19598 behaving identically to zero.
19600 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19603 * manual/install.texi: Do not document upgrading from libc5.
19605 2012-02-18 Joseph Myers <joseph@codesourcery.com>
19608 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19610 2012-02-18 David S. Miller <davem@davemloft.net>
19612 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19613 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19614 %o7 across the call.
19615 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19618 SETUP_PIC_REG_LEAF.
19619 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19620 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19621 * sysdeps/sparc/crtn.S: Likewise.
19623 2012-02-17 Ulrich Drepper <drepper@gmail.com>
19625 * aout/Makefile: Remove.
19627 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19630 * manual/examples/argp-ex1.c (main): Format definition in GNU
19632 * manual/examples/argp-ex2.c (main): Likewise.
19633 * manual/examples/argp-ex3.c (main): Likewise.
19634 * manual/examples/argp-ex4.c (main): Likewise.
19635 * manual/examples/longopt.c (main): Use new-style prototype
19637 * manual/examples/strncat.c (main): Specify return type and use
19638 (void) for arguments.
19639 * manual/examples/subopt.c (main): Use char **argv argument.
19641 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19644 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19647 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19650 * manual/string.texi (strchr): Change when strchrnul is
19653 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19656 * manual/locale.texi (setlocale): Document LOCPATH.
19658 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19661 * manual/process.texi (execle): Move @dots{} before last argument.
19663 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
19666 * manual/charset.texi (Generic Charset Conversion): Fix typo
19667 (LC_TYPE -> LC_CTYPE).
19669 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19672 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19673 (scalbnf): Likewise.
19674 (scalbnl): Likewise.
19675 (scalbln): Likewise.
19676 (scalblnf): Likewise.
19677 (scalblnl): Likewise.
19678 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19679 (vwarnx): Likewise.
19682 * manual/filesys.texi (telldir): Use braces around return type.
19683 * manual/llio.texi (mmap): Add space after comma.
19684 (mmap64): Likewise.
19685 * manual/math.texi (jn): Use @var{} on parameter names.
19691 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19693 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19695 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19696 (sched_get_priority_max): Likewise.
19697 * manual/signal.texi (sigvec): Add space after comma.
19698 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19700 (if_indextoname): Likewise.
19701 (if_freenameindex): Likewise.
19702 (sendto): Use ',' instead of '.' in prototype.
19703 * manual/startup.texi (syscall): Use @dots{} instead of literal
19705 * manual/stdio.texi (__fpending): Separate initial words of
19706 paragraph from @deftypefun line.
19707 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19709 (vsyslog): Use @var{} on parameter names.
19710 * manual/terminal.texi (stty): Use @var{} on parameter names.
19711 * manual/users.texi (getutmp): Use @var{} on parameter names.
19712 (getutmpx): Likewise.
19714 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19717 * manual/stdio.texi (fopen): Fix typos in description of
19720 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19723 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19724 get clock_id definition.
19726 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
19729 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19730 (madvise): Cast every argument to void on its own.
19732 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19735 * manual/startup.texi (Exit Status): Fix typo.
19737 2012-02-17 Joseph Myers <joseph@codesourcery.com>
19740 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19741 * manual/examples/argp-ex2.c: Likewise.
19742 * manual/examples/argp-ex3.c: Likewise.
19744 2012-02-16 Richard Henderson <rth@redhat.com>
19746 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19747 * sysdeps/s390/s390-32/initfini.c: Remove.
19748 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19749 * sysdeps/s390/s390-64/initfini.c: Remove.
19751 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19753 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19754 compiler output for sysdeps/generic/initfini.c.
19755 * sysdeps/sh/elf/initfini.c: Remove file.
19757 2012-02-16 David S. Miller <davem@davemloft.net>
19760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19762 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19763 * sysdeps/sparc/crti.S: New file.
19764 * sysdeps/sparc/crtn.S: New file.
19765 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19766 * sysdeps/sparc/sparc64/Makefile: Likewise.
19768 2012-02-15 Mike Frysinger <vapier@gentoo.org>
19771 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19773 2012-02-15 Roland McGrath <roland@hack.frob.com>
19776 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19778 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19779 (write, read, close): Likewise.
19780 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19782 2012-02-15 Joseph Myers <joseph@codesourcery.com>
19784 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19785 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19786 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19787 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19789 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19790 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19793 2012-02-14 Marek Polacek <polacek@redhat.com>
19795 * sysdeps/x86_64/crti.S: New file.
19796 * sysdeps/x86_64/crtn.S: New file.
19797 * sysdeps/x86_64/elf/initfini.c: Remove file.
19799 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19801 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19802 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19803 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19804 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19806 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19810 2012-02-13 Joseph Myers <joseph@codesourcery.com>
19812 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19813 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19814 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19815 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19817 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19821 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19823 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19824 __feraiseexcept instead of feraiseexcept.
19826 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19827 nanosleep invocations.
19828 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19829 strings, and add error checking for a nanosleep invocations.
19831 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19833 Replace FSF snail mail address with URLs, as per GNU coding standards.
19834 Most of the snail mail addresses were wrong anyway, and omitting
19835 them makes the source code easier to maintain. Almost all of the
19836 changes are to license notices and to locale LC_IDENTIFICATION
19837 addresses, except for this one:
19838 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19839 not its snail mail address.
19841 2012-02-09 Richard Henderson <rth@twiddle.net>
19843 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19844 of kernel-features.h.
19846 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19848 2012-02-08 Marek Polacek <polacek@redhat.com>
19850 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19851 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19852 * sysdeps/gnu/_G_config.h: Likewise.
19853 * sysdeps/generic/_G_config.h: Likewise.
19855 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19857 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19861 * sysdeps/powerpc/powerpc32/crti.S: New file.
19862 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19863 * sysdeps/powerpc/powerpc64/crti.S: New file.
19864 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19866 * Makeconfig (have-initfini): Don't set.
19867 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19868 * configure.in (nopic_initfini): Don't substitute.
19869 * config.h.in (HAVE_INITFINI): Don't #undef.
19870 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19871 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19873 2012-02-08 Joseph Myers <joseph@codesourcery.com>
19875 Support crti.S and crtn.S provided directly by architectures.
19876 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19877 [crti.S in sysdirs] (omit-deps): Likewise.
19878 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19879 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19880 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19881 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19882 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19883 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19884 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19885 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19886 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19887 compiler output for sysdeps/generic/initfini.c.
19888 * sysdeps/i386/elf/Makefile: Remove file.
19889 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19891 2012-02-07 Marek Polacek <polacek@redhat.com>
19893 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19894 * sysdeps/gnu/_G_config.h: Likewise.
19895 * sysdeps/mach/hurd/_G_config.h: Likewise.
19897 2012-02-07 Marek Polacek <polacek@redhat.com>
19899 * math/Makefile (tests): Add tst-CMPLX2.
19900 * math/tst-CMPLX2.c: New file.
19902 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19904 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19906 * math/libm-test.inc (jn_test): Add missing L suffix.
19908 2012-02-06 Marek Polacek <polacek@redhat.com>
19910 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19911 * sysdeps/i386/fpu/e_powf.S: Likewise.
19912 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19913 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19914 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19915 * sysdeps/i386/fpu/e_pow.S: Likewise.
19916 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19917 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19918 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19919 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19920 * sysdeps/i386/fpu/e_log2.S: Likewise.
19921 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19922 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19923 * sysdeps/i386/fpu/e_powl.S: Likewise.
19924 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19925 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19926 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19927 * sysdeps/i386/fpu/e_logl.S: Likewise.
19928 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19929 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19930 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19931 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19932 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19933 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19934 * sysdeps/i386/fpu/e_log.S: Likewise.
19935 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19936 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19937 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19938 * sysdeps/i386/fpu/e_logf.S: Likewise.
19939 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19940 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19941 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19942 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19943 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19944 * sysdeps/i386/fpu/e_log10.S: Likewise.
19945 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19946 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19947 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19948 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19949 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19950 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19951 * sysdeps/i386/asm-syntax.h: Likewise.
19952 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19953 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19954 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19955 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19956 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19957 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19958 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19959 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19960 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19961 * sysdeps/powerpc/sysdep.h: Likewise.
19962 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19963 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19965 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19968 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19970 2012-02-06 Joseph Myers <joseph@codesourcery.com>
19972 * sysdeps/i386/sysdep.h: Include <features.h>.
19973 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19976 2012-02-05 Joseph Myers <joseph@codesourcery.com>
19978 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19980 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19983 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19985 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19986 (SETUP_PIC_REG): Use GET_PC_THUNK.
19987 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19990 2012-02-03 Joseph Myers <joseph@codesourcery.com>
19992 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19993 for non-PIC compilation.
19994 (SETUP_PIC_REG): Add .p2align directive.
19995 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19996 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19997 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19998 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19999 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20000 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20001 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20002 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20003 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20004 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20005 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20006 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20007 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20008 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20009 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20010 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20011 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20012 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20013 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20014 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20015 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20016 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20017 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20018 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20019 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20020 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20021 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20022 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20023 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20024 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20025 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20026 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20027 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20028 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20029 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20030 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20031 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20032 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20033 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20034 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20035 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20037 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20039 * math/tst-CMPLX.c: Include <stdio.h>.
20041 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20043 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20045 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20046 * sysdeps/sparc/bits/mathdef.h: Likewise.
20048 2012-01-31 Marek Polacek <polacek@redhat.com>
20050 * libio/libio.h: Don't define _PARAMS.
20051 * locale/programs/config.h: Don't define PARAMS.
20052 * stdlib/strtol_l.c: Likewise.
20053 (__strtol_l): Remove PARAMS from the prototype.
20055 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20057 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20058 names. Just use the correct names. Remove unnecessary wrapper
20060 * malloc/arena.c: Likewise.
20061 * malloc/hooks.c: Likewise.
20063 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20064 ARENA_TEST says not to. Simplify test for creation of a new arena.
20065 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20067 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20069 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20071 (update_get_addr): New function.
20072 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20073 GET_ADDR_MODULE parameter.
20075 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20077 * crypt/cert.c: Remove __STDC__ conditionals.
20078 * crypt/crypt-entry.c: Likewise.
20079 * crypt/crypt_util.c: Likewise.
20080 * libio/filedoalloc.c: Likewise.
20081 * libio/fileops.c: Likewise.
20082 * libio/genops.c: Likewise.
20083 * libio/iofclose.c: Likewise.
20084 * libio/iofdopen.c: Likewise.
20085 * libio/iofopen.c: Likewise.
20086 * libio/iofopen64.c: Likewise.
20087 * libio/iogetdelim.c: Likewise.
20088 * libio/iopopen.c: Likewise.
20089 * libio/obprintf.c: Likewise.
20090 * libio/oldfileops.c: Likewise.
20091 * libio/oldiofclose.c: Likewise.
20092 * libio/oldiofdopen.c: Likewise.
20093 * libio/oldiofopen.c: Likewise.
20094 * libio/oldiopopen.c: Likewise.
20095 * libio/wfiledoalloc.c: Likewise.
20096 * libio/wgenops.c: Likewise.
20097 * locale/programs/xmalloc.c: Likewise.
20098 * misc/syslog.c: Likewise.
20099 * stdio-common/xbug.c: Likewise.
20100 * string/memchr.c: Likewise.
20101 * string/memcmp.c: Likewise.
20102 * string/memrchr.c: Likewise.
20103 * string/rawmemchr.c: Likewise.
20104 * sysdeps/posix/getcwd.c: Likewise.
20105 * time/strftime_l.c: Likewise.
20107 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20109 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20110 * config.make.in (config-cflags-sse2avx): Define.
20111 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20114 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20116 * scripts/config.guess: Update from upstream config git repository.
20117 * scripts/config.sub: Likewise.
20119 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20121 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20123 (R_TILEPRO_*, R_TILEGX_*): New macros.
20125 * scripts/firstversions.awk: Fix bug in version range handling.
20127 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20129 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20131 * include/sys/epoll.h: New file.
20132 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20135 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20137 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20138 Avoid unnecessary __WORDSIZE == 64 test.
20139 (fmaxf): Use VEX format if possible.
20144 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20145 * math/math_private.h: Remove libc_fegetround* and
20147 * sysdeps/i386/configure.in: Check for -msse2avx.
20148 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20149 also if SSE2AVX is defined.
20150 Remove libc_fegetround* and libc_fesetround*.
20151 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20152 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20153 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20155 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20156 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20157 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20158 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20159 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20161 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20163 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20165 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20167 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20169 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20172 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20174 * Makeconfig (libm): Define.
20175 * elf/Makefile: Add rules to build and run tst-relsort1.
20176 * elf/tst-relsort1.c: New file.
20177 * elf/tst-relsort1mod1.c: New file.
20178 * elf/tst-relsort1mod2.c: New file.
20180 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20182 * math/s_ldexp.c: Remove __STDC__ conditionals.
20183 * math/s_ldexpf.c: Likewise.
20184 * math/s_ldexpl.c: Likewise.
20185 * math/s_nextafter.c: Likewise.
20186 * math/s_nexttowardf.c: Likewise.
20187 * math/s_significand.c: Likewise.
20188 * math/s_significandf.c: Likewise.
20189 * math/s_significandl.c: Likewise.
20190 * math/w_jnl.c: Likewise.
20191 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20192 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20193 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20194 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20195 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20196 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20197 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20198 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20199 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20200 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20201 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20202 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20203 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20204 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20205 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20206 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20207 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20208 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20210 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20211 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20212 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20213 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20214 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20215 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20216 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20217 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20218 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20219 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20220 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20221 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20222 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20223 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20224 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20225 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20226 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20227 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20228 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20229 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20230 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20231 * sysdeps/ieee754/k_standard.c: Likewise.
20232 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20233 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20234 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20235 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20236 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20237 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20238 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20239 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20240 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20241 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20242 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20243 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20244 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20245 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20246 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20247 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20248 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20249 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20250 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20251 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20252 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20253 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20254 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20255 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20256 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20257 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20258 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20259 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20261 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20262 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20263 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20264 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20265 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20266 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20267 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20268 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20269 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20270 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20271 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20272 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20273 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20274 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20275 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20276 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20277 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20278 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20279 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20280 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20281 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20282 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20283 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20284 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20285 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20286 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20287 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20288 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20289 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20290 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20291 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20292 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20293 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20294 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20295 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20296 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20297 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20298 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20299 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20300 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20301 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20302 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20303 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20304 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20305 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20306 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20307 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20308 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20309 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20310 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20311 * sysdeps/ieee754/s_matherr.c: Likewise.
20312 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20313 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20314 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20315 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20317 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20319 * crypt/md5.h: Remove __STDC__ conditionals.
20320 * libio/libioP.h: Likewise.
20321 * locale/programs/config.h: Likewise.
20322 * sysdeps/generic/sysdep.h: Likewise.
20323 * sysdeps/i386/asm-syntax.h: Likewise.
20324 * sysdeps/s390/asm-syntax.h: Likewise.
20325 * sysdeps/unix/sysdep.h: Likewise.
20326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20329 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20331 * libio/libio.h: Remove __STDC__ conditionals.
20332 * malloc/obstack.h: Likewise.
20333 * math/complex.h: Likewise.
20334 * math/math.h: Likewise.
20335 * sysdeps/generic/_G_config.h: Likewise.
20336 * sysdeps/gnu/_G_config.h: Likewise.
20337 * sysdeps/mach/hurd/_G_config.h: Likewise.
20338 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20339 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20340 * sysdeps/sparc/bits/mathdef.h: Likewise.
20342 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20345 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20346 Clean up HAS_* macros.
20347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20348 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20350 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20352 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20353 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20354 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20355 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20356 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20358 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20360 * elf/tst-unique3.cc (gets): Remove declaration.
20361 * elf/tst-unique3lib.cc (gets): Likewise.
20362 * elf/tst-unique3lib2.cc (gets): Likewise.
20363 * elf/tst-unique4.cc (gets): Likewise.
20365 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20367 * include/stdio.h: Add C++ protection. Add gets declarations and
20369 * debug/tst-chk1.c: Don't declare gets here.
20370 * stdio-common/tst-gets.c: Likewise.
20372 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20374 * posix/glob: Remove directory.
20376 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20378 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20380 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20382 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20383 of the non-standard EPFNOSUPPORT.
20385 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20387 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20388 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20389 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20391 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20393 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20395 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20397 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20399 * nscd/grpcache.c (cache_addgr): Likewise.
20400 * nscd/hstcache.c (cache_addhst): Likewise.
20401 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20402 * nscd/pwdcache.c (cache_addpw): Likewise.
20403 * nscd/servicescache.c (cache_addserv): Likewise.
20405 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20407 * malloc/malloc.c: Various cleanups.
20408 * malloc/hooks.c: Likewise.
20410 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20411 * stdlib/bug-fmtmsg1.c: New file.
20413 * stdlib/fmtmsg.c (init): Add missing unlock.
20414 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20416 2012-01-12 Marek Polacek <polacek@redhat.com>
20418 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20421 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20423 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20424 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20425 macro to ensure uniqueness of label name.
20426 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20427 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20429 2012-01-11 Ulrich Drepper <drepper@gmail.com>
20431 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20433 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20434 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20435 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20438 2012-01-10 Ulrich Drepper <drepper@gmail.com>
20440 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20442 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20443 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20444 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20446 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20448 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20449 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20450 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20451 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20453 * math/bits/math-finite.h: Add ldexp support.
20455 2012-01-10 Marek Polacek <polacek@redhat.com>
20457 * locale/programs/localedef.h (show_archive_content): Add noreturn
20460 2012-01-09 Ulrich Drepper <drepper@gmail.com>
20462 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20464 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20466 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20468 * io/Makefile (headers): Add bits/poll2.h.
20470 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20473 typo #include statement.
20475 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20477 * include/sys/cdefs.h: Define __attribute_alloc_size.
20478 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20479 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20480 * elf/pldd.c: Likewise.
20481 * iconv/iconv_charmap.c: Likewise.
20482 * iconv/iconvconfig.c: Likewise.
20483 * iconv/strtab.c: Likewise.
20484 * locale/programs/locale.c: Likewise.
20485 * locale/programs/localedef.h: Likewise.
20486 * locale/programs/simple-hash.c: Likewise.
20487 * nscd/nscd.h: Likewise.
20488 * nss/makedb.c: Likewise.
20489 * sysdeps/generic/ldconfig.h: Likewise.
20490 * locale/programs/localedef.c: Remove xmalloc prototype.
20491 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20493 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20495 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20498 2012-01-08 Ulrich Drepper <drepper@gmail.com>
20500 * math/Makefile (tests): Add tst-CMPLX.
20501 * math/tst-CMPLX.c: New file.
20503 * math/complex.h (CMPLXL): Fix typo.
20505 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20506 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20508 * debug/tst-chk1.c: Add poll and ppoll tests.
20509 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20510 * include/sys/poll.h: Add hidden proto for ppoll.
20511 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20512 * sysdeps/mach/hurd/ppoll.c: Likewise.
20513 * io/ppoll.c: Likewise.
20514 * debug/poll_chk.c: New file.
20515 * debug/ppoll_chk.c: New file.
20516 * include/bits/poll2.h: New file.
20517 * io/bits/poll2.h: New file.
20520 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20522 * configure.in: static is always set to yes. Remove.
20523 * config.make.in: Don't set build-static.
20524 * Makeconfig: Remove use of build-static.
20525 * dlfcn/Makefile: Likewise.
20526 * elf/Makefile: Likewise.
20527 * math/Makefile: Likewise.
20528 * misc/Makefile: Likewise.
20529 * nptl/Makefile: Likewise.
20530 * sysdeps/mach/hurd/Makefile: Likewise.
20532 * configure.in: PWD_P is not used anymore.
20533 * config.make.in: Remove PWD_P entry.
20535 * configure.in: Remove last remnants of RANLIB.
20536 No need to check for signed size_t anymore.
20537 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20539 Remove __builtin_expect test because we require at least gcc 3.4.
20540 * aclocal.m4: Likewise.
20542 * wcsmbs/mbrtoc16.c: Implement using towc function.
20543 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20544 * wcsmbs/wcsmbsload.c: Likewise.
20545 * iconv/gconv_simple.c: Likewise.
20546 * iconv/gconv_int.h: Likewise.
20547 * iconv/gconv_builtin.h: Likewise.
20548 * iconv/iconv_prog.c: Remove CHAR16 handling.
20550 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20552 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20554 * configure.in: Remove --with-elf and --enable-bounded options.
20555 Dont set base_machine for ia64. More non-ELF conditions removed.
20556 Remove testing and setting of leading underscore information.
20557 * config.make.in (build-bounded): Set to no.
20558 * config.h.in: Remove NO_UNDERSCORES entry.
20559 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20561 * csu/start.c: Remove !NO_UNDERSCORE code.
20562 * locale/localeinfo.h: Likewise.
20563 * sysdeps/generic/machine-gmon.h: Likewise.
20564 * sysdeps/generic/sysdep.h: Likewise.
20565 * sysdeps/i386/sysdep.h: Likewise.
20566 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20567 * sysdeps/mach/sysdep.h: Likewise.
20568 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20569 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20570 * sysdeps/sh/sysdep.h: Likewise.
20571 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20572 * sysdeps/unix/i386/sysdep.S: Likewise.
20573 * sysdeps/unix/sparc/start.c: Likewise.
20574 * sysdeps/unix/sparc/sysdep.S: Likewise.
20575 * sysdeps/unix/sparc/sysdep.h: Likewise.
20576 * sysdeps/unix/start.c: Likewise.
20577 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20578 * sysdeps/x86_64/sysdep.h: Likewise.
20580 2012-01-07 Ulrich Drepper <drepper@gmail.com>
20583 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20585 * argp/argp-fmtstream.h: Use const instead __const.
20586 * argp/argp.h: Likewise.
20587 * assert/assert.h: Likewise.
20588 * bits/fenv.h: Likewise.
20589 * bits/sched.h: Likewise.
20590 * bits/sigset.h: Likewise.
20591 * bits/sigthread.h: Likewise.
20592 * catgets/nl_types.h: Likewise.
20593 * conform/data/pthread.h-data: Likewise.
20594 * crypt/crypt-private.h: Likewise.
20595 * crypt/crypt.h: Likewise.
20596 * crypt/crypt_util.c: Likewise.
20597 * ctype/ctype.h: Likewise.
20598 * debug/execinfo.h: Likewise.
20599 * debug/mbsnrtowcs_chk.c: Likewise.
20600 * debug/mbsrtowcs_chk.c: Likewise.
20601 * debug/wcsnrtombs_chk.c: Likewise.
20602 * debug/wcsrtombs_chk.c: Likewise.
20603 * debug/wcstombs_chk.c: Likewise.
20604 * dirent/dirent.h: Likewise.
20605 * dlfcn/dlfcn.h: Likewise.
20606 * elf/neededtest4.c: Likewise.
20607 * grp/grp.h: Likewise.
20608 * gshadow/gshadow.h: Likewise.
20609 * iconv/gconv.h: Likewise.
20610 * iconv/gconv_int.h: Likewise.
20611 * iconv/gconv_simple.c: Likewise.
20612 * iconv/iconv.h: Likewise.
20613 * iconv/loop.c: Likewise.
20614 * iconv/skeleton.c: Likewise.
20615 * include/aio.h: Likewise.
20616 * include/aliases.h: Likewise.
20617 * include/argz.h: Likewise.
20618 * include/arpa/inet.h: Likewise.
20619 * include/assert.h: Likewise.
20620 * include/dirent.h: Likewise.
20621 * include/dlfcn.h: Likewise.
20622 * include/execinfo.h: Likewise.
20623 * include/fcntl.h: Likewise.
20624 * include/fenv.h: Likewise.
20625 * include/glob.h: Likewise.
20626 * include/grp.h: Likewise.
20627 * include/libintl.h: Likewise.
20628 * include/mntent.h: Likewise.
20629 * include/netdb.h: Likewise.
20630 * include/pwd.h: Likewise.
20631 * include/rpc/netdb.h: Likewise.
20632 * include/sched.h: Likewise.
20633 * include/search.h: Likewise.
20634 * include/shadow.h: Likewise.
20635 * include/signal.h: Likewise.
20636 * include/stdio.h: Likewise.
20637 * include/stdlib.h: Likewise.
20638 * include/string.h: Likewise.
20639 * include/sys/socket.h: Likewise.
20640 * include/sys/stat.h: Likewise.
20641 * include/sys/statfs.h: Likewise.
20642 * include/sys/statvfs.h: Likewise.
20643 * include/sys/syslog.h: Likewise.
20644 * include/sys/time.h: Likewise.
20645 * include/sys/uio.h: Likewise.
20646 * include/time.h: Likewise.
20647 * include/unistd.h: Likewise.
20648 * include/utmp.h: Likewise.
20649 * include/wchar.h: Likewise.
20650 * include/wctype.h: Likewise.
20651 * inet/aliases.h: Likewise.
20652 * inet/arpa/inet.h: Likewise.
20653 * inet/netinet/ether.h: Likewise.
20654 * inet/netinet/in.h: Likewise.
20655 * intl/libintl.h: Likewise.
20656 * io/bits/fcntl2.h: Likewise.
20657 * io/fcntl.h: Likewise.
20658 * io/ftw.h: Likewise.
20659 * io/sys/poll.h: Likewise.
20660 * io/sys/stat.h: Likewise.
20661 * io/sys/statfs.h: Likewise.
20662 * io/sys/statvfs.h: Likewise.
20663 * io/utime.h: Likewise.
20664 * libio/bits/stdio.h: Likewise.
20665 * libio/bits/stdio2.h: Likewise.
20666 * libio/libio.h: Likewise.
20667 * libio/libioP.h: Likewise.
20668 * libio/stdio.h: Likewise.
20669 * locale/lc-ctype.c: Likewise.
20670 * locale/locale.h: Likewise.
20671 * login/utmp.h: Likewise.
20672 * malloc/arena.c: Likewise.
20673 * malloc/malloc.c: Likewise.
20674 * malloc/malloc.h: Likewise.
20675 * malloc/mcheck.c: Likewise.
20676 * malloc/mtrace.c: Likewise.
20677 * math/bits/mathcalls.h: Likewise.
20678 * math/fenv.h: Likewise.
20679 * math/math_private.h: Likewise.
20680 * misc/bits/error.h: Likewise.
20681 * misc/bits/syslog.h: Likewise.
20682 * misc/err.h: Likewise.
20683 * misc/error.h: Likewise.
20684 * misc/fstab.h: Likewise.
20685 * misc/mntent.h: Likewise.
20686 * misc/regexp.h: Likewise.
20687 * misc/search.h: Likewise.
20688 * misc/sgtty.h: Likewise.
20689 * misc/sys/mman.h: Likewise.
20690 * misc/sys/syslog.h: Likewise.
20691 * misc/sys/uio.h: Likewise.
20692 * misc/sys/xattr.h: Likewise.
20693 * misc/ttyent.h: Likewise.
20694 * nis/rpcsvc/ypclnt.h: Likewise.
20695 * nss/nss.h: Likewise.
20696 * posix/bits/unistd.h: Likewise.
20697 * posix/fnmatch.h: Likewise.
20698 * posix/glob.h: Likewise.
20699 * posix/sched.h: Likewise.
20700 * posix/spawn.h: Likewise.
20701 * posix/sys/wait.h: Likewise.
20702 * posix/unistd.h: Likewise.
20703 * posix/wordexp.h: Likewise.
20704 * pwd/pwd.h: Likewise.
20705 * resolv/netdb.h: Likewise.
20706 * resource/sys/resource.h: Likewise.
20707 * rt/aio.h: Likewise.
20708 * rt/bits/mqueue2.h: Likewise.
20709 * rt/mqueue.h: Likewise.
20710 * shadow/shadow.h: Likewise.
20711 * signal/signal.h: Likewise.
20712 * socket/send.c: Likewise.
20713 * socket/sendto.c: Likewise.
20714 * socket/sys/socket.h: Likewise.
20715 * stdio-common/printf.h: Likewise.
20716 * stdlib/bits/stdlib.h: Likewise.
20717 * stdlib/fmtmsg.h: Likewise.
20718 * stdlib/monetary.h: Likewise.
20719 * stdlib/stdlib.h: Likewise.
20720 * stdlib/ucontext.h: Likewise.
20721 * streams/stropts.h: Likewise.
20722 * string/argz.h: Likewise.
20723 * string/bits/string2.h: Likewise.
20724 * string/string.h: Likewise.
20725 * string/strings.h: Likewise.
20726 * sunrpc/rpc/auth.h: Likewise.
20727 * sunrpc/rpc/auth_des.h: Likewise.
20728 * sunrpc/rpc/clnt.h: Likewise.
20729 * sunrpc/rpc/netdb.h: Likewise.
20730 * sunrpc/rpc/pmap_clnt.h: Likewise.
20731 * sunrpc/rpc/xdr.h: Likewise.
20732 * sysdeps/generic/inttypes.h: Likewise.
20733 * sysdeps/generic/net/if.h: Likewise.
20734 * sysdeps/generic/sys/swap.h: Likewise.
20735 * sysdeps/gnu/net/if.h: Likewise.
20736 * sysdeps/gnu/utmpx.h: Likewise.
20737 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20738 * sysdeps/i386/i486/bits/string.h: Likewise.
20739 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20740 * sysdeps/s390/bits/string.h: Likewise.
20741 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20742 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20743 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20744 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20745 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20746 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20747 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20748 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20749 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20750 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20751 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20752 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20753 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20754 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20755 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20756 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20757 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20758 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20759 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20760 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20761 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20762 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20763 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20764 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20765 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20766 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20767 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20768 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20769 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20770 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20771 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20772 * sysvipc/sys/ipc.h: Likewise.
20773 * sysvipc/sys/msg.h: Likewise.
20774 * sysvipc/sys/sem.h: Likewise.
20775 * sysvipc/sys/shm.h: Likewise.
20776 * termios/termios.h: Likewise.
20777 * time/sys/time.h: Likewise.
20778 * time/time.h: Likewise.
20779 * wcsmbs/bits/wchar2.h: Likewise.
20780 * wcsmbs/uchar.h: Likewise.
20781 * wcsmbs/wchar.h: Likewise.
20782 * wctype/wctype.h: Likewise.
20785 * Makeconfig: Remove all but ELF support including AIX support.
20786 * Makerules: Likewise.
20787 * config.h.in: Likewise.
20788 * config.make.in: Likewise.
20789 * configure: Likewise.
20790 * configure.in: Likewise.
20791 * csu/Makefile: Likewise.
20792 * csu/version.c: Likewise.
20793 * debug/Makefile: Likewise.
20794 * dlfcn/Makefile: Likewise.
20795 * elf/Makefile: Likewise.
20796 * extra-lib.mk: Likewise.
20797 * iconv/Makefile: Likewise.
20798 * include/libc-symbols.h: Likewise.
20799 * include/shlib-compat.h: Likewise.
20800 * resolv/Makefile: Likewise.
20801 * resolv/res_libc.c: Likewise.
20802 * rt/Makefile: Likewise.
20803 * sysdeps/i386/asm-syntax.h: Likewise.
20804 * sysdeps/i386/sysdep.h: Likewise.
20805 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20806 * sysdeps/mach/sysdep.h: Likewise.
20807 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20808 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20809 * sysdeps/s390/asm-syntax.h: Likewise.
20810 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20811 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20812 * sysdeps/sh/sysdep.h: Likewise.
20813 * sysdeps/unix/sparc/sysdep.h: Likewise.
20814 * sysdeps/wordsize-32/divdi3.c: Likewise.
20815 * sysdeps/x86_64/sysdep.h: Likewise.
20817 * argp/Versions: Remove _argp_unlock_xxx.
20820 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20821 * abilist/libBrokenLocale.abilist: Likewise.
20822 * abilist/libanl.abilist: Likewise.
20823 * abilist/libc.abilist: Likewise.
20824 * abilist/libcrypt.abilist: Likewise.
20825 * abilist/libdl.abilist: Likewise.
20826 * abilist/libm.abilist: Likewise.
20827 * abilist/libnsl.abilist: Likewise.
20828 * abilist/libpthread.abilist: Likewise.
20829 * abilist/libresolv.abilist: Likewise.
20830 * abilist/librt.abilist: Likewise.
20831 * abilist/libthread_db.abilist: Likewise.
20832 * abilist/libutil.abilist: Likewise.
20833 * abilist/libnss_db.abilist: New file.
20835 * scripts/abilist.awk: Add support for indirect functions.
20837 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20839 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20841 * shlib-versions: Remove entries for ports architectures.
20843 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20845 * elf/stackguard-macros.h: Remove support for IA-64.
20846 * elf/tst-auditmod1.c: Likewise.
20847 * sysdeps/generic/ldsodefs.h: Likewise.
20849 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20850 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20854 * configure.in: Remove --enable-omitfp support.
20856 * config.make.in: Likewise.
20857 * Makeconfig: Likewise.
20858 * manual/install.texi: Likewise.
20860 In case anyone cares, the IA-64 architecture could move to ports.
20861 * sysdeps/ia64/*: Removed.
20862 * sysdeps/unix/sysv/linux/ia64/*: Removed.
20863 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20866 * configure.in: Remove entries for unsupported architectures.
20869 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20870 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20872 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20873 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20874 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20875 fall back to using wcrtomb.
20876 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20877 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20879 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20880 * wcsmbs/tst-c16c32-1.c: New file.
20882 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20885 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20887 * elf/tst-unique3.cc: Add explicit declaration of gets.
20888 * elf/tst-unique3lib.cc: Likewise.
20889 * elf/tst-unique3lib2.cc: Likewise.
20890 * elf/tst-unique4.cc: Likewise.
20892 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20894 2012-01-06 Joseph Myers <joseph@codesourcery.com>
20897 * assert/assert.h (static_assert): Don't define for C++.
20898 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20899 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20901 2012-01-03 Ulrich Drepper <drepper@gmail.com>
20903 * iconv/loop.c (single loop): Fix assertion in storing of
20906 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20908 2012-01-01 Ulrich Drepper <drepper@gmail.com>
20910 * posix/getconf.c: Update copyright year.
20911 * nss/getent.c: Likewise.
20912 * nss/makedb.c: Likewise.
20913 * iconv/iconvconfig.c: Likewise.
20914 * iconv/iconv_prog.c: Likewise.
20915 * elf/ldconfig.c: Likewise.
20916 * elf/pldd.c: Likewise.
20917 * elf/sotruss.ksh: Likewise.
20918 * catgets/gencat.c: Likewise.
20919 * csu/version.c: Likewise.
20920 * elf/ldd.bash.in: Likewise.
20921 * elf/sprof.c (print_version): Likewise.
20922 * locale/programs/locale.c: Likewise.
20923 * locale/programs/localedef.c: Likewise.
20924 * login/programs/pt_chown.c: Likewise.
20925 * nscd/nscd.c (print_version): Likewise.
20926 * debug/xtrace.sh: Likewise.
20927 * malloc/memusage.sh: Likewise.
20928 * malloc/mtrace.pl: Likewise.
20929 * debug/catchsegv.sh: Likewise.
20931 2011-12-30 Jakub Jelinek <jakub@redhat.com>
20933 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20936 2011-12-24 Ulrich Drepper <drepper@gmail.com>
20939 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20940 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20942 * iconv/gconv_int.h: Likewise.
20943 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20944 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20945 from libc for GLIBC_2.16.
20946 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20947 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20948 * wcsmbs/uchar.h: Really define mbstate_t.
20949 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20950 * wcsmbs/c16rtomb.c: New file.
20951 * wcsmbs/mbrtoc16.c: New file.
20952 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20953 for C/POSIX locale.
20954 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20955 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20957 * wcsmbs/wchar.h: Add missing __restrict.
20959 2011-12-23 Ulrich Drepper <drepper@gmail.com>
20962 * time/Makefile (routines): Add timespec_get.
20963 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20964 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20965 timespec for ISO C11.
20966 * time/timespec_get.c: New file.
20967 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20968 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20971 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20972 * stdlib/stdlib.h: Declare aligned_alloc.
20973 * Versions.def: Add GLIBC_2.16 for libc.
20974 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20977 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20980 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20984 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20987 * assert/assert.h (static_assert): Define.
20989 * version.h: Update for 2.16 development version.
20992 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20995 * version.h (RELEASE): Bump for 2.15 release.
20996 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20998 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20999 Patch by Marek Polacek <mpolacek@redhat.com>.
21001 * bits/byteswap.h: Protect long long constants with __extension__.
21002 * sysdeps/i386/bits/byteswap.h: Likewise.
21003 * sysdeps/ia64/bits/byteswap.h: Likewise.
21004 * sysdeps/s390/bits/byteswap.h: Likewise.
21005 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21007 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21010 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21011 destination buffer.
21012 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21014 2011-12-23 Marek Polacek <polacek@redhat.com>
21016 * elf/dl-addr.c (determine_info): Add inline keyword.
21017 * elf/tst-auditmod4b.c (check_avx): Likewise.
21018 * elf/tst-auditmod6b.c (check_avx): Likewise.
21019 * elf/tst-auditmod6c.c (check_avx): Likewise.
21020 * elf/tst-auditmod7b.c (check_avx): Likewise.
21022 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21024 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21027 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21030 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21031 processing for last bytes.
21033 2011-08-06 Bruno Haible <bruno@clisp.org>
21036 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21037 U+0385, not to U+1FEE.
21040 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21041 entry for U+00A5 U+0301.
21043 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21046 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21047 buffer for the output is too small.
21049 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21053 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21054 SSE flags if possible.
21056 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21059 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21060 processing for last bytes.
21062 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21064 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21065 (syscall-list-default-options, syscall-list-default-condition)
21066 (syscall-list-includes): Define.
21067 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21068 list of ABIs and options and #if conditions for each ABI. Do not
21069 handle common syscalls between ABIs specially.
21070 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21072 (syscall-list-variants, syscall-list-32bit-options)
21073 (syscall-list-32bit-condition, syscall-list-64bit-options)
21074 (syscall-list-64bit-condition): Define.
21075 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21076 (syscall-list-variants, syscall-list-32bit-options)
21077 (syscall-list-32bit-condition, syscall-list-64bit-options)
21078 (syscall-list-64bit-condition): Define.
21079 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21081 (syscall-list-variants, syscall-list-32bit-options)
21082 (syscall-list-32bit-condition, syscall-list-64bit-options)
21083 (syscall-list-64bit-condition): Define.
21084 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21086 (syscall-list-variants, syscall-list-32bit-options)
21087 (syscall-list-32bit-condition, syscall-list-64bit-options)
21088 (syscall-list-64bit-condition): Define.
21090 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21092 * locale/iso-639.def: Add brx entry.
21095 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21096 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21098 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21099 __feraiseexcept_renamed.
21101 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21104 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21105 EPOLLET with unsigned values.
21106 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21107 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21109 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21110 to large cancellation.
21111 * math/s_cacoshf.c: Likewise.
21112 * math/s_cacoshl.c: Likewise.
21114 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21118 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21119 * math/s_cacoshf.c: Likewise.
21120 * math/s_cacoshl.c: Likewise.
21122 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21125 * iconv/gconv.h: Define __GCONV_SWAP.
21126 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21127 * iconvdata/utf-16.c: Likewise.
21128 * iconvdata/utf-32.c: Likewise.
21130 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21133 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21134 numerator after shifting it by one limb.
21136 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21138 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21139 under [__USE_EXTERN_INLINES].
21141 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21144 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21146 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21148 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21149 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21151 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21152 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21153 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21154 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21155 for strncasecmp/strncasecmp_l compilation.
21156 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21157 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21159 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21162 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21165 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21168 * time/tzfile.c (__tzfile_read): Check values from file header.
21170 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21172 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21173 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21174 * powerpc/powerpc32/dl-start.S: Likewise.
21175 * powerpc/powerpc32/elf/start.S: Likewise.
21176 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21177 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21178 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21179 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21180 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21181 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21182 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21183 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21184 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21185 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21186 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21187 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21188 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21189 * powerpc/powerpc32/memset.S: Likewise.
21190 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21191 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21192 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21193 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21194 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21195 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21196 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21197 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21198 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21199 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21200 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21201 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21202 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21204 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21206 * math/libm-test.inc: Added more nearbyint tests.
21207 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21208 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21209 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21210 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21212 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21214 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21217 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21219 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21220 Add wcscpy-ssse3 wcscpy-c.
21221 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21222 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21223 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21224 * sysdeps/x86_64/wcschr.S: New file.
21225 * sysdeps/x86_64/wcsrchr.S: New file.
21226 * string/test-strcmp.c: Remove checking of wcscmp function for
21228 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21229 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21230 wcsrchr-sse2 wcsrchr-c.
21231 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21232 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21233 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21234 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21235 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21236 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21237 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21238 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21239 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21240 * wcsmbc/wcschr.c (WCSCHR): New macro.
21242 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21244 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21245 * wcsmbs/test-wcsrchr.c: New file.
21246 * string/test-strrchr.c: Add wcsrchr support.
21248 * wcsmbs/test-wcscpy.c: New file.
21249 * string/test-strcpy.c: Add wcscpy support.
21252 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21254 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21257 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21260 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21262 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21264 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21265 Minor optimizations.
21267 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21268 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21269 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21271 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21273 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21274 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21275 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21276 for gcc to avoid warnings.
21277 * inet/Makefile (tests): Add tst-checks.
21278 * inet/tst-checks.c: New file.
21280 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21283 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21286 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21287 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21289 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21291 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21293 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21296 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21298 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21300 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21301 conditional on GCC version.
21302 (__arch_compare_and_exchange_val_8_acq)
21303 (__arch_compare_and_exchange_val_16_acq)
21304 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21305 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21306 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21308 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21310 * sysdeps/sh/backtrace.c: New file.
21312 2011-12-02 Andreas Schwab <schwab@redhat.com>
21314 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21317 2011-12-01 Andreas Schwab <schwab@redhat.com>
21319 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21320 falling back to utime.
21322 2011-11-30 Andreas Schwab <schwab@redhat.com>
21324 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21325 expectations for float.
21327 2011-11-29 Andreas Schwab <schwab@redhat.com>
21329 * locale/weight.h (findidx): Add parameter len.
21330 * locale/weightwc.h (findidx): Likewise.
21331 * posix/fnmatch_loop.c (FCT): Adjust caller.
21332 * posix/regcomp.c (build_equiv_class): Likewise.
21333 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21334 * posix/regexec.c (check_node_accept_bytes): Likewise.
21335 * string/strcoll_l.c (STRCOLL): Likewise.
21336 * string/strxfrm_l.c (STRXFRM): Likewise.
21338 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21340 * Makefile.in: Remove CVSOPT handling.
21341 * configure.in: Remove use of AC_REVISION.
21342 * iconvdata/Makefile (distribute): No need to filter out CVS.
21343 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21346 2011-11-16 Andreas Schwab <schwab@redhat.com>
21348 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21349 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21350 [USE_AS_STRNCASECMP_L]: Likewise.
21351 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21352 NO_TLS_DIRECT_SEG_REFS.
21353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21354 Fix argument offsets for non-PIC.
21355 [USE_AS_STRNCASECMP_L]: Likewise.
21356 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21357 NO_TLS_DIRECT_SEG_REFS.
21359 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21361 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21363 * locale/loadlocale.c (_nl_load_locale): Likewise.
21365 2011-11-15 Andreas Schwab <schwab@redhat.com>
21367 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21368 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21369 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21370 (SYSCALL_GETTIME): Set errno on error.
21372 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21373 count references to noai6ai_cached.
21375 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21377 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21379 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21380 FD_CLOEXEC for /proc/self/maps.
21382 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21383 FD_CLOEXEC for /proc/meminfo.
21385 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21388 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21389 FD_CLOEXEC for given file.
21391 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21393 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21394 FD_CLOEXEC for /etc/hosts.
21395 (_gethtent): Likewise.
21397 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21399 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21400 cancellation and set FD_CLOEXEC for /etc/netgroup.
21402 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21403 reading /etc/publickey.
21405 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21406 allow cancellation when reading /etc/group.
21408 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21410 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21412 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21413 when using data file.
21415 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21417 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21418 (write_nis_obj): Use "c" and "e" in fopen.
21420 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21422 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21424 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21426 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21428 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21431 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21433 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21435 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21437 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21438 file parsing and set FD_CLOEXEC.
21440 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21442 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21444 2011-11-14 Andreas Schwab <schwab@redhat.com>
21446 * malloc/arena.c (arena_get2): Don't call reused_arena when
21447 _int_new_arena failed.
21449 2011-11-14 Ulrich Drepper <drepper@gmail.com>
21451 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21452 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21453 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21454 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21455 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21456 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21457 to compile strcasecmp and strncasecmp.
21458 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21459 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21461 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21463 2011-11-13 Ulrich Drepper <drepper@gmail.com>
21465 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21466 locale-defines.sym to gen-as-const-headers.
21467 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21468 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21469 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21470 to compile strcasecmp and strncasecmp.
21471 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21472 strcasecmp_l and strncasecmp_l.
21473 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21474 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21475 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21476 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21477 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21478 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21479 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21480 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21481 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21482 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21483 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21485 2011-11-12 Ulrich Drepper <drepper@gmail.com>
21487 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21488 result of SYSDEP_GETTIME_CPU to retval.
21489 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21490 parameter list to macro. Remove trailing semicolon. Adjust users.
21492 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21495 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21497 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21499 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21500 from unused variable.
21502 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21504 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21507 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21510 * sunrpc/rpc_prot.c (rejected): Fix case value.
21512 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21513 unsigned long long int to avoid warnings in shift.
21515 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21517 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21520 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21521 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21522 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21524 * nis/nis_table.c (nis_list): Use variable of correct type for
21525 result of __follow_path call.
21527 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21529 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21530 of math functions ceil, trunc, floor, round, and sqrt, when
21531 avaliable on the platform.
21532 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21534 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21535 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21536 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21538 2011-10-30 Marek Polacek <mpolacek@redhat.com>
21540 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21541 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21543 2011-11-11 Roland McGrath <roland@hack.frob.com>
21545 * include/unistd.h: Fix __readlink return type.
21546 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21548 2011-11-11 Ulrich Drepper <drepper@gmail.com>
21550 * stdlib/ucontext.h: Undo last change for makecontext.
21552 2011-11-11 Andreas Schwab <schwab@redhat.com>
21554 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21556 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21557 * setjmp/setjmp.h: Mark functions as non-leaf.
21558 * setjmp/bits/setjmp2.h: Likewise.
21559 * stdlib/ucontext.h: Likewise.
21561 2011-11-10 Andreas Schwab <schwab@redhat.com>
21563 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21564 (reused_arena): Don't check arena limit.
21565 (arena_get2): Atomically check arena limit.
21567 2011-11-08 Ulrich Drepper <drepper@gmail.com>
21569 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21570 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21572 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21575 2011-11-07 Andreas Schwab <schwab@redhat.com>
21577 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21578 handler when locking.
21580 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21581 Fix size of allocated buffer.
21583 2011-11-04 Andreas Schwab <schwab@redhat.com>
21586 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21587 declarations for long double functions.
21588 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21590 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21592 2011-11-03 Andreas Schwab <schwab@redhat.com>
21594 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21597 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21600 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21602 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21604 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21606 * include/alloca.h (stackinfo_alloca_round): Define.
21607 (extend_alloca): Use it.
21608 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21609 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21612 * scripts/check-local-headers.sh: Ignore libaudit.h.
21614 * nscd/Makefile (extra-objs): Make recursively expanded.
21616 2011-11-01 Ulrich Drepper <drepper@gmail.com>
21618 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21619 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21621 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21622 * posix/tst-rfc3484-2.c: Likewise.
21623 * posix/tst-rfc3484-3.c: Likewise.
21625 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21627 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21629 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21630 process_vm_writev from libc using GLIBC_2.15 version.
21632 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21634 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21636 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21639 2011-10-31 Ulrich Drepper <drepper@gmail.com>
21642 * nss/getent.c (initgroups_keys): Show error message in case no group
21645 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21646 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21647 __bump_nl_timestamp.
21648 * nscd/connections (nscd_init): When host database is served open
21649 netlink socket and request notification about configuration changes.
21650 (main_loop_poll): Track netlink file descriptor and bump timestamp
21651 in case data becomes available.
21652 (main_loop_epoll): Likewise.
21653 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21654 (database_pers_head): Add extra_data fileds.
21655 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21656 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21657 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21659 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21660 in6ai data, call __free_in6ai.
21661 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21662 Add -DHAVE_NETLINK.
21663 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21664 interface information. Reuse previous data if netlink timestamp
21666 (__bump_nl_timestamp): New function.
21667 (__free_in6ai): New function.
21669 2011-10-30 Ulrich Drepper <drepper@gmail.com>
21671 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21672 close_not_cancel_no_status here.
21673 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21675 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21678 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21681 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21682 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21683 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21685 2011-07-03 Andreas Jaeger <aj@suse.de>
21688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21689 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21690 * math/libm-test.inc (sin_test): Add test case.
21692 2011-10-29 Ulrich Drepper <drepper@gmail.com>
21695 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21696 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21698 * elf/chroot_canon.c (chroot_canon): Cleanups.
21700 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21703 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21704 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21706 * string/test-strchr.c: Make usable for strchrnul testing.
21707 * string/test-strchrnul.c: New file.
21708 * string/Makefile (strop-tests): Add strchrnul.
21710 * po/it.po: Update from translation team.
21711 * po/es.po: Likewise.
21713 2011-10-28 Ulrich Drepper <drepper@gmail.com>
21715 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21716 the three constants needed as parameters. Drop the others.
21717 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21718 __m128i_strloadu_tolower.
21719 Create and initialize variable zero and use it in all the places
21720 where _mm_setzero_si128 was used.
21722 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21723 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21724 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21725 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21727 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21728 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21729 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21730 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21731 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21732 __mpranred, __mptan.
21733 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21734 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21735 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21736 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21737 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21738 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21739 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21740 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21741 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21743 2011-10-28 Andreas Schwab <schwab@redhat.com>
21745 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21746 redefine if SHARED.
21747 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21750 wide char related routines to wcsmbs subdir.
21752 2011-10-27 Andreas Schwab <schwab@redhat.com>
21755 * misc/sys/cdefs.h (__THROWNL): Define.
21756 * posix/unistd.h: Use __THREADNL instead of __THREAD
21757 for memory synchronization functions.
21759 2011-10-26 Roland McGrath <roland@hack.frob.com>
21762 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21764 * manual/stdio.texi (Obstack Streams): Node removed.
21766 2011-10-26 Andreas Schwab <schwab@redhat.com>
21768 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21769 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21770 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21772 * math/math_private.h (math_force_eval): Allow non-addressable
21774 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21776 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21778 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21779 file is not needed.
21781 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21782 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21783 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21784 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21785 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21786 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21787 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21788 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21790 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21791 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21792 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21793 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21794 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21795 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21796 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21797 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21798 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21799 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21800 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21801 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21802 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21803 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21804 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21805 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21806 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21807 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21808 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21810 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21811 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21813 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21814 place. Use VEX encoding when compiling for AVX.
21816 2011-10-25 Andreas Schwab <schwab@redhat.com>
21818 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21819 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21821 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21823 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21825 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21826 useless if() expression.
21827 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21828 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21829 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21830 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21831 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21832 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21833 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21834 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21835 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21836 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21837 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21838 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21839 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21840 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21841 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21842 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21843 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21844 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21845 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21847 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21849 2011-10-25 Andreas Schwab <schwab@redhat.com>
21851 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21853 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21855 2011-10-25 Ulrich Drepper <drepper@gmail.com>
21857 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21858 .text section. Avoid duplicate constants.
21859 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21860 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21861 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21863 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21864 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21865 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21867 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21868 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21869 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21870 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21871 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21872 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21873 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21874 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21875 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21876 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21877 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21878 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21879 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21880 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21881 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21882 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21883 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21884 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21885 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21886 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21887 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21888 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21889 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21890 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21891 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21892 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21893 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21894 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21895 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21896 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21897 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21898 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21899 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21900 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21901 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21902 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21903 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21905 2011-10-24 Ulrich Drepper <drepper@gmail.com>
21907 * sysdeps/x86_64/dla.h: Move to ...
21908 * sysdeps/x86_64/fpu/dla.h: ...here.
21909 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21910 situations. Use __builtin_fma only for gcc 4.6 and up.
21912 * config.make.in: Add have-mfma4 entry.
21913 * configure.in: Substitute libc_cv_cc_fma4.
21914 * math/Makefile (dbl-only-routines): Add sincostab.
21915 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21916 Use __sincostab not sincos.
21917 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21919 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21920 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21921 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21924 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21925 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21926 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21927 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21929 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21930 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21932 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21933 define aliases when function name is a macro.
21934 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21935 sysdeps/ieee754/dbl-64/sincos.tbl.
21936 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21937 fma4-enabled routines.
21938 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21939 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21940 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21941 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21942 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21943 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21944 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21945 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21946 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21947 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21948 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21949 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21950 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21951 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21952 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21953 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21954 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21955 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21956 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21957 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21958 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21959 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21960 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21961 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21962 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21963 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21964 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21965 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21966 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21967 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21969 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21971 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21972 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21973 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21974 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21976 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21977 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21978 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21980 2011-10-24 Andreas Schwab <schwab@redhat.com>
21982 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21984 2011-10-23 Ulrich Drepper <drepper@gmail.com>
21986 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21988 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21990 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21992 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21993 Remove unused variable magic_bits.
21994 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21996 * string/strnlen.c: Define and use STRNLEN macro.
21997 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21998 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21999 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22000 * wcsmbs/wcslen.c: Define and use WCSLEN.
22001 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22002 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22003 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22004 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22005 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22006 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22007 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22009 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22012 strnlen-sse2-no-bsf.
22013 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22014 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22015 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22016 Add strnlen support.
22017 (USE_AS_STRNLEN): New macro.
22018 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22019 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22020 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22021 * sysdeps/x86_64/wcslen.S: New file.
22023 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22025 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22026 XMM-moves are used for copying on small sizes.
22028 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22030 * wcsmbs/Makefile (strop-tests): Add wcschr.
22031 * wcsmbs/test-wcschr.c: New file.
22032 * string/test-strchr.c: Update.
22033 Add wcschr support.
22036 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22038 * wcsmbs/Makefile (strop-tests): Add wcslen.
22039 * wcsmbs/test-wcslen.c: New file.
22040 * string/test-strlen.c: Update.
22041 Add wcslen support.
22044 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22046 * po/it.po: Update from translation team.
22048 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22050 * sysdeps/x86_64/wcscmp.S: Update.
22051 Fix wrong comparison semantics.
22052 wcscmp shall use signed comparison not unsigned.
22053 Don't use substraction to avoid overflow bug.
22054 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22055 * wcsmbc/wcscmp.c: Likewise.
22056 * string/test-strcmp.c: Likewise.
22057 Add new tests to check cases with negative values.
22059 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22061 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22062 * sysdeps/x86_64/dla.h: ...here. New file.
22063 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22064 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22065 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22066 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22067 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22068 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22069 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22070 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22071 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22073 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22075 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22076 __ynl_finite aliases.
22078 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22082 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22084 [DLA_FMA] (EMULV): Use DLA_FMA.
22085 [DLA_FMA] (MUL12): Use EMULV.
22086 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22087 that are not needed.
22088 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22089 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22092 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22094 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22096 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22098 * math/s_nan.c: Undef __nan.
22099 * math/s_nanf.c: Undef __nanf.
22100 * math/s_nanl.c: Undef __nanl.
22101 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22104 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22106 * math/s_catan.c: Add branch predictions.
22107 * math/s_catanf.c: Likewise.
22108 * math/s_catanh.c: Likewise.
22109 * math/s_catanhf.c: Likewise.
22110 * math/s_catanhl.c: Likewise.
22111 * math/s_catanl.c: Likewise.
22112 * math/s_cexp.c: Likewise.
22113 * math/s_cexpf.c: Likewise.
22114 * math/s_cexpl.c: Likewise.
22115 * math/s_clog.c: Likewise.
22116 * math/s_clog10.c: Likewise.
22117 * math/s_clog10f.c: Likewise.
22118 * math/s_clog10l.c: Likewise.
22119 * math/s_clogf.c: Likewise.
22120 * math/s_clogl.c: Likewise.
22121 * math/s_csqrt.c: Likewise.
22122 * math/s_csqrtf.c: Likewise.
22123 * math/s_csqrtl.c: Likewise.
22124 * math/s_ctanf.c: Likewise.
22125 * math/s_ctanh.c: Likewise.
22126 * math/s_ctanhf.c: Likewise.
22127 * math/s_ctanhl.c: Likewise.
22128 * math/s_ctanl.c: Likewise.
22130 * math/math_private.h: Define __nan, __nanf, __nanl.
22131 * math/s_cacosh.c: Include <math_private.h>.
22132 * math/s_cacoshl.c: Likewise.
22133 * math/s_casinh.c: Likewise.
22134 * math/s_casinhf.c: Likewise.
22135 * math/s_casinhl.c: Likewise.
22136 * math/s_ccos.c: Rely entire on ccosh.
22137 * math/s_ccosf.c: Rely entire on ccoshf.
22138 * math/s_ccosl.c: Rely entirely on ccoshl.
22139 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22140 Remove tests for FE_INVALID.
22141 * math/s_ccoshf.c: Likewise.
22142 * math/s_ccoshl.c: Likewise.
22143 * math/s_csin.c: Likewise.
22144 * math/s_csinf.c: Likewise.
22145 * math/s_csinh.c Likewise.
22146 * math/s_csinhf.c: Likewise.
22147 * math/s_csinhl.c: Likewise.
22148 * math/s_csinl.c: Likewise.
22149 * math/s_ctan.c: Likewise.
22150 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22151 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22152 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22154 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22157 compilation problems.
22159 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22162 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22164 * sysdeps/i386/configure.in: Test for -mfma4 option.
22165 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22166 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22167 COMMON_CPUID_INDEX_80000001.
22168 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22169 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22170 use it if FMA3 is not supported.
22171 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22173 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22174 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22176 2011-10-20 Andreas Schwab <schwab@redhat.com>
22179 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22180 it would create a cycle with a link time dependency.
22182 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22184 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22186 * string/Makefile (strop-tests): Add rawmemchr.
22187 * string/test-rawmemchr.c: New file.
22189 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22190 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22191 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22192 when compiling str{,n}casecmp and when AVX is available. Hook up
22193 new optimized code in initializers.
22195 2011-10-19 Andreas Schwab <schwab@redhat.com>
22197 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22198 __feraiseexcept instead of feraiseexcept.
22200 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22202 * math/math_private.h: Define defaults for libc_fetestexcept and
22204 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22205 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22206 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22207 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22208 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22209 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22210 libc_fetestexcept and libc_feupdateenv.
22212 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22213 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22214 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22215 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22216 libc_feholdexcept_setround.
22218 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22219 Add s_nearbyint-c and s_nearbyintf-c.
22220 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22221 nearbyintf inlines.
22222 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22223 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22224 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22225 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22227 * math/math_private.h: Define defaults for libc_fegetround,
22228 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22229 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22230 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22231 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22232 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22233 standard functions.
22234 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22235 Remove comments and hacks for old compiler versions.
22236 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22237 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22238 libc_feholdexceptl.
22240 2011-10-18 Andreas Schwab <schwab@redhat.com>
22242 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22243 (__feraiseexcept_renamed): Add __NTH.
22244 (feraiseexcept): Add __NTH. Rename local variables to fix
22245 namespace violations.
22247 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22249 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22251 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22253 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22254 recently added interfaces.
22255 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22257 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22258 about macro parameter expansion.
22260 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22261 __NO_MATH_INLINES is defined. Cleanups.
22263 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22264 and __floorf is target has SSE4.1.
22265 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22266 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22267 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22268 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22270 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22272 (floorf): Likewise.
22274 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22276 2011-10-17 Andreas Schwab <schwab@redhat.com>
22278 * misc/sys/cdefs.h: Fix last change.
22280 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22283 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22285 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22287 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22288 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22289 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22290 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22291 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22292 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22293 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22294 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22295 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22296 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22297 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22298 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22299 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22300 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22301 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22302 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22303 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22304 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22305 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22306 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22307 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22308 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22310 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22311 ceil, ceilf, floor, floorf.
22313 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22314 Perform IRELATIVE relocations last.
22316 * elf/do-rel.h: Add another parameter nrelative, replacing the
22317 local variable with the same name. Change name of the function
22318 to end in Rel or Rela (uppercase).
22319 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22320 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22321 elf_dynamic_do_##reloc function.
22323 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22325 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22326 is sufficient, at least on modern CPUs.
22328 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22330 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22331 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22333 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22335 * math/bits/math-finite.h: Add entries for exp.
22336 * math/e_expl.c: Add __*_finite alias.
22337 * sysdeps/i386/fpu/e_exp.S: Likewise.
22338 * sysdeps/i386/fpu/e_expf.S: Likewise.
22339 * sysdeps/i386/fpu/e_expl.c: Likewise.
22340 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22341 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22342 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22343 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22344 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22345 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22346 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22348 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22349 is sufficient, at least on modern CPUs.
22351 * ctype/ctype-info.c (__ctype_init): Define.
22352 * include/ctype.h (__ctype_init): Declare.
22353 (__ctype_b_loc): The variable is always initialized.
22354 (__ctype_toupper_loc): Likewise.
22355 (__ctype_tolower_loc): Likewise.
22356 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22357 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22359 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22361 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22363 * configure.in: Also look in $cxxmachine/include for C++ system
22366 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22368 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22369 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22370 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22371 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22372 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22373 (USE_AS_WMEMCMP): New macro.
22375 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22376 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22377 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22378 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22379 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22380 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22381 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22382 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22383 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22384 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22385 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22386 (USE_AS_WMEMCMP): New macro.
22387 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22388 * sysdeps/string/test-memcmp.c: Update.
22389 Fix simple_wmemcmp.
22391 * wcsmbs/wmemcmp.c: Update.
22392 (WMEMCMP): New macro.
22395 2011-10-12 Andreas Jaeger <aj@suse.de>
22398 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22400 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22402 * libio/iofwide.c (do_length): Avoid warning.
22404 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22406 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22408 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22410 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22411 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22412 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22413 * sysdeps/i386/i686/fpu/e_log.S: New file.
22414 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22415 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22417 * ctype/ctype.h: Add support for inlined isXXX functions when
22418 compiling C++ code.
22420 2011-10-14 Andreas Schwab <schwab@redhat.com>
22422 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22424 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22426 2011-10-13 Roland McGrath <roland@hack.frob.com>
22429 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22431 2011-10-13 Andreas Schwab <schwab@redhat.com>
22433 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22434 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22437 * sysdeps/x86_64/memrchr.S: Check for zero size.
22439 * string/stratcliff.c: Add memrchr tests.
22441 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22444 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22445 rawmemchr-sse2 rawmemchr-sse2-bsf.
22446 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22447 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22448 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22449 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22450 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22451 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22452 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22453 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22454 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22455 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22456 * string/memrchr.c (MEMRCHR): New macro.
22458 2011-10-12 Ulrich Drepper <drepper@gmail.com>
22460 Add integration with gcc's -ffinite-math-only and optimize wrapper
22462 * Versions.def: Define GLIBC_2.15 version for libm.
22463 * math/Makefile (headers): Add bits/math-finite.h.
22464 * math/bits/math-finite.h: New file.
22465 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22466 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22467 * math/e_acoshl.c: Add __*_finite alias.
22468 * math/e_acosl.c: Likewise.
22469 * math/e_asinl.c: Likewise.
22470 * math/e_atan2l.c: Likewise.
22471 * math/e_atanhl.c: Likewise.
22472 * math/e_coshl.c: Likewise.
22473 * math/e_exp10.c: Likewise.
22474 * math/e_exp10f.c: Likewise.
22475 * math/e_exp10l.c: Likewise.
22476 * math/e_exp2l.c: Likewise.
22477 * math/e_fmodl.c: Likewise.
22478 * math/e_gammal_r.c: Likewise.
22479 * math/e_hypotl.c: Likewise.
22480 * math/e_j0l.c: Likewise.
22481 * math/e_j1l.c: Likewise.
22482 * math/e_jnl.c: Likewise.
22483 * math/e_lgammal_r.c: Likewise.
22484 * math/e_log10l.c: Likewise.
22485 * math/e_log2l.c: Likewise.
22486 * math/e_logl.c: Likewise.
22487 * math/e_powl.c: Likewise.
22488 * math/e_sinhl.c: Likewise.
22489 * math/e_sqrtl.c: Likewise.
22490 * math/e_scalb.c: Completely rewritten and optimized.
22491 * math/e_scalbf.c: Likewise.
22492 * math/e_scalbl.c: Likewise.
22493 * math/w_acos.c: Likewise.
22494 * math/w_acosf.c: Likewise.
22495 * math/w_acosl.c: Likewise.
22496 * math/w_acosh.c: Likewise.
22497 * math/w_acoshf.c: Likewise.
22498 * math/w_acoshl.c: Likewise.
22499 * math/w_asin.c: Likewise.
22500 * math/w_asinf.c: Likewise.
22501 * math/w_asinl.c: Likewise.
22502 * math/w_atan2.c: Likewise.
22503 * math/w_atan2f.c: Likewise.
22504 * math/w_atan2l.c: Likewise.
22505 * math/w_atanh.c: Likewise.
22506 * math/w_atanhf.c: Likewise.
22507 * math/w_atanhl.c: Likewise.
22508 * math/w_exp10.c: Likewise.
22509 * math/w_exp10f.c: Likewise.
22510 * math/w_exp10l.c: Likewise.
22511 * math/w_fmod.c: Likewise.
22512 * math/w_fmodf.c: Likewise.
22513 * math/w_fmodl.c: Likewise.
22514 * math/w_j0.c: Likewise.
22515 * math/w_j0f.c: Likewise.
22516 * math/w_j0l.c: Likewise.
22517 * math/w_j1.c: Likewise.
22518 * math/w_j1f.c: Likewise.
22519 * math/w_j1l.c: Likewise.
22520 * math/w_jn.c: Likewise.
22521 * math/w_jnf.c: Likewise.
22522 * math/w_log.c: Likewise.
22523 * math/w_logf.c: Likewise.
22524 * math/w_logl.c: Likewise.
22525 * math/w_log10.c: Likewise.
22526 * math/w_log10f.c: Likewise.
22527 * math/w_log10l.c: Likewise.
22528 * math/w_log2.c: Likewise.
22529 * math/w_log2f.c: Likewise.
22530 * math/w_log2l.c: Likewise.
22531 * math/w_pow.c: Likewise.
22532 * math/w_powf.c: Likewise.
22533 * math/w_powl.c: Likewise.
22534 * math/w_remainder.c: Likewise.
22535 * math/w_remainderf.c: Likewise.
22536 * math/w_remainderl.c: Likewise.
22537 * math/w_scalb.c: Likewise.
22538 * math/w_scalbf.c: Likewise.
22539 * math/w_scalbl.c: Likewise.
22540 * math/w_sqrt.c: Likewise.
22541 * math/w_sqrtf.c: Likewise.
22542 * math/w_sqrtl.c: Likewise.
22543 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22544 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22546 * math/math_private.h: Declare __kernel_standard_f.
22547 * math/w_cosh.c: Remove cruft and optimize a bit.
22548 * math/w_coshf.c: Likewise.
22549 * math/w_coshl.c: Likewise.
22550 * math/w_exp2.c: Likewise.
22551 * math/w_exp2f.c: Likewise.
22552 * math/w_exp2l.c: Likewise.
22553 * math/w_hypot.c: Likewise.
22554 * math/w_hypotf.c: Likewise.
22555 * math/w_hypotl.c: Likewise.
22556 * math/w_lgamma.c: Likewise.
22557 * math/w_lgamma_r.c: Likewise.
22558 * math/w_lgammaf.c: Likewise.
22559 * math/w_lgammaf_r.c: Likewise.
22560 * math/w_lgammal.c: Likewise.
22561 * math/w_lgammal_r.c: Likewise.
22562 * math/w_sinh.c: Likewise.
22563 * math/w_sinhf.c: Likewise.
22564 * math/w_sinhl.c: Likewise.
22565 * math/w_tgamma.c: Likewise.
22566 * math/w_tgammaf.c: Likewise.
22567 * math/w_tgammal.c: Likewise.
22568 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22569 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22570 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22571 Minor optimizations. Pretty printing. Remove cruft.
22572 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22573 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22574 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22575 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22576 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22577 * sysdeps/i386/fpu/e_asin.S: Likewise.
22578 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22579 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22580 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22581 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22582 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22583 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22584 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22585 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22586 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22587 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22588 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22589 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22590 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22591 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22592 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22593 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22594 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22595 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22596 * sysdeps/i386/fpu/e_log.S: Likewise.
22597 * sysdeps/i386/fpu/e_log10.S: Likewise.
22598 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22599 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22600 * sysdeps/i386/fpu/e_log2.S: Likewise.
22601 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22602 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22603 * sysdeps/i386/fpu/e_logf.S: Likewise.
22604 * sysdeps/i386/fpu/e_logl.S: Likewise.
22605 * sysdeps/i386/fpu/e_pow.S: Likewise.
22606 * sysdeps/i386/fpu/e_powf.S: Likewise.
22607 * sysdeps/i386/fpu/e_powl.S: Likewise.
22608 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22609 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22610 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22611 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22612 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22613 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22614 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22615 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22616 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22632 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22638 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22639 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22640 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22641 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22642 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22643 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22644 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22645 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22646 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22647 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22648 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22649 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22650 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22651 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22652 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22653 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22654 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22655 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22656 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22657 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22658 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22659 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22661 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22663 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22664 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22665 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22667 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22669 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22670 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22671 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22672 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22673 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22674 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22675 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22676 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22677 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22678 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22679 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22680 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22681 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22682 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22683 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22684 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22686 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22687 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22688 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22689 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22690 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22691 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22692 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22694 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22695 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22696 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22697 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22698 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22699 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22700 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22701 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22702 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22703 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22704 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22705 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22706 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22707 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22708 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22709 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22710 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22711 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22712 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22713 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22714 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22715 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22716 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22717 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22718 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22719 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22720 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22721 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22722 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22723 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22724 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22725 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22726 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22727 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22728 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22729 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22730 (__isnanf): Likewise.
22731 (__isinf_ns): Likewise.
22732 (__isinf_nsf): Likewise.
22733 (__finite): Likewise.
22734 (__finitef): Likewise.
22735 (__ieee754_sqrt): Define as macro.
22736 (__ieee754_sqrtf): Define as macro.
22737 (__ieee754_sqrtl): Define as macro.
22738 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22740 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22741 __FINITE_MATH_ONLY__ consistent.
22742 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22744 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22746 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22749 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22751 2011-10-09 Ulrich Drepper <drepper@gmail.com>
22753 * po/ja.po: Update from translation team.
22755 2011-10-08 Roland McGrath <roland@hack.frob.com>
22757 * locale/programs/locarchive.c (prepare_address_space): New function.
22758 (create_archive, enlarge_archive, open_archive): Use it.
22760 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22761 inside [SHARED], where it is used.
22763 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22765 * nss/getent.c (netgroup_keys): Remove unused variable.
22766 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22768 2011-10-08 Ulrich Drepper <drepper@gmail.com>
22770 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22771 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22772 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22773 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22774 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22775 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22776 * math/Makefile (libm-calls): Add s_isinf_ns.
22777 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22778 * math/multc3.c: Likewise.
22779 * math/s_casin.c: Likewise.
22780 * math/s_casinf.c: Likewise.
22781 * math/s_casinl.c: Likewise.
22782 * math/s_ccos.c: Likewise.
22783 * math/s_ccosf.c: Likewise.
22784 * math/s_ccosl.c: Likewise.
22785 * math/s_ctan.c: Likewise.
22786 * math/s_ctanf.c: Likewise.
22787 * math/s_ctanh.c: Likewise.
22788 * math/s_ctanhf.c: Likewise.
22789 * math/s_ctanhl.c: Likewise.
22790 * math/s_ctanl.c: Likewise.
22791 * math/w_fmod.c: Likewise.
22792 * math/w_fmodf.c: Likewise.
22793 * math/w_fmodl.c: Likewise.
22794 * math/w_remainder.c: Likewise.
22795 * math/w_remainderf.c: Likewise.
22796 * math/w_remainderl.c: Likewise.
22797 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22798 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22799 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22800 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22801 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22802 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22803 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22804 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22806 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22808 * stdio-common/printf_fphex.c: Likewise.
22809 * stdio-common/printf_size.c: Likewise.
22811 * math/e_exp10.c: Include math_private.h using <...> not "...".
22812 * math/e_exp10f.c: Likewise.
22813 * math/e_exp10l.c: Likewise.
22814 * math/e_exp2l.c: Likewise.
22815 * math/e_j0l.c: Likewise.
22816 * math/e_j1l.c: Likewise.
22817 * math/e_jnl.c: Likewise.
22818 * math/e_lgammal_r.c: Likewise.
22819 * math/e_rem_pio2l.c: Likewise.
22820 * math/e_scalb.c: Likewise.
22821 * math/e_scalbf.c: Likewise.
22822 * math/e_scalbl.c: Likewise.
22823 * math/k_cosl.c: Likewise.
22824 * math/k_sinl.c: Likewise.
22825 * math/k_tanl.c: Likewise.
22826 * math/s_cacoshf.c: Likewise.
22827 * math/s_catan.c: Likewise.
22828 * math/s_catanf.c: Likewise.
22829 * math/s_catanh.c: Likewise.
22830 * math/s_catanhf.c: Likewise.
22831 * math/s_catanhl.c: Likewise.
22832 * math/s_catanl.c: Likewise.
22833 * math/s_ccosh.c: Likewise.
22834 * math/s_ccoshf.c: Likewise.
22835 * math/s_ccoshl.c: Likewise.
22836 * math/s_cexp.c: Likewise.
22837 * math/s_cexpf.c: Likewise.
22838 * math/s_cexpl.c: Likewise.
22839 * math/s_clog.c: Likewise.
22840 * math/s_clog10.c: Likewise.
22841 * math/s_clog10f.c: Likewise.
22842 * math/s_clog10l.c: Likewise.
22843 * math/s_clogf.c: Likewise.
22844 * math/s_clogl.c: Likewise.
22845 * math/s_csin.c: Likewise.
22846 * math/s_csinf.c: Likewise.
22847 * math/s_csinh.c: Likewise.
22848 * math/s_csinhf.c: Likewise.
22849 * math/s_csinhl.c: Likewise.
22850 * math/s_csinl.c: Likewise.
22851 * math/s_csqrt.c: Likewise.
22852 * math/s_csqrtf.c: Likewise.
22853 * math/s_csqrtl.c: Likewise.
22854 * math/s_ctan.c: Likewise.
22855 * math/s_ctanf.c: Likewise.
22856 * math/s_ctanh.c: Likewise.
22857 * math/s_ctanhf.c: Likewise.
22858 * math/s_ctanhl.c: Likewise.
22859 * math/s_ctanl.c: Likewise.
22860 * math/s_ldexp.c: Likewise.
22861 * math/s_ldexpf.c: Likewise.
22862 * math/s_ldexpl.c: Likewise.
22863 * math/s_significand.c: Likewise.
22864 * math/s_significandf.c: Likewise.
22865 * math/s_significandl.c: Likewise.
22866 * math/w_acos.c: Likewise.
22867 * math/w_acosf.c: Likewise.
22868 * math/w_acosh.c: Likewise.
22869 * math/w_acoshf.c: Likewise.
22870 * math/w_acoshl.c: Likewise.
22871 * math/w_acosl.c: Likewise.
22872 * math/w_asin.c: Likewise.
22873 * math/w_asinf.c: Likewise.
22874 * math/w_asinl.c: Likewise.
22875 * math/w_atan2.c: Likewise.
22876 * math/w_atan2f.c: Likewise.
22877 * math/w_atan2l.c: Likewise.
22878 * math/w_atanh.c: Likewise.
22879 * math/w_atanhf.c: Likewise.
22880 * math/w_atanhl.c: Likewise.
22881 * math/w_cosh.c: Likewise.
22882 * math/w_coshf.c: Likewise.
22883 * math/w_coshl.c: Likewise.
22884 * math/w_dremf.c: Likewise.
22885 * math/w_exp10.c: Likewise.
22886 * math/w_exp10f.c: Likewise.
22887 * math/w_exp10l.c: Likewise.
22888 * math/w_exp2.c: Likewise.
22889 * math/w_exp2f.c: Likewise.
22890 * math/w_fmod.c: Likewise.
22891 * math/w_fmodf.c: Likewise.
22892 * math/w_fmodl.c: Likewise.
22893 * math/w_hypot.c: Likewise.
22894 * math/w_hypotf.c: Likewise.
22895 * math/w_hypotl.c: Likewise.
22896 * math/w_j0.c: Likewise.
22897 * math/w_j0f.c: Likewise.
22898 * math/w_j0l.c: Likewise.
22899 * math/w_j1.c: Likewise.
22900 * math/w_j1f.c: Likewise.
22901 * math/w_j1l.c: Likewise.
22902 * math/w_jn.c: Likewise.
22903 * math/w_jnf.c: Likewise.
22904 * math/w_jnl.c: Likewise.
22905 * math/w_lgamma.c: Likewise.
22906 * math/w_lgamma_r.c: Likewise.
22907 * math/w_lgammaf.c: Likewise.
22908 * math/w_lgammaf_r.c: Likewise.
22909 * math/w_lgammal.c: Likewise.
22910 * math/w_lgammal_r.c: Likewise.
22911 * math/w_log.c: Likewise.
22912 * math/w_log10.c: Likewise.
22913 * math/w_log10f.c: Likewise.
22914 * math/w_log10l.c: Likewise.
22915 * math/w_log2.c: Likewise.
22916 * math/w_log2f.c: Likewise.
22917 * math/w_log2l.c: Likewise.
22918 * math/w_logf.c: Likewise.
22919 * math/w_logl.c: Likewise.
22920 * math/w_pow.c: Likewise.
22921 * math/w_powf.c: Likewise.
22922 * math/w_powl.c: Likewise.
22923 * math/w_remainder.c: Likewise.
22924 * math/w_remainderf.c: Likewise.
22925 * math/w_remainderl.c: Likewise.
22926 * math/w_scalb.c: Likewise.
22927 * math/w_scalbf.c: Likewise.
22928 * math/w_scalbl.c: Likewise.
22929 * math/w_sinh.c: Likewise.
22930 * math/w_sinhf.c: Likewise.
22931 * math/w_sinhl.c: Likewise.
22932 * math/w_sqrt.c: Likewise.
22933 * math/w_sqrtf.c: Likewise.
22934 * math/w_sqrtl.c: Likewise.
22935 * math/w_tgamma.c: Likewise.
22936 * math/w_tgammaf.c: Likewise.
22937 * math/w_tgammal.c: Likewise.
22939 * po/ja.po: Update from translation team.
22941 2011-09-29 Andreas Jaeger <aj@suse.de>
22944 * sunrpc/netname.c (netname2host): Fix logic.
22948 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22950 * math/w_remainder.c (__remainder): Likewise.
22951 * math/w_remainderf.c (__remainderf): Likewise.
22952 * math/libm-test.inc (remainder_test): Add test cases.
22954 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22956 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22959 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22961 * string/test-memcmp.c: Avoid unncessary #defines.
22962 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22964 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22966 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22967 Use new sse2 version for core i3 - i7 as it's faster
22968 than sse42 version.
22969 (bit_Prefer_PMINUB_for_stringop): New.
22970 * sysdeps/x86_64/rawmemchr.S: Update.
22971 Replace with faster SSE2 version.
22972 * sysdeps/x86_64/memrchr.S: New file.
22973 * sysdeps/x86_64/memchr.S: Update.
22974 Replace with faster SSE2 version.
22976 2011-09-12 Marek Polacek <mpolacek@redhat.com>
22978 * elf/dl-load.c (lose): Add cast to avoid warning.
22980 2011-10-07 Ulrich Drepper <drepper@gmail.com>
22982 * po/ca.po: Update from translation team.
22984 * inet/getnetgrent_r.c: Hook up nscd.
22985 * nscd/Makefile (routines): Add nscd_netgroup.
22986 (nscd-modules): Add netgroupcache.
22987 (CFLAGS-netgroupcache.c): Define.
22988 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22989 (cache_search): Add const to second parameter.
22990 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22992 (dbs): Add netgrdb entry.
22993 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22994 (verify_persistent_db): Handle netgrdb.
22995 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22996 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22998 (netgroup_response_header): Define.
22999 (innetgroup_response_header): Define.
23000 (datahead): Add netgroup_response_header and innetgroup_response_header
23002 * nscd/nscd.conf: Add entries for netgroup cache.
23003 * nscd/nscd.h (dbtype): Add netgrdb.
23004 (_PATH_NSCD_NETGROUP_DB): Define.
23005 (netgroup_iov_disabled): Declare.
23006 (xmalloc, xcalloc, xrealloc): Move declarations here.
23007 (cache_search): Adjust prototype.
23008 Add netgroup-related prototypes.
23009 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23010 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23011 (__nscd_innetgr): Declare.
23012 * nscd/selinux.c (perms): Use access_vector_t as element type and
23013 add netgroup-related initializers.
23014 * nscd/netgroupcache.c: New file.
23015 * nscd/nscd_netgroup.c: New file.
23016 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23017 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23018 For four parameters use innetgr.
23019 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23020 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23021 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23022 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23024 * nscd/connections.c (register_traced_file): Don't register file
23025 for disabled databases.
23027 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23029 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23031 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23032 from tree and freeing node.
23034 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23036 * nss/nsswitch.c (__nss_database_lookup): Handle
23037 nss_parse_service_list out of memory case.
23039 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23041 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23042 out of memory case.
23044 2011-10-04 Andreas Schwab <schwab@redhat.com>
23046 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23047 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23049 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23050 elf_machine_rela, elf_machine_lazy_rel.
23051 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23052 (ELF_DYNAMIC_DO_REL): Likewise.
23053 (ELF_DYNAMIC_DO_RELA): Likewise.
23054 (ELF_DYNAMIC_RELOCATE): Likewise.
23055 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23056 to ELF_DYNAMIC_DO_REL.
23057 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23058 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23059 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23061 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23062 skip_ifunc, don't call ifunc function if non-zero.
23063 (elf_machine_rela): Likewise.
23064 (elf_machine_lazy_rel): Likewise.
23065 (elf_machine_lazy_rela): Likewise.
23066 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23067 (elf_machine_lazy_rel): Likewise.
23068 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23070 (elf_machine_lazy_rel): Likewise.
23071 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23073 (elf_machine_lazy_rel): Likewise.
23074 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23075 (elf_machine_lazy_rel): Likewise.
23076 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23077 (elf_machine_lazy_rel): Likewise.
23078 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23079 (elf_machine_lazy_rel): Likewise.
23080 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23081 (elf_machine_lazy_rel): Likewise.
23082 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23083 (elf_machine_lazy_rel): Likewise.
23084 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23085 (elf_machine_lazy_rel): Likewise.
23087 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23089 * nss/nss_files/files-init.c (_nss_files_init): Use static
23090 initialization for all the *_traced_file variables.
23092 2011-09-28 Andreas Schwab <schwab@redhat.com>
23094 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23096 2011-09-27 Roland McGrath <roland@hack.frob.com>
23099 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23101 2011-09-27 Andreas Schwab <schwab@redhat.com>
23103 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23104 Reread the line before reparsing it.
23106 2011-09-26 Andreas Schwab <schwab@redhat.com>
23108 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23110 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23111 Maxim Kuvyrkov <maxim@codesourcery.com>
23112 Joseph Myers <joseph@codesourcery.com>
23114 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23115 if needed for __stack_chk_guard.
23117 2011-09-19 Roland McGrath <roland@hack.frob.com>
23119 * sysdeps/posix/spawni.c (script_execute): Always define it.
23120 It will be optimized away if unused.
23121 (maybe_script_execute): New function.
23122 (__spawni): Call it.
23124 * Makerules: Don't include tls.make.
23125 (config-tls): Always set to thread.
23126 * tls.make.c: File removed.
23128 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23130 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23131 * config.make.in (CPPFLAGS-config): New substituted variable.
23133 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23135 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23138 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23139 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23141 2011-09-15 Roland McGrath <roland@hack.frob.com>
23143 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23144 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23145 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23146 (CALL_FAIL): Likewise.
23147 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23148 (CALL_FAIL): Macro removed.
23149 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23151 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23153 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23154 for __FINITE_MATH_ONLY__ == 1.
23156 2011-09-15 Andreas Schwab <schwab@redhat.com>
23158 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23159 __ieee754_sqrt instead of sqrt.
23160 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23161 __ieee754_sqrtf instead of sqrtf.
23162 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23163 __floorf instead of floorf.
23164 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23165 __floorf, __truncf instead of floorf, truncf.
23167 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23169 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23171 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23172 __extern_always_inline.
23173 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23176 2011-09-14 Andreas Schwab <schwab@redhat.com>
23178 * elf/rtld.c (dl_main): Also relocate in dependency order when
23179 doing symbol dependency testing.
23181 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23183 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23184 Always define `refsym'.
23186 2011-09-13 Andreas Schwab <schwab@redhat.com>
23188 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23189 (__FD_ELT): Renamed from __FDELT.
23190 * misc/bits/select2.h (__FD_ELT): Likewise.
23191 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23192 __FD_MASK instead of __FDELT, __FDMASK.
23193 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23195 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23198 * elf/Makefile (gen-ldd): Fix pattern.
23200 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23201 (init_tls): Likewise.
23203 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23205 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23207 2011-09-12 Andreas Schwab <schwab@redhat.com>
23209 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23210 `struct cmsghdr *' instead of `void *'.
23211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23214 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23216 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23218 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23219 ldd_rewrite_script.
23221 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23223 * configure.in: Remove --with-tls option.
23224 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23225 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23226 out in case it is missing.
23227 * sysdeps/ia64/elf/configure.in: Likewise.
23228 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23229 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23230 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23231 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23232 * sysdeps/sh/elf/configure.in: Likewise.
23233 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23234 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23235 * sysdeps/x86_64/elf/configure.in: Likewise.
23236 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23237 * sysdeps/mach/hurd/tls.h: Likewise.
23240 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23243 * configure.in: Fix use of AC_INIT.
23245 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23247 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23249 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23251 * malloc/hooks.c: Likewise.
23254 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23255 variables statically.
23256 (narenas): Initialize.
23257 (list_lock): Initialize.
23258 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23259 initializtion of main_arena and list_lock. Small cleanups.
23260 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23261 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23262 Add initializers to main_arena and mp_.
23263 (malloc_state): Remove pagesize member. Change all users to use
23266 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23267 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23268 is always initialized.
23270 * malloc/malloc.c: Removed unused configurations and dead code.
23271 * malloc/arena.c: Likewise.
23272 * malloc/hooks.c: Likewise.
23273 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23275 * include/tls.h: Removed. USE___THREAD must always be defined.
23276 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23277 * elf/dl-libc.c: Likewise.
23278 * elf/dl-tsd.c: Likewise.
23279 * include/errno.h: Likewise.
23280 * include/netdb.h: Likewise.
23281 * include/resolv.h: Likewise.
23282 * inet/herrno-loc.c: Likewise.
23283 * inet/herrno.c: Likewise.
23284 * malloc/arena.c: Likewise.
23285 * malloc/hooks.c: Likewise.
23286 * malloc/malloc.c: Likewise.
23287 * resolv/res-state.c: Likewise.
23288 * resolv/res_libc.c: Likewise.
23289 * sysdeps/i386/dl-machine.h: Likewise.
23290 * sysdeps/ia64/dl-machine.h: Likewise.
23291 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23292 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23293 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23294 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23295 * sysdeps/sh/dl-machine.h: Likewise.
23296 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23297 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23298 * sysdeps/unix/i386/sysdep.S: Likewise.
23299 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23300 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23301 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23302 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23303 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23304 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23305 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23307 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23309 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23310 * sysdeps/x86_64/dl-machine.h: Likewise.
23311 * tls.make.c: Likewise.
23313 * configure.in: Remove --with-__thread option. Make tests for
23314 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23315 tls_model attribute fail if no support is available. Remove
23317 * Makeconfig: Adjust for dropped configure option. All features are
23319 * Makerules: Likewise.
23320 * Versions.def: Likewise.
23321 * argp/argp-fmtstream.c: Likewise.
23322 * argp/argp-fmtstream.h: Likewise.
23323 * argp/argp-help.c: Likewise.
23324 * assert/assert.c: Likewise.
23325 * config.h.in: Likewise.
23326 * config.make.in: Likewise.
23327 * configure: Likewise.
23328 * configure.in: Likewise.
23329 * csu/Versions: Likewise.
23330 * csu/init.c: Likewise.
23331 * elf/tst-audit2.c: Likewise.
23332 * elf/tst-tls10.c: Likewise.
23333 * elf/tst-tls10.h: Likewise.
23334 * elf/tst-tls11.c: Likewise.
23335 * elf/tst-tls12.c: Likewise.
23336 * elf/tst-tls14.c: Likewise.
23337 * elf/tst-tlsmod11.c: Likewise.
23338 * elf/tst-tlsmod12.c: Likewise.
23339 * elf/tst-tlsmod13.c: Likewise.
23340 * elf/tst-tlsmod13a.c: Likewise.
23341 * elf/tst-tlsmod14a.c: Likewise.
23342 * elf/tst-tlsmod15b.c: Likewise.
23343 * elf/tst-tlsmod16a.c: Likewise.
23344 * elf/tst-tlsmod16b.c: Likewise.
23345 * elf/tst-tlsmod7.c: Likewise.
23346 * elf/tst-tlsmod8.c: Likewise.
23347 * elf/tst-tlsmod9.c: Likewise.
23348 * gmon/gmon.c: Likewise.
23349 * grp/fgetgrent_r.c: Likewise.
23350 * grp/putgrent.c: Likewise.
23351 * hurd/fopenport.c: Likewise.
23352 * include/libc-symbols.h: Likewise.
23353 * include/tls.h: Likewise.
23354 * intl/gettextP.h: Likewise.
23355 * intl/loadinfo.h: Likewise.
23356 * locale/global-locale.c: Likewise.
23357 * locale/localeinfo.h: Likewise.
23358 * mach/devstream.c: Likewise.
23359 * malloc/arena.c: Likewise.
23360 * malloc/set-freeres.c: Likewise.
23361 * misc/err.c: Likewise.
23362 * misc/getttyent.c: Likewise.
23363 * misc/mntent_r.c: Likewise.
23364 * posix/getopt.c: Likewise.
23365 * posix/wordexp.c: Likewise.
23366 * pwd/fgetpwent_r.c: Likewise.
23367 * resolv/Versions: Likewise.
23368 * resolv/res_hconf.c: Likewise.
23369 * shadow/fgetspent_r.c: Likewise.
23370 * shadow/putspent.c: Likewise.
23371 * stdio-common/printf_fphex.c: Likewise.
23372 * stdio-common/tmpfile.c: Likewise.
23373 * stdlib/abort.c: Likewise.
23374 * stdlib/fmtmsg.c: Likewise.
23375 * sunrpc/auth_unix.c: Likewise.
23376 * sunrpc/clnt_perr.c: Likewise.
23377 * sunrpc/clnt_tcp.c: Likewise.
23378 * sunrpc/clnt_udp.c: Likewise.
23379 * sunrpc/clnt_unix.c: Likewise.
23380 * sunrpc/openchild.c: Likewise.
23381 * sunrpc/svc_simple.c: Likewise.
23382 * sunrpc/svc_tcp.c: Likewise.
23383 * sunrpc/svc_udp.c: Likewise.
23384 * sunrpc/svc_unix.c: Likewise.
23385 * sunrpc/xdr.c: Likewise.
23386 * sunrpc/xdr_array.c: Likewise.
23387 * sunrpc/xdr_rec.c: Likewise.
23388 * sunrpc/xdr_ref.c: Likewise.
23389 * sunrpc/xdr_stdio.c: Likewise.
23391 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23393 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23395 2011-07-03 Andreas Jaeger <aj@suse.de>
23397 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23398 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23399 regenerate with gen-libm-tests.pl.
23401 2010-05-12 Petr Baudis <pasky@suse.cz>
23404 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23405 around j0() zero points by switching to j1().
23406 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23407 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23408 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23409 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23411 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23413 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23415 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23418 Patch in part by Pavel Roskin <proski@gnu.org>.
23421 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23423 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23424 Free memory block if necessary.
23427 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23428 be NULL. Don't lock in this case.
23430 2011-09-09 Roland McGrath <roland@hack.frob.com>
23432 * elf/elf.h (ELFOSABI_GNU): New macro.
23433 (ELFOSABI_LINUX): Define to that.
23435 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23437 * string/strncat.c (strncat): Undef the symbol in case it has been
23438 defined in bits/string.h.
23440 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23442 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23444 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23447 2011-08-17 Andreas Jaeger <aj@suse.de>
23449 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23451 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23452 Ian Lance Taylor <iant@google.com>
23454 * math/libm-test.inc (lround_test): New testcase.
23455 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23457 2011-09-08 Ulrich Drepper <drepper@gmail.com>
23459 * Makefile: Remove support for automatic cvs check-ins.
23460 * Makerules: Likewise.
23461 * config.make.in: Likewise.
23462 * configure.in: Likewise.
23463 * intl/Makefile: Likewise.
23464 * locale/Makefile: Likewise.
23465 * po/Makefile: Likewise.
23466 * posix/Makefile: Likewise.
23467 * sysdeps/gnu/Makefile: Likewise.
23468 * sysdeps/mach/hurd/Makefile: Likewise.
23469 * sysdeps/sparc/sparc32/Makefile: Likewise.
23472 * posix/Makefile (bug-regex32-ENV): Define.
23473 Patch by John Stanley <jpsinthemix@verizon.net>.
23475 * misc/Makefile (headers): Add bits/select2.h.
23476 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23477 * misc/bits/select2.h: New file.
23478 * include/bits/select2.h: New file.
23479 * debug/Makefile (routines): Add fdelt_chk.
23480 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23481 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23483 * debug/fdelt_chk.c: New file.
23485 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23486 * wcsmbs/test-wmemcmp.c: Likewise.
23487 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23488 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23490 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23492 * string/Makefile (strop-tests): Add memcmp.
23493 * string/test-wmemcmp.c: New file.
23494 * string/test-memcmp.c: Add wmemcmp support.
23496 2011-09-08 Roland McGrath <roland@hack.frob.com>
23499 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23502 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23503 garbage value in a __mach_port_mod_refs call in the cases of the
23504 task-self and thread-self ports.
23506 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23508 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23510 2011-09-08 Andreas Schwab <schwab@redhat.com>
23512 * elf/dl-load.c (lose): Check for non-null L.
23514 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23516 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23518 * elf/dl-libc.c (dlerror_run): Pass back error code from
23522 * elf/dl-load.c (lose): Free l_origin if it is valid.
23524 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23526 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23527 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23528 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23529 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23530 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23531 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23533 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23535 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23536 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23537 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23538 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23539 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23540 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23541 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23542 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23543 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23544 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23546 2011-08-15 Alan Modra <amodra@gmail.com>
23549 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23550 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23551 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23552 ppc_mcount to static-only-routines.
23553 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23555 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23556 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23558 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23560 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23561 for finite and infinity parameters.
23563 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23565 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23566 and add nop instructions for throughput optimization.
23567 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23569 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23571 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23572 aligned copy for power7 with vector-scalar instructions.
23573 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23575 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23577 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23580 2011-09-07 Andreas Schwab <schwab@redhat.com>
23583 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23586 2011-09-07 Ulrich Drepper <drepper@gmail.com>
23588 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23589 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23590 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23591 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23594 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23596 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23597 Forgot to demangle the pointer.
23599 * sysdeps/i386/sysdep.h: Define atom_text_section.
23600 * sysdeps/x86_64/sysdep.h: Likewise.
23601 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23602 section with atom_text_section.
23603 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23604 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23605 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23606 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23607 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23609 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23610 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23611 already be defined. Change to take two parameters and don't assign
23612 result to variable. Adjust all users.
23613 Define INTERNAL_GETTIME if not already defined.
23614 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23616 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23617 HAVE_CLOCK_GETTIME_VSYSCALL.
23618 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23620 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23621 gettimeofday vsyscall, just use time.
23623 2011-09-06 Andreas Schwab <schwab@redhat.com>
23625 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23628 2011-09-06 Ulrich Drepper <drepper@gmail.com>
23630 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23632 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23634 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23635 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23636 syscall if possible.
23638 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23640 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23641 e_ident. Don't pass to find_mapsXX.
23642 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23644 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23647 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23648 * sysdeps/x86_64/multiarch/strchr.S: Update.
23649 Check bit_slow_BSF bit.
23650 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23651 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23652 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23654 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23657 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23659 (tryshell): Define.
23660 (__spawni): Change last parameter to be flag. Test
23661 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23662 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23663 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23664 * posix/spawni.c: Likewise.
23665 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23666 * posix/spawnp.c: Likewise. Change normal version to use
23667 SPAWN_XFLAGS_USE_PATH.
23668 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23669 SPAWN_XFLAGS_TRY_SHELL.
23672 * posix/glob.h: Remove gcc 1.x support.
23675 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23677 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23679 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23680 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23682 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23683 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23684 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23685 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23686 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23687 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23689 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23691 * sysdeps/x86_64/wcscmp.S: New file.
23693 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23694 wcscmp-c wcscmp-sse2
23695 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23696 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23697 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23698 * wcsmbs/wcscmp.c: Allow renaming.
23700 2011-09-05 David S. Miller <davem@davemloft.net>
23702 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23703 stack slot, rather than the struct return pointer slot.
23704 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23705 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23707 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23709 2011-09-05 Ulrich Drepper <drepper@gmail.com>
23711 * po/ja.po: Update from translation team.
23714 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23715 kernel in 64-bit binaries.
23717 2011-09-01 David S. Miller <davem@davemloft.net>
23719 * elf/elf.h (HWCAP_SPARC_*): Move to..
23720 * sysdeps/sparc/sysdep.h: this new file and add new values.
23721 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23722 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23723 _DL_HWCAP_COUNT to 24.
23724 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23726 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23727 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23728 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23729 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23730 instead of magic constants.
23731 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23733 2011-08-31 David S. Miller <davem@davemloft.net>
23735 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23736 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23737 Reimplement to do errno handling inline.
23738 (SYSCALL_ERROR_HANDLER): New macro.
23739 (__SYSCALL_STRING): Do not do errno handling in asm.
23740 (__CLONE_SYSCALL_STRING): Delete.
23741 (__INTERNAL_SYSCALL_STRING): Delete.
23742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23743 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23744 (PSEUDO): Reimplement to do errno handling inline.
23745 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23746 (SYSCALL_ERROR_HANDLER): New macro.
23747 (__SYSCALL_STRING): Do not do errno handling in asm.
23748 (__CLONE_SYSCALL_STRING): Delete.
23749 (__INTERNAL_SYSCALL_STRING): Delete.
23750 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23751 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23753 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23754 (inline_syscall*): Add 'err' argument.
23755 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23756 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23757 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23758 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23760 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23761 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23763 2011-08-30 Andreas Schwab <schwab@redhat.com>
23765 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23767 2011-08-29 Jiri Olsa <jolsa@redhat.com>
23769 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23772 2011-08-24 David S. Miller <davem@davemloft.net>
23774 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23776 2011-08-24 Andreas Schwab <schwab@redhat.com>
23778 * elf/Makefile: Add rules to build and run unload8 test.
23779 * elf/unload8.c: New file.
23780 * elf/unload8mod1.c: New file.
23781 * elf/unload8mod1x.c: New file.
23782 * elf/unload8mod2.c: New file.
23783 * elf/unload8mod3.c: New file.
23785 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23788 2011-08-23 David S. Miller <davem@davemloft.net>
23790 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23791 subtract stack bias.
23792 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23793 %sp not %fp in calculations.
23794 (_JMPBUF_UNWINDS_ADJ): Likewise.
23796 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23797 (aio_suspend): Call it to force an exception region around the
23798 AIO_MISC_WAIT() invocation.
23800 2011-08-23 Andreas Schwab <schwab@redhat.com>
23802 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23805 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23807 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23809 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23810 and <dl-machine.h>.
23811 (Elf64_FuncDesc): Remove.
23813 2011-08-22 David S. Miller <davem@davemloft.net>
23815 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23816 sigaltstack check, add missing cfi directives.
23817 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23818 missing cfi directives, and sigaltstack handling.
23820 2011-08-16 Andreas Schwab <schwab@redhat.com>
23823 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23824 object is seen twice.
23825 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23827 * elf/Makefile (distribute): Add tst-initorder2.c.
23828 (tests): Add tst-initorder2.
23829 (modules-names): Add tst-initorder2a tst-initorder2b
23830 tst-initorder2c tst-initorder2d. Add rules to build them.
23831 ($(objpfx)tst-initorder2.out): New rule.
23832 * elf/tst-initorder2.c: New file.
23833 * elf/tst-initorder2.exp: New file.
23835 2011-08-22 Andreas Schwab <schwab@redhat.com>
23837 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23839 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23840 dependencies back to end of function.
23842 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23843 $(elfobjdir)/ld.so.
23845 2011-08-21 Ulrich Drepper <drepper@gmail.com>
23847 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23848 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23849 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23850 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23851 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23852 of __vdso_gettimeofday.
23853 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23854 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23856 (_libc_vdso_platform_setup): Remove initialization of
23857 __vdso_gettimeofday and __vdso_time.
23859 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23861 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23862 and fgetc_unlocked.
23863 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23866 * elf/dl-open.c (add_to_global): Report additions to the global scope
23867 for LD_DEBUG=scopes.
23868 (dl_open_worker): Also print scope of newly loaded dependencies.
23869 (_dl_show_scope): Indicate if there is no scope.
23872 * stdio-common/Makefile (tests): Add bug24.
23873 * stdio-common/bug24.c: New file.
23875 2011-08-19 Andreas Jaeger <aj@suse.de>
23878 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23879 non-existant file when using close-on-exec mode.
23881 2011-08-20 Ulrich Drepper <drepper@gmail.com>
23883 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23884 the very first instruction.
23886 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23887 the CFI state in the end.
23888 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23889 inclusion of dl-trampoline.h.
23890 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23892 2011-08-19 Andreas Schwab <schwab@redhat.com>
23894 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23895 expectations for long double.
23897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23898 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23900 2011-08-14 David S. Miller <davem@davemloft.net>
23902 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23903 artificual limit depends upon the system page size.
23905 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23907 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23908 * resolv/Makefile: Define CFLAGS-libresolv.
23910 2011-08-17 Andreas Schwab <schwab@redhat.com>
23912 * nss/makedb.c (compute_tables): Make variables used in nested
23915 2011-08-17 Ulrich Drepper <drepper@gmail.com>
23917 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23918 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23919 if buffer was too small.
23921 * elf/pldd.c (main): Attach to all threads in the process.
23922 Rewrite /proc handling to use *at functions.
23924 2011-08-16 Ulrich Drepper <drepper@gmail.com>
23926 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23927 specifies first scope to show.
23928 (dl_open_worker): Update callers. Move printing scope of new
23929 object to before the relocation.
23930 * elf/rtld.c (dl_main): Update _dl_show_scope call.
23931 * sysdeps/generic/ldsodefs.h: Update declaration.
23933 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23934 string for the scope number.
23936 2011-08-14 Ulrich Drepper <drepper@gmail.com>
23938 * nscd/servicescache.c (cache_addserv): Make sure written is always
23941 2011-08-14 Roland McGrath <roland@hack.frob.com>
23943 * sysdeps/i386/i486/bits/atomic.h
23944 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23945 statement expression, so as to suppress "set but not used" warning.
23946 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23948 * string/strncat.c (STRNCAT): Use prototype definition.
23950 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23951 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23953 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23954 (localedef-modules): Add localedef.
23955 (locale-modules): Add locale.
23957 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23958 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23959 to avoid a warning.
23961 2011-08-14 David S. Miller <davem@davemloft.net>
23963 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23964 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23966 2011-08-13 Ulrich Drepper <drepper@gmail.com>
23968 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23969 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23970 * elf/rtld.c (dl_main): Set l_name of vDSO.
23971 Call _dl_show_scope when DL_DEBUG_SCOPES.
23972 (process_dl_debug): Recognize scopes flag and also set it for all.
23973 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23974 Declare _dl_show_scope.
23976 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23977 (do_dlopen): Pass caller_dlopen to dl_open.
23978 (__libc_dlopen_mode): Initialize caller_dlopen.
23980 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23981 of libc. Make tolower call locale-independent. Optimize a bit by
23982 using isdigit instead of isalnum.
23983 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23985 2011-08-12 Ulrich Drepper <drepper@gmail.com>
23987 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23988 was a dependency or dynamically loaded.
23990 2011-08-11 Ulrich Drepper <drepper@gmail.com>
23992 * intl/l10nflist.c: Allow architecture-specific pop function.
23993 * sysdeps/x86_64/l10nflist.c: New file.
23995 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23998 2011-08-10 Andreas Schwab <schwab@redhat.com>
24000 * include/dirent.h: Add libc_hidden_proto for scandirat and
24001 scandirat64. Don't declare __scandirat64.
24002 * dirent/scandirat.c: Add libc_hidden_def.
24003 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24004 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24006 2011-08-10 David S. Miller <davem@davemloft.net>
24008 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24010 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24011 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24012 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24014 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24016 * Versions.def [libc]: Add GLIBC_2.15.
24017 * dirent/Makefile (routines): Add scandirat and scandirat64.
24018 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24020 * dirent/dirent.h: Declare scandirat and scandirat64.
24021 * dirent/scandirat.c: New file.
24022 * dirent/scandirat64.c: New file.
24023 * sysdeps/wordsize-64/scandirat.c: New file.
24024 * sysdeps/wordsize-64/scandirat64.c: New file.
24025 * dirent/opendir.c: Define opendirat.
24026 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24028 * dirent/scandir64.c: Adjust for scandir.c change.
24029 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24030 __scandirat64, and __scandir_cancel_handler.
24031 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24032 additional parameter and use openat instead of open (outside of ld.so).
24033 Add new __opendir as wrapper around __opendirat.
24034 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24035 here without requiring old scandirat implementation.
24037 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24039 * dirent/scandir.c (cancel_handler): Renamed to
24040 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24041 defined. Adjust users.
24042 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24043 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24045 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24047 * string/test-string.h (IMPL): Use __STRING to expand name and then
24050 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24053 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24055 * string/Makefile: Update.
24056 (strop-tests): Append strncat.
24057 * string/test-wcscmp.c: New file.
24058 New comprehensive test for wcscmp.
24059 * string/test-strcmp.c: Update.
24060 (WIDE): New define.
24062 2011-07-22 Andreas Schwab <schwab@redhat.com>
24064 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24067 2011-07-26 Andreas Schwab <schwab@redhat.com>
24069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24070 encoding to ACE if AI_IDN.
24072 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24074 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24075 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24077 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24079 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24080 Fix overflow bug in strncat.
24081 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24083 * string/test-strncat.c: Update.
24084 Add new tests for checking overflow bugs.
24086 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24089 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24090 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24091 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24092 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24093 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24094 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24095 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24096 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24098 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24099 (USE_AS_STRCAT): Define.
24100 Add strcat and strncat support.
24101 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24103 2011-07-25 Andreas Schwab <schwab@redhat.com>
24105 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24106 __n bigger than INT_MAX+1.
24107 (__strncmp_g): Likewise.
24109 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24111 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24112 * libio/stido.h: Likewise.
24114 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24116 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24119 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24120 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24121 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24122 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24123 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24126 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24129 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24131 (_dl_x86_64_save_sse): Likewise.
24133 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24137 (_dl_x86_64_save_sse): Likewise.
24139 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24141 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24143 2011-07-21 Andreas Schwab <schwab@redhat.com>
24145 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24147 (_dl_x86_64_save_sse): Use correct AVX check.
24149 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24151 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24152 bug in strncpy/strncat.
24153 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24155 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24157 * string/tester.c (test_strcat): Add tests for different alignments
24158 of source and destination.
24159 (test_strncat): Likewise.
24161 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24164 * posix/glob.c (glob): Check passed in values before using them in
24165 expressions to avoid some overflows.
24166 (glob_in_dir): Likewise.
24169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24170 check for AVX enablement so that we don't crash with old kernels and
24172 * elf/tst-audit4.c: Add same checks here.
24173 * elf/tst-audit6.c: Likewise.
24175 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24177 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24179 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24181 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24183 * po/cs.po: Update from translation team.
24184 * po/bg.po: Likewise.
24186 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24188 * misc/sys/cdefs.h: Add support for const attribute.
24189 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24190 to gnu_dev_{major,minor,makedev} functions.
24192 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24194 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24196 2011-07-20 Andreas Schwab <schwab@redhat.com>
24198 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24201 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24203 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24204 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24205 register in order to avoid conflicts with the soft frame pointer
24206 being held in r11 when necessary.
24207 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24208 (INTERNAL_VSYSCALL_NCS): Likewise.
24210 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24212 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24213 * elf/dl-fini.c (_dl_fini): Adjust caller.
24214 * elf/dl-close.c (_dl_close_worker): Likewise.
24215 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24217 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24219 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24220 "aux_cache->nlibs < 0".
24222 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24223 in the reload-count case.
24225 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24228 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24229 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24230 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24231 * sysdeps/x86_64/multiarch/strcat.S: New file.
24232 * sysdeps/x86_64/multiarch/strncat.S: New file.
24233 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24234 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24235 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24236 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24237 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24238 (USE_AS_STRCAT): Define.
24239 Add strcat and strncat support.
24240 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24241 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24242 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24243 * string/strncat.c: Update.
24244 (USE_AS_STRNCAT): Define.
24245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24246 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24248 * sysdeps/x86_64/multiarch/init-arch.h
24249 (bit_Prefer_PMINUB_for_stringop): New.
24250 (index_Prefer_PMINUB_for_stringop): Likewise.
24251 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24252 bit_Prefer_PMINUB_for_stringop.
24254 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24256 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24258 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24259 of casting of buffer.
24260 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24261 buffer32 and buffer64.
24262 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24263 writes instead of casting of buffer.
24264 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24266 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24269 2011-07-19 Andreas Schwab <schwab@redhat.com>
24271 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24273 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24275 * nscd/nscd.c (termination_handler): Don't do anything for a database
24276 if it has not yet been initialized.
24278 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24280 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24282 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24284 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24286 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24288 * po/nl.po: Update from translation team.
24289 * po/sv.po: Likewise.
24291 2011-07-16 Roland McGrath <roland@hack.frob.com>
24293 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24294 now disallowed by GCC.
24296 * configure.in (use-default-link): Default to yes if a test -shared
24297 link meets our qualifications.
24298 * configure: Regenerated.
24300 * config.make.in (output-format): New variable.
24301 * configure.in: Check for ld --print-output-format support.
24302 * configure: Regenerated.
24303 * Makerules ($(common-objpfx)format.lds)
24304 [$(output-format) != unknown]: Just use $(output-format),
24305 instead of the linker-script munging.
24307 2011-07-14 Roland McGrath <roland@hack.frob.com>
24309 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24310 of $(common-objpfx)shlib.lds.
24311 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24313 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24314 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24316 * configure.in (-z relro check): Adjust test code to add a large
24317 writable data section after it.
24318 * configure: Regenerated.
24320 2011-07-11 Roland McGrath <roland@hack.frob.com>
24322 * configure.in (-z relro check): Fix test code to make the variable
24324 * configure: Regenerated.
24326 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24328 * nscd/nscd.h (struct traced_file): Define.
24329 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24330 elements. Add traced_files.
24331 (inotify_fd): Declare.
24332 (register_traced_file): Declare.
24333 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24334 (inotify_fd): Export.
24335 (resolv_conf_descr): Remove.
24336 (nscd_init): Move inotify descriptor creation to main.
24337 Don't register files for notification here.
24338 (register_traced_file): New function.
24339 (invalidate_cache): Don't use reset_res to determine whether to call
24340 res_init, go through the list of registered files.
24341 (main_loop_poll): The inotify descriptors are now stored in the
24342 structures for the traced files.
24343 (main_loop_epoll): Likewise
24344 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24345 to __nss_disable_nscd.
24346 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24347 for a database anymore. Check the records for all the registered
24349 * nss/Makefile (libnss_files-routines): Add files-init.
24350 (libnss_db-routines): Add db-init.
24351 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24352 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24353 * nss/nss_db/db-init.c: New file.
24354 * nss/nss_files/files-init.c: New file.
24355 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24356 __nss_lookup_function.
24357 (__nss_lookup_function): Call nss_load_library.
24358 (nss_load_all_libraries): New function.
24359 (__nss_disable_nscd): Take parameter with callback function for files
24360 to register. Set is_nscd. Load all the DSOs for the NSS modules
24361 used for the cached services.
24362 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24363 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24364 options for features to all the files in nscd.
24366 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24368 2011-07-10 Roland McGrath <roland@hack.frob.com>
24370 * csu/elf-init.c (__libc_csu_init): Comment typo.
24372 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24374 * po/pl.po: Update from translation team.
24375 * po/ja.po: Likewise.
24376 * po/ru.po: Likewise.
24377 * po/ko.po: Likewise.
24378 * po/fr.po: Likewise.
24380 2011-07-09 Roland McGrath <roland@hack.frob.com>
24382 * configure.in (.ctors/.dtors header and trailer check):
24383 Use an empirical test on a built program.
24384 * configure: Regenerated.
24386 * configure.in (-z relro check): Use an empirical test on a built DSO.
24387 Detect, but do not require, on ia64.
24388 * configure: Regenerated.
24390 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24391 Update tests that use readelf to use $READELF instead.
24392 * configure: Regenerated.
24394 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24396 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24397 if the result is not used.
24399 2011-07-05 Andreas Jaeger <aj@suse.de>
24402 * stdlib/tst-strtod.c: Add testcase.
24404 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24406 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24407 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24408 The latter has a higher limit. Take additional parameter to pass to
24410 (__pathconf): Pass file to __statfs_link_max.
24411 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24413 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24417 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24418 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24420 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24421 (__statfs_filesize_max): Likewise.
24422 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24424 2011-07-05 Andreas Jaeger <aj@suse.de>
24426 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24428 2011-07-06 Marek Polacek <mpolacek@redhat.com>
24430 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24432 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24435 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24437 * Makefile (strop-tests): Add strncat.
24438 * string/test-strncat.c: New file.
24440 2011-06-30 Marek Polacek <mpolacek@redhat.com>
24442 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24444 2011-06-21 Andreas Jaeger <aj@suse.de>
24446 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24447 Copy rule from iconvdata/Makefile.
24449 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24452 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24453 but no long options are defined, just return 'W'.
24455 2011-06-22 Marek Polacek <mpolacek@redhat.com>
24458 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24460 2011-07-06 Ulrich Drepper <drepper@gmail.com>
24462 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24464 (innetgr): Likewise.
24466 2011-07-05 Roland McGrath <roland@hack.frob.com>
24468 * config.make.in (install_root): Default to $(DESTDIR).
24470 2011-07-05 Ulrich Drepper <drepper@gmail.com>
24472 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24474 2011-07-02 Roland McGrath <roland@hack.frob.com>
24476 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24478 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24479 containing directory rather than embedding absolute directory names.
24481 * scripts/check-local-headers.sh: Rewritten using awk.
24482 Match by word, not by line. Print error messages for matches.
24483 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24485 * Makerules [shlib-lds-flags empty]:
24486 ($(common-objpfx)libc_pic.opts): New target.
24487 ($(common-objpfx)libc_pic.os.clean): New target.
24488 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24490 * config.make.in (OBJCOPY): New variable.
24491 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24492 * configure: Regenerated.
24494 * config.make.in (use-default-link): New variable.
24495 * configure.in (use_default_link): Grok --with-default-link to set it.
24496 * configure: Regenerated.
24497 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24498 (shlib-lds, shlib-lds-flags): Define to empty.
24500 * Makerules (shlib-lds): New variable.
24501 (shlib-lds-flags): New variable.
24502 (build-shlib, build-moduile, build-module-asneeded): Use it.
24503 ($(common-objpfx)libc.so): Use $(shlib-lds).
24504 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24505 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24507 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24508 DT_FLAGS/DT_FLAGS_1 with zero flags.
24510 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24511 linker script munging.
24513 2011-07-02 Ulrich Drepper <drepper@gmail.com>
24515 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24517 * crypt/sha512.c (sha512_process_block): Perform total addition using
24518 128-bit if possible.
24519 (__sha512_finish_ctx): Likewise.
24520 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24522 * crypt/sha256.c (SWAP64): Define.
24523 (sha256_process_block): Perform total addition using 64-bit if
24525 (__sha256_finish_ctx): Likewise.
24527 2011-07-01 Ulrich Drepper <drepper@gmail.com>
24529 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24530 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24531 * nscd/hstcache.c (cache_addhst): Likewise.
24532 * nscd/grpcache.c (cache_addgr): Likewise.
24533 * nscd/aicache.c (addhstaiX): Likewise
24534 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24536 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
24538 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24539 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24540 * nscd/hstcache.c (cache_addhst): Likewise.
24541 * nscd/grpcache.c (cache_addgr): Likewise.
24542 * nscd/aicache.c (addhstaiX): Likewise
24544 2011-07-01 Andreas Schwab <schwab@redhat.com>
24546 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24547 domain only when needed.
24549 2011-06-30 Andreas Schwab <schwab@redhat.com>
24551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24552 is always restored.
24554 2011-06-29 Ulrich Drepper <drepper@gmail.com>
24556 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24557 are re-adding the entry.
24558 * nscd/servicescache.c (cache_addserv): Likewise.
24560 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24562 * sysdeps/generic/dl-irel.h: fix protection against multiple
24564 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24566 2011-06-28 Ulrich Drepper <drepper@gmail.com>
24569 * malloc/memusage.sh: Fix quoting in message.
24570 * debug/xtrace.sh: Likewise.
24572 * configure.in: Remove support for --experimental-malloc option, make
24574 * config.make.in: Likewise.
24575 * malloc/Makefile: Likewise.
24577 2011-06-27 Andreas Schwab <schwab@redhat.com>
24579 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24580 two-byte characters.
24582 2011-06-27 Roland McGrath <roland@hack.frob.com>
24584 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24585 AC_CACHE_CHECK invocation.
24586 * configure: Regenerated.
24588 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24590 2011-06-27 Ulrich Drepper <drepper@gmail.com>
24593 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24594 bit from old_res_options.
24596 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24598 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24599 value type for setfct.
24601 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24603 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24604 __gettimeofday instead of gettimeofday.
24606 2011-06-26 Ulrich Drepper <drepper@gmail.com>
24608 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24610 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24612 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24614 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24617 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24620 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24621 strcpy-sse2-unaligned strncpy-sse2-unaligned
24622 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24623 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24624 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24625 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24626 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24627 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24628 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24629 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24630 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24631 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24632 (STRCPY): Support SSE2 and SSSE3 versions.
24634 2011-06-24 Ulrich Drepper <drepper@gmail.com>
24637 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24638 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24639 kernels which artificially limit size of requests.
24641 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24643 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24644 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24645 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24646 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24647 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24648 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24649 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24650 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24651 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24652 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24653 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24654 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24655 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24656 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24657 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24659 Enable unaligned load optimization for Intel Core i3, i5 and i7
24661 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24663 (index_Fast_Unaligned_Load): Define.
24664 (HAS_FAST_UNALIGNED_LOAD): Define.
24666 2011-06-23 Marek Polacek <mpolacek@redhat.com>
24668 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24670 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24673 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24674 until it is clear that the information is realy needed.
24675 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24677 2011-06-22 Andreas Schwab <schwab@redhat.com>
24679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24681 2011-06-22 Ulrich Drepper <drepper@gmail.com>
24683 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24684 /sys/devices/system/cpu/online if it is usable.
24686 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24687 reading the information from the /proc filesystem to once a second.
24689 2011-06-21 Andreas Jaeger <aj@suse.de>
24691 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24692 NULL after inclusion of kernel headers.
24694 2011-06-21 Ulrich Drepper <drepper@gmail.com>
24696 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24697 calls to internal_setent.
24700 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24701 addresses using gethostbyname4_r ignore IPv4 addresses.
24703 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24704 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24706 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24708 2011-06-20 David S. Miller <davem@davemloft.net>
24710 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24712 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24714 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24715 (elf_irel): Use it.
24716 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24717 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24718 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24719 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24720 * sysdeps/x86_64/dl-irel.h: Likewise.
24722 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24723 * elf/dl-sym.c: Likewise.
24725 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24727 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24728 need to dereference resplen2.
24730 2011-06-14 Andreas Schwab <schwab@redhat.com>
24732 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24734 2011-06-15 Ulrich Drepper <drepper@gmail.com>
24736 * Makeconfig: Define vardbdir and inst_vardbdir.
24737 * nss/Makefile: Add rules to install db-Makefile.
24739 * nss/nss_db/db-XXX.c: Cleanup.
24741 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24742 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24744 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24745 * nss/makedb.c: Implement -g option to specify that value strings
24746 are generated and should not be added to table iterated over for
24748 * nss/nss_db/db-initgroups.c: New file.
24750 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24753 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24754 (internal_getgrouplist): Adjust to name change.
24755 Update use_initgroups_entry if this is not the first call.
24756 * nss/databases.def: Add initgroups entry.
24758 * nss/makedb.c (compute_tables): Check result of multiple hash table
24759 sizes to minimize maximum chain length.
24761 2011-06-14 Ulrich Drepper <drepper@gmail.com>
24763 * Versions.def: Add entry for libnss_db.
24764 * shlib-versions: Likewise.
24765 * nss/Makefile: Add rules to build libnss_db.
24766 * nss/Versions: Add libnss_db information. Organize libnss_files
24768 * nss/db-Makefile: Add gshadow support. Change rules for the new
24769 makedb progra. Some minor improvements to generate smaller files.
24770 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24772 * nss/makedb.c: ...here.
24773 Improve database format to be smaller and require less memory at
24775 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24777 * nss/nss_db/db-netgrp.c: Likewise.
24778 * nss/nss_db/db-open.c: Likewise.
24779 * nss/nss_files/flies-XXX.x: Adjust comments.
24780 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24781 * nss/nss_files/files-grp.c: Likewise.
24782 * nss/nss_files/files-hosts.c: Likewise.
24783 * nss/nss_files/files-network.c: Likewise.
24784 * nss/nss_files/files-proto.c: Likewise.
24785 * nss/nss_files/files-pwd.c: Likewise.
24786 * nss/nss_files/files-rpc.c: Likewise.
24787 * nss/nss_files/files-service.c: Likewise.
24788 * nss/nss_files/files-sgrp.c: Likewise.
24789 * nss/nss_files/files-spwd.c: Likewise.
24790 * nss/nss_db/db-alias.c: Removed.
24791 * nss/nss_db/dummy-db.h: Removed.
24793 2011-06-02 Ulrich Drepper <drepper@gmail.com>
24795 * nss/makedb.c: Rewritten to not use database library.
24796 * nss/Makefile: Update to build new makedb program.
24798 2011-06-14 Andreas Jaeger <aj@suse.de>
24800 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24801 memset declaration.
24803 2011-06-10 Andreas Schwab <schwab@redhat.com>
24805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24808 2011-06-10 Roland McGrath <roland@hack.frob.com>
24810 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24811 * elf/Makefile ($(objpfx)ld.so): Likewise.
24813 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24814 Don't list ld.so twice in dependencies.
24816 * posix/bug-regex31.c: Include <stdlib.h>.
24818 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24820 * nis/nss_compat/compat-spwd.c
24821 (getspent_next_nss_netgr): Remove unused variable.
24822 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24824 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24825 nonmembers" output to use the right array.
24827 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24829 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24831 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24832 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24833 * catgets/gencat.c (read_input_file): Likewise.
24834 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24836 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24837 variable definition inside #if's controlling its use.
24839 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24841 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24843 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24845 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24848 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24850 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24851 * configure: Regenerated.
24853 * Makerules: Revert last change.
24854 * elf/Makefile: Likewise.
24856 2011-06-09 Roland McGrath <roland@hack.frob.com>
24858 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24859 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24860 (reloc-link): Likewise.
24862 2011-06-09 Ulrich Drepper <drepper@gmail.com>
24864 * elf/Makefile: Add rules to build pldd.
24865 * elf/pldd.c: New file.
24866 * elf/pldd-xx.c: New file.
24868 2011-06-07 Ulrich Drepper <drepper@gmail.com>
24870 * version.h: Update for 2.15 development version.
24872 2011-06-07 David S. Miller <davem@davemloft.net>
24874 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24876 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24877 elf_machine_lazy_rel): Likewise.
24878 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24880 elf_machine_lazy_rel): Likewise.
24881 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24882 dl_hwcap via passed in argument.
24883 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24886 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24888 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24890 2011-06-06 Roland McGrath <roland@hack.frob.com>
24893 * manual/fdl-1.1.texi: New file, verbatim from:
24894 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24895 * manual/lgpl-2.1.texi: New file, verbatim from:
24896 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24897 * manual/Makefile (licenses): New variable, list those new file names.
24899 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24901 * manual/fdl.texi: File removed.
24902 * manual/lesser.texi: File removed.
24903 * manual/libc.texinfo (Copying, Documentation License):
24904 Use new @include file names, put @appendix directive before @include.
24906 2011-06-04 Jakub Jelinek <jakub@redhat.com>
24909 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24910 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24911 (mq_open): Add __NTH.
24913 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24916 Assume Intel Core i3/i5/i7 processor if AVX is available.
24918 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24923 2011-05-31 Andreas Schwab <schwab@redhat.com>
24925 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24926 memory. Use alloca_account. Fix memory leak when retrying.
24928 2011-05-31 Ulrich Drepper <drepper@gmail.com>
24930 * version.h (RELEASE): Bump for 2.14 release.
24931 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24933 * config.make.in (RANLIB): Remove entry.
24935 2011-05-30 Ulrich Drepper <drepper@gmail.com>
24937 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24938 (libc.pot): Work around missing support for .ksh extension in xgettext.
24941 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24942 if both request failed.
24943 (send_dg): In case of server errors clear resplen or *resplen2.
24946 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24947 when there are multiple maps.
24948 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24949 (_dl_fini): Remove test here.
24951 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24953 2011-05-29 Ulrich Drepper <drepper@gmail.com>
24956 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24957 bit from old_res_options.
24958 (gaih_inet): Likewise.
24961 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24964 * resolv/res_init.c (res_setoptions): Make the code more compact.
24967 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24971 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24973 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24976 * malloc/malloc.h: Declare malloc hook variables as volatile.
24978 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24982 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24983 raise in the comment.
24984 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24985 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24986 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24988 2011-05-28 Ulrich Drepper <drepper@gmail.com>
24991 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24992 grow the buffers more if it already has to be sufficient.
24993 (build_wcs_upper_buffer): Likewise.
24994 * posix/regexec.c (check_matching): Likewise.
24995 (clean_state_log_if_needed): Likewise.
24996 (extend_buffers): Don't enlarge buffers beyond size of the input
24998 Patches mostly by Emil Wojak <emil@wojak.eu>.
24999 * posix/bug-regex32.c: New file.
25000 * posix/Makefile (tests): Add bug-regex32.
25002 * locale/findlocale.c (_nl_find_locale): Return right away if
25003 _nl_explode_name failed.
25004 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25006 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25008 * debug/xtrace.sh: Unify messages.
25009 * malloc/memusage.sh: Likewise.
25012 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25013 time symbol from vDSO. Substitute with vsyscall if not available.
25014 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25017 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25018 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25019 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25020 Add sendmmsg and internal_sendmmsg.
25021 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25022 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25023 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25025 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25026 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25027 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25029 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25032 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25033 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25035 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25039 * iconvdata/Makefile (tests): Add bug-iconv9.
25040 * iconvdata/bug-iconv9.c: New file.
25042 2011-05-27 Andreas Schwab <schwab@redhat.com>
25045 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25047 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25049 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25050 (struct user_regs_struct): Change intcs field back to cs.
25052 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25054 * po/ja.po: Update from translation team.
25056 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25059 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25060 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25062 2011-05-20 Andreas Schwab <schwab@redhat.com>
25064 * stdlib/longlong.h: Update from GCC.
25066 2011-05-23 Andreas Schwab <schwab@redhat.com>
25068 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25070 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25071 Add parameter name.
25072 (__sysconf): Pass it down.
25074 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25077 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25079 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25080 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25081 add in in __libc_use_alloca calls. Adjust callers.
25082 (glob): Use malloc in some situations.
25084 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25085 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25088 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25090 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25091 and CLOCK_BOOTTIME_ALARM.
25094 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25097 * string/_strerror.c (__strerror_r): Print negative errors as signed
25101 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25102 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25103 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25105 * configure.in: Fix typo in redirection and correct removal of test
25106 files in two cases.
25109 * locale/setlocale.c (new_composite_name): Fix test to check for
25110 identical name of all categories.
25113 * libio/filedoalloc.c (local_isatty): New function.
25114 (_IO_file_doallocate): Use local_isatty.
25115 * stdio-common/perror.c (perror): In case a new stream is used
25116 forward the stream error.
25117 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25120 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25125 * include/alloca.h (extend_alloca_account): Define.
25128 * posix/regex.h: Fix comments with documentation of user-accessible
25129 fields after compilation and describe correct free'ing of pattern
25130 after re_compile_pattern.
25131 Patch by Reuben Thomas <rrt@sc3d.org>.
25133 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25135 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25136 and -mno-altivec to prevent the compiler from using Altivec and/or
25137 VSX instructions when the corresponding registers are not available.
25139 2011-05-19 Andreas Schwab <schwab@redhat.com>
25141 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25143 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25145 * libio/freopen.c (freopen): Use __dup2, not dup2.
25146 * libio/freopen64.c (freopen64): Likewise.
25148 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25151 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25152 * math/Makefile (tests): Add test-powl.
25153 (CFLAGS-test-powl.c): Define.
25154 * math/test-powl.c: New file.
25156 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25158 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25160 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25163 * iconvdata/gb18030.c: Update to GB18020-2005.
25165 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25167 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25168 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25169 Patch by Aharon Robbins <arnold@skeeve.com>.
25172 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25176 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25177 through underflows.
25180 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25181 point to strings before performing equality test for error_one_per_line
25185 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25188 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25189 (struct user_fpregs_struct): Avoid __uint*_t types.
25192 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25193 symbol info. Use it instead of calling _dl_addr locally.
25194 (lock_and_info): New function.
25195 (tr_freehook): Call lock_and_info and pass symbol info as additional
25196 parameter to tr_where.
25197 (tr_mallochook): Likewise.
25198 (tr_reallochook): Likewise.
25199 (tr_memalignhook): Likewise.
25201 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25202 used and couldn't be at all thread-safe.
25204 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25206 * libio/freopen.c (freopen): Don't close old file descriptor
25207 before the new one is opened. Instead dup the new file descriptor
25208 to the old one after the new stream is created.
25209 * libio/freopen64.c (freopen64): Likewise.
25210 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25211 * libio/fileops.c (_IO_new_file_close_it): Handle new
25212 _IO_FLAGS2_NOCLOSE flag.
25213 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25214 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25215 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25216 _IO_FLAGS2_NOCLOSE flag.
25217 * include/unistd.h: Add hidden_proto for dup3.
25218 Define __have_dup3.
25219 * io/dup3.c: Define hidden symbol.
25220 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25223 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25224 when an incomplete long option is used.
25225 * posix/tst-getopt_long1.c: New file.
25226 * posix/Makefile (tests): Add tst-getopt_long1.
25229 * scripts/config.guess: Update from autoconf-2.68.
25230 * scripts/config.sub: Likewise.
25233 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25235 (has_cpuclock): ...this. New function.
25236 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25237 macro here based on has_cpuclock code.
25240 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25241 First byte (not low byte) is now always NUL.
25242 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25244 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25245 Use non-cancelable interfaces.
25248 * locale/iso-639.def: Add entry for Sorani.
25251 * include/stdlib.h: Move include protection to the right place.
25252 Define abort_msg_s. Declare __abort_msg with it.
25253 * stdlib/abort.c (__abort_msg): Adjust type.
25254 * assert/assert.c (__assert_fail_base): New function. Majority
25255 of code from __assert_fail. Allocate memory for __abort_msg with
25257 (__assert_fail): Now call __assert_fail_base.
25258 * assert/assert-perr.c: Remove bulk of implementation. Use
25259 __assert_fail_base.
25260 * include/assert.hL Declare __assert_fail_base.
25261 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25263 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25265 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25269 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25270 until all modules are registered in the DTV.
25271 * elf/Makefile: Add rules to build and run tst-tls19.
25272 * elf/tst-tls19.c: New file.
25273 * elf/tst-tls19mod1.c: New file.
25274 * elf/tst-tls19mod2.c: New file.
25275 * elf/tst-tls19mod3.c: New file.
25276 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25279 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25283 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25284 two-byte sequence errors.
25285 * iconvdata/Makefile (tests): Add bug-iconv8.
25286 * iconvdata/bug-iconv8.c: New file.
25289 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25292 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25295 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25296 (dummy_getcfa): New function.
25297 (init): Get _Unwind_GetCFA address, use dummy if not found.
25298 (backtrace_helper): In recursion check, also check whether CFA changes.
25299 (__backtrace): Completely initialize arg.
25301 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25302 storing incomplete byte sequence in state object. Avoid testing for
25303 guaranteed too small input if we know there is enough data available.
25305 2011-05-11 Andreas Schwab <schwab@redhat.com>
25307 * Makeconfig (+link-pie): Indent.
25308 * Rules (binaries-pie): Define if $(have-fpie) and
25310 (binaries-shared): Also filter out $(binaries-pie).
25311 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25312 * nscd/Makefile (others-pie): Add nscd.
25313 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25314 ($(objpfx)nscd): Remove command override.
25315 * login/Makefile (others-pie): Add pt_chown.
25316 ($(objpfx)pt_chown): Remove command override.
25317 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25318 remove command overrides.
25320 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25322 * libio/tst_putwc.c: Fix error messages.
25325 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25326 currently writing and seek to current position when not.
25327 * libio/Makefile (tests): Add bug-fclose1.
25328 * libio/bug-fclose1.c: New file.
25330 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25333 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25334 don't set DF_1_NODELETE here.
25335 (do_lookup_x): When entering new entry test for copy relocation
25336 and if necessary set DF_1_NODELETE flag.
25337 * elf/tst-unique4.cc: New file.
25338 * elf/tst-unique4.h: New file.
25339 * elf/tst-unique4lib.cc: New file.
25340 * elf/Makefile: Add rules to build and run tst-unique4.
25341 Patch by Piotr Bury <pbury@goahead.com>.
25343 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25346 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25349 * misc/mntent_r.c (addmntent): Flush the stream after the output
25352 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25353 (is_trusted_path_normalize): Skip initial colon. Append slash
25354 to empty buffer. Duplicate is_trusted_path code but allow
25355 constructed patch to be prefix.
25356 (is_dst): Allow $ORIGIN followed by /.
25357 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25358 Correct testing of result of is_trusted_path_normalize
25359 (decompose_rpath): Fix warning.
25361 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25364 * grp/initgroups.c (internal_getgrouplist): When we found the service
25365 list through the initgroups entry in nsswitch.conf do not always
25366 continue on a successful lookup. Don't always use the
25367 __nss_group_database value if it is set.
25368 * nss/nsswitch.conf (initgroups): Change action for successful db
25369 lookup to continue for compatibility.
25371 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25374 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25376 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25378 * iconvdata/tst-tables.sh: Likewise.
25379 * iconvdata/cp770.c: New file.
25380 * iconvdata/cp771.c: New file.
25381 * iconvdata/cp772.c: New file.
25382 * iconvdata/cp773.c: New file.
25383 * iconvdata/cp774.c: New file.
25384 * iconvdata/testdata/CP770: New file.
25385 * iconvdata/testdata/CP770..UTF8: New file.
25386 * iconvdata/testdata/CP771: New file.
25387 * iconvdata/testdata/CP771..UTF8: New file.
25388 * iconvdata/testdata/CP772: New file.
25389 * iconvdata/testdata/CP772..UTF8: New file.
25390 * iconvdata/testdata/CP773: New file.
25391 * iconvdata/testdata/CP773..UTF8: New file.
25392 * iconvdata/testdata/CP774: New file.
25393 * iconvdata/testdata/CP774..UTF8: New file.
25395 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25397 * iconvdata/gen-8bit-gap.sh: Likewise.
25398 * iconvdata/gen-8bit.sh: Likewise.
25400 * locale/iso-639.def: Add ary entry.
25403 * locale/C-translit.h.in: Add U20A1 transliteration.
25406 * locale/iso-639.def: Add wae entry.
25407 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25410 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25414 * locale/C-translit.h.in: Add entry for U20B9.
25415 Patch by pravin.d.s@gmail.com.
25417 2011-05-08 Ulrich Drepper <drepper@gmail.com>
25420 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25421 ENAMETOOLONG use generic getcwd.
25422 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25423 in rtld. Use *stat64.
25424 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25425 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25426 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25427 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25428 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25429 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25430 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25431 __fstatat64 macros.
25432 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25433 * dirent/rewinddir.c: Add libc_hidden_def.
25434 * sysdeps/mach/hurd/rewinddir.c: Likewise.
25435 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
25437 * include/dirent.h (__alloc_dir): Add flags parameter.
25438 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25439 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25441 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25442 from fdopendir if O_CLOEXEC is already set.
25444 2011-03-15 Alan Modra <amodra@gmail.com>
25446 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25447 l_tls_firstbyte_offset non-zero. Save padding offset in
25448 l_tls_firstbyte_offset for later use.
25449 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25450 freeing static tls block.
25452 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25454 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25455 where #ifdef was intended. The intent is to prevent ARG_MAX from
25456 being defined by the kernel headers.
25458 2011-05-07 Ulrich Drepper <drepper@gmail.com>
25461 * resolv/resolv.h: Define RES_NOTLDQUERY.
25462 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25463 no-tld-query and set RES_NOTLDQUERY.
25464 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25465 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25466 modern BIND to search name as TLD unless forbidden.
25468 2011-05-07 Petr Baudis <pasky@suse.cz>
25469 Ulrich Drepper <drepper@gmail.com>
25472 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25473 (is_trusted_path): ...to here.
25474 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25475 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25476 using is_trusted_path_normalize() in setuid scripts.
25478 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25480 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25481 __BEGIN/__END_DECLS.
25483 2011-05-06 Ulrich Drepper <drepper@gmail.com>
25485 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25486 NSS_STATUS_NOTFOUND if no record was found.
25488 2011-05-05 Andreas Schwab <schwab@redhat.com>
25490 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25491 (headers-not-in-tirpc): Remove rpc/netdb.h
25492 * resolv/netdb.h: Revert last change.
25494 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25496 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25497 circular dependency between libgcc.a and libc.a.
25499 2011-05-05 Andreas Schwab <schwab@redhat.com>
25501 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25502 * nis/Makefile: Don't install rpcsvc/*.
25503 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25504 instead of <rpc/types.h>.
25505 (MAXHOSTNAMELEN): Define.
25507 2011-05-03 Andreas Schwab <schwab@redhat.com>
25509 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25511 2011-04-28 Maciej Babinski <mbabinski@google.com>
25514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25515 gethostbyname4_r when IPv6 results are possible.
25517 2011-05-02 Ulrich Drepper <drepper@gmail.com>
25520 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25521 _PC_PIPE_BUF handling.
25523 2011-04-30 Bruno Haible <bruno@clisp.org>
25526 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25527 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25529 * inet/getnameinfo.c (getnameinfo): Likewise.
25531 2011-04-29 Ulrich Drepper <drepper@gmail.com>
25533 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25534 to groups setting in database lookup.
25535 * nss/nsswitch.conf: Add initgroups entry.
25537 2011-04-22 Ulrich Drepper <drepper@gmail.com>
25540 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25542 Patch by Eric Blake <eblake@redhat.com>.
25544 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25546 * sunrpc/Makefile (need-export-routines): Add svc_run.
25547 (routines): Remove svc_run.
25548 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25549 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25550 * sunrpc/svc_run.c (svc_run): Likewise.
25551 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25553 2011-04-21 Ulrich Drepper <drepper@gmail.com>
25555 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25556 problem in reallocation in last patch.
25558 2011-04-20 Ulrich Drepper <drepper@gmail.com>
25560 * sunrpc/Makefile: Move inclusion of Rules.
25562 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25564 * nss/nss_files/files-initgroups.c: New file.
25565 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25566 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25567 _nss_files_initgroups_dyn.
25569 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25571 * elf/elf.h (R_ARM_IRELATIVE): Define.
25573 2011-04-19 Ulrich Drepper <drepper@gmail.com>
25575 * po/ru.po: Update from translation team.
25577 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25579 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25582 2011-02-06 Mike Frysinger <vapier@gentoo.org>
25585 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25586 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25587 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25588 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25589 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25591 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25593 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25595 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25596 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25597 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25599 2011-04-17 Ulrich Drepper <drepper@gmail.com>
25602 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25604 * stdlib/bug-getcontext.c: New file.
25605 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25607 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25609 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25610 instructions into .machine "z9-109".
25611 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25612 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25614 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25616 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25617 between environment variables and auxiliary vector.
25619 2011-04-16 Ulrich Drepper <drepper@gmail.com>
25621 * Makefile: Add rules to build linkobj/libc.so.
25622 * include/libc-symbols.h: Define libc_hidden_nolink.
25623 * include/rpc/auth.h: Mark functions which are to be hidden.
25624 * include/rpc/auth_des.h: Likewise.
25625 * include/rpc/auth_unix.h: Likewise.
25626 * include/rpc/clnt.h: Likewise.
25627 * include/rpc/des_crypt.h: Likewise.
25628 * include/rpc/key_prot.h: Likewise.
25629 * include/rpc/pmap_clnt.h: Likewise.
25630 * include/rpc/pmap_prot.h: Likewise.
25631 * include/rpc/pmap_rmt.h: Likewise.
25632 * include/rpc/rpc_msg.h: Likewise.
25633 * include/rpc/svc.h: Likewise.
25634 * include/rpc/svc_auth.h: Likewise.
25635 * include/rpc/xdr.h: Likewise.
25636 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25637 * nss/Makefile: Likewise.
25638 * sunrpc/Makefile: Don't install headers. Build library with normal
25639 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25640 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25641 for the compat linking library. Remove use of INTDEF/INTUSE.
25642 * sunrpc/auth_none.c: Likewise.
25643 * sunrpc/auth_unix.c: Likewise.
25644 * sunrpc/authdes_prot.c: Likewise.
25645 * sunrpc/authuxprot.c: Likewise.
25646 * sunrpc/clnt_gen.c: Likewise.
25647 * sunrpc/clnt_perr.c: Likewise.
25648 * sunrpc/clnt_raw.c: Likewise.
25649 * sunrpc/clnt_simp.c: Likewise.
25650 * sunrpc/clnt_tcp.c: Likewise.
25651 * sunrpc/clnt_udp.c: Likewise.
25652 * sunrpc/clnt_unix.c: Likewise.
25653 * sunrpc/des_crypt.c: Likewise.
25654 * sunrpc/des_soft.c: Likewise.
25655 * sunrpc/get_myaddr.c: Likewise.
25656 * sunrpc/key_call.c: Likewise.
25657 * sunrpc/key_prot.c: Likewise.
25658 * sunrpc/netname.c: Likewise.
25659 * sunrpc/pm_getmaps.c: Likewise.
25660 * sunrpc/pm_getport.c: Likewise.
25661 * sunrpc/pmap_clnt.c: Likewise.
25662 * sunrpc/pmap_prot.c: Likewise.
25663 * sunrpc/pmap_prot2.c: Likewise.
25664 * sunrpc/pmap_rmt.c: Likewise.
25665 * sunrpc/publickey.c: Likewise.
25666 * sunrpc/rpc_cmsg.c: Likewise.
25667 * sunrpc/rpc_common.c: Likewise.
25668 * sunrpc/rpc_dtable.c: Likewise.
25669 * sunrpc/rpc_prot.c: Likewise.
25670 * sunrpc/rpc_thread.c: Likewise.
25671 * sunrpc/rtime.c: Likewise.
25672 * sunrpc/svc.c: Likewise.
25673 * sunrpc/svc_auth.c: Likewise.
25674 * sunrpc/svc_authux.c: Likewise.
25675 * sunrpc/svc_raw.c: Likewise.
25676 * sunrpc/svc_run.c: Likewise.
25677 * sunrpc/svc_simple.c: Likewise.
25678 * sunrpc/svc_tcp.c: Likewise.
25679 * sunrpc/svc_udp.c: Likewise.
25680 * sunrpc/svc_unix.c: Likewise.
25681 * sunrpc/svcauth_des.c: Likewise.
25682 * sunrpc/xcrypt.c: Likewise.
25683 * sunrpc/xdr.c: Likewise.
25684 * sunrpc/xdr_array.c: Likewise.
25685 * sunrpc/xdr_float.c: Likewise.
25686 * sunrpc/xdr_intXX_t.c: Likewise.
25687 * sunrpc/xdr_mem.c: Likewise.
25688 * sunrpc/xdr_rec.c: Likewise.
25689 * sunrpc/xdr_ref.c: Likewise.
25690 * sunrpc/xdr_sizeof.c: Likewise.
25691 * sunrpc/xdr_stdio.c: Likewise.
25693 2011-04-10 Ulrich Drepper <drepper@gmail.com>
25696 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25697 * sysdeps/ia64/dl-tls.h: Likewise.
25698 * sysdeps/powerpc/dl-tls.h: Likewise.
25699 * sysdeps/s390/dl-tls.h: Likewise.
25700 * sysdeps/sh/dl-tls.h: Likewise.
25701 * sysdeps/sparc/dl-tls.h: Likewise.
25702 * sysdeps/x86_64/dl-tls.h: Likewise.
25703 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25705 2011-03-14 Andreas Schwab <schwab@redhat.com>
25707 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25708 rpath element also skip the following colon.
25709 (expand_dynamic_string_token): Add is_path parameter and pass
25710 down to DL_DST_REQUIRED and _dl_dst_substitute.
25711 (decompose_rpath): Call expand_dynamic_string_token with
25712 non-zero is_path. Ignore empty rpaths.
25713 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25716 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25721 2011-04-09 Ulrich Drepper <drepper@gmail.com>
25724 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25725 Patch by Filipe David Manana <fdmanana@apache.org>.
25727 2011-04-07 Andreas Schwab <schwab@redhat.com>
25729 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25730 Maintain aligned stack.
25731 (CHECK_RSP): Remove unused macro.
25733 2011-04-03 Ulrich Drepper <drepper@gmail.com>
25735 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25736 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25738 2011-04-02 Ulrich Drepper <drepper@gmail.com>
25740 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25742 * include/features.h: Mention __USE_XOPEN2K8 in comment.
25744 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25747 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25748 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25749 * sysdeps/x86_64/memmove.c: New file.
25750 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25751 (memcpy): Renamed to ...
25752 (__new_memcpy): This.
25753 (memcpy): Provide GLIBC_2_14 memcpy.
25754 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25755 (memcpy): Provide GLIBC_2_2_5 memcpy.
25757 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25760 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25762 2011-03-30 Andreas Schwab <schwab@redhat.com>
25764 * misc/syncfs.c: New file.
25765 * misc/Makefile (routines): Add syncfs.
25766 * posix/unistd.h: Declare syncfs.
25767 * sysdeps/unix/syscalls.list: Add syncfs.
25769 2011-04-01 Andreas Schwab <schwab@redhat.com>
25771 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25773 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25774 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25775 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25776 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25777 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25778 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25781 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25783 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25784 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25785 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25786 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25787 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25788 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25789 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25791 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25792 sync_file_range.c with -fexceptions.
25793 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25794 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25795 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25796 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25797 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25798 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25799 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25800 sync_file_range as cancellation point
25801 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25802 now a wrapper around __call_sync_file_range with cancellation handling.
25803 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25804 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25805 function name to __call_sync_file_range.
25806 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25807 Add call_sync_file_range.
25809 2011-04-01 Andreas Schwab <schwab@redhat.com>
25811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25814 2011-04-01 Ulrich Drepper <drepper@gmail.com>
25816 * iconv/iconv.h: Fix typo in comment.
25817 * io/fcntl.h: Likewise.
25818 * libio/stdio.h: Likewise.
25819 * posix/spawn.h: Likewise.
25820 * posix/unistd.h: Likewise.
25821 * stdlib/stdlib.h: Likewise.
25822 * time/time.h: Likewise.
25823 * wcsmbs/wchar.h: Likewise.
25825 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25826 open_by_handle): Add.
25827 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25828 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25829 Augment a few comments.
25830 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25832 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25833 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25834 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25835 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25838 * io/fcntl.h (AT_EMPTY_PATH): Define.
25840 2011-03-30 Ulrich Drepper <drepper@gmail.com>
25842 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25843 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25844 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25846 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
25847 * Versions.def: Add GLIBC_2.14.
25848 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25851 2011-03-22 Ulrich Drepper <drepper@gmail.com>
25853 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25855 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25857 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25860 * string/test-strncmp.c (do_page_test): New function.
25861 (check2): Likewise.
25862 (test_main): Call check2.
25863 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25865 2011-03-20 Ulrich Drepper <drepper@gmail.com>
25868 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25869 Handle cache information in CPU leaf 4.
25870 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25872 2011-03-18 Ulrich Drepper <drepper@gmail.com>
25875 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25876 character representation.
25877 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25879 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25881 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25882 END(__isnan) to END(__isnanf) to match function entry point/label
25883 EALIGN(__isnanf,...).
25885 2011-03-10 Jakub Jelinek <jakub@redhat.com>
25887 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25889 2011-03-10 Ulrich Drepper <drepper@gmail.com>
25892 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25893 copy from the symbol referenced in the relocation to initialize the
25895 Patch by Piotr Bury <pbury@goahead.com>.
25896 * elf/Makefile: Add rules to build and tst-unique3.
25897 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25898 * elf/tst-unique3.cc: New file.
25899 * elf/tst-unique3.h: New file.
25900 * elf/tst-unique3lib.cc: New file.
25901 * elf/tst-unique3lib2.cc: New file.
25903 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25905 2011-03-10 Mike Frysinger <vapier@gentoo.org>
25907 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25908 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25911 2011-03-06 Ulrich Drepper <drepper@gmail.com>
25913 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25914 to-be-loaded object along a path to loader is ld.so.
25916 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25917 Ulrich Drepper <drepper@gmail.com>
25919 * sysdeps/x86_64/memset.S: After aligning destination, code
25920 branches to different locations depending on the value of
25921 misalignment, when multiarch is enabled. Fix this.
25923 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25925 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25926 Set _x86_64_preferred_memory_instruction for AMD processsors.
25927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25928 Set bit_Prefer_SSE_for_memop for AMD processors.
25930 2011-03-04 Ulrich Drepper <drepper@gmail.com>
25932 * libio/fmemopen.c (fmemopen): Optimize a bit.
25934 2011-03-03 Andreas Schwab <schwab@redhat.com>
25936 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25938 2011-03-03 Roland McGrath <roland@redhat.com>
25940 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25942 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25944 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25945 __bzero_ultra1 instead of __memset_ultra1.
25947 2011-02-23 Andreas Schwab <schwab@redhat.com>
25948 Ulrich Drepper <drepper@gmail.com>
25951 * include/link.h (struct link_map): Add l_orig_initfini.
25952 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25953 returning unsuccessfully.
25954 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25955 close of a file loaded at startup, restore the original l_initfini
25957 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25958 list, store the pointer.
25959 * elf/Makefile ($(objpfx)noload-mem): New rule.
25960 (noload-ENV): Define.
25961 (tests): Add $(objpfx)noload-mem.
25962 * elf/noload.c: Include <memcheck.h>.
25963 (main): Call mtrace. Close all opened handles.
25965 2011-02-17 Andreas Schwab <schwab@redhat.com>
25968 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25969 dependencies are missing.
25971 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25973 Fix __if_freereq crash: Unlike the generic version which uses free,
25975 * sysdeps/mach/hurd/ifreq.h: New file.
25977 2011-01-27 Petr Baudis <pasky@suse.cz>
25978 Ulrich Drepper <drepper@gmail.com>
25981 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25982 to extend_alloca().
25983 * stdio-common/bug23.c: New file.
25984 * stdio-common/Makefile (tests): Add bug23.
25986 2010-09-28 Andreas Schwab <schwab@redhat.com>
25987 Ulrich Drepper <drepper@gmail.com>
25990 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25991 before performing relro protection. At old place add assertion
25992 to make sure nothing changed.
25994 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25995 Glauber de Oliveira Costa <glommer@gmail.com>
25997 * elf/elf.h: Add new ARM TLS relocs.
25999 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26002 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26004 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26006 * sysdeps/wordsize-64/tst-writev.c: New file.
26008 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26010 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26011 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26012 insns in _dl_start to prevent a TOC reference before relocs are
26015 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26018 * Makeconfig: Remove RANLIB definition.
26019 * Makerules: Don't use RANLIB.
26020 * aclocal.m4: Remove ranlib test.
26021 * configure.in: No need to check for ranlib.
26022 * elf/rtld-Rules: Don't use RANLIB.
26024 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26026 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26028 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26029 inclusion protection macro.
26031 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26032 SIGRTMIN and SIGRTMAX and print information in that case only when
26033 SIGRTMIN is defined.
26035 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26037 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26038 arginfo fn returning -1.
26040 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26041 and thousands string is zero terminated.
26043 2011-02-03 Andreas Schwab <schwab@redhat.com>
26045 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26046 sysdeps/unix/sysv/linux/bits/socket.h.
26048 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26050 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26051 (__CPU_COUNT): Remove old macros.
26052 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26053 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26054 (__CPU_ALLOC, __CPU_FREE): Add macros.
26055 (__sched_cpualloc, __sched_cpufree): Add declarations.
26057 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26059 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26060 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26061 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26062 (readdhstai): Return value of addhstaiX call.
26063 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26064 (addgrbyX): Return value returned by cache_addgr.
26065 (readdgrbyname): Return value returned by addgrbyX.
26066 (readdgrbygid): Likewise.
26067 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26068 (addpwbyX): Return value returned by cache_addpw.
26069 (readdpwbyname): Return value returned by addhstbyX.
26070 (readdpwbyuid): Likewise.
26071 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26072 (addservbyX): Return value returned by cache_addserv.
26073 (readdservbyname): Return value returned by addservbyX:
26074 (readdservbyport): Likewise.
26075 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26076 (addhstbyX): Return value returned by cache_addhst.
26077 (readdhstbyname): Return value returned by addhstbyX.
26078 (readdhstbyaddr): Likewise.
26079 (readdhstbynamev6): Likewise.
26080 (readdhstbyaddrv6): Likewise.
26081 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26082 (readdinitgroups): Return value returned by addinitgroupsX.
26083 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26084 (prune_cache): Keep track of timeout value of re-added entries.
26085 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26086 * nscd/nscd.h: Adjust prototypes of readd* functions.
26088 2011-02-04 Roland McGrath <roland@redhat.com>
26090 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26091 (nis_stats): Likewise.
26092 * nis/nis_modify.c (nis_modify): Likewise.
26093 * nis/nis_remove.c (nis_remove): Likewise.
26094 * nis/nis_add.c (nis_add): Likewise.
26096 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26098 * posix/fnmatch_loop.c: Add some consts.
26100 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26102 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26105 * config.make.in (config-cflags-novzeroupper): Define.
26106 * configure.in: Substitute libc_cv_cc_novzeroupper.
26107 * elf/Makefile (AVX-CFLAGS): Define.
26108 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26109 (CFLAGS-tst-auditmod4a.c): Likewise.
26110 (CFLAGS-tst-auditmod4b.c): Likewise.
26111 (CFLAGS-tst-auditmod6b.c): Likewise.
26112 (CFLAGS-tst-auditmod6c.c): Likewise.
26113 (CFLAGS-tst-auditmod7b.c): Likewise.
26114 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26116 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26118 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26119 function to the callback.
26120 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26122 2011-02-02 Andreas Schwab <schwab@redhat.com>
26124 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26127 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26130 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26132 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26134 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26137 * elf/Makefile: Add rules to build and run new test.
26138 * elf/tst-initorder.c: New file.
26139 * elf/tst-initorder.exp: New file.
26140 * elf/tst-initordera1.c: New file.
26141 * elf/tst-initordera2.c: New file.
26142 * elf/tst-initordera3.c: New file.
26143 * elf/tst-initordera4.c: New file.
26144 * elf/tst-initorderb1.c: New file.
26145 * elf/tst-initorderb2.c: New file.
26146 * elf/tst-order-a1.c: New file.
26147 * elf/tst-order-a2.c: New file.
26148 * elf/tst-order-a3.c: New file.
26149 * elf/tst-order-a4.c: New file.
26150 * elf/tst-order-b1.c: New file.
26151 * elf/tst-order-b2.c: New file.
26152 * elf/tst-order-main.c: New file.
26153 New test case by George Gensure <werkt0@gmail.com>.
26155 2010-10-01 Andreas Schwab <schwab@redhat.com>
26157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26158 decoding ACE if AI_CANONIDN.
26160 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26162 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26164 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26166 * version.h (RELEASE): Bump for 2.13 release.
26167 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26169 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26171 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26173 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26174 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26175 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26176 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26177 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26178 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26180 * posix/getconf.c: Update copyright year.
26181 * catgets/gencat.c: Likewise.
26182 * csu/version.c: Likewise.
26183 * debug/catchsegv.sh: Likewise.
26184 * debug/xtrace.sh: Likewise.
26185 * elf/ldconfig.c: Likewise.
26186 * elf/ldd.bash.in: Likewise.
26187 * elf/sprof.c (print_version): Likewise.
26188 * iconv/iconv_prog.c: Likewise.
26189 * iconv/iconvconfig.c: Likewise.
26190 * locale/programs/locale.c: Likewise.
26191 * locale/programs/localedef.c: Likewise.
26192 * malloc/memusage.sh: Likewise.
26193 * malloc/mtrace.pl: Likewise.
26194 * nscd/nscd.c (print_version): Likewise.
26195 * nss/getent.c: Likewise.
26197 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26198 PF_CAIF, and PF_ALG.
26199 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26201 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26203 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26204 (modules-names): Use them.
26205 (ifunc-test-modules, ifunc-pie-tests): Define.
26206 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26207 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26208 (test-extras): Likewise.
26209 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26210 $(compile-command.c).
26211 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26212 (all-built-dso): Define.
26213 (check-textrel.out, check-execstack.out): Depend on it.
26215 * configure.in: Don't override --enable-multi-arch.
26217 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26220 * nscd/hstcache.c (tryagain): Define.
26221 (cache_addhst): Return tryagain not notfound for temporary errors.
26222 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26225 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26228 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26229 to make the syscall.
26230 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26233 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26234 and fall back to matching as normal character if the string ends before
26235 the matching ']' is found. This is what POSIX requires.
26236 * posix/testfnm.c: Adjust test result.
26237 * posix/globtest.sh: Adjust test result. Add new test.
26238 * posix/tst-fnmatch.input: Likewise.
26239 * posix/tst-fnmatch2.c: Add new test.
26241 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26243 * elf/Makefile (check-execstack): Revert last change. Depend on
26245 (check-execstack.h): New target.
26246 (generated): Add check-execstack.h.
26247 * elf/check-execstack.c: Include "check-execstack.h".
26248 (main): Revert last change.
26249 (handle_file): Return zero if GNU_STACK is absent and
26250 DEFAULT_STACK_PERMS doesn't include PF_X.
26252 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26254 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26255 in child fails because the descriptor is already closed.
26256 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26257 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26258 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26261 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26265 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26266 temporary buffer used to handle multi lookups locally.
26267 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26269 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26271 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26274 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26276 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26277 alignment for SSE2.
26279 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26282 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26283 characters. When rounding increased number of integer digits recompute
26285 * stdio-common/tst-grouping.c: New file.
26286 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26288 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26290 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26291 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26293 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26295 * bits/select.h: Likewise.
26297 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26299 * po/ja.po: Update from translation team.
26301 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26304 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26305 implementation just like for lxstat, fxstatat, et al.
26307 2010-12-27 Jim Meyering <meyering@redhat.com>
26310 * posix/regexec.c (build_trtable): Return failure indication upon
26311 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26313 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26316 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26317 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26318 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26319 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26322 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26325 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26326 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26328 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26330 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26331 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26332 script has SORT_BY_INIT_PRIORITY.
26333 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26334 NO_CTORS_DTORS_SECTIONS is defined.
26335 * elf/soinit.c: Likewise.
26336 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26337 NO_CTORS_DTORS_SECTIONS is defined.
26338 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26339 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26340 * sysdeps/sh/init-first.c: Likewise.
26341 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26343 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26345 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26346 always use the slow path.
26348 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26350 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26351 similar rule which adds the sysdep directories to the header search in
26352 order to pick up the correct platform stackinfo.h.
26353 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26354 perform test if it is, otherwise return successfully without testing.
26355 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26356 DEFAULT_STACK_PERMS define in stackinfo.h.
26357 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26358 defined in stackinfo.h.
26359 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26360 DEFAULT_STACK_PERMS defined in stackinfo.h.
26361 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26362 * sysdeps/ia64/stackinfo.h: Likewise.
26363 * sysdeps/s390/stackinfo.h: Likewise.
26364 * sysdeps/sh/stackinfo.h: Likewise.
26365 * sysdeps/sparc/stackinfo.h: Likewise.
26366 * sysdeps/x86_64/stackinfo.h: Likewise.
26367 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26368 PF_X for powerpc64. Retain PF_X for powerpc32.
26370 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26372 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26374 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26375 GETDENTS_64BIT_ALIGNED.
26377 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26379 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26381 2010-12-10 Andreas Schwab <schwab@redhat.com>
26383 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26386 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26387 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26389 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26390 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26392 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26395 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26398 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26400 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26402 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26404 * po/it.po: Update from translation team.
26406 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26408 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26411 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26413 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26415 2010-11-24 Andreas Schwab <schwab@redhat.com>
26417 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26419 (gaih_getanswer_slice): Likewise.
26421 2010-10-20 Jakub Jelinek <jakub@redhat.com>
26423 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26425 2010-05-31 Petr Baudis <pasky@suse.cz>
26428 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26429 silently even in the chroot mode.
26431 2010-11-22 Ulrich Drepper <drepper@gmail.com>
26433 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26434 last patch a bit. Pretty printing
26436 2010-05-31 Petr Baudis <pasky@suse.cz>
26439 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26440 initialization of skip_initgroups_dyn.
26442 2010-11-19 Ulrich Drepper <drepper@gmail.com>
26444 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26445 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26447 2010-11-16 Ulrich Drepper <drepper@gmail.com>
26449 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26451 2010-11-11 Andreas Schwab <schwab@redhat.com>
26453 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26454 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26455 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26456 ($(objpfx)tst-fnmatch-mem): New rule.
26457 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26458 * posix/tst-fnmatch.c (main): Call mtrace.
26460 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26463 Support Intel processor model 6 and model 0x2c.
26465 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
26467 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26470 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26473 * string/test-strncasecmp.c (check_result): New function.
26474 (do_one_test): Use it.
26475 (check1): New function.
26476 (test_main): Use it.
26477 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26478 Support strcasecmp and strncasecmp.
26480 2010-11-08 Ulrich Drepper <drepper@gmail.com>
26483 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26484 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26486 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26488 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26492 * sysdeps/x86_64/multiarch/bzero.S: New file.
26493 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26494 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26495 * sysdeps/x86_64/multiarch/memset.S: New file.
26496 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26498 Set bit_Prefer_SSE_for_memop for Intel processors.
26499 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26501 (index_Prefer_SSE_for_memop): Define.
26502 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26504 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
26506 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26507 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26509 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26512 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26513 (__x86_64_raw_data_cache_size_half): Likewise.
26514 (__x86_64_raw_shared_cache_size): Likewise.
26515 (__x86_64_raw_shared_cache_size_half): Likewise.
26517 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26518 (__x86_64_raw_data_cache_size_half): Likewise.
26519 (__x86_64_raw_shared_cache_size): Likewise.
26520 (__x86_64_raw_shared_cache_size_half): Likewise.
26521 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26522 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26523 and __x86_64_raw_shared_cache_size_half. Round
26524 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26525 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26526 to multiple of 256 bytes.
26528 2010-11-03 Ulrich Drepper <drepper@gmail.com>
26531 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26532 of inacessible symlinks. Verify result of symlink before returning it.
26533 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26534 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26536 2010-10-28 Erich Ritz <erichritz@gmail.com>
26538 * math/math.h (isinf): Fix typo in comment.
26540 2010-11-01 Ulrich Drepper <drepper@gmail.com>
26542 * po/da.po: Update from translation team.
26544 2010-10-26 Ulrich Drepper <drepper@gmail.com>
26546 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26547 is added to the list.
26549 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26550 Ulrich Drepper <drepper@gmail.com>
26552 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26553 the global list here. Move code to...
26554 (_dl_add_to_namespace_list): ...here. New function.
26555 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26556 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26557 * elf/dl-load.c (lose): Don't remove the element from the list.
26558 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26559 (_dl_map_object): Likewise.
26561 2010-10-25 Ulrich Drepper <drepper@gmail.com>
26564 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26565 into all bytes of SSE register.
26566 Patch by Richard Li <richardpku@gmail.com>.
26568 2010-10-24 Ulrich Drepper <drepper@gmail.com>
26571 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26574 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26576 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26577 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26578 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26579 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26584 2010-10-22 Andreas Schwab <schwab@redhat.com>
26586 * include/dlfcn.h (__RTLD_SECURE): Define.
26587 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26588 mode & __RTLD_SECURE instead.
26589 (open_path): Rename preloaded parameter to secure.
26590 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26591 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26592 * elf/dl-deps.c (openaux): Likewise.
26593 * elf/rtld.c (struct map_args): Remove is_preloaded.
26594 (map_doit): Don't use it.
26595 (dl_main): Likewise.
26596 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26597 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26599 2010-09-09 Andreas Schwab <schwab@redhat.com>
26601 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26602 (sysd-rules-targets): Remove duplicates.
26603 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26604 rtld-%.$o dependency.
26606 2010-10-18 Andreas Schwab <schwab@redhat.com>
26608 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26609 _dl_map_object do it.
26611 2010-10-19 Ulrich Drepper <drepper@gmail.com>
26613 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26614 fast fma builtins, define the macros in the C99 standard.
26615 (FP_FAST_FMAF): Likewise.
26616 (FP_FAST_FMAL): Likewise.
26617 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26619 * bits/mathdef.h: Update copyright year.
26620 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26622 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26624 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26625 builtins, define the macros in the C99 standard.
26626 (FP_FAST_FMAF): Likewise.
26627 (FP_FAST_FMAL): Likewise.
26628 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26630 (FP_FAST_FMAF): Likewise.
26632 2010-10-15 Jakub Jelinek <jakub@redhat.com>
26635 * math/libm-test.inc (fma_test): Some new testcases.
26636 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26637 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26638 y and infinite z. Do multiplication by C already in long double.
26639 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26640 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26641 y and infinite z. Do bitwise or of inexact bit into u.d.
26642 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26643 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26644 * sysdeps/i386/fpu/s_fma.S: Removed.
26645 * sysdeps/i386/fpu/s_fmal.S: Removed.
26647 2010-10-16 Jakub Jelinek <jakub@redhat.com>
26650 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26651 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26652 computation is not scheduled after fetestexcept. Fix value
26653 of minimum denormal long double.
26655 2010-10-14 Jakub Jelinek <jakub@redhat.com>
26658 * math/libm-test.inc (fma_test): Add some more tests.
26659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26662 2010-10-15 Andreas Schwab <schwab@redhat.com>
26664 * scripts/data/localplt-s390-linux-gnu.data: New file.
26665 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26667 2010-10-13 Jakub Jelinek <jakub@redhat.com>
26670 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26671 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26673 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26675 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26676 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26677 if one of x and y is very large and the other is subnormal.
26678 * sysdeps/s390/fpu/s_fmaf.c: New file.
26679 * sysdeps/s390/fpu/s_fma.c: New file.
26680 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26681 * sysdeps/powerpc/fpu/s_fma.S: New file.
26682 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26683 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26684 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26686 2010-10-12 Jakub Jelinek <jakub@redhat.com>
26689 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26691 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26692 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26693 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26694 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26695 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26696 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26697 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26699 2010-10-12 Ulrich Drepper <drepper@redhat.com>
26702 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26703 * posix/bug-regex31.input: Add test case.
26705 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26707 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26708 * posix/bug-regex31.input: New file.
26711 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26712 (parse_sub_exp): Fix last change, use postorder.
26714 * posix/bug-regex31.c: New file.
26715 * posix/Makefile: Add rules to build and run bug-regex31.
26717 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26720 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26723 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26724 to have entries in sys_siglist.
26727 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26730 2010-10-07 Jakub Jelinek <jakub@redhat.com>
26733 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26734 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26735 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26736 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26737 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26738 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26739 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26740 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26741 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26742 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26743 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26744 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26745 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26746 * math/ftestexcept.c (fetestexcept): Likewise.
26747 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26748 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26749 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26750 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26751 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26752 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26753 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26755 2010-10-11 Ulrich Drepper <drepper@gmail.com>
26758 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26761 2010-10-06 Ulrich Drepper <drepper@gmail.com>
26763 * string/bug-strstr1.c: New file.
26764 * string/Makefile: Add rules to build and run bug-strstr1.
26766 2010-10-05 Eric Blake <eblake@redhat.com>
26769 * string/str-two-way.h (two_way_long_needle): Always clear memory
26770 when skipping input due to the shift table.
26772 2010-10-03 Ulrich Drepper <drepper@gmail.com>
26775 * malloc/mcheck.c: Handle large requests.
26778 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26779 for strncmp and strncasecmp.
26780 * string/stratcliff.c: Add tests for strcmp and strncmp.
26781 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26783 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26785 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26788 2010-09-30 Andreas Jaeger <aj@suse.de>
26790 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26791 (CGROUP_SUPER_MAGIC): Define.
26792 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26793 Handle btrfs and cgroup file systems.
26794 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26797 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
26799 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26800 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26802 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26805 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26806 trying to locate the ELF header.
26808 2010-09-27 Andreas Schwab <schwab@redhat.com>
26811 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26812 Mask out sign-bit copies when constructing f_fsid.
26814 2010-09-24 Petr Baudis <pasky@suse.cz>
26816 * debug/stack_chk_fail_local.c: Add missing licence exception.
26817 * debug/warning-nop.c: Likewise.
26819 2010-09-15 Joseph Myers <joseph@codesourcery.com>
26821 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26822 implementing getdents64 using getdents syscall, set d_type if
26823 __ASSUME_GETDENTS32_D_TYPE.
26825 2010-09-16 Andreas Schwab <schwab@redhat.com>
26827 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26828 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26830 2010-09-21 Ulrich Drepper <drepper@redhat.com>
26833 * posix/unistd.h: Undo change of feature selection for ftruncate from
26836 2010-09-20 Ulrich Drepper <drepper@redhat.com>
26838 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26841 2010-09-20 Andreas Schwab <schwab@redhat.com>
26843 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26845 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26847 2010-09-14 Andreas Schwab <schwab@redhat.com>
26849 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26850 variables after CHECK_SP call.
26851 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26853 2010-09-13 Andreas Schwab <schwab@redhat.com>
26854 Ulrich Drepper <drepper@redhat.com>
26856 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26857 re-relocationg ld.so.
26858 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26859 _dl_init_paths call.
26860 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26863 2010-09-14 Ulrich Drepper <drepper@redhat.com>
26865 * resolv/res_init.c (__res_vinit): Count the default server we added.
26867 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26868 Ulrich Drepper <drepper@redhat.com>
26871 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26872 (____longjmp_chk): Use %ebx for saving value across system call.
26875 2010-09-06 Andreas Schwab <schwab@redhat.com>
26877 * manual/Makefile: Don't mix pattern rules with normal rules.
26879 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26881 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26883 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26884 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26885 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26886 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26887 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26890 2010-09-04 Ulrich Drepper <drepper@redhat.com>
26893 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26894 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26896 2010-09-02 Ulrich Drepper <drepper@redhat.com>
26898 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26899 * sysdeps/x86_64/addmul_1.S: Likewise.
26900 * sysdeps/x86_64/lshift.S: Likewise.
26901 * sysdeps/x86_64/mul_1.S: Likewise.
26902 * sysdeps/x86_64/rshift.S: Likewise.
26903 * sysdeps/x86_64/sub_n.S: Likewise.
26904 * sysdeps/x86_64/submul_1.S: Likewise.
26906 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26908 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26909 Define __sched_param instead of SCHED_* and sched_param when
26910 <bits/sched.h> is included with __need_schedparam defined.
26911 * bits/sched.h [__need_schedparam]
26912 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26913 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26914 (__defined_schedparam): Define to 1.
26915 (__sched_param): New structure, identical to sched_param.
26916 (__need_schedparam): Undefine.
26918 2010-08-31 Mike Frysinger <vapier@gentoo.org>
26920 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26921 (epoll_create1): Declare.
26923 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26925 2010-08-31 Andreas Schwab <schwab@redhat.com>
26928 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26929 shifting retval into place.
26931 2010-09-01 Ulrich Drepper <drepper@redhat.com>
26933 * nis/rpcsvc/nis.h: Update copyright notice.
26934 * nis/rpcsvc/nis.x: Likewise.
26935 * nis/rpcsvc/nis_callback.h: Likewise.
26936 * nis/rpcsvc/nis_callback.x: Likewise.
26937 * nis/rpcsvc/nis_object.x: Likewise.
26938 * nis/rpcsvc/nis_tags.h: Likewise.
26939 * nis/rpcsvc/yp.h: Likewise.
26940 * nis/rpcsvc/yp.x: Likewise.
26941 * nis/rpcsvc/ypupd.h: Likewise.
26942 * nis/yp_xdr.c: Likewise.
26943 * nis/ypupdate_xdr.c: Likewise.
26945 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26946 mainly the body of pmap_getport. Add parameters to specify timeouts.
26947 (pmap_getport): Use __libc_rpc_getport.
26948 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26949 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26950 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26952 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26957 2010-08-27 Roland McGrath <roland@redhat.com>
26959 * sysdeps/i386/i686/multiarch/Makefile
26960 (CFLAGS-varshift.c): New variable.
26962 2010-08-27 Ulrich Drepper <drepper@redhat.com>
26964 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26965 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26967 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26969 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26971 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26973 * sysdeps/x86_64/strlen.S: Unroll the loop.
26974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26975 strlen-sse2 strlen-sse2-bsf.
26976 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26977 __strlen_no_bsf if bit_Slow_BSF is set.
26978 (__strlen_sse42): Removed.
26979 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26980 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26982 2010-08-25 Roland McGrath <roland@redhat.com>
26984 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26985 * sysdeps/x86_64/multiarch/varshift.c: New file.
26986 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26987 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26988 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26989 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26991 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26993 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26994 strlen-sse2 strlen-sse2-bsf.
26995 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26996 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26997 (__strlen_sse2): Removed.
26998 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26999 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27001 bit_Slow_BSF for Atom.
27002 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27003 (index_Slow_BSF): Define.
27004 (HAS_SLOW_BSF): Define.
27006 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27009 * resolv/res_init.c (__res_vinit): When no server address at all
27010 is given default to loopback.
27012 2010-08-24 Roland McGrath <roland@redhat.com>
27014 * configure.in: Remove config-name.h generation.
27015 * configure: Regenerated.
27016 * config-name.in: File removed.
27017 * scripts/config-uname.sh: New file.
27018 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27019 ($(objdir)config-name.h): New target.
27021 * sunrpc/rpc_parse.h: Avoid nested comment.
27023 2010-08-24 Richard Henderson <rth@redhat.com>
27024 Ulrich Drepper <drepper@redhat.com>
27025 H.J. Lu <hongjiu.lu@intel.com>
27027 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27029 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27030 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27031 _mm_alignr_epi8 with _mm_loadu_si128.
27032 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27033 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27034 (__m128i_shift_right): Removed.
27035 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27036 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27037 * sysdeps/x86_64/multiarch/varshift.h: New file.
27038 * sysdeps/x86_64/multiarch/varshift.S: New file.
27040 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27042 * configure.in: Move assembler checks to before sysdep dir checking.
27044 2010-08-20 Petr Baudis <pasky@suse.cz>
27046 * LICENSES: Sync the sunrpc license.
27048 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27050 * sunrpc/auth_des.c: Update copyright notice once again.
27051 * sunrpc/auth_none.c: Likewise.
27052 * sunrpc/auth_unix.c: Likewise.
27053 * sunrpc/authdes_prot.c: Likewise.
27054 * sunrpc/authuxprot.c: Likewise.
27055 * sunrpc/bindrsvprt.c: Likewise.
27056 * sunrpc/clnt_gen.c: Likewise.
27057 * sunrpc/clnt_perr.c: Likewise.
27058 * sunrpc/clnt_raw.c: Likewise.
27059 * sunrpc/clnt_simp.c: Likewise.
27060 * sunrpc/clnt_tcp.c: Likewise.
27061 * sunrpc/clnt_udp.c: Likewise.
27062 * sunrpc/clnt_unix.c: Likewise.
27063 * sunrpc/des_crypt.c: Likewise.
27064 * sunrpc/des_soft.c: Likewise.
27065 * sunrpc/get_myaddr.c: Likewise.
27066 * sunrpc/getrpcport.c: Likewise.
27067 * sunrpc/key_call.c: Likewise.
27068 * sunrpc/key_prot.c: Likewise.
27069 * sunrpc/openchild.c: Likewise.
27070 * sunrpc/pm_getmaps.c: Likewise.
27071 * sunrpc/pm_getport.c: Likewise.
27072 * sunrpc/pmap_clnt.c: Likewise.
27073 * sunrpc/pmap_prot.c: Likewise.
27074 * sunrpc/pmap_prot2.c: Likewise.
27075 * sunrpc/pmap_rmt.c: Likewise.
27076 * sunrpc/rpc/auth.h: Likewise.
27077 * sunrpc/rpc/auth_unix.h: Likewise.
27078 * sunrpc/rpc/clnt.h: Likewise.
27079 * sunrpc/rpc/des_crypt.h: Likewise.
27080 * sunrpc/rpc/key_prot.h: Likewise.
27081 * sunrpc/rpc/netdb.h: Likewise.
27082 * sunrpc/rpc/pmap_clnt.h: Likewise.
27083 * sunrpc/rpc/pmap_prot.h: Likewise.
27084 * sunrpc/rpc/pmap_rmt.h: Likewise.
27085 * sunrpc/rpc/rpc.h: Likewise.
27086 * sunrpc/rpc/rpc_des.h: Likewise.
27087 * sunrpc/rpc/rpc_msg.h: Likewise.
27088 * sunrpc/rpc/svc.h: Likewise.
27089 * sunrpc/rpc/svc_auth.h: Likewise.
27090 * sunrpc/rpc/types.h: Likewise.
27091 * sunrpc/rpc/xdr.h: Likewise.
27092 * sunrpc/rpc_clntout.c: Likewise.
27093 * sunrpc/rpc_cmsg.c: Likewise.
27094 * sunrpc/rpc_common.c: Likewise.
27095 * sunrpc/rpc_cout.c: Likewise.
27096 * sunrpc/rpc_dtable.c: Likewise.
27097 * sunrpc/rpc_hout.c: Likewise.
27098 * sunrpc/rpc_main.c: Likewise.
27099 * sunrpc/rpc_parse.c: Likewise.
27100 * sunrpc/rpc_parse.h: Likewise.
27101 * sunrpc/rpc_prot.c: Likewise.
27102 * sunrpc/rpc_sample.c: Likewise.
27103 * sunrpc/rpc_scan.c: Likewise.
27104 * sunrpc/rpc_scan.h: Likewise.
27105 * sunrpc/rpc_svcout.c: Likewise.
27106 * sunrpc/rpc_tblout.c: Likewise.
27107 * sunrpc/rpc_util.c: Likewise.
27108 * sunrpc/rpc_util.h: Likewise.
27109 * sunrpc/rpcinfo.c: Likewise.
27110 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27111 * sunrpc/rpcsvc/key_prot.x: Likewise.
27112 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27113 * sunrpc/rpcsvc/mount.x: Likewise.
27114 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27115 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27116 * sunrpc/rpcsvc/rex.x: Likewise.
27117 * sunrpc/rpcsvc/rstat.x: Likewise.
27118 * sunrpc/rpcsvc/rusers.x: Likewise.
27119 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27120 * sunrpc/rpcsvc/spray.x: Likewise.
27121 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27122 * sunrpc/rtime.c: Likewise.
27123 * sunrpc/svc.c: Likewise.
27124 * sunrpc/svc_auth.c: Likewise.
27125 * sunrpc/svc_authux.c: Likewise.
27126 * sunrpc/svc_raw.c: Likewise.
27127 * sunrpc/svc_run.c: Likewise.
27128 * sunrpc/svc_simple.c: Likewise.
27129 * sunrpc/svc_tcp.c: Likewise.
27130 * sunrpc/svc_udp.c: Likewise.
27131 * sunrpc/svc_unix.c: Likewise.
27132 * sunrpc/svcauth_des.c: Likewise.
27133 * sunrpc/xcrypt.c: Likewise.
27134 * sunrpc/xdr.c: Likewise.
27135 * sunrpc/xdr_array.c: Likewise.
27136 * sunrpc/xdr_float.c: Likewise.
27137 * sunrpc/xdr_mem.c: Likewise.
27138 * sunrpc/xdr_rec.c: Likewise.
27139 * sunrpc/xdr_ref.c: Likewise.
27140 * sunrpc/xdr_sizeof.c: Likewise.
27141 * sunrpc/xdr_stdio.c: Likewise.
27143 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27146 2010-08-19 Andreas Schwab <schwab@redhat.com>
27148 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27150 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27152 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27153 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27154 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27155 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27156 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27157 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27158 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27159 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27160 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27161 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27162 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27163 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27164 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27165 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27167 2010-07-26 Anton Blanchard <anton@samba.org>
27169 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27170 * malloc/arena.c (heap_trim): Likewise.
27172 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27174 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27176 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27177 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27179 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27181 * sysdeps/i386/elf/Makefile: New file.
27183 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27185 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27186 from fanotify_init.
27187 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27188 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27190 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27192 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27194 * sysdeps/multiarch/strcmp.S: Likewise.
27196 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27198 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27199 strncase_l-nonascii.
27200 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27201 Add strncase_l-ssse3.
27202 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27203 * sysdeps/x86_64/strcmp.S: Likewise.
27204 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27205 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27206 * sysdeps/x86_64/strncase.S: New file.
27207 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27208 * sysdeps/x86_64/strncase_l.S: New file.
27209 * string/Makefile (strop-tests): Add strncasecmp.
27210 * string/test-strncasecmp.c: New file.
27212 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27215 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27216 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27218 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27220 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27222 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27224 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27225 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27226 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27228 2010-05-01 Alan Modra <amodra@gmail.com>
27230 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27231 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27232 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27233 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27234 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27235 tidying. Don't tail-call __sigjmp_save for static lib.
27236 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27238 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27239 (CALL_MCOUNT): Add eh info, and nop after bl.
27240 (TAIL_CALL_SYSCALL_ERROR): New macro.
27241 (PSEUDO_RET): Use it.
27242 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27243 Correct save location of integer regs and cr.
27244 (_dl_profile_resolve): Correct cr save location. Delete nops
27245 after bl when SHARED. Reduce cfi size a little by better
27246 placement of cfi directives.
27247 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27248 make a stack frame. Instead use parm save area as a temp.
27249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27250 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27252 Don't make a stack frame for parent, use parm save area.
27253 Increase child stack frame to 112 bytes. Don't save unused reg,
27254 and adjust reg usage. Set up cfi on error recovery and
27255 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27257 (__makecontext): Add dummy nop after jump to exit.
27258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27259 Use correct parm save area and cr save, reduce stack frame.
27260 Correct cfi for possible PSEUDO_RET frame setup.
27261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27262 Branch to local label emitted by PSEUDO_RET rather than
27265 2010-08-12 Andreas Schwab <schwab@redhat.com>
27268 * locale/programs/locale.c (print_assignment): New function.
27269 (show_locale_vars): Use it.
27271 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27273 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27275 (struct statfs64): Likewise.
27276 (_STATFS_F_FLAGS): Define.
27277 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27278 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27279 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27280 (ST_VALID): Define locally.
27281 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27282 __statvfs_getflags, use the provided value.
27283 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27284 __ASSUME_STATFS_F_FLAGS.
27286 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27288 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27289 Add sys/fanotify.h.
27290 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27291 fanotify_mask for GLIBC_2.13.
27292 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27293 fanotify_init and fanotify_mark.
27294 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27295 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27297 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27299 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27300 prlimit64 for GLIBC_2.13.
27301 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27306 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27307 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27308 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27309 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27311 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27314 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27315 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27317 * nss/Makefile: Add rules to build and run tst-nss-test1.
27318 * shlib-versions: Add entry for libnss_test1.
27319 * nss/nss_test1.c: New file.
27320 * nss/tst-nss-test1.c: New file.
27322 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27323 (__nss_configure_lookup): Set appropriate entry in
27324 __nss_configure_lookup to true.
27325 * nss/nsswitch.h: Define enum with indeces of databases in
27326 databases and __nss_database_custom arrays. Declare
27327 __nss_database_custom.
27328 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27329 to avoid using nscd when custom rules are installed.
27330 * nss/getXXbyYY_r.c: Likewise.
27331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27333 * nss/nss_files/files-parse.c: Whitespace fixes.
27335 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27338 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27339 * posix/fnmatch_loop.c: Likewise.
27341 2010-07-17 Andi Kleen <ak@linux.intel.com>
27343 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27344 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27345 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27346 * Versions.def [GLIBC_2.13]: Add.
27348 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27350 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27351 Also fail if tpwd after pwuid call is NULL.
27353 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27355 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27356 when converting to ms.
27358 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27360 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27361 EOPNOTSUPP errors with ENOTTY.
27362 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27363 EOPNOTSUPP errors with ENOTTY.
27365 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27367 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27368 Add strcasecmp_l-ssse3.
27369 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27371 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27372 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27373 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27375 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27377 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27379 * string/Makefile (strop-tests): Add strcasecmp.
27380 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27381 strcasecmp_l-nonascii.
27382 (gen-as-const-headers): Add locale-defines.sym.
27383 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27384 * sysdeps/x86_64/strcasecmp.S: New file.
27385 * sysdeps/x86_64/strcasecmp_l.S: New file.
27386 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27387 * sysdeps/x86_64/locale-defines.sym: New file.
27388 * string/test-strcasecmp.c: New file.
27390 * string/test-strcasestr.c: Test both ends of the range of characters.
27391 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27393 2010-07-29 Roland McGrath <roland@redhat.com>
27396 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27398 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27400 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27403 2010-07-27 Andreas Schwab <schwab@redhat.com>
27405 * manual/memory.texi (Malloc Tunable Parameters): Document
27408 2010-07-26 Roland McGrath <roland@redhat.com>
27411 * configure.in (-fgnu89-inline check): Set and substitute
27412 gnu89_inline, not libc_cv_gnu89_inline.
27413 * configure: Regenerated.
27414 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27416 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27418 * string/test-strnlen.c: New file.
27419 * string/Makefile (strop-tests): Add strnlen.
27420 * string/tester.c (test_strnlen): Add a few more test cases.
27421 * string/tst-strlen.c: Better error reporting.
27423 * sysdeps/x86_64/strnlen.S: New file.
27425 2010-07-24 Ulrich Drepper <drepper@redhat.com>
27427 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27428 lower-latency instructions.
27430 2010-07-23 Ulrich Drepper <drepper@redhat.com>
27432 * string/test-strcasestr.c: New file.
27433 * string/test-strstr.c: New file.
27434 * string/Makefile (strop-tests): Add strstr and strcasestr.
27435 * string/str-two-way.h: Don't undefine MAX.
27436 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27438 2010-07-21 Andreas Schwab <schwab@redhat.com>
27440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27441 strcasestr-nonascii.
27442 (CFLAGS-strcasestr-nonascii.c): Define.
27443 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27444 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27445 Remove unused attribute.
27447 2010-07-20 Roland McGrath <roland@redhat.com>
27449 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27450 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27451 ld.so.cache was broken. With it, there is no way to disable dsocaps
27452 like LD_HWCAP_MASK can disable hwcaps.
27454 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27456 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27458 2010-07-16 Ulrich Drepper <drepper@redhat.com>
27460 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27461 call in strcasestr.
27462 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27463 __strcasestr_sse42_nonascii.
27464 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27465 strcasestr-nonascii.c.
27466 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27468 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
27470 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27471 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27472 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27473 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27475 2010-07-09 Ulrich Drepper <drepper@redhat.com>
27477 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27480 2010-07-06 Andreas Schwab <schwab@redhat.com>
27483 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27486 2010-07-06 Ulrich Drepper <drepper@redhat.com>
27488 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27489 _PC_PIPE_BUF using F_GETPIPE_SZ.
27491 2010-07-05 Roland McGrath <roland@redhat.com>
27493 * manual/arith.texi (Rounding Functions): Fix rint description
27494 implicit in round description.
27496 2010-07-02 Ulrich Drepper <drepper@redhat.com>
27498 * elf/Makefile: Fix linking for a few tests to make recent linker
27501 2010-06-30 Andreas Schwab <schwab@redhat.com>
27503 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27504 $(common-objpfx)libc_nonshared.a.
27506 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
27508 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27509 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27510 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27511 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27512 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27513 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27514 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27515 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27530 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27531 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27532 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27533 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27534 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27535 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27536 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27537 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27538 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27539 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27540 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27541 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27557 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27559 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27560 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27561 * string/memmove.c (memmove): Renamed to ...
27562 (MEMMOVE): ...this. Default to memmove.
27563 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27564 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27567 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27568 mempcpy-ssse3-back memmove-ssse3-back.
27569 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27570 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27571 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27572 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27573 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27574 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27575 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27576 * sysdeps/x86_64/multiarch/memmove.c: New file.
27577 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27578 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27579 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27580 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27581 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27582 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27584 (index_Fast_Copy_Backward): Define.
27585 (HAS_ARCH_FEATURE): Define.
27586 (HAS_FAST_REP_STRING): Define.
27587 (HAS_FAST_COPY_BACKWARD): Define.
27589 2010-06-21 Andreas Schwab <schwab@redhat.com>
27591 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27592 Restore proper fallback handling.
27594 2010-06-19 Ulrich Drepper <drepper@redhat.com>
27597 * posix/group_member.c (__group_member): Correct checking loop.
27599 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27600 OOM in getpwuid_r correctly. Return error number when the caller
27601 should return, otherwise -1.
27602 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27603 call returning > 0 value.
27604 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27606 2010-06-07 Andreas Schwab <schwab@redhat.com>
27608 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27609 libc_nonshared.a from targets in modules-names.
27611 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27613 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27616 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
27618 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27619 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27620 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27621 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27623 2010-06-02 Andreas Schwab <schwab@redhat.com>
27625 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27627 2010-06-14 Ulrich Drepper <drepper@redhat.com>
27629 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27631 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27632 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27634 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27635 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27636 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27638 2010-06-14 Roland McGrath <roland@redhat.com>
27640 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27642 2010-06-07 Jakub Jelinek <jakub@redhat.com>
27644 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27645 __REDIRECT followed by __THROW.
27646 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27647 * posix/getopt.h (getopt): Likewise.
27649 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27651 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27652 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27653 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27655 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27656 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27658 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
27660 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27662 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27666 Properly check family and model.
27668 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27670 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27672 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
27674 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27676 2010-05-21 Ulrich Drepper <drepper@redhat.com>
27678 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27681 2010-05-19 Andreas Schwab <schwab@redhat.com>
27683 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27686 2010-05-21 Andreas Schwab <schwab@redhat.com>
27688 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27689 and internal_recvmmsg.
27690 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27691 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27692 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27693 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27695 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27696 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27697 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27699 2010-05-20 Andreas Schwab <schwab@redhat.com>
27701 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27703 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
27705 POWER7 optimizations.
27706 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27707 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27709 2010-05-19 Ulrich Drepper <drepper@redhat.com>
27711 * version.h: Update for 2.13 development version.
27713 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
27715 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27716 exceptions. Return 0.
27718 2010-05-07 Roland McGrath <roland@redhat.com>
27720 * elf/ldconfig.c (main): Add a const.
27722 2010-05-06 Ulrich Drepper <drepper@redhat.com>
27724 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27725 (args_options): Add no-idn option.
27726 (ahosts_keys_int): Add idn_flags to ai_flags.
27727 (parse_option): Handle 'i' option to clear idn_flags.
27729 * malloc/malloc.c (_int_free): Possible race in the most recently
27730 added check. Only act on the data if no current modification
27733 See ChangeLog.17 for earlier changes.