Fix invalid free of memory allocated during rtld init
[glibc.git] / ChangeLog
blob6313627eb617e2f9fb8692df93e97152596947bb
1 2013-04-11  Andreas Schwab  <schwab@suse.de>
3         [BZ #14293]
4         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5         non-freeable.
7 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9         * Makeconfig (rtld-prefix): Define built linker prefix.
10         * Rules (run-bench): Use it.
11         * math/Makefile (run-regen-ulps): Likewise.
13         * Rules (bench): Remove eval.
15 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16             Roland McGrath  <roland@hack.frob.com>
17             Ondrej Bilka  <neleai@seznam.cz>
19         [BZ #15346]
20         * time/getdate.c: Include ctype.h and alloca.h.
21         (__getdate_r): Trim leading and trailing spaces of input.
22         * time/tst-getdate.c (tests): Add tests with leading and
23         trailing spaces.
25 2013-04-08  Roland McGrath  <roland@hack.frob.com>
27         [BZ #14280]
28         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29         when computing value.
31 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34         Use testrun.sh to run libm tests.
36         [BZ #15309]
37         * elf/dl-open.c (dl_open_worker): memset all of seen array.
39 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
41         [BZ #15264]
42         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46         * Makefile.in (regen-ulps): New target.
47         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
48         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49         [ifneq (no,$(PERL)] (regen-ulps): New target.
50         [ifeq (no,$(PERL)] (regen-ulps): New target.
51         * math/libm-test.inc (ulps_file_name): Define.
52         (output_dir): New variable.
53         (options): Add "output-dir" option.
54         (parse_opt): Handle 'o' case.
55         (main): If output_dir is non-NULL use it as a prefix
56         otherwise use "".
57         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
59 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61         [BZ #10060, #10062]
62         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
63         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
64         fail configure if __sync_val_compare_and_swap is not inlined.
65         * sysdeps/i386/configure: Regenerate.
66         * configure.in: Build for i686 when configured for i386.
67         * configure: Regenerate.
68         * README: Remove i386 reference.
70 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
72         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
73         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
77         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
78         (lmsnanval): New variables.
79         (F): Add conversion tests.
80         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
81         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
83         * stdio-common/tstdiomisc.c (F): Properly collect individual
84         tests' results.
86         [BZ #14686, #15336]
87         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
88         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
89         Instead, use input NaN values or generate a qNaN by arithmetic
90         operation.  Also fix bugs to comply with the standard.
91         * math/libm-test.inc (remainder_test): Add more tests.
93         [BZ #15335, #15342]
94         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
95         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
96         input NaN values or generate a qNaN by arithmetic operation.
98         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
99         unreachable code.
101         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
102         definitions.
104 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
106         [BZ #14478]
107         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
108         underflowed result.
109         * math/s_cexpf.c (__cexpf): Likewise.
110         * math/s_cexpl.c (__cexpl): Likewise.
111         * math/libm-test.inc (cexp_test): Add more tests.
113 2013-04-03  Andreas Schwab  <schwab@suse.de>
115         [BZ #15330]
116         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
117         order arrays from heap if bigger than alloca cutoff.
119 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
121         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
122         (SNAN_TESTS_double): Refer to GCC PR56831.
123         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
124         GCC PR56828.
126 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
128         * Rules (bench): Move bench.out after the run is complete.
130         * Rules (bench): Echo currently running benchmark.
132         * benchtests/Makefile (bench): Add atan and slowatan.
133         * benchtests/atan-inputs: New file.
134         * benchtests/slowatan-inputs: New file.
135         * benchtests/slowatan.c: New file.
137         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
138         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
139         its value.
141         [BZ #15305]
142         * sysdeps/unix/sysv/linux/kernel-features.h
143         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
144         __ASSUME_XFS_RESTRICTED_CHOWN.
145         * sysdeps/unix/sysv/linux/pathconf.c
146         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
147         Save and restore errno.
149 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
151         [BZ #15327]
152         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
153         arguments using __kernel_casinh.
154         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
155         arguments using __kernel_casinhf.
156         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
157         arguments using __kernel_casinhl.
158         * math/libm-test.inc (cacosh_test): Add more tests.
159         * sysdeps/i386/fpu/libm-test-ulps: Update.
160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
162 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
164         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
165         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
167         * bench/Makefile (bench): Add sin and slowsin.
168         * benchtests/sin-inputs: New file.
169         * benchtests/slowsin-inputs: New file.
170         * benchtests/slowsin.c: New file.
172         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
173         (bench): Add slowexp and slowpow.
174         (exp-ITER): Increase iterations.
175         (pow-ITER): Likewise.
176         * benchtests/exp-inputs: Change input.
177         * benchtests/pow-inputs: Likewise.
178         * benchtests/slowexp-inputs: New file.
179         * benchtests/slowexp.c: New file.
180         * benchtests/slowpow-inputs: New file.
181         * benchtests/slowpow.c: New file.
183 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
185         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
186         instructions.
187         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
188         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
189         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
190         * benchtests/Makefile: Add rint benchtest.
191         * benchtests/rint-inputs: Input for rint benchtest.
193 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
195         * Versions.def (libm): Add GLIBC_2.18.
196         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
197         hidden libm prototypes.
198         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
199         * math/Makefile (libm-calls): Add s_issignaling.
200         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
201         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
202         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
203         declaration.
204         * math/math.h [__USE_GNU] (issignaling): New macro.
205         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
206         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
207         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
208         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
209         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
210         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
211         * manual/arith.texi (issignaling): New section.
212         * manual/libm-err-tab.pl (@all_functions): Update comment.
213         * math/gen-libm-test.pl (parse_args): Apply special handling for
214         issignaling.
215         * math/libm-test.inc (print_float, issignaling_test): New
216         functions.
217         (check_float_internal): Add issignaling checks.
218         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
219         default definition.
220         * sysdeps/powerpc/math-tests.h: New file.
221         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
222         tests.
223         * math/test-snan.c (TEST_FUNC): Likewise.
225 2013-03-30  David S. Miller  <davem@davemloft.net>
227         * po/de.po: Update from translation team.
229 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
231         [BZ #10357]
232         * math/k_casinh.c (__kernel_casinh): Handle arguments with
233         imaginary part less than 1.0 and real part less than 0.5
234         specially.
235         * math/k_casinhf.c (__kernel_casinhf): Likewise.
236         * math/k_casinhl.c (__kernel_casinhl): Likewise.
237         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
238         (cacos_test): Add more tests.
239         (casin_test): Likewise.
240         (casinh_test): Likewise.
241         * sysdeps/i386/fpu/libm-test-ulps: Update.
242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
244 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
246         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
247         ONE with its value.
249         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
250         (__pow_mp): Replace ONE and MONE with their values.
251         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
252         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
253         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
254         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
255         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
256         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
258         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
260         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
261         (__pow_mp): Replace ZERO and MZERO with their values.
262         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
263         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
264         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
265         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
266         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
267         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
268         (__sqr): Likewise.
270         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
272         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
274 2013-03-28  Roland McGrath  <roland@hack.frob.com>
276         * include/stdlib.h [!SHARED] (__call_tls_dtors):
277         Declare with __attribute__ ((weak)).
278         * stdlib/exit.c (__libc_atexit) [!SHARED]:
279         Call __call_tls_dtors only if it's not NULL.
281 2013-03-28  Roland McGrath  <roland@hack.frob.com>
283         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
284         didn't do it already, then set _dl_phdr and _dl_phnum based on the
285         magic __ehdr_start linker symbol if it's defined.
286         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
287         them up here if it was already done.
289         * elf/dl-support.c (_dl_phdr): Make pointer to const.
290         (_dl_aux_init): Use const in cast when setting it.
291         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
292         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
293         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
295         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
296         Declare them here.
297         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
298         * csu/libc-tls.c: Nor here.
299         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
301         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
302         (__libc_message): Never call vsyslog.
304 2013-03-28  Alan Modra  <amodra@gmail.com>
306         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
307         Define as empty.
308         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
309         Likewise.
311 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
313         [BZ #15214]
314         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
315         underflow.
316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
318 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
320         [BZ #15304]
321         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
322         Don't add gid passed as argument.
324         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
326 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
328         [BZ #15307]
329         * math/k_casinh.c (__kernel_casinh): Handle arguments with
330         imaginary part between 1.0 and 1.5 and real part less than 0.5
331         specially.
332         * math/k_casinhf.c (__kernel_casinhf): Likewise.
333         * math/k_casinhl.c (__kernel_casinhl): Likewise.
334         * math/libm-test.inc (cacos_test): Add more tests.
335         (casin_test): Likewise.
336         (casinh_test): Likewise.
337         * sysdeps/i386/fpu/libm-test-ulps: Update.
338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
340 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
342         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
343         constants.
344         (norm): Likewise.
345         (denorm): Likewise.
346         (__dbl_mp): Likewise.
347         (add_magnitudes): Likewise.
348         (sub_magnitudes): Likewise.
349         (__add): Likewise.
350         (__sub): Likewise.
351         (__mul): Likewise.
352         (__sqr): Likewise.
353         (__inv): Likewise.
354         (__dvd): Likewise.
356         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
357         commented code.
358         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
359         (__dubcos): Likewise.
360         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
361         (__ieee754_acos): Likewise.
362         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
363         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
364         (__exp1): Likewise.
365         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
366         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
367         (log1): Likewise.
368         (my_log2): Likewise.
369         (checkint): Likewise.
370         * sysdeps/ieee754/dbl-64/e_remainder.c
371         (__ieee754_remainder): Likewise.
372         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
373         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
374         (bsloww): Likewise.
375         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
377         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
378         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
379         MANTISSA_STORE_T to store computations on mantissa.  Use
380         macros for rounding and division.
381         (denorm): Likewise.
382         (__dbl_mp): Likewise.
383         (add_magnitudes): Likewise.
384         (sub_magnitudes): Likewise.
385         (__mul): Likewise.
386         (__sqr): Likewise.
387         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
388         powers of two in terms of TWOPOW macro.
389         (mp_no): Make type of mantissa as MANTISSA_T.
390         [!RADIXI]: Define RADIXI.
391         [!TWO52]: Define TWO52.
392         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
394 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
396         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
397         llroundl symbol when building for PPC32.
399 2013-03-24  Mark H Weaver  <mhw@netris.org>
401         * manual/arith.texi (Normalization Functions): Fix prototypes for
402         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
404 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
406         [BZ #13889]
407         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
408         high value to check if expl overflow.
409         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
410         to check for underflow and overflow.
411         * math/libm-test.inc: Add exp test.
413 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
415         [BZ #11120]
416         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
417         with NOT_IN_libc.
419 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
421         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
422         symbol.
424 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
426         * math/gen-libm-test.pl (parse_args, special_functions): Properly
427         wrap blocks consisting of several statements.
429         * sysdeps/generic/math-tests.h: New file.
430         * sysdeps/i386/fpu/math-tests.h: Likewise.
431         * math/test-snan.c: Include it.
432         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
434 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
436         [BZ #15285]
437         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
438         (__ieee754_j0l): Do not improve calculations using cos of twice
439         input for inputs above LDBL_MAX / 2.0L.
440         (__ieee754_y0l): Likewise.
441         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
442         (__ieee754_j1l): Do not improve calculations using cos of twice
443         input for inputs above LDBL_MAX / 2.0L.
444         (__ieee754_y1l): Likewise.
445         * math/libm-test.inc (j0_test): Add another test.
446         (j1_test): Likewise.
447         (y0_test): Likewise.
448         (y1_test): Likewise.
449         * sysdeps/i386/fpu/libm-test-ulps: Update.
451 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
453         * Rules ($(objpfx)bench-%.c): Include code from a C source
454         file.
456 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
458         [BZ #15287]
459         * math/k_casinh.c (__kernel_casinh): Handle arguments with
460         imaginary part 1.0 and real part less than 0.5 specially.
461         * math/k_casinhf.c (__kernel_casinhf): Likewise.
462         * math/k_casinhl.c (__kernel_casinhl): Likewise.
463         * math/libm-test.inc (cacos_test): Add more tests.
464         (casin_test): Likewise.
465         (casinh_test): Likewise.
466         * sysdeps/i386/fpu/libm-test-ulps: Update.
467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
469 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
471         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
472         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
474 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
476         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
477         * config.make.in (config-cflags-sse4): Remove variable.
478         (config-cflags-avx): Likewise.
479         (config-cflags-sse2avx): Likewise.
480         (config-cflags-novzeroupper): Likewise.
481         (config-asflags-i686): Likewise.
482         (have-mfma4): Likewise.
483         (have-as-vis3): Likewise.
484         (MIG): Likewise.
485         * configure.in (MIG): Do not AC_SUBST.
486         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
487         (libc_cv_cc_sse4): Do not AC_SUBST.
488         (libc_cv_cc_avx): Likewise.
489         (libc_cv_cc_sse2avx): Likewise.
490         (libc_cv_cc_novzeroupper): Likewise.
491         (libc_cv_cc_fma4): Likewise.
492         (libc_cv_as_i686): Likewise.
493         (libc_cv_sparc_as_vis3): Likewise.
494         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
495         LIBC_CONFIG_VAR.
496         (config-asflags-i686): Likewise.
497         (config-cflags-avx): Likewise.
498         (config-cflags-sse2avx): Likewise.
499         (have-mfma4): Likewise.
500         (config-cflags-novzeroupper): Likewise.
501         * sysdeps/mach/configure.in (MIG): Likewise.
502         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
503         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
504         LIBC_CONFIG_VAR.
505         (config-cflags-avx): Likewise.
506         (config-cflags-sse2avx): Likewise.
507         (have-mfma4): Likewise.
508         (config-cflags-novzeroupper): Likewise.
509         * configure: Regenerated.
510         * sysdeps/i386/configure: Likewise.
511         * sysdeps/mach/configure: Likewise.
512         * sysdeps/sparc/configure: Likewise.
513         * sysdeps/x86_64/configure: Likewise.
515 2013-03-20  Roland McGrath  <roland@hack.frob.com>
517         [BZ #14812]
518         * locale/programs/localedef.c (options): Put N_ translation marker
519         on argument names, not just descriptions.
521 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
523         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
525 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
527         [BZ #14176]
528         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
530 2013-03-19  Roland McGrath  <roland@hack.frob.com>
532         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
533         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
534         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
535         [!BEFORE_ABORT] (before_abort): New function.
536         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
537         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
538         (writev_for_fatal): New function.
539         (WRITEV_FOR_FATAL): New macro; call that.
540         (backtrace_and_maps): New function.
541         (BEFORE_ABORT): New macro; call that.
542         (struct str_list): Type removed.
543         (__libc_message, __libc_fatal): Functions removed.
544         Include <sysdeps/posix/libc_fatal.c> instead.
546 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
548         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
549         constants.
550         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
551         double constants.
553 2013-03-19  Andreas Schwab  <schwab@suse.de>
555         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
556         * sysdeps/gnu/configure: Regenerate.
558         * configure.in: Substitute libc_cv_rtlddir.
559         * configure: Regenerate.
560         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
561         * Makeconfig (rtlddir, inst_rtlddir): New variables.
562         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
563         * elf/Makefile (install-others, CFLAGS-interp.c)
564         (ldso_install, common-ldd-rewrite): Likewise.
565         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
566         $(inst_slibdir)/$(rtld-installed-name).
567         * scripts/rellns-sh: Add -p option.
568         * Makerules (make-shlib-link): Use rellns-sh to get relative name
569         for source.
571 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
573         * manual/nptl.texi: Renamed to ...
574         * manual/threads.texi: ... this.
575         * manual/Makefile (chapters): Update.
577 2013-03-18  Roland McGrath  <roland@hack.frob.com>
579         [BZ #14812]
580         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
581         on argument names, not just descriptions.
582         * malloc/memusagestat.c (options): Likewise.
583         * nss/getent.c (options): Likewise.
585 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
587         [BZ #14812]
588         * iconv/iconv_prog.c (options): Put N_ translation marker
589         on argument names, not just descriptions.
590         * iconv/iconvconfig.c (options): Likewise.
592 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
594         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
595         implementation which is faster on all x86_64 architectures.
596         Tested on AMD, Intel Nehalem, SNB, IVB.
597         * sysdeps/x86_64/strnlen.S: Likewise.
599         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
600         Remove all multiarch strlen and strnlen versions.
601         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
602         Remove strlen and strnlen related parts.
604         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
605         Inline strlen part.
606         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
608         * sysdeps/x86_64/multiarch/strlen.S: Remove.
609         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
610         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
611         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
612         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
613         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
615 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
617         * manual/memory.texi (Malloc Tunable Parameters):
618         Sort parameters alphabetically. Add comments for missing entries.
620 2013-03-17  David S. Miller  <davem@davemloft.net>
622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
624 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
626         [BZ #15283]
627         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
628         for arguments at most half maximum finite value.
629         * math/libm-test.inc (j0_test): Add more tests.
630         (j1_test): Likewise.
631         (y0_test): Likewise.
632         (y1_test): Likewise.
633         * sysdeps/i386/fpu/libm-test-ulps: Update.
634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
636         [BZ #14155]
637         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
638         1 / x and functions P and Q for arguments above 0x1p256L.
639         (__ieee754_y0l): Likewise.
640         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
641         (__ieee754_y1l): Likewise.
642         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
643         (j1_test): Likewise.
644         (y0_test): Likewise.
645         (y1_test): Likewise.
647 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
649         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
650         variable.
652 2013-03-15  Roland McGrath  <roland@hack.frob.com>
654         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
655         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
656         zero since it's initialized to EXEC_PAGESIZE.
658         * sysdeps/unix/sysv/linux/ldsodefs.h
659         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
660         * sysdeps/generic/ldsodefs.h: ... here.
662 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
664         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
666         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
667         math/test-snan.c.
668         * math/test-snan.c: Renamed from
669         sysdeps/powerpc/fpu/test-powerpc-snan.c.
670         * math/Makefile (tests): Add test-snan.
671         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
672         test-powerpc-snan.
674         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
675         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
676         functions.
677         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
678         __builtin_nan family of functions.
679         * math/libm-test.inc (initialize): Initialize qnan_value with
680         __builtin_nan family of functions.
681         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
682         Remove variables.
683         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
684         Remove functions.
685         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
686         storage class.  Initialize qNaN_var and sNaN_var with
687         __builtin_nan and __builtin_nans families of functions,
688         respectively.
690         * math/libm-test.inc (acosh_test): Also test with qNaN input.
691         (sqrt_test): Remove duplicate test with qNaN input.
692         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
693         (round_test, signbit_test, significand_test): Note missing +/-Inf
694         as well as qNaN tests.
696         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
697         qNaN_var.  Fix a few strings, too.
698         * math/libm-test.inc (nan_value): Rename to qnan_value.
699         * math/gen-libm-test.pl (%beautify): Adjust to that.
700         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
701         * math/test-misc.c (main): Likewise.
702         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
703         to __qnan_bytes, and __qnan_union, respectively.
704         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
705         Likewise.
706         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
707         and lqnanval, respectively.
708         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
709         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
710         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
711         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
713         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
714         * math/test-misc.c (main) [__x86_64__]: Enable test for long
715         doubles.
717         * math/test-misc.c (main): Fix copy'n'pastos.
718         * misc/tst-efgcvt.c (special): Likewise.
720         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
721         Remove declarations.
723 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
725         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
726         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
727         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
728         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
730 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
732         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
733         macro to return vdso values correctly in IFUNC implementations.
734         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
735         Optimization by using IFUNC.
737 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
738             Richard Henderson  <rth@redhat.com>
739             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
741         * Makefile.in (bench): New target.
742         * NEWS: Mention the benchmark framework.
743         * Rules (bench): Likewise.
744         (binaries-bench): Generate binaries for functions to
745         benchmark.
746         * benchtests/Makefile: New makefile for benchmark tests.
747         * benchtests/bench-skeleton.c: New skeleton file for benchmark
748         programs.
749         * benchtests/exp-inputs: New input file for EXP function.
750         * benchtests/pow-inputs: New input file for POW function.
751         * scripts/bench.pl: New script to generate source files for
752         benchmark programs.
754 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
756         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
757         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
758         computations on mantissa.  Use macros for rounding and
759         division.
760         (denorm): Likewise.
761         (__dbl_mp): Likewise.
762         (add_magnitudes): Likewise.
763         (sub_magnitudes): Likewise.
764         (__mul): Likewise.
765         (__sqr): Likewise.
766         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
767         powers of two in terms of TWOPOW macro.
768         (mp_no): Make type of mantissa as MANTISSA_T.
769         [!RADIXI]: Define RADIXI.
770         [!TWO52]: Define TWO52.
771         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
773         * manual/nptl.texi (cindex): Modify threads to pthreads.
775 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
777         * sysdeps/x86_64/preconfigure: Regenerated.
779 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
781         [BZ #14155]
782         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
783         0x1p28 and above.
784         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
785         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
786         0x1p28 and above.
787         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
788         * math/libm-test.inc (j0_test): Do not allow one spurious
789         underflow exception.
790         (y1_test): Likewise.
792 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
794         * manual/Makefile (chapters): Add nptl.
795         * manual/debug.texi (Debugging Support): Add link to Threads
796         chapter.
797         * manual/nptl.texi: New file.
799         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
801 2013-03-14  Petr Baudis  <pasky@ucw.cz>
803         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
804         for non-NULL pointer before the memory validity test. Pointed
805         out by Holger Brunck <holger.brunck@keymile.com>.
807 2013-03-13  Andreas Schwab  <schwab@suse.de>
809         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
810         instead of .os.
812 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
814         * timezone/zic.c: Update from tzcode 2013b.
816 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
818         * manual/install.texi (Configuring and compiling):
819         Mention i686 and i586.
820         * INSTALL: Regenerate.
822 2013-03-12  Roland McGrath  <roland@hack.frob.com>
824         * sysdeps/init_array/elf-init.c: New file.
825         * csu/elf-init.c
826         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
827         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
829         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
830         __gmon_start__ as global, but as static with a .preinit_array pointer.
831         * sysdeps/init_array/gmon-start.c: New file.  Use that.
832         * sysdeps/init_array/crti.S: New file, empty except for comments.
833         * sysdeps/init_array/crtn.S: Likewise.
835 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
837         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
838         definining bcopy.
839         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
840         Remove Prefer_SSE_for_memop.
841         * sysdeps/x86_64/multiarch/init-arch.h: Remove
842         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
843         HAS_PREFER_SSE_FOR_MEMOP.
844         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
845         memset-x86-64.
846         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
847         Remove bzero, memset ifunc support.
848         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
849         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
850         * sysdeps/x86_64/multiarch/memset.S: Likewise.
851         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
853 2013-03-11  Andreas Schwab  <schwab@suse.de>
855         [BZ #15234]
856         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
857         by SHLIB_COMPAT.
858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
859         (GLIBC_2.16): Remove pthread_atfork.
861 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
863         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
864         (ptestcases.h): Likewise.
866 2013-03-08  Roland McGrath  <roland@hack.frob.com>
868         * Makeconfig ($(common-objpfx)config.status): Depend on
869         sysdeps/*/preconfigure{,.in} too.
871 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
873         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
874         (__free_hook): Use void * instead of __malloc_ptr_t.
875         (__malloc_hook): Likewise.
876         (__realloc_hook): Likewise.
877         (__memalign_hook): Likewise.
878         (__after_morecore_hook): Likewise.
879         * malloc/arena.c (save_malloc_hook): Likewise.
880         (save_free_hook): Likewise.
881         * malloc/hooks.c (malloc_hook_ini): Likewise.
882         (realloc_hook_ini): Likewise.
883         (memalign_hook_ini): Likewise.
884         * malloc/malloc.c (malloc_hook_ini): Likewise.
885         (realloc_hook_ini): Likewise.
886         (memalign_hook_ini): Likewise.
887         (__free_hook): Likewise.
888         (__malloc_hook): Likewise.
889         (__realloc_hook): Likewise.
890         (__memalign_hook): Likewise.
891         (__libc_malloc): Likewise.
892         (__libc_free): Likewise.
893         (__libc_realloc): Likewise.
894         (__libc_memalign): Likewise.
895         (__libc_valloc): Likewise.
896         (__libc_pvalloc): Likewise.
897         (__libc_calloc): Likewise.
898         (__posix_memalign): Likewise.
899         * malloc/morecore.c (__sbrk): Likewise.
900         (__default_morecore): Likewise.
902         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
904         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
905         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
906         __malloc_ptrdiff_t.
908         * malloc/malloc.h (__malloc_size_t): Remove macro.
909         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
910         __malloc_size_t.
911         (old_memalign_hook): Likewise.
912         (old_realloc_hook): Likewise.
913         (struct hdr): Likewise.
914         (flood): Likewise.
915         (mallochook): Likewise.
916         (memalignhook): Likewise.
917         (reallochook): Likewise.
918         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
919         (tr_old_realloc_hook): Likewise.
920         (tr_old_memalign_hook): Likewise.
921         (tr_mallochook): Likewise.
922         (tr_reallochook): Likewise.
923         (tr_memalignhook): Likewise.
925 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
927         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
928         default_ldbl_pack and using as default implementation.
929         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
930         implementation.
931         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
932         redundant definition.
933         (ldbl_insert_mantissa): Likewise.
934         (ldbl_canonicalize): Likewise.
935         (ldbl_nearbyint): Likewise.
936         (ldbl_pack): Rename to ldbl_pack_ppc.
937         (ldbl_unpack): Rename to ldbl_unpack_ppc.
938         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
939         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
941 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
944         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
945         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
946         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
948         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
949         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
950         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
952 2013-03-07  Andreas Jaeger  <aj@suse.de>
954         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
955         bits/mman-linux.h.
957 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
959         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
960         Include mpa.h and declare __MPEXP.
961         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
962         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
963         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
964         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
965         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
966         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
967         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
969         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
970         (__slowpow): Use long double EXPL and LOGL functions to
971         compute POW.
972         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
973         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
974         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
975         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
976         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
977         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
980         intermediate variable to calculate exponent.
981         (__sqr): Likewise.
982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
983         Likewise.
984         (__sqr): Likewise.
986         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
987         [!NO__SQR]: Define __sqr.
988         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
989         and NO__SQR.  Remove all code except __mul and __sqr.  Include
990         sysdeps/ieee754/dbl-64/mpa.c.
991         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
993         [BZ #12723]
994         * posix/Makefile (tests): Add tst-pathconf.
995         * posix/tst-pathconf.c: New test case.
996         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
997         _PC_PIPE_BUF.
998         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1000 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
1002         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1004 2013-03-06  Andreas Jaeger  <aj@suse.de>
1006         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1007         definition via __MAP_ANONYMOUS.
1009         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1010         it's not part of Linux headers.
1012         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1013         (MAP_HUGE_MASK): Define.
1015         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1016         Define.
1017         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1018         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1019         Define.
1020         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1021         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1022         Define.
1023         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1024         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1025         Define.
1026         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1028         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1029         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1030         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1031         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1032         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1033         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1035         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1036         Handle f2fs.
1038         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1039         Handle f2fs and efivarfs.
1041         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1042         f2fs.
1044         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1045         (EFIVARFS_MAGIC): Add.
1046         (F2FS_LINK_MAX): Add.
1048 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1050         * stdio-common/vfprintf.c: Replace __builtin_expect with
1051         __glibc_unlikely.
1053 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
1055         [BZ #13550]
1056         * sysdeps/generic/bp-sym.h: Remove file.
1057         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1058         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1059         <bp-sym.h> and <bp-asm.h>.
1060         (__longjmp): Don't use BP_SYM.
1061         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1062         and <bp-asm.h>.
1063         (memcpy): Don't use BP_SYM.
1064         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1065         <bp-sym.h> and <bp-asm.h>.
1066         (memcpy): Don't use BP_SYM.
1067         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1068         <bp-asm.h>.
1069         (memcpy): Don't use BP_SYM.
1070         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1071         <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/power4/memcmp.S: Don't include
1079         <bp-sym.h> and <bp-asm.h>.
1080         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1081         pointers.
1082         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1083         <bp-sym.h> and <bp-asm.h>.
1084         (memcpy): Don't use BP_SYM.
1085         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1086         <bp-sym.h> and <bp-asm.h>.
1087         (memset): Don't use BP_SYM.
1088         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1089         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1090         (__bzero): Don't use BP_SYM.
1091         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1092         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1093         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1094         <bp-sym.h> and <bp-asm.h>.
1095         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1096         pointers.
1097         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1098         <bp-sym.h> and <bp-asm.h>.
1099         (memcpy): Don't use BP_SYM.
1100         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1101         <bp-sym.h> and <bp-asm.h>.
1102         (memset): Don't use BP_SYM.
1103         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1104         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1105         (__bzero): Don't use BP_SYM.
1106         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1107         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1108         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1109         <bp-sym.h> and <bp-asm.h>.
1110         (__memchr): Don't use BP_SYM.
1111         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1112         <bp-sym.h> and <bp-asm.h>.
1113         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1114         pointers.
1115         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1116         <bp-sym.h> and <bp-asm.h>.
1117         (memcpy): Don't use BP_SYM.
1118         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1119         <bp-sym.h> and <bp-asm.h>.
1120         (__mempcpy): Don't use BP_SYM.
1121         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1122         <bp-sym.h> and <bp-asm.h>.
1123         (__memrchr): Don't use BP_SYM.
1124         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1125         <bp-sym.h> and <bp-asm.h>.
1126         (memset): Don't use BP_SYM.
1127         (__bzero): Likewise.
1128         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1129         <bp-sym.h> and <bp-asm.h>.
1130         (__rawmemchr): Don't use BP_SYM.
1131         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1132         <bp-sym.h> and <bp-asm.h>.
1133         (__STRCMP): Don't use BP_SYM.
1134         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1135         <bp-sym.h> and <bp-asm.h>.
1136         (strchr): Don't use BP_SYM.
1137         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1138         <bp-sym.h> and <bp-asm.h>.
1139         (__strchrnul): Don't use BP_SYM.
1140         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1141         <bp-sym.h> and <bp-asm.h>.
1142         (strlen): Don't use BP_SYM.
1143         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1144         <bp-sym.h> and <bp-asm.h>.
1145         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1146         pointers.
1147         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1148         <bp-sym.h> and <bp-asm.h>.
1149         (__strnlen): Don't use BP_SYM.
1150         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1151         <bp-sym.h> and <bp-asm.h>.
1152         (__GI__setjmp): Don't use BP_SYM.
1153         (_setjmp): Likewise.
1154         (__sigsetjmp): Likewise.
1155         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1156         (L(start_addresses)): Don't use BP_SYM.
1157         (_start): Likewise.
1158         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1159         <bp-asm.h>.
1160         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1161         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1162         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1163         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1164         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1165         <bp-asm.h>.
1166         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1167         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
1168         about bounded pointers.
1169         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1170         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1171         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1172         <bp-asm.h>.
1173         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1174         about bounded pointers.  Remove GKM FIXME comments.
1175         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1176         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1177         <bp-asm.h>.
1178         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1179         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
1180         Remove GKM FIXME comments.
1181         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1182         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1183         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1184         <bp-asm.h>.
1185         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1186         about bounded pointers.  Remove GKM FIXME comment.
1187         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1188         and <bp-asm.h>.
1189         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1190         pointers.
1191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1192         <bp-sym.h> and <bp-asm.h>.
1193         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1195         <bp-sym.h> and <bp-asm.h>.
1196         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1197         comment.
1199 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1201         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1202         call free(NULL).
1204 2013-03-05  David S. Miller  <davem@davemloft.net>
1206         * po/es.po: Update from translation team.
1208 2013-03-05  Andreas Jaeger  <aj@suse.de>
1210         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1211         <bits/mman-linux.h>.
1212         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1213         is fine.
1214         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1215         <bits/mman-linux.h> to end of file.
1216         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1217         is fine.
1218         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1219         <bits/mman-linux.h> to end of file.
1220         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1221         is fine.
1222         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1223         <bits/mman-linux.h> to end of file.
1225         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1226         (MCL_CURRENT, MCL_FUTURE): Define here.
1228 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1230         [BZ #15232]
1231         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1232         attribute_hidden.
1233         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1235 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1237         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1238         fourth parameter needed for rt_sigprocmask syscall.
1239         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1240         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1241         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1242         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1243         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1244         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1246 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
1248         [BZ #13550]
1249         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1250         comment about bounded pointers.
1251         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1252         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1254 2013-03-04  Andreas Jaeger  <aj@suse.de>
1256         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1257         common definitions.
1259         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1260         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1261         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1262         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1263         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1264         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1266 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1268         [BZ #15055]
1269         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1270         __ieee754_sqrl instead of __sqrl.
1272 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
1274         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1275         * sysdeps/powerpc/fpu_control.h: ... here.
1276         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1277         * sysdeps/powerpc/bits/fenvinline.h: ... here.
1278         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1279         * sysdeps/powerpc/bits/mathinline.h: ... here.
1281 2013-03-01  Roland McGrath  <roland@hack.frob.com>
1283         * elf/dl-hwcaps.c (_dl_important_hwcaps):
1284         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1285         to just [NEED_DL_SYSINFO_DSO].
1286         * elf/dl-support.c: Likewise.
1287         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1288         * elf/rtld.c (dl_main): Likewise.
1289         * elf/setup-vdso.h (setup_vdso): Likewise.
1290         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1291         * sysdeps/unix/sysv/linux/dl-sysdep.c
1292         (_dl_discover_osversion): Likewise.
1294 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
1296         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1297         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1299 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1301         * NEWS: Mention libm performance improvements and non-x86 PI
1302         futex support.
1304         * csu/libc-start.c (__pthread_initialize_minimal): Change
1305         function arguments.
1306         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1308 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
1310         [BZ #13550]
1311         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1312         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1313         <bp-sym.h> and <bp-asm.h>.
1314         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1315         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1316         and <bp-asm.h>.
1317         (memcpy): Don't use BP_SYM.
1318         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1319         <bp-asm.h>.
1320         (__mpn_add_n): Don't use BP_SYM.
1321         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1322         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1323         and <bp-asm.h>.
1324         (__mpn_addmul_1): Don't use BP_SYM.
1325         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1326         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1327         <bp-sym.h>.
1328         (_setjmp): Don't use BP_SYM.
1329         (__novmx_setjmp): Likewise.
1330         (__GI__setjmp): Likewise.
1331         (__vmx_setjmp): Likewise.
1332         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1333         <bp-sym.h>.
1334         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1335         (__bzero): Don't use BP_SYM.
1336         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1337         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1338         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1339         <bp-sym.h> and <bp-asm.h>.
1340         (memcpy): Don't use BP_SYM.
1341         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1342         <bp-sym.h> and <bp-asm.h>.
1343         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1344         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1345         <bp-sym.h> and <bp-asm.h>.
1346         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1347         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1348         <bp-asm.h>.
1349         (__mpn_lshift): Don't use BP_SYM.
1350         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1351         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1352         <bp-asm.h>.
1353         (memset): Don't use BP_SYM.
1354         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1355         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1356         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1357         <bp-asm.h>.
1358         (__mpn_mul_1): Don't use BP_SYM.
1359         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1360         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1361         <bp-sym.h> and <bp-asm.h>.
1362         (memcmp): Don't use BP_SYM.
1363         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1364         <bp-sym.h> and <bp-asm.h>.
1365         (memcpy): Don't use BP_SYM.
1366         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1367         <bp-sym.h> and <bp-asm.h>.
1368         (memset): Don't use BP_SYM.
1369         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1370         <bp-sym.h> and <bp-asm.h>.
1371         (strncmp): Don't use BP_SYM.
1372         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1373         <bp-sym.h> and <bp-asm.h>.
1374         (memcpy): Don't use BP_SYM.
1375         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1376         <bp-sym.h> and <bp-asm.h>.
1377         (memset): Don't use BP_SYM.
1378         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1379         <bp-sym.h> and <bp-asm.h>.
1380         (__memchr): Don't use BP_SYM.
1381         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1382         <bp-sym.h> and <bp-asm.h>.
1383         (memcmp): Don't use BP_SYM.
1384         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1385         <bp-sym.h> and <bp-asm.h>.
1386         (memcpy): Don't use BP_SYM.
1387         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1388         <bp-sym.h> and <bp-asm.h>.
1389         (__mempcpy): Don't use BP_SYM.
1390         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1391         <bp-sym.h> and <bp-asm.h>.
1392         (__memrchr): Don't use BP_SYM.
1393         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1394         <bp-sym.h> and <bp-asm.h>.
1395         (memset): Don't use BP_SYM.
1396         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1397         <bp-sym.h> and <bp-asm.h>.
1398         (__rawmemchr): Don't use BP_SYM.
1399         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1400         <bp-sym.h> and <bp-asm.h>.
1401         (__STRCMP): Don't use BP_SYM.
1402         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1403         <bp-sym.h> and <bp-asm.h>.
1404         (strchr): Don't use BP_SYM.
1405         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1406         <bp-sym.h> and <bp-asm.h>.
1407         (__strchrnul): Don't use BP_SYM.
1408         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1409         <bp-sym.h> and <bp-asm.h>.
1410         (strlen): Don't use BP_SYM.
1411         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1412         <bp-sym.h> and <bp-asm.h>.
1413         (strncmp): Don't use BP_SYM.
1414         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1415         <bp-sym.h> and <bp-asm.h>.
1416         (__strnlen): Don't use BP_SYM.
1417         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1418         <bp-asm.h>.
1419         (__mpn_rshift): Don't use BP_SYM.
1420         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1421         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1422         <bp-sym.h> and <bp-asm.h>.
1423         (__sigsetjmp): Don't use BP_SYM.
1424         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1425         (L(start_addresses)): Don't use BP_SYM.
1426         (_start): Likewise.
1427         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1428         <bp-asm.h>.
1429         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1430         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1431         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1432         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1433         <bp-asm.h>.
1434         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1435         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1436         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1437         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1438         <bp-asm.h>.
1439         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1440         comments.
1441         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1442         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1443         <bp-asm.h>.
1444         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
1445         FIXME comments.
1446         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1447         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1448         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1449         <bp-asm.h>.
1450         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1451         comment.
1452         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1453         and <bp-asm.h>.
1454         (strncmp): Don't use BP_SYM,
1455         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1456         <bp-asm.h>.
1457         (__mpn_sub_n): Don't use BP_SYM.
1458         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1459         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1460         and <bp-asm.h>.
1461         (__mpn_submul_1): Don't use BP_SYM.
1462         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1464         <bp-sym.h> and <bp-asm.h>.
1465         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1467         <bp-sym.h> and <bp-asm.h>.
1468         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1469         comment.
1471 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1473         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1474         Use ZK to minimize writes to Z.
1475         (sub_magnitudes): Simplify code a bit.
1476         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1477         Use ZK to minimize writes to Z.
1478         (sub_magnitudes): Simplify code a bit.
1480 2013-02-27  Roland McGrath  <roland@hack.frob.com>
1482         * csu/gmon-start.c: Add special exception to license text.
1484 2013-02-27  Richard Henderson  <rth@redhat.com>
1486         * scripts/config.guess: Update from config.git.
1487         * scripts/config.sub: Likewise.
1489 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1491         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1493         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1495         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1497         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1499         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1501 2013-02-26  Roland McGrath  <roland@hack.frob.com>
1503         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1504         [$(build-shared = yes].
1506 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1508         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1509         (__mul): Reduce iterations for calculating mantissa.
1511         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1512         MPTWO.
1513         (__mpranred): Likewise.
1515         [BZ #15160]
1516         * malloc/memusagestat.c (main): Draw graphs for heap and stack
1517         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1519 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
1521         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1522         Define __attribute__.
1524 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1526         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1527         unused.
1528         * posix/regex_internal.h (__attribute): Remove.
1529         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1530         (re_string_context_at): Likewise.
1531         (bitset_not): Use __attribute__ and mark function as possibly
1532         unused.
1533         (bitset_merge): Likewise.
1534         (bitset_mask): Likewise.
1535         (re_string_char_size_at): Likewise.
1536         (re_string_wchar_at): Likewise.
1537         (re_string_elem_size_at): Likewise.
1539 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1541         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1542         code.
1543         (cc32): Likewise.
1545         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1546         (__acr): Likewise.
1547         (__cpy): Likewise.
1548         (norm): Likewise.
1549         (denorm): Likewise.
1550         (__dbl_mp): Likewise.
1551         (add_magnitudes): Likewise.
1552         (sub_magnitudes): Likewise.
1553         (__mul): Likewise.
1554         (__inv): Likewise.
1556         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1557         style.
1559         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1560         style.
1562         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1563         code.
1565         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1566         up changes with default code.
1567         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1568         Likewise.
1570 2013-02-24  Allan McRae  <allan@archlinux.org>
1572         * manual/socket.texi (The Internet Namespace): Order menu items
1573         to match that in the file.
1575         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1576         node listing of the info page menu.
1578 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
1580         [BZ #13550]
1581         * sysdeps/i386/bp-asm.h: Remove file.
1582         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1583         (PARMS): Do not use macros from bp-asm.h.
1584         (S1): Likewise.
1585         (S2): Likewise.
1586         (SIZE): Likewise.
1587         (__mpn_add_n): Do not use BP_SYM
1588         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1589         "bp-asm.h".
1590         (PARMS): Do not use macros from bp-asm.h.
1591         (S1): Likewise.
1592         (SIZE): Likewise.
1593         (__mpn_addmul_1): Do not use BP_SYM
1594         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1595         "bp-asm.h".
1596         (PARMS): Do not use macros from bp-asm.h.
1597         (SIGMSK): Likewise.
1598         (_setjmp): Likewise.  Do not use BP_SYM.
1599         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1600         "bp-asm.h".
1601         (PARMS): Do not use macros from bp-asm.h.
1602         (SIGMSK): Likewise.
1603         (setjmp): Likewise.  Do not use BP_SYM.
1604         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1605         "bp-asm.h".
1606         (PARMS): Do not use macros from bp-asm.h.
1607         (__frexp): Do not use BP_SYM.
1608         (frexp): Likewise.
1609         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1610         "bp-asm.h".
1611         (PARMS): Do not use macros from bp-asm.h.
1612         (__frexpf): Do not use BP_SYM.
1613         (frexpf): Likewise.
1614         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1615         "bp-asm.h".
1616         (PARMS): Do not use macros from bp-asm.h.
1617         (__frexpl): Do not use BP_SYM.
1618         (frexpl): Likewise.
1619         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1620         "bp-asm.h".
1621         (PARMS): Do not use macros from bp-asm.h.
1622         (__remquo): Do not use BP_SYM.
1623         (remquo): Likewise.
1624         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1625         "bp-asm.h".
1626         (PARMS): Do not use macros from bp-asm.h.
1627         (__remquof): Do not use BP_SYM.
1628         (remquof): Likewise.
1629         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1630         "bp-asm.h".
1631         (PARMS): Do not use macros from bp-asm.h.
1632         (__remquol): Do not use BP_SYM.
1633         (remquol): Likewise.
1634         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1635         "bp-asm.h".
1636         (PARMS): Do not use macros from bp-asm.h.
1637         (DEST): Likewise.
1638         (SRC): Likewise.
1639         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
1640         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1641         "bp-asm.h".
1642         (PARMS): Do not use macros from bp-asm.h.
1643         (strlen): Do not use BP_SYM.
1644         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1645         "bp-asm.h".
1646         (PARMS): Do not use macros from bp-asm.h.
1647         (S1): Likewise.
1648         (S2): Likewise.
1649         (SIZE): Likewise.
1650         (__mpn_add_n): Do not use BP_SYM.
1651         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1652         "bp-asm.h".
1653         (PARMS): Do not use macros from bp-asm.h.
1654         (S1): Likewise.
1655         (SIZE): Likewise.
1656         (__mpn_addmul_1): Do not use BP_SYM.
1657         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1658         weak_alias.
1659         (bzero): Likewise.
1660         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1661         "bp-asm.h".
1662         (PARMS): Do not use macros from bp-asm.h.
1663         (S): Likewise.
1664         (SIZE): Likewise.
1665         (__mpn_lshift): Do not use BP_SYM.
1666         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1667         "bp-asm.h".
1668         (PARMS): Do not use macros from bp-asm.h.
1669         (DEST): Likewise.
1670         (SRC): Likewise.
1671         (LEN): Likewise.
1672         (memcpy): Likewise.  Do not use BP_SYM.
1673         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1674         libc_hidden_def and weak_alias.
1675         (mempcpy): Do not use BP_SYM in weak_alias.
1676         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1677         "bp-asm.h".
1678         (PARMS): Do not use macros from bp-asm.h.
1679         (DEST): Likewise.
1680         (LEN): Likewise.
1681         [!BZERO_P] (CHR): Likewise.
1682         (memset): Likewise.  Do not use BP_SYM.
1683         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1684         "bp-asm.h".
1685         (PARMS): Do not use macros from bp-asm.h.
1686         (S1): Likewise.
1687         (SIZE): Likewise.
1688         (__mpn_mul_1): Do not use BP_SYM.
1689         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1690         "bp-asm.h".
1691         (PARMS): Do not use macros from bp-asm.h.
1692         (S): Likewise.
1693         (SIZE): Likewise.
1694         (__mpn_rshift): Do not use BP_SYM.
1695         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1696         "bp-asm.h".
1697         (PARMS): Do not use macros from bp-asm.h.
1698         (STR): Likewise.
1699         (CHR): Likewise.
1700         (strchr): Likewise.  Do not use BP_SYM.
1701         (index): Do not use BP_SYM in weak_alias.
1702         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1703         "bp-asm.h".
1704         (PARMS): Do not use macros from bp-asm.h.
1705         (DEST): Likewise.
1706         (SRC): Likewise.
1707         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
1708         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1709         "bp-asm.h".
1710         (PARMS): Do not use macros from bp-asm.h.
1711         (strlen): Do not use BP_SYM.
1712         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1713         "bp-asm.h".
1714         (PARMS): Do not use macros from bp-asm.h.
1715         (S1): Likewise.
1716         (S2): Likewise.
1717         (SIZE): Likewise.
1718         (__mpn_sub_n): Do not use BP_SYM.
1719         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1720         "bp-asm.h".
1721         (PARMS): Do not use macros from bp-asm.h.
1722         (S1): Likewise.
1723         (SIZE): Likewise.
1724         (__mpn_submul_1): Do not use BP_SYM.
1725         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1726         "bp-asm.h".
1727         (PARMS): Do not use macros from bp-asm.h.
1728         (S1): Likewise.
1729         (S2): Likewise.
1730         (SIZE): Likewise.
1731         (__mpn_add_n): Do not use BP_SYM.
1732         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1733         weak_alias.
1734         (bzero): Likewise.
1735         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1736         "bp-asm.h".
1737         (PARMS): Do not use macros from bp-asm.h.
1738         (BLK2): Likewise.
1739         (LEN): Likewise.
1740         (memcmp): Do not use BP_SYM.
1741         (bcmp): Do not use BP_SYM in weak_alias.
1742         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1743         "bp-asm.h".
1744         (PARMS): Do not use macros from bp-asm.h.
1745         (DEST): Likewise.
1746         (SRC): Likewise.
1747         (LEN): Likewise.
1748         (memcpy): Likewise.  Do not use BP_SYM.
1749         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1750         "bp-asm.h".
1751         (PARMS): Do not use macros from bp-asm.h.
1752         (DEST): Likewise.
1753         (SRC): Likewise.
1754         (LEN): Likewise.
1755         (memmove): Likewise.  Do not use BP_SYM.
1756         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1757         "bp-asm.h".
1758         (PARMS): Do not use macros from bp-asm.h.
1759         (DEST): Likewise.
1760         (SRC): Likewise.
1761         (LEN): Likewise.
1762         (__mempcpy): Likewise.  Do not use BP_SYM.
1763         (mempcpy): Do not use BP_SYM in weak_alias.
1764         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1765         "bp-asm.h".
1766         (PARMS): Do not use macros from bp-asm.h.
1767         (DEST): Likewise.
1768         (LEN): Likewise.
1769         [!BZERO_P] (CHR): Likewise.
1770         (memset): Likewise.  Do not use BP_SYM.
1771         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1772         "bp-asm.h".
1773         (PARMS): Do not use macros from bp-asm.h.
1774         (STR2): Likewise.
1775         (strcmp): Do not use BP_SYM.
1776         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1777         "bp-asm.h".
1778         (PARMS): Do not use macros from bp-asm.h.
1779         (STR): Likewise.
1780         (DELIM): Likewise.
1781         [USE_AS_STRTOK_R] (SAVE): Likewise.
1782         (FUNCTION): Likewise.  Do not use BP_SYM.
1783         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1784         aliases.
1785         (strtok_r): Likewise.
1786         (__GI___strtok_r): Likewise.
1787         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1788         (PARMS): Do not use macros from bp-asm.h.
1789         (S): Likewise.
1790         (SIZE): Likewise.
1791         (__mpn_lshift): Do not use BP_SYM.
1792         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1793         (PARMS): Do not use macros from bp-asm.h.
1794         (STR): Likewise.
1795         (CHR): Likewise.
1796         (__memchr): Do not use BP_SYM.
1797         (memchr): Do not use BP_SYM in weak_alias.
1798         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1799         (PARMS): Do not use macros from bp-asm.h.
1800         (BLK2): Likewise.
1801         (LEN): Likewise.
1802         (memcmp): Do not use BP_SYM.
1803         (bcmp): Do not use BP_SYM in weak_alias.
1804         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1805         (PARMS): Do not use macros from bp-asm.h.
1806         (S1): Likewise.
1807         (SIZE): Likewise.
1808         (__mpn_mul_1): Do not use BP_SYM.
1809         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1810         "bp-asm.h".
1811         (PARMS): Do not use macros from bp-asm.h.
1812         (STR): Likewise.
1813         (CHR): Likewise.
1814         (__rawmemchr): Do not use BP_SYM.
1815         (rawmemchr): Do not use BP_SYM in weak_alias.
1816         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1817         (PARMS): Do not use macros from bp-asm.h.
1818         (S): Likewise.
1819         (SIZE): Likewise.
1820         (__mpn_rshift): Do not use BP_SYM.
1821         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1822         (PARMS): Do not use macros from bp-asm.h.
1823         (SIGMSK): Likewise.
1824         (__sigsetjmp): Likewise.  Do not use BP_SYM.
1825         * sysdeps/i386/start.S: Do not include "bp-sym.h".
1826         (_start): Do not use BP_SYM.
1827         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1828         (PARMS): Do not use macros from bp-asm.h.
1829         (DEST): Likewise.
1830         (SRC): Likewise.
1831         (__stpcpy): Likewise.  Do not use BP_SYM.
1832         (stpcpy): Do not use BP_SYM in weak_alias.
1833         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1834         "bp-asm.h".
1835         (PARMS): Do not use macros from bp-asm.h.
1836         (DEST): Likewise.
1837         (SRC): Likewise.
1838         (LEN): Likewise.
1839         (__stpncpy): Likewise.  Do not use BP_SYM.
1840         (stpncpy): Do not use BP_SYM in weak_alias.
1841         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1842         (PARMS): Do not use macros from bp-asm.h.
1843         (STR): Likewise.
1844         (CHR): Likewise.
1845         (strchr): Likewise.  Do not use BP_SYM.
1846         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1847         "bp-asm.h".
1848         (PARMS): Do not use macros from bp-asm.h.
1849         (STR): Likewise.
1850         (CHR): Likewise.
1851         (__strchrnul): Likewise.  Do not use BP_SYM.
1852         (strchrnul): Do not use BP_SYM in weak_alias.
1853         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1854         "bp-asm.h".
1855         (PARMS): Do not use macros from bp-asm.h.
1856         (STOP): Likewise.
1857         (strcspn): Do not use BP_SYM.
1858         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1859         "bp-asm.h".
1860         (PARMS): Do not use macros from bp-asm.h.
1861         (STR): Likewise.
1862         (STOP): Likewise.
1863         (strpbrk): Likewise.  Do not use BP_SYM.
1864         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1865         "bp-asm.h".
1866         (PARMS): Do not use macros from bp-asm.h.
1867         (STR): Likewise.
1868         (CHR): Likewise.
1869         (strrchr): Likewise.  Do not use BP_SYM.
1870         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1871         (PARMS): Do not use macros from bp-asm.h.
1872         (SKIP): Likewise.
1873         (strspn): Do not use BP_SYM.
1874         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1875         (PARMS): Do not use macros from bp-asm.h.
1876         (STR): Likewise.
1877         (DELIM): Likewise.
1878         (SAVE): Likewise.
1879         (FUNCTION): Likewise.  Do not use BP_SYM.
1880         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1881         aliases.
1882         (strtok_r): Likewise.
1883         (__GI___strtok_r): Likewise.
1884         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1885         (PARMS): Do not use macros from bp-asm.h.
1886         (S1): Likewise.
1887         (S2): Likewise.
1888         (SIZE): Likewise.
1889         (__mpn_sub_n): Do not use BP_SYM.
1890         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1891         "bp-asm.h".
1892         (PARMS): Do not use macros from bp-asm.h.
1893         (S1): Likewise.
1894         (SIZE): Likewise.
1895         (__mpn_submul_1): Do not use BP_SYM.
1896         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1897         <bp-sym.h>.
1898         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1899         and <bp-asm.h>.
1900         (PARMS): Do not use macros from bp-asm.h.
1901         (FLAGS): Likewise.
1902         (PTID): Likewise.
1903         (TLS): Likewise.
1904         (CTID): Likewise.
1905         (__clone): Do not use BP_SYM.
1906         (clone): Do not use BP_SYM in weak_alias.
1907         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1908         and <bp-asm.h>.
1909         (PARMS): Do not use macros from bp-asm.h.
1910         (LEN): Likewise.
1911         (__mmap64): Do not use BP_SYM.
1912         (mmap64): Do not use BP_SYM in weak_alias.
1913         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1914         <bp-sym.h> and <bp-asm.h>.
1915         (PARMS): Do not use macros from bp-asm.h.
1916         (__posix_fadvise64_l64): Do not use BP_SYM.
1917         * sysdeps/unix/sysv/linux/i386/semtimedop.S
1918         (PARMS): Do not use macros from bp-asm.h.
1919         (NSOPS): Likewise.
1920         (semtimedop): Do not use BP_SYM.
1921         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1922         and <bp-asm.h>.
1924 2013-02-21  Allan McRae  <allan@archlinux.org>
1926         * manual/message.texi (Charset conversion in gettext):
1927         Move @end statement to beginning of line.
1929 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1931         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1932         static.
1933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1934         Likewise.
1936         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1937         (denorm): Likewise.
1938         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1939         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1941 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1943         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1944         tail-call to the resolved function if pltexit isn't needed.
1946 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1948         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1949         or Y being zero as being unlikely.
1950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1951         Likewise.
1953 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
1955         * manual/nss.texi (System Databases and Name Service Switch):
1956         Remove frobnicate @pxref.
1958 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1960         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1961         __attribute__ ((unused)) to __attribute__ ((__unused__)).
1963 2013-02-20  Petr Machata  <pmachata@redhat.com>
1965         * elf/elf.h (R_ARM_TARGET1): New macro.
1966         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1967         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1968         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1969         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1970         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1971         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1972         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1973         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1974         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1975         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1976         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1977         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1978         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1979         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1980         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1981         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1982         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1983         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1984         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1985         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1986         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1987         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1988         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1989         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1990         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1991         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1992         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1993         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1994         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1995         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1996         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1997         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1998         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1999         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2000         (R_ARM_THM_GOT_BREL12): Likewise.
2001         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2002         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2003         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2004         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2005         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2006         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2007         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2008         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2009         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2011 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2013         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2014         __attribute_used__ to __attribute__ ((unused)).
2016 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2018         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2019         powerpc mpa.c.
2020         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2021         comment formatting.
2022         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2024 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
2026         [BZ #13550]
2027         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2028         Remove macro.
2029         (ENTER): Remove both macro definitions.
2030         (LEAVE): Likewise.
2031         (CHECK_BOUNDS_LOW): Likewise.
2032         (CHECK_BOUNDS_HIGH): Likewise.
2033         (CHECK_BOUNDS_BOTH): Likewise.
2034         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2035         (RETURN_BOUNDED_POINTER): Likewise.
2036         (RETURN_NULL_BOUNDED_POINTER): Likewise.
2037         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2038         (POP_ERRNO_LOCATION_RETURN): Likewise.
2039         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2040         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2041         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2042         macros.
2043         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2044         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2045         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2046         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2047         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2048         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2049         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2050         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2051         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2052         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2053         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2054         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2055         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2056         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2057         removed macros.
2058         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2059         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2060         macros.
2061         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2062         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2063         * sysdeps/i386/i586/memset.S (memset): Likewise.
2064         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2065         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2066         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2067         macros.
2068         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2069         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2070         Change uses of L(2) to L(out).
2071         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2072         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2073         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2074         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2075         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2076         removed macros.
2077         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2078         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2079         macros.
2080         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2081         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2082         (RETURN): Do not use macro LEAVE.
2083         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2084         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2085         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2086         * sysdeps/i386/i686/memset.S (memset): Likewise.
2087         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2088         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2089         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2090         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2091         Likewise.
2092         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2093         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
2094         L(1_2) and L(1_3) into L(1).
2095         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2096         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2097         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2098         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2099         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2100         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2101         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2102         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2103         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2104         macros.
2105         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2106         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2107         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2108         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2109         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2110         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2111         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2112         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2113         * sysdeps/i386/strcspn.S (strcspn): Likewise.
2114         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2115         * sysdeps/i386/strrchr.S (strrchr): Likewise.
2116         * sysdeps/i386/strspn.S (strspn): Likewise.
2117         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2118         conditional code.
2119         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2120         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2121         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2122         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
2123         L(1_3) into L(1_1).
2124         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2125         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2126         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2127         macros.
2128         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2130 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
2132         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2133         macro.
2135 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2137         * math/atest-exp.c (exp_mpn): Remove ROUND.
2138         * math/atest-exp2.c (exp_mpn): Likewise.
2139         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2141         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2142         * stdlib/tst-tls-atexit-lib.c: Likewise.
2143         * stdlib/tst-tls-atexit.c: Likewise.
2145 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2147         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2148         and __attribute_alloc_size__.
2150 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2152         * include/programs/xmalloc.h: Change __attribute_alloc_size to
2153         __attribute_alloc_size__.
2154         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2155         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2157 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2159         * include/programs/xmalloc.h: New file.
2160         * catgets/gencat.c: Include it.
2161         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2162         * elf/pldd.c: Likewise.
2163         * iconv/iconv_charmap.c: Likewise.
2164         * iconv/iconvconfig.c: Likewise.
2165         * iconv/strtab.c: Likewise.
2166         * locale/programs/locale.c: Likewise.
2167         * locale/programs/localedef.h: Likewise.
2168         * locale/programs/simple-hash.c: Likewise.
2169         * nscd/nscd.h: Likewise.
2170         * nss/makedb.c: Likewise.
2171         * sysdeps/generic/ldconfig.h: Likewise.
2173 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2175         * Versions.def: Add GLIBC_2.18.
2176         * include/link.h (struct link_map): New member l_tls_dtor_count.
2177         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2178         (__call_tls_dtors): Likewise.
2179         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2180         __cxa_thread_atexit_impl.
2181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2182         Likewise.
2183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2184         Likewise.
2185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2186         Likewise.
2187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2188         Likewise.
2189         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2191         Likewise.
2192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2193         Likewise.
2194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2196         Likewise.
2197         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2198         (tests): Add test case tst-tls-atexit.
2199         (modules-names): Add shared library for tst-tls-atexit.
2200         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2201         (GLIBC_PRIVATE): Add __call_tls_dtors.
2202         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2203         for libstdc++.
2204         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2205         * stdlib/tst-tls-atexit.c: New test case.
2206         * stdlib/tst-tls-atexit-lib.c: New test case.
2208         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2210         * elf/Versions (ld): Add _dl_find_dso_for_object.
2211         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2212         * elf/dl-open.c (_dl_find_dso_for_object): New function.
2213         (dl_open_worker): Use _dl_find_dso_for_object.
2214         * elf/dl-sym.c (do_sym): Likewise.
2215         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2217 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2219         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2220         Syntactic changes only.
2221         (_dl_runtime_profile): Do a tail-call to the resolved function.
2223 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
2225         [BZ #13550]
2226         * sysdeps/x86_64/bp-asm.h: Remove file.
2227         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2228         <bp-sym.h> and <bp-asm.h>.
2229         (__clone): Do not use BP_SYM.
2230         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2231         <bp-sym.h> and <bp-asm.h>.
2232         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2233         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2234         "bp-asm.h".
2235         (_setjmp): Do not use BP_SYM.
2236         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2237         "bp-asm.h".
2238         (setjmp): Do not use BP_SYM.
2239         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2240         libc_hidden_def.
2241         (mempcpy): Do not use BP_SYM in weak_alias.
2242         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2243         "bp-asm.h".
2244         (strchr): Do not use BP_SYM.
2245         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2246         "bp-asm.h".
2247         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2248         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2249         (_start): Do not use BP_SYM.
2250         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2251         "bp-asm.h".
2252         (strcat): Do not use BP_SYM.
2253         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2254         "bp-asm.h".
2255         (STRCMP): Do not use BP_SYM.
2256         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2257         "bp-asm.h".
2258         (STRCPY): Do not use BP_SYM.
2259         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2260         "bp-asm.h".
2261         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2262         "bp-asm.h".
2263         (FUNCTION): Do not use BP_SYM.
2264         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2265         weak_alias.
2266         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2268 2013-02-17  Andreas Jaeger  <aj@suse.de>
2270         * time/Versions: Sort entries.
2271         * string/Versions: Likewise.
2272         * resolv/Versions: Likewise.
2273         * posix/Versions: Likewise.
2274         * iconv/Versions: Likewise.
2275         * elf/Versions: Likewise.
2276         * wcsmbs/Versions: Likewise.
2278 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2280         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2281         loop termination condition.
2283         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2284         variable to calculate EZ.
2285         (__sqr): Likewise.
2287         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2288         the lower precision input.
2290 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
2292         [BZ #13550]
2293         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2294         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2295         (run-via-rtld-prefix): Do not handle %-bp tests.
2296         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2297         (all-object-suffixes): Remove .ob.
2298         (bppfx): Remove variable.
2299         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2300         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2301         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2302         [$(build-bounded) = yes] (libtype.ob): Likewise.
2303         * Makerules (elide-routines.ob): Remove variable.
2304         (do-tests-clean): Do not handle *-bp.out.
2305         (common-mostlyclean): Do not handle *-bp and *-bp.out.
2306         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2307         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2308         (tests): Do not include $(tests-bp.out).
2309         (xtests): Do not include $(xtests-bp.out).
2310         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2311         [$(build-bounded) = yes] ($(addprefix
2312         $(objpfx),$(binaries-bounded))): Remove rule.
2313         ($(objpfx)%-bp.out): Remove rule.
2314         * config.make.in (build-bounded): Remove variable.
2315         * crypt/Makefile [$(build-bounded) = yes]
2316         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2317         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2318         append to variable.
2319         [$(build-bounded) = yes] (install-lib): Likewise.
2320         [$(build-bounded) = yes] (generated): Likewise.
2321         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2322         Remove rule.
2323         * intl/Makefile [$(build-bounded) = yes]
2324         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2325         * math/Makefile [$(build-bounded) = yes]
2326         ($(tests:%=$(objpfx)%-bp): Likewise.
2327         * misc/Makefile [$(build-bounded) = yes]
2328         ($(objpfx)tst-tsearch-bp): Likewise.
2329         * nptl/Makeconfig (bounded-thread-library): Remove variable.
2330         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2331         Remove dependency.
2332         * string/Makefile (o-objects.ob): Remove variable.
2333         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2334         (CFLAGS-.ob): Remove variable.
2335         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2336         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2337         both definitions of variable.
2338         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2339         (ASFLAGS-.ob): Remove variable.
2341 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
2343         [BZ #13550]
2344         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2345         Remove __BOUNDED_POINTERS__ from condition.
2346         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2347         * string/bits/string2.h [!__NO_STRING_INLINES &&
2348         !__BOUNDED_POINTERS__]: Likewise.
2349         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2350         Likewise.
2351         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2352         Remove conditional code.
2353         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2354         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2355         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2356         condition.
2358         [BZ #13550]
2359         * csu/libc-start.c: Do not include <bp-sym.h>.
2360         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2361         * elf/dl-open.c: Do not include <bp-sym.h>.
2362         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2363         * math/fegetenv.c: Do not include <bp-sym.h>.
2364         (fegetenv): Do not use BP_SYM in versioned symbols.
2365         * nptl/sysdeps/pthread/bits/libc-lockP.h
2366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2367         <bp-sym.h>.
2368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2369         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2371         (__pthread_mutex_destroy): Likewise.
2372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2373         (__pthread_mutex_lock): Likewise.
2374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2375         (__pthread_mutex_trylock): Likewise.
2376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2377         (__pthread_mutex_unlock): Likewise.
2378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2379         (__pthread_mutexattr_init): Likewise.
2380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2381         (__pthread_mutexattr_destroy): Likewise.
2382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2383         (__pthread_mutexattr_settype): Likewise.
2384         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2385         (__pthread_rwlock_init): Likewise.
2386         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2387         (__pthread_rwlock_destroy): Likewise.
2388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2389         (__pthread_rwlock_rdlock): Likewise.
2390         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2391         (__pthread_rwlock_tryrdlock): Likewise.
2392         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2393         (__pthread_rwlock_wrlock): Likewise.
2394         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2395         (__pthread_rwlock_trywrlock): Likewise.
2396         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2397         (__pthread_rwlock_unlock): Likewise.
2398         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2399         (__pthread_key_create): Likewise.
2400         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2401         (__pthread_setspecific): Likewise.
2402         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2403         (__pthread_getspecific): Likewise.
2404         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2405         Likewise.
2406         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2407         (_pthread_cleanup_push_defer): Likewise.
2408         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2409         (_pthread_cleanup_pop_restore): Likewise.
2410         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2411         (pthread_setcancelstate): Likewise.
2412         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2413         <bp-sym.h>.
2414         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2415         (memchr): Do not use BP_SYM in weak_alias.
2416         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2417         (fegetenv): Do not use BP_SYM in versioned symbols.
2418         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2419         (fesetenv): Do not use BP_SYM in versioned symbols.
2420         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2421         (feupdateenv): Do not use BP_SYM in versioned symbols.
2422         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2423         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2424         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2425         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2426         (open64): Do not use BP_SYM in weak_alias.
2427         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2428         (fegetenv): Do not use BP_SYM in versioned symbols.
2429         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2430         (fesetenv): Do not use BP_SYM in versioned symbols.
2431         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2432         (feupdateenv): Do not use BP_SYM in versioned symbols.
2433         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2434         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2435         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2436         (feraiseexcept): Do not use BP_SYM in versioned symbols.
2437         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2438         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2439         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2440         <bp-sym.h>.
2441         (__libc_start_main): Do not use BP_SYM.
2443 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2446         redundant return line.
2447         (norm): Likewise.
2448         (denorm): Likewise.
2449         (dbl_mp): Likewise.
2450         (sub_magnitudes): Likewise.
2451         (__add): Likewise.
2452         (__sub): Likewise.
2453         (__mul): Likewise.
2454         (__inv): Likewise.
2455         (__dvd): Likewise.
2456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2457         (norm): Likewise.
2458         (denorm): Likewise.
2459         (dbl_mp): Likewise.
2460         (sub_magnitudes): Likewise.
2461         (__add): Likewise.
2462         (__sub): Likewise.
2463         (__mul): Likewise.
2464         (__inv): Likewise.
2465         (__dvd): Likewise.
2467         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2468         instead of __mul.
2469         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2470         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2471         (cc32): Likewise.
2473         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2474         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2475         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2476         of __mul for squares.
2477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2478         function
2479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2480         Likewise.
2481         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2482         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2484 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
2486         [BZ #13550]
2487         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2488         code.
2489         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2490         prototype or function definition.  Rename ubp_* variables and
2491         parameters.  Remove argv definitions conditional on
2492         [__BOUNDED_POINTERS__].
2493         * debug/backtrace.c (__backtrace): Do not use __unbounded.
2494         * elf/dl-runtime.c (_dl_fixup): Likewise.
2495         * include/set-hooks.h (RUN_HOOK): Likewise.
2496         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2497         definition.
2498         * string/strcpy.c (strcpy): Do not use __unbounded.
2499         * sysdeps/generic/frame.h (struct layout): Likewise.
2500         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2501         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2502         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2503         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2504         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2505         (__backtrace): Likewise.
2506         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2507         use __ptrvalue.
2508         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2509         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2510         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2511         Likewise.
2512         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2513         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2514         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2515         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2516         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2517         Do not use __unbounded.
2518         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2519         Rename __unboundedrlimits parameter to rlimits in prototype.
2520         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2521         Do not use __unbounded.
2522         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2523         not use __ptrvalue.
2524         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2525         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2526         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2527         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2528         __ptrvalue or __unbounded.
2529         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2530         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2531         use __unbounded.
2532         (__new_msgctl): Do not use __ptrvalue.
2533         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2534         __unbounded.
2535         (__libc_msgrcv): Do not use __ptrvalue.
2536         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2537         startup_info): Do not use __unbounded.
2538         (__libc_start_main): Likewise.  Rename ubp_* variables and
2539         parameters.  Remove argv definitions conditional on
2540         [__BOUNDED_POINTERS__].
2541         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2542         __ptrvalue.
2543         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2544         use __unbounded.
2545         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2546         or __ptrvalue.
2547         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2548         use __unbounded.
2549         (__new_shmctl): Do not use __ptrvalue.
2550         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2551         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2552         Likewise.
2553         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2554         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2555         (__libc_sigaction): Likewise.
2556         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2557         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2558         Likewise.
2559         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2561 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
2563         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2565         * string/mempcpy.c: Implement by calling memcpy.
2567 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2569         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2571         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2572         evaluation.
2574         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2575         values in the mantissa.
2577         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2578         minimize writes to Z.
2579         (sub_magnitudes): Simplify code a bit.
2581 2013-02-12  Roland McGrath  <roland@hack.frob.com>
2583         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2584         from the message.  The linker prefixes all warnings with that already.
2586 2013-02-12  Andreas Schwab  <schwab@suse.de>
2588         [BZ #15078]
2589         * posix/regexec.c (extend_buffers): Add parameter min_len.
2590         (check_matching): Pass minimum needed length.
2591         (clean_state_log_if_needed): Likewise.
2592         (get_subexp): Likewise.
2593         * posix/Makefile (tests): Add bug-regex34.
2594         (bug-regex34-ENV): Define.
2595         * posix/bug-regex34.c: New file.
2597         [BZ #11561]
2598         * posix/regcomp.c (parse_bracket_exp): When looking up collating
2599         elements compare against the byte sequence of it, not its name.
2600         * posix/Makefile (tests): Add bug-regex35.
2601         (bug-regex35-ENV): Define.
2602         * posix/bug-regex35.c: New file.
2604 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2606         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
2607         comment.
2608         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2609         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2610         (CHECK_EOL): Add undef.
2612 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
2614         * bits/stdlib-bsearch.h: New file.
2615         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2616         * stdlib/stdlib.h: Likewise.
2618 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2620         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2621         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2622         declaration.
2623         * manual/search.texi (Array Search Function): Add missing const in
2624         lfind prototype.
2625         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2626         declaration to use rlim_t.
2627         (Basic Scheduling Functions): Remove erroneous const from
2628         sched_getparam prototype.  Remove erroneous * from
2629         sched_get_priority_max and sched_get_priority_min prototypes.
2630         (Resource Usage): Fix summary @comment on vtimes to refer to
2631         sys/vtimes.h rather than vtimes.h.
2632         Add missing *s in vtimes prototype.
2633         (Limits on Resources): Fix ulimit prototype to return long int.
2634         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2635         prototypes to use long int rather than double.
2636         (BSD Random): Fix initstate and setstate to use char *, not void *.
2637         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2638         prototype to make second argument 'struct aiocb64 *const[]'.
2639         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2640         (Status of AIO Operations): Remove erroneous const in aio_return and
2641         aio_return64 prototypes.
2642         (Synchronizing I/O): Fix sync prototype to return void.
2643         * manual/startup.texi (Suboptions): Remove an erroneous const in
2644         getsubopt prototype.
2645         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2646         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2647         use size_t rather than int.
2648         (Scanning All Users): Likewise for getpwent_r.
2649         (Setting Groups): Add missing const to setgroups prototype.
2650         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2651         * manual/socket.texi (Host Names): Fix gethostbyaddr and
2652         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2653         'const void *' rather than 'const char *'.
2654         (Host Address Functions): Likewise for inet_ntop.
2655         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2656         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2657         ssize_t for return value.
2658         (Sending Data): Likewise for send, sendto, sendmsg.
2659         (Socket Option Functions): Add a missing const in setsockopt prototype.
2660         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2661         use wchar_t for the argument.
2662         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2663         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2664         take no arguments.
2665         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2666         double/float/long double for second argument.
2667         Fix return types of significand, significandf, significandl.
2668         * manual/filesys.texi (Setting Permissions): Use mode_t for second
2669         argument in fchmod prototype.
2670         (File Owner): Use uid_t and gid_t in fchown prototype.
2671         (File Times): Add const to utimes, futimes, and lutimes prototypes.
2672         (Making Special Files): Use mode_t and dev_t in mknod prototype.
2673         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2674         use 'const struct dirent **' as argument types to CMP function pointer
2675         argument.
2676         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2677         (File Times): Fix summary magic @comment for struct utimbuf and utime
2678         to refer to utime.h, not time.h.
2679         * manual/string.texi (Argz Functions): Add missing const in
2680         argz_extract and argz_next prototypes.
2681         (Finding Tokens in a String): Likewise for basename.
2682         (String/Array Comparison): Fix typo in wcscasecmp prototype.
2683         (Copying and Concatenation): Fix typo in wmemmove prototype.
2684         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2685         (Signal Stack): Remove erroneous const in sigstack prototype.
2686         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2687         prototype.
2688         (Simple Calendar Time): Likewise for stime.
2689         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2690         prototype.
2691         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2692         say sys/sysctl.h instead.
2693         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2694         and vsyslog prototypes.
2696 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2698         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2699         Remove.
2701 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2703         * misc/sys/mman.h: Fix typo in mremap comment.
2705 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2707         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2708         the '\0' terminator.
2710 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2712         [BZ #13550]
2713         * debug/segfault.c: Don't include <bp-checks.h>.
2714         * sysdeps/generic/bp-checks.h: Remove file.
2715         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2716         (__GETDENTS): Don't use CHECK_N.
2717         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2718         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2719         (__getgroups): Don't use CHECK_N.
2720         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2721         (setgroups): Don't use CHECK_N.
2722         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2723         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2724         (__libc_msgrcv): Don't use CHECK_N.
2725         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2726         (__libc_msgsnd): Don't use CHECK_N.
2727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2728         <bp-checks.h>.
2729         (__libc_pread): Don't use CHECK_N.
2730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2731         include <bp-checks.h>.
2732         (__libc_pread64): Don't use CHECK_N.
2733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2734         include <bp-checks.h>.
2735         (__libc_pwrite): Don't use CHECK_N.
2736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2737         include <bp-checks.h>.
2738         (__libc_pwrite64): Don't use CHECK_N.
2739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2740         <bp-checks.h>.
2741         (__libc_pread): Don't use CHECK_N.
2742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2743         include <bp-checks.h>.
2744         (__libc_pread64): Don't use CHECK_N.
2745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2746         include <bp-checks.h>.
2747         (__libc_pwrite): Don't use CHECK_N.
2748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2749         include <bp-checks.h>.
2750         (__libc_pwrite64): Don't use CHECK_N.
2751         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2752         (do_pread): Don't use CHECK_N.
2753         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2754         (do_pread64): Don't use CHECK_N.
2755         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2756         (do_pwrite): Don't use CHECK_N.
2757         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2758         (do_pwrite64): Don't use CHECK_N.
2759         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2760         (__libc_readv): Don't use CHECK_N.
2761         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2762         (semop): Don't use CHECK_N.
2763         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2764         <bp-checks.h>.
2765         (semtimedop): Don't use CHECK_N.
2766         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2767         (__libc_pread): Don't use CHECK_N.
2768         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2769         <bp-checks.h>.
2770         (__libc_pread64): Don't use CHECK_N.
2771         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2772         <bp-checks.h>.
2773         (__libc_pwrite): Don't use CHECK_N.
2774         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2775         <bp-checks.h>.
2776         (__libc_pwrite64): Don't use CHECK_N.
2777         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2778         <bp-checks.h>.
2779         (__libc_msgrcv): Don't use CHECK_N.
2780         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2781         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
2782         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2783         (__libc_writev): Don't use CHECK_N.
2785 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2787         * string/strcpy.c: Removed unused variable.
2789         * Makeconfig (+sysdep-includes): Define with := rather than =.
2790         Use an existing include/ subdir of each sysdeps dir before it.
2792 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2794         * nscd/connection.c (register_traced_file): Comment function.
2795         [HAVE_INOTIFY] (union __inev): Define.
2796         [HAVE_INOTIFY] (inotify_check_files): New function.
2797         [HAVE_INOTIFY] (clear_db_cache): Likewise.
2798         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2799         clear_db_cache.
2800         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2802 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2804         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2805         loaded if not already and that a failure is permanent.
2807 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2809         [BZ #15006]
2810         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2811         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2813 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2815         [BZ #13550]
2816         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2817         (CHECK_1_NULL_OK): Likewise.
2818         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2819         (__fxstat): Do not use CHECK_1.
2820         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2821         <bp-checks.h>.
2822         (___fxstat64): Do not use CHECK_1.
2823         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2824         <bp-checks.h>.
2825         (__fxstatat): Do not use CHECK_1.
2826         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2827         <bp-checks.h>.
2828         (__fxstatat64): Do not use CHECK_1.
2829         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2830         <bp-checks.h>.
2831         (__fxstat): Do not use CHECK_1.
2832         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2833         <bp-checks.h>.
2834         (__fxstatat): Do not use CHECK_1.
2835         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2836         <bp-checks.h>.
2837         (__getresgid): Do not use CHECK_1.
2838         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2839         <bp-checks.h>.
2840         (__getresuid): Do not use CHECK_1.
2841         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2842         <bp-checks.h>.
2843         (__lxstat): Do not use CHECK_1.
2844         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2845         <bp-checks.h>.
2846         (__old_msgctl): Do not use CHECK_1.
2847         (__new_msgctl): Likewise.
2848         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2849         <bp-checks.h>.
2850         (__new_setrlimit): Do not use CHECK_1.
2851         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2852         <bp-checks.h>.
2853         (__old_shmctl): Do not use CHECK_1.
2854         (__new_shmctl): Likewise.
2855         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2856         <bp-checks.h>.
2857         (__xstat): Do not use CHECK_1.
2858         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2859         (__lxstat): Do not use CHECK_1.
2860         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2861         <bp-checks.h>.
2862         (___lxstat64): Do not use CHECK_1.
2863         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2864         (__old_msgctl): Do not use CHECK_1.
2865         (__new_msgctl): Likewise.
2866         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2867         <bp-checks.h>.
2868         (__gettimeofday): Do not use CHECK_1.
2869         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2870         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2871         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2872         <bp-checks.h>.
2873         (__gettimeofday): Do not use CHECK_1.
2874         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2875         (__old_shmctl): Do not use CHECK_1_NULL_OK.
2876         (__new_shmctl): Do not use CHECK_1.
2877         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2878         <bp-checks.h>.
2879         (do_sigtimedwait): Do not use CHECK_1.
2880         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2881         <bp-checks.h>.
2882         (do_sigwaitinfo): Do not use CHECK_1.
2883         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2884         <bp-checks.h>.
2885         (msgctl): Do not use CHECK_1.
2886         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2887         <bp-checks.h>.
2888         (shmctl): Do not use CHECK_1.
2889         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2890         (ustat): Do not use CHECK_1.
2891         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2892         <bp-checks.h>.
2893         (__fxstat): Do not use CHECK_1.
2894         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2895         <bp-checks.h>.
2896         (__fxstatat): Do not use CHECK_1.
2897         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2898         <bp-checks.h>.
2899         (__lxstat): Do not use CHECK_1.
2900         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2901         <bp-checks.h>.
2902         (__xstat): Do not use CHECK_1.
2903         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2904         (__xstat): Do not use CHECK_1.
2905         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2906         (___xstat64): Do not use CHECK_1.
2908         [BZ #13550]
2909         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2910         definitions.
2911         (CHECK_BOUNDS_HIGH): Likewise.
2912         * string/strcpy.c: Do not include <bp-checks.h>.
2913         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2915 2013-02-07  Roland McGrath  <roland@hack.frob.com>
2917         * nscd/nscd-client.h (__nscd_drop_map_ref):
2918         Add __attribute__ ((unused)).
2919         * nis/nss-nisplus.h (niserr2nss): Likewise.
2921         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2922         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2924         * csu/libc-tls.c (init_static_tls, init_slotinfo):
2925         Remove inline keyword.
2926         * include/rounding-mode.h (round_away): Likewise.
2927         * libio/wfileops.c (adjust_wide_data): Likewise.
2928         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2929         (__m128i_strloadu_tolower): Likewise.
2930         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2931         (__m128i_strloadu_tolower): Likewise.
2932         * time/mktime.c (ydhms_diff): Likewise.
2933         * locale/elem-hash.h (elem_hash): Likewise.
2934         * locale/setlocale.c (setdata): Likewise.
2935         * posix/regex_internal.h (re_string_char_size_at): Likewise.
2936         (re_string_wchar_at): Likewise.
2937         (bitset_not, bitset_merge, bitset_mask): Likewise.
2938         [!(__GNUC__ > 3)] (inline): Remove macro.
2939         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2940         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2941         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2942         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2943         * string/memcmp.c (memcmp_bytes): Likewise.
2944         * locale/programs/locarchive.c (compute_hashval): Likewise.
2945         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2946         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2947         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2948         * nss/getent.c (print_rpc, print_protocols): Likewise.
2949         (print_passwd, print_group, print_aliases): Likewise.
2950         * nis/nss-nisplus.h (niserr2nss): Likewise.
2951         * nscd/connections.c (restart_p): Likewise.
2952         Change return type to bool.
2954 2013-02-05  Roland McGrath  <roland@hack.frob.com>
2956         * Makeconfig (all-Depend-files): Add existing
2957         $(sorted-subdirs:=/Depend) files.
2958         (all-subdirs): Remove nss.
2959         * sysdeps/unix/inet/Subdirs: Add it here instead.
2960         * hesiod/Depend: New file.
2962         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2963         instead of calling alloca.
2965         * io/lseek.c (__lseek): Rename to __libc_lseek.
2966         Define __lseek as an alias.
2968         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2970 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
2972         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2973         else clause and remove check for non-standard endianness.
2975 2013-02-04  David S. Miller  <davem@davemloft.net>
2977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2979 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
2981         [BZ #13550]
2982         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2983         (__ubp_memchr): Remove prototype.
2984         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2985         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2986         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2987         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2988         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2989         Remove alias.
2990         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2991         (__ubp_memchr): Likewise.
2992         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2993         (__ubp_memchr): Likewise.
2994         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2995         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2996         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2997         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2998         CHECK_STRING.
2999         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3000         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3001         (__getcwd): Do not use CHECK_STRING.
3002         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3003         <bp-checks.h>.
3004         (__real_chown): Do not use CHECK_STRING.
3005         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3006         <bp-checks.h>.
3007         (fchownat): Do not use CHECK_STRING.
3008         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3009         CHECK_STRING.
3010         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3011         <bp-checks.h>.
3012         (__lchown): Do not use CHECK_STRING.
3013         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3014         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3015         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3016         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3018         include <bp-checks.h>.
3019         (truncate64): Do not use CHECK_STRING.
3020         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3021         <bp-checks.h>.
3022         (__real_chown): Do not use CHECK_STRING.
3023         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3024         <bp-checks.h>.
3025         (__lchown): Do not use CHECK_STRING.
3026         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3027         <bp-checks.h>.
3028         (__chown): Do not use CHECK_STRING.
3029         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3030         <bp-checks.h>.
3031         (truncate64): Do not use CHECK_STRING.
3032         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3033         Likewise.
3034         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3035         (__xmknod): Do not use CHECK_STRING.
3036         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3037         <bp-checks.h>.
3038         (__xmknodat): Do not use CHECK_STRING.
3039         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3040         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3042 2013-02-04  Andreas Schwab  <schwab@suse.de>
3044         [BZ #14142]
3045         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3046         * include/netdb.h: Likewise for h_errno.
3047         * elf/tst-stackguard1.c: Include <tls.h>.
3049 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3051         * elf/link.h (struct link_map): Extend the l_addr comment.
3052         * include/link.h (struct link_map): Likewise.
3054 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
3056         [BZ #13550]
3057         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3058         (BOUNDED_1): Remove macro.
3059         * debug/backtrace.c: Don't include <bp-checks.h>.
3060         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3061         (__backtrace): Likewise.
3062         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3063         <bp-checks.h>.
3064         (__backtrace): Don't use BOUNDED_1.
3065         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3066         <bp-checks.h>.
3067         (__backtrace): Don't use BOUNDED_1.
3068         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3069         (__backtrace): Don't use BOUNDED_1.
3070         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3071         (shmat): Don't use BOUNDED_N.
3073 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
3075         [BZ #13550]
3076         * sysdeps/generic/bp-start.h: Remove file.
3077         * csu/libc-start.c: Don't include <bp-start.h>.
3078         (LIBC_START_MAIN): Set up __environ directly instead of using
3079         INIT_ARGV_and_ENVIRON.
3080         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3081         <bp-start.h>.
3083         [BZ #13550]
3084         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3085         definitions.
3086         (CHECK_FCNTL): Likewise.
3087         (CHECK_N_PAGES): Likewise.
3089         [BZ #13550]
3090         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3091         definitions.
3092         (CHECK_SIGSET_NULL_OK): Likewise.
3093         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3094         <bp-checks.h>.
3095         (sigpending): Don't use CHECK_SIGSET.
3096         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3097         <bp-checks.h>.
3098         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3099         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3100         <bp-checks.h>.
3101         (do_sigsuspend): Don't use CHECK_SIGSET.
3102         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3103         use CHECK_SIGSET.
3104         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3105         (do_sigwait): Don't use CHECK_SIGSET.
3106         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3107         use CHECK_SIGSET.
3108         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3109         include <bp-checks.h>.
3110         (sigpending): Don't use CHECK_SIGSET.
3111         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3112         include <bp-checks.h>.
3113         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3114         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3115         <bp-checks.h>.
3116         (sigpending): Don't use CHECK_SIGSET.
3117         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3118         <bp-checks.h>.
3119         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3121         [BZ #13550]
3122         * sysdeps/generic/bp-semctl.h: Remove file.
3123         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3124         <bp-checks.h> and <bp-semctl.h>.
3125         (__old_semctl): Don't use CHECK_SEMCTL.
3126         (__new_semctl): Likewise.
3127         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3128         and <bp-semctl.h>.
3129         (__old_semctl): Don't use CHECK_SEMCTL.
3130         (__new_semctl): Likewise.
3131         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3132         <bp-checks.h> and <bp-semctl.h>.
3133         (__old_semctl): Don't use CHECK_SEMCTL.
3134         (__new_semctl): Likewise.
3135         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3136         <bp-checks.h> and <bp-semctl.h>.
3137         (semctl): Don't use CHECK_SEMCTL.
3139         [BZ #13550]
3140         * Makerules (elide-bp-thunks): Remove variable.
3141         (elide-routines.oS): Don't use $(elide-bp-thunks).
3142         (elide-routines.os): Likewise.
3143         (elide-routines.o): Likewise.
3144         (elide-routines.op): Likewise.
3145         (elide-routines.og): Likewise.
3146         (objects): Don't use $(bp-thunks).
3147         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3148         include.
3149         (common-generated): Do not add s-proto-bp.d.
3150         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3151         (int): Likewise.
3152         (typ): Likewise.
3153         Do not generate makefile rules for bounded-pointer thunks.
3154         * sysdeps/generic/bp-thunks.h: Remove file.
3155         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3156         * sysdeps/unix/s-proto-bp.S: Likewise.
3158         [BZ #15062]
3159         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3160         parts of result separately when argument is not close to line from
3161         -i to i and one part of argument is small.
3162         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3163         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3164         * math/libm-test.inc (cacos_test): Add more tests.
3165         (casin_test): Likewise.
3166         (casinh_test): Likewise.
3167         * sysdeps/i386/fpu/libm-test-ulps: Update.
3168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3170 2013-01-31  David S. Miller  <davem@davemloft.net>
3172         * po/de.po: Update from translation team.
3174 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
3176         * time/tzfile.c: Include stdint.h for SIZE_MAX.
3178 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
3180         * configure.in (_AC_PROG_CC_C89): New definition.
3181         * configure: Regenerate.
3183         * configure.in (AC_PROG_CPP): New definition.
3184         * configure: Regenerate.
3186 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3188         * debug/tst-backtrace.h: New file.
3189         * debug/tst-backtrace2.c: Include tst-backtrace.h.
3190         (ret): Remove variable.
3191         (x): Likewise.
3192         (FAIL): Remove macro.
3193         (NO_INLINE): Likewise.
3194         (fn1): Use match function instead of strstr.
3195         * debug/tst-backtrace3.c: Include tst-backtrace.h.
3196         (ret): Remove variable.
3197         (x): Likewise.
3198         (FAIL): Remove macro.
3199         (NO_INLINE): Likewise.
3200         (fn): Use match function instead of strstr.
3201         * debug/tst-backtrace4.c: Include tst-backtrace.h.
3202         (ret): Remove variable.
3203         (x): Likewise.
3204         (FAIL): Remove macro.
3205         (NO_INLINE): Likewise.
3206         (handle_signal): Use match function instead of strstr.
3207         * debug/tst-backtrace5.c: Include tst-backtrace.h.
3208         (ret): Remove variable.
3209         (x): Likewise.
3210         (FAIL): Remove macro.
3211         (NO_INLINE): Likewise.
3212         (handle_signal): Use match function instead of strstr.
3214 2013-01-23  Roland McGrath  <roland@hack.frob.com>
3216         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3218 2013-01-23  David S. Miller  <davem@davemloft.net>
3220         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3221         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3222         argument of CAS if possible.
3223         * sysdeps/sparc/sparc64/bits/atomic.h
3224         (__arch_compare_and_exchange_val_32_acq): Likewise.
3225         (__arch_compare_and_exchange_val_64_acq): Likewise.
3227 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
3229         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3230         * sysdeps/posix/ulimit.c: ... this.
3231         Include <limits.h>.
3232         * sysdeps/unix/bsd/ulimit.c: Remove file.
3234 2013-01-23  Adam Conrad  <adconrad@0c3.net>
3236         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3237         (LDFLAGS-tst-array5): Likewise.
3239 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3241         [BZ #15036]
3242         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3243         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3244         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3245         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3247 2013-01-21  David S. Miller  <davem@davemloft.net>
3249         * sysdeps/sparc/backtrace.c: New file.
3250         * sysdeps/sparc/sparc32/backtrace.h: New file.
3251         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3252         * sysdeps/sparc/sparc64/backtrace.h: New file.
3253         * sysdeps/sparc/sparc64/backtrace.c: Delete.
3254         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3255         -funwind-tables.
3257 2013-01-21  Andreas Schwab  <schwab@suse.de>
3259         [BZ #15020]
3260         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3261         closed its stdout.
3263 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
3265         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3266         "mpa2.h".
3267         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3269 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
3270             Mark Mitchell  <mark@codesourcery.com>
3271             Tom de Vries  <tom@codesourcery.com>
3272             Paul Pluzhnikov  <ppluzhnikov@google.com>
3274         * debug/tst-backtrace2.c: New file.
3275         * debug/tst-backtrace3.c: Likewise.
3276         * debug/tst-backtrace4.c: Likewise.
3277         * debug/tst-backtrace5.c: Likewise.
3278         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3279         (CFLAGS-tst-backtrace3.c): Likewise.
3280         (CFLAGS-tst-backtrace4.c): Likewise.
3281         (CFLAGS-tst-backtrace5.c): Likewise.
3282         (LDFLAGS-tst-backtrace2): Likewise.
3283         (LDFLAGS-tst-backtrace3): Likewise.
3284         (LDFLAGS-tst-backtrace4): Likewise.
3285         (LDFLAGS-tst-backtrace5): Likewise.
3286         (tests): Add new tests tst-backtrace2, tst-backtrace3,
3287         tst-backtrace4 and tst-backtrace5.
3289 2013-01-18  Anton Blanchard  <anton@samba.org>
3290             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3292         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3293         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3294         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3295         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3297         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3298         "+r" and remove output regs list as redundant.  Add explicit inline
3299         asm to specify register of return val to work around compiler codegen
3300         bug.  Remove (int) cast on return value.  Add return type parameter to
3301         use in macro so that this macro does not truncate return value for
3302         64-bit values.
3303         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3304         pass to INTERNAL_VSYSCALL_NCS.
3305         (INLINE_VSYSCALL): Add 'long int' as return type to
3306         INTERNAL_VSYSCALL_NCS macro invocation.
3307         (INTERNAL_VSYSCALL): Add 'long int' as return type to
3308         INTERNAL_VSYSCALL_NCS macro invocation.
3309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3311 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3313         [BZ #14496]
3314         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3315         Fix application of SIMD FP exception mask.
3317         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3318         mp_no from a power of two.
3319         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3320         __mpexp_twomm1.  Use __pow_mp.
3322         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3323         multiplication.
3325 2013-01-17  David S. Miller  <davem@davemloft.net>
3327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3329 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3331         [BZ #15023]
3332         * include/complex.h: Condition contents on [!_COMPLEX_H].
3333         (__kernel_casinhf): New prototype.
3334         (__kernel_casinh): Likewise.
3335         (__kernel_casinhl): Likewise.
3336         * math/Makefile (libm_calls): Add k_casinh.
3337         * math/k_casinh.c: New file.
3338         * math/k_casinhf.c: Likewise.
3339         * math/k_casinhl.c: Likewise.
3340         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3341         finite nonzero arguments.
3342         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3343         finite nonzero arguments.
3344         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3345         finite nonzero arguments.
3346         * math/s_casinh.c: Do not include <float.h>.
3347         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3348         * math/s_casinhf.c: Do not include <float.h>.
3349         (__casinhf): Move code for finite nonzero arguments to
3350         k_casinhf.c.
3351         * math/s_casinhl.c: Do not include <float.h>.
3352         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3353         redefine.
3354         (__casinhl): Move code for finite nonzero arguments to
3355         k_casinhl.c.
3356         * math/libm-test.inc (cacos_test): Add more tests.
3357         * sysdeps/i386/fpu/libm-test-ulps: Update.
3358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3360 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
3362         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3363         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3364         [!HAVE_MREMAP]: Remove [defined linux] case.
3365         * malloc/arena.c: Do not include <malloc-sysdep.h>.
3367 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3369         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3371 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
3373         * elf/elf.h (R_386_SIZE32): New relocation.
3374         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3375         R_386_SIZE32.
3376         (elf_machine_rela): Likewise.
3377         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3378         R_X86_64_SIZE64 and R_X86_64_SIZE32.
3380 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3382         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3383         (FP_FAST_FMA): Do not define.
3384         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3385         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3386         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3387         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3388         !_SOFT_FLOAT]: Likewise.
3389         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3390         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3391         value.
3392         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3393         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3394         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3395         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3396         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3397         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3398         file.
3400 2013-01-16  Andreas Schwab  <schwab@suse.de>
3402         [BZ #14327]
3403         * include/stdlib.h (__mktemp): Add declaration.
3404         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3405         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3407 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3409         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3410         definitions.
3411         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3412         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3413         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3414         definitions here.
3415         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3416         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3417         definitions.
3418         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3419         and ONE.
3420         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3421         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3422         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3423         definitions.
3424         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3425         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3426         definitions.
3427         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3429         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3431 2013-01-15  David S. Miller  <davem@davemloft.net>
3433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3434         trunc{,f} to libm-sysdep_routes.
3435         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3437         file.
3438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3440         file.
3441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3442         file.
3443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3445         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3446         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3447         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3448         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3449         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3450         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3453         nearbyint{,f} to libm-sysdep_routes.
3454         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3456         New file.
3457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3458         file.
3459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3460         New file.
3461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3462         file.
3463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3465         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3466         file.
3467         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3468         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3469         file.
3470         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3471         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3472         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3474         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3475         libc_feholdexcept and libc_fesetenv.
3477 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
3479         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3481 2013-01-14  David S. Miller  <davem@davemloft.net>
3483         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3484         (SPARC_ASM_VIS2_IFUNC): Likewise.
3485         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3487         use of 'siam' instruction.
3488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3489         Likewise.
3490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3491         Likewise.
3492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3493         Likewise.
3494         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3495         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3496         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3497         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3499         file.
3500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3501         file.
3502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3503         file.
3504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3505         file.
3506         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3507         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3508         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3509         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3511         new VIS2 routines.
3512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3515         Likewise.
3516         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3517         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3518         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3521         routines to libm-sysdep_routines.
3522         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3525         fdim/fdimf to libm-sysdep_routines.
3526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3527         file.
3528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3530         file.
3531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3534         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3535         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3536         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3537         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3539 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3541         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3542         to optimize copies.
3544         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3546         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3548         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3549         local variable MPTWO.
3550         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3551         Likewise.
3553 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3555         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3556         GLOB_NOESCAPE.
3558 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3560         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3562 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3564         * manual/pattern.texi (glob_t): Document gl_flags.
3565         (glob64_t): Likewise.
3567 2013-01-11  David S. Miller  <davem@davemloft.net>
3569         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3570         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3571         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
3572         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3573         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3574         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3575         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3576         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3577         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3578         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3579         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3580         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3581         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3583         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3584         sparc V9 rather than using V8 code.
3585         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3586         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3588         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3589         Move to...
3590         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3591         Here.
3593 2013-01-11  Roland McGrath  <roland@hack.frob.com>
3595         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3596         not in the main loop.
3597         * configure: Regenerated.
3599 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
3601         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3602         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3603         to just #else.
3604         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
3605         [!__GLIBC_HAVE_LONG_LONG] case.
3606         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3607         condition to just #else.
3608         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3609         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3610         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3611         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3612         unconditional.
3613         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3614         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3615         #elif condition to just #else.
3616         * sysdeps/unix/sysv/linux/sys/sysmacros.h
3617         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3618         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3619         #elif condition to just #else.
3621 2013-01-11  Steve Ellcey  <sellcey@mips.com>
3623         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3624         (EF_MIPS_ARCH_64): Fix value.
3625         (EF_MIPS_ARCH_32R2): New.
3626         (EF_MIPS_ARCH_64R2): New.
3628 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
3630         * Makeconfig (+link-pie-before-libc): New.
3631         (+link-pie-after-libc): Likewise.
3632         (+link-pie-tests): Likewise.
3633         (+link-pie): Rewritten.
3634         (link-before-libc): Remove $(config-LDFLAGS).
3635         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3636         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3637         (config-LDFLAGS): Renamed to ...
3638         (rtld-LDFLAGS): This.
3639         (rtld-tests-LDFLAGS): New macro.
3640         (link-libc-rpath-link): Likewise.
3641         (link-libc-tests-rpath-link): Likewise.
3642         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3643         (link-libc): Prepand $(link-libc-rpath-link).
3644         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3645         (test-program-prefix): New macro.
3646         (test-via-rtld-prefix): Likewise.
3647         (test-program-cmd): Likewise.
3648         (host-test-program-cmd): Likewise.
3649         * Makefile ($(common-objpfx)testrun.sh): Replace
3650         $(run-program-prefix) with $(test-program-prefix).
3651         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3652         $(rtld-LDFLAGS).
3653         ($(common-objpfx)shlib.lds): Likewise.
3654         (build-module-helper): Likewise.
3655         ($(common-objpfx)format.lds): Likewise.
3656         * Rules (binaries-pie-tests): New.
3657         (binaries-pie-notests): Likewise.
3658         (binaries-pie): Rewritten.
3659         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3660         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3661         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3662         (make-test-out): Replace $(host-built-program-cmd) with
3663         $(host-test-program-cmd).
3664         * config.make.in (build-hardcoded-path-in-tests): New variable.
3665         * configure.in (--enable-hardcoded-path-in-tests): New configure
3666         option.
3667         (hardcoded_path_in_tests): New AC_SUBST.
3668         * configure: Regenerated.
3669         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3670         $(built-program-cmd) with $(test-program-cmd).
3671         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3672         (test_program_cmd): This.
3673         * elf/Makefile ($(objpfx)order.out): Run test with
3674         $(test-program-prefix).
3675         ($(objpfx)order2.out): Likewise.
3676         ($(objpfx)tst-initorder.out): Likewise.
3677         ($(objpfx)tst-initorder2.out): Likewise.
3678         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3679         $(test-program-cmd).
3680         ($(objpfx)tst-array1-static.out): Likewise.
3681         ($(objpfx)tst-array2.out): Likewise.
3682         ($(objpfx)tst-array3.out): Likewise.
3683         ($(objpfx)tst-array4.out): Likewise.
3684         ($(objpfx)tst-array5.out): Likewise.
3685         ($(objpfx)tst-array5-static.out): Likewise.
3686         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3687         $(test-program-cmd).
3688         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3689         $(run-program-prefix) with $(test-program-prefix).
3690         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3691         (test_program_prefix): This.
3692         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3693         $(run-program-prefix) with $(test-program-prefix).
3694         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3695         (test_program_prefix): This.
3696         * iconvdata/tst-tables.sh: Likewise.
3697         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3698         $(run-program-prefix) with $(test-program-prefix).
3699         ($(objpfx)tst-translit.out): Likewise.
3700         ($(objpfx)tst-gettext2.out): Likewise.
3701         ($(objpfx)tst-gettext4.out): Likewise.
3702         ($(objpfx)tst-gettext6.out): Likewise.
3703         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3704         (test_program_prefix): This.
3705         * intl/tst-gettext2.sh: Likewise.
3706         * intl/tst-gettext4.sh  Likewise.
3707         * intl/tst-gettext6.sh: Likewise.
3708         * intl/tst-translit.sh: Likewise.
3709         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3710         with $(test-program-cmd).
3711         * libio/Makefile ($(objpfx)test-freopen.out): Replace
3712         $(run-program-prefix) with $(test-program-prefix).
3713         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3714         (test_program_prefix): This.
3715         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3716         $(run-program-prefix) with $(test-program-prefix).
3717         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3718         (test_program_prefix): This.
3719         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3720         * posix/Makefile ($(objpfx)globtest.out): Replace
3721         $(run-via-rtld-prefix) and $(test-wrapper) with
3722         $(test-program-prefix) and $(test-via-rtld-prefix).
3723         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3724         $(test-program-prefix).
3725         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3726         $(host-test-program-cmd).
3727         (tst-spawn-ARGS): Likewise.
3728         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3729         $(test-program-prefix).
3730         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3731         (test_via_rtld_prefix): This.
3732         (test_wrapper): Renamed to ...
3733         (test_program_prefix): This.
3734         (run_program_prefix): Replaced by test_program_prefix.
3735         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3736         (test_program_prefix): This.
3737         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3738         with $(host-test-program-cmd).
3739         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3740         $(run-program-prefix) with $(test-program-prefix).
3741         ($(objpfx)tst-printf.out): Likewise.
3742         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3743         $(test-program-cmd).
3744         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3745         (test_program_prefix): This.
3746         * stdio-common/tst-unbputc.sh: Likewise.
3747         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3748         $(run-program-prefix) with $(test-program-prefix).
3749         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3750         (test_program_prefix): This.
3751         * string/Makefile ($(objpfx)tst-svc.out):  Replace
3752         $(built-program-cmd) with $(test-program-cmd).
3754 2013-01-11  Andreas Jaeger  <aj@suse.de>
3756         [BZ #15003]
3757         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3758         value. Sync with Linux 3.7.
3760 2013-01-10  David S. Miller  <davem@davemloft.net>
3762         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3763         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3764         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3766 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3768         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3769         never set.
3770         * configure: Regenerated.
3772 2013-01-10  David S. Miller  <davem@davemloft.net>
3774         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3775         sparc V9 rather than using V8 code.
3776         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3777         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3779 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3781         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3782         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3783         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3784         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3785         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3786         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3787         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3788         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3789         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3790         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3791         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3792         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3793         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3794         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3795         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3796         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3797         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3798         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3799         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3800         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3801         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3802         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3803         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3804         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3805         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3806         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3807         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3809 2013-01-10  David S. Miller  <davem@davemloft.net>
3811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3813 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3815         * posix/Makefile (tests-static): New variable.
3816         (tests): Add $(tests-static).
3817         (tst-exec-static-ARGS): New variable.
3818         (tst-spawn-static-ARGS): Likewise.
3819         * posix/tst-exec-static.c: New file.
3820         * posix/tst-spawn-static.c: Likewise.
3821         * posix/tst-exec.c: Support run directly.
3822         * posix/tst-spawn.c: Likewise.
3824 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
3826         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3827         long.
3828         * math/bits/mathcalls.h (llrint): Likewise.
3829         (llround): Likewise.
3830         * stdlib/stdlib.h (struct drand48_data): Likewise.
3831         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3832         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3833         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3834         Likewise.
3835         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3836         Likewise.
3837         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3838         (elf_greg_t): Likewise.
3839         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3840         (__jmp_buf): Likewise.
3841         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3842         definitions.
3843         (llrint): Likewise, for all definitions.
3844         (llrintl): Likewise.
3846         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3847         Remove [__GNUC__] condition.
3848         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3849         condition to just [__USE_ISOC99].
3850         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3852 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3854         [BZ #14200]
3855         * sysdeps/unix/sysv/linux/x86/bits/environments.h
3856         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3857         defined.
3858         (_POSIX_V6_ILP32_OFF32): Likewise.
3859         (_XBS5_ILP32_OFF32): Likewise.
3860         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3861         (__ILP32_OFFBIG_LDFLAGS): Likewise.
3863 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3865         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3867         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3868         doubles __mpexp_twomm1.  Adjust usage.
3869         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3870         Remove.
3872 2013-01-10  Andreas Schwab  <schwab@suse.de>
3874         [BZ #14964]
3875         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3876         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3878 2013-01-09  David S. Miller  <davem@davemloft.net>
3880         [BZ #15003]
3881         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3882         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3883         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3884         TCP_FASTOPEN): Define.
3885         (tcp_repair_opt): New structure.
3886         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3887         enum values.
3888         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3889         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3890         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3891         (tcp_cookie_transactions): New structure.
3893 2013-01-09  Anton Blanchard  <anton@samba.org>
3895         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3896         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3897         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3898         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3900 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
3902         * include/features.h (__USE_ANSI): Remove.
3904 2013-01-09  Roland McGrath  <roland@hack.frob.com>
3906         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3908         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3910 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3912         * sysdeps/s390/fpu/libm-test-ulps: Update.
3914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3916         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3917         (__acr): Likewise.
3918         (__cpy): Likewise.
3919         (norm): Likewise.
3920         (denorm): Likewise.
3921         (__mp_dbl): Likewise.
3922         (__dbl_mp): Likewise.
3923         (add_magnitudes): Likewise.
3924         (sub_magnitudes): Likewise.
3925         (__add): Likewise.
3926         (__sub): Likewise.
3927         (__mul): Likewise.
3928         (__inv): Likewise.
3929         (__dvd): Likewise.
3930         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3931         (__acr): Likewise.
3932         (__cpy): Likewise.
3933         (norm): Likewise.
3934         (denorm): Likewise.
3935         (__mp_dbl): Likewise.
3936         (__dbl_mp): Likewise.
3937         (add_magnitudes): Likewise.
3938         (sub_magnitudes): Likewise.
3939         (__add): Likewise.
3940         (__sub): Likewise.
3941         (__mul): Likewise.
3942         (__inv): Likewise.
3943         (__dvd): Likewise.
3944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3945         (__acr): Likewise.
3946         (__cpy): Likewise.
3947         (norm): Likewise.
3948         (denorm): Likewise.
3949         (__mp_dbl): Likewise.
3950         (__dbl_mp): Likewise.
3951         (add_magnitudes): Likewise.
3952         (sub_magnitudes): Likewise.
3953         (__add): Likewise.
3954         (__sub): Likewise.
3955         (__mul): Likewise.
3956         (__inv): Likewise.
3957         (__dvd): Likewise.
3959 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
3961         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3962         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3963         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3964         2 && __USE_EXTERN_INLINES]: Likewise.
3966 2013-01-08  Andreas Jaeger  <aj@suse.de>
3968         [BZ# 14985]
3969         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3970         Remove.
3971         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3972         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3974 2013-01-07  Anton Blanchard  <anton@samba.org>
3976         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3977         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3978         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3979         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3980         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3981         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3982         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3983         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3985         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3986         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3987         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3988         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3989         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3990         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3991         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3992         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3993         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3994         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3995         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3996         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3997         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3998         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3999         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4000         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4001         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4002         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4003         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4004         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4005         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4006         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4007         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4008         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4009         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4010         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4011         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4012         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4013         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4014         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4015         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4016         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4017         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4018         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4020 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
4022         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4023         (__MALLOC_PMT): Likewise.
4024         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4025         [__GNUC__], only on [_LIBC].
4026         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4027         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4028         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4029         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4030         forward declaration.
4031         (realloc_hook_ini): Likewise.
4032         (memalign_hook_ini): Likewise.
4033         (__libc_memalign): Do not use __MALLOC_PMT in variable
4034         declaration.
4035         (__libc_valloc): Likewise.
4036         (__libc_pvalloc): Likewise.
4037         (__libc_calloc): Likewise.
4038         (__posix_memalign): Likewise.
4040         [BZ #14996]
4041         * math/s_casinh.c: Include <float.h>.
4042         (__casinh): Do not do computation with squaring and square root
4043         for large arguments.
4044         * math/s_casinhf.c: Include <float.h>.
4045         (__casinhf): Do not do computation with squaring and square root
4046         for large arguments.
4047         * math/s_casinhl.c: Include <float.h>.
4048         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4049         (__casinhl): Do not do computation with squaring and square root
4050         for large arguments.
4051         * math/libm-test.inc (casin_test): Add more tests.
4052         (casinh_test): Likewise.
4053         * sysdeps/i386/fpu/libm-test-ulps: Update.
4054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4056 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
4058         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4059         (__x86_64_raw_data_cache_size): Likewise.
4060         (__x86_64_data_cache_size_half): Likewise.
4061         (__x86_64_raw_data_cache_size_half): Likewise.
4062         (__x86_64_shared_cache_size): Likewise.
4063         (__x86_64_raw_shared_cache_size): Likewise.
4064         (__x86_64_shared_cache_size_half): Likewise.
4065         (__x86_64_raw_shared_cache_size_half): Likewise.
4066         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4067         to ...
4068         (__x86_data_cache_size): This.
4069         (__x86_64_raw_data_cache_size): Renamed to ...
4070         (__x86_raw_data_cache_size): This.
4071         (__x86_64_data_cache_size_half): Renamed to ...
4072         (__x86_data_cache_size_half): This.
4073         (__x86_64_raw_data_cache_size_half): Renamed to ...
4074         (__x86_raw_data_cache_size_half): This.
4075         (__x86_64_shared_cache_size): Renamed to ...
4076         (__x86_shared_cache_size): This.
4077         (__x86_64_raw_shared_cache_size): Renamed to ...
4078         (__x86_raw_shared_cache_size): This.
4079         (__x86_64_shared_cache_size_half): Renamed to ...
4080         (__x86_shared_cache_size_half): This.
4081         (__x86_64_raw_shared_cache_size_half): Renamed to ...
4082         (__x86_raw_shared_cache_size_half): This.
4083         * sysdeps/x86_64/memcpy.S: Updated.
4084         * sysdeps/x86_64/memset.S: Likewise.
4085         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4086         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4087         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4089 2013-01-04  David S. Miller  <davem@davemloft.net>
4091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4093 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
4095         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4096         1 to avoid redefinition warning.
4097         (__USE_GNU): Don't define.
4098         (init_signaling_nan): Protoize.
4100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4102 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4104         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4105         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4106         (__cpymn): Likewise.
4107         (norm): Remove commented code.
4108         (denorm): Likewise.
4109         (__mp_dbl): Likewise.
4110         (__inv): Likewise.
4111         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4112         (__cpymn): Likewise.
4113         (norm): Remove commented code.
4114         (denorm): Likewise.
4115         (__mp_dbl): Likewise.
4116         (__inv): Likewise.
4118         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4119         mp_no value for 1.0 and 2.0.
4120         (norm): Use RADIXI instead of radixi.d.
4121         (denorm): Likewise.
4122         (__mul): Use 0.0 instead of zero.d.
4123         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4124         mp_no value for 1.0 and 2.0.
4125         (norm): Use RADIXI instead of radixi.d.
4126         (denorm): Likewise.
4127         (__mul): Use 0.0 instead of zero.d.
4129 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
4131         [BZ #14994]
4132         * math/s_casinh.c (__casinh): Reduce finite argument to first
4133         quadrant then set signs of results at the end.
4134         * math/s_casinhf.c (__casinhf): Likewise.
4135         * math/s_casinhl.c (__casinhl): Likewise.
4136         * math/libm-test.inc (casin_test): Add more tests.
4137         (casinh_test): Likewise.
4138         * sysdeps/i386/fpu/libm-test-ulps: Update.
4139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4141 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4143         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4145         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4147         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4148         declarations.
4149         (denorm): Likewise.
4150         (__mp_dbl): Likewise.
4151         (__inv): Likewise.
4153         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4154         and adjust the header comment.
4156         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4157         variable name from declaration.
4159 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
4161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4162         Initialize COMMON_CPUID_INDEX_7 element.
4163         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4164         (CPUID_RTM): Likewise.
4165         (HAS_RTM): Likewise.
4166         (COMMON_CPUID_INDEX_7): New enum.
4168 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
4170         [BZ #14981]
4171         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4172         size is zero, record memory as freed.
4174 2013-01-03  Andreas Jaeger  <aj@suse.de>
4176         * po/ia.po: Add new Interlingua translation.
4178 2012-01-03  Allan McRae  <allan@archlinux.org>
4180         * locale/programs/localedef.c: Fix description of '--posix' flag.
4182 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
4184         * NEWS: Update dates in second copyright notice.
4185         * README: Update copyright dates in example.
4186         * manual/libc.texinfo: Update copyright dates.
4187         * scripts/test-installation.pl: Update copyright date in --version
4188         output.
4190         * hurd/ctty-input.c: Fix copyright notice formatting.
4191         * hurd/ctty-output.c: Likewise.
4192         * hurd/dtable.c: Likewise.
4193         * hurd/hurd-raise.c: Likewise.
4194         * hurd/hurdprio.c: Likewise.
4195         * hurd/msgportdemux.c: Likewise.
4196         * misc/sys/file.h: Likewise.
4197         * misc/sys/ioctl.h: Likewise.
4198         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4199         * sysdeps/mach/hurd/chdir.c: Likewise.
4200         * sysdeps/mach/hurd/fchdir.c: Likewise.
4201         * sysdeps/mach/hurd/rename.c: Likewise.
4202         * sysdeps/mach/hurd/rmdir.c: Likewise.
4203         * sysdeps/mach/hurd/seekdir.c: Likewise.
4204         * sysdeps/mach/hurd/setsid.c: Likewise.
4205         * sysdeps/posix/wait3.c: Likewise.
4207         * All files with FSF copyright notices: Update copyright dates
4208         using scripts/update-copyrights.
4209         * intl/plural.c: Regenerated.
4210         * locale/programs/charmap-kw.h: Likewise.
4211         * locale/programs/locfile-kw.h: Likewise.
4213 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4215         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4216         four values.
4218         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4219         calculation loop and add branch prediction.
4221         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4222         check access beyond bounds of m1np.
4224         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4225         MPTWO.
4226         (__inv): Remove local variable MPTWO to use the global
4227         constant.
4228         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4229         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4230         variable MPTWO.
4231         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4232         MP3HALFS static const.
4234 2013-01-01  David S. Miller  <davem@davemloft.net>
4236         * po/ca.po: Update from translation team.
4238 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
4240         * scripts/update-copyrights: New file.
4241         * Makeconfig: Reformat copyright notice.
4242         * ctype/ctype.h: Likewise.
4243         * debug/swprintf_chk.c: Likewise.
4244         * elf/dl-cache.c: Likewise.
4245         * elf/dl-debug.c: Likewise.
4246         * elf/dl-object.c: Likewise.
4247         * grp/initgroups.c: Likewise.
4248         * hurd/Makefile: Likewise.
4249         * hurd/hurd/signal.h: Likewise.
4250         * hurd/hurdfault.c: Likewise.
4251         * hurd/hurdioctl.c: Likewise.
4252         * hurd/hurdlookup.c: Likewise.
4253         * hurd/intr-msg.c: Likewise.
4254         * iconv/gconv_open.c: Likewise.
4255         * libio/swprintf.c: Likewise.
4256         * locale/lc-ctype.c: Likewise.
4257         * locale/nl_langinfo.c: Likewise.
4258         * mach/Machrules: Likewise.
4259         * mach/Makefile: Likewise.
4260         * malloc/obstack.h: Likewise.
4261         * manual/Makefile: Likewise.
4262         * manual/tsort.awk: Likewise.
4263         * misc/bits/stab.def: Likewise.
4264         * nis/nis_print_group_entry.c: Likewise.
4265         * nis/nis_table.c: Likewise.
4266         * nis/nss_compat/compat-pwd.c: Likewise.
4267         * nis/nss_compat/compat-spwd.c: Likewise.
4268         * po/Makefile: Likewise.
4269         * posix/fnmatch.c: Likewise.
4270         * posix/regex.h: Likewise.
4271         * resolv/Makefile: Likewise.
4272         * resolv/nss_dns/dns-network.c: Likewise.
4273         * resolv/res_hconf.c: Likewise.
4274         * scripts/gen-sorted.awk: Likewise.
4275         * soft-fp/soft-fp.h: Likewise.
4276         * stdio-common/printf.h: Likewise.
4277         * stdlib/monetary.h: Likewise.
4278         * stdlib/random.c: Likewise.
4279         * stdlib/random_r.c: Likewise.
4280         * sysdeps/generic/Makefile: Likewise.
4281         * sysdeps/gnu/Makefile: Likewise.
4282         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4283         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4284         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4285         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4286         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4287         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4288         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4289         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4290         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4291         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4292         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4293         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4294         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4295         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4296         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4297         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4298         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4299         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4300         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4301         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4302         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4303         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4304         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4305         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4306         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4307         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4308         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4309         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4310         * sysdeps/mach/hurd/errnos.awk: Likewise.
4311         * sysdeps/mach/hurd/fork.c: Likewise.
4312         * sysdeps/mach/hurd/getcwd.c: Likewise.
4313         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4314         * sysdeps/mach/hurd/mmap.c: Likewise.
4315         * sysdeps/mach/hurd/utimes.c: Likewise.
4316         * sysdeps/mach/hurd/xmknod.c: Likewise.
4317         * sysdeps/posix/profil.c: Likewise.
4318         * sysdeps/posix/readdir_r.c: Likewise.
4319         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4320         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4321         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4322         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4323         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4324         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4325         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4326         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4328         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4329         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4330         * sysdeps/pthread/lio_listio.c: Likewise.
4331         * sysdeps/sparc/dl-procinfo.h: Likewise.
4332         * sysdeps/unix/i386/sysdep.S: Likewise.
4333         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4334         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4335         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4336         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4338         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4339         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4340         * sysdeps/unix/sysv/linux/speed.c: Likewise.
4341         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4342         * sysdeps/wordsize-32/divdi3.c: Likewise.
4343         * time/sys/time.h: Likewise.
4344         * wcsmbs/Makefile: Likewise.
4346 2013-01-01  David S. Miller  <davem@davemloft.net>
4348         * po/fr.po: Update from translation team.
4350         * catgets/gencat.c: Update copyright year.
4351         * csu/version.c: Likewise.
4352         * debug/catchsegv.sh: Likewise.
4353         * debug/pcprofiledump.c: Likewise.
4354         * debug/xtrace.sh: Likewise.
4355         * elf/ldconfig.c: Likewise.
4356         * elf/ldd.bash.in: Likewise.
4357         * elf/pldd.c: Likewise.
4358         * elf/sotruss.ksh: Likewise.
4359         * elf/sprof.c: Likewise.
4360         * iconv/iconv_prog.c: Likewise.
4361         * iconv/iconvconfig.c: Likewise.
4362         * locale/programs/locale.c: Likewise.
4363         * locale/programs/localedef.c: Likewise.
4364         * login/programs/pt_chown.c: Likewise.
4365         * malloc/memusage.sh: Likewise.
4366         * malloc/memusagestat.c: Likewise.
4367         * malloc/mtrace.pl: Likewise.
4368         * nscd/nscd.c: Likewise.
4369         * nss/getent.c: Likewise.
4370         * nss/makedb.c: Likewise.
4371         * posix/getconf.c: Likewise.
4373 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4375         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4376         numbers.
4378 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
4380         * math/bits/mathcalls.h (modf): Use __nonnull.
4382 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4384         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4385         (split): Use macro CN instead of the bare value.
4386         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4387         could be used.
4388         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4389         instead of the bare value.
4390         (power1): Likewise.
4392 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4394         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4395         __ATAN_TWOM.
4396         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4398         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4399         their values.
4400         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4401         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4402         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4403         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4405 2012-12-28  Andreas Jaeger  <aj@suse.de>
4407         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
4408         values are from Linux 3.7.
4410         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4411         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
4413 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4415         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4416         TRUE case.
4418         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4419         (norm): Likewise.
4420         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4421         variables with preprocessor constants.
4422         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4423         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4424         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4426 2012-12-27  Bruno Haible  <bruno@clisp.org>
4428         [BZ #14317]
4429         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4430         only if needed.
4432 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4434         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4435         and use variable directly.
4436         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4438         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4439         MPONE.
4440         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4441         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4442         variable MPONE.
4443         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4444         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4445         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4446         include directive.  Remove local variable MPONE.
4447         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4448         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4449         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4451 2012-12-25  David S. Miller  <davem@davemloft.net>
4453         * version.h (RELEASE): Set to "development".
4454         (VERSION): Set to "2.17.90".
4455         * NEWS: Add 2.18 section.
4457 2012-12-21  David S. Miller  <davem@davemloft.net>
4459         * po/hr.po: Update from translation team.
4461 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4463         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4465 2012-12-19  Steve Ellcey  <sellcey@mips.com>
4467         * NEWS:  Mention new memcpy for MIPS.
4469 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4471         * manual/contrib.texi (Contributors): Spelling correction.
4473 2012-12-15  David S. Miller  <davem@davemloft.net>
4475         * po/ru.po: Update from translation team.
4477 2012-12-13  David S. Miller  <davem@davemloft.net>
4479         * NEWS: Mention IFUNC testsuite enhancements.
4481         * po/pl.po: Update from translation team.
4482         * po/bg.po: Likewise.
4484         * manual/contrib.texi (Contributors): Update entries for Hongjiu
4485         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
4487 2012-12-11  David S. Miller  <davem@davemloft.net>
4489         * po/sv.po: Update from translation team.
4491         * po/vi.po: Update from translation team.
4493         * po/cs.po: Update from translation team.
4495         * po/de.po: Update from translation team.
4496         * po/eo.po: Likewise.
4497         * po/nl.po: Likewise.
4499 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4501         [BZ #14246]
4502         * manual/argp.texi (Argp Helper Functions): Move node to follow
4503         Argp Parsing State.
4505         [BZ #14872]
4506         * manual/conf.texi (Limits on File System Capacity): Mention if
4507         terminating null is included in the max size.
4509 2012-12-10  Andreas Jaeger  <aj@suse.de>
4511         * po/cs.po: Update from translation team.
4513 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4515         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4516         void pointer and cast to uintptr_t.
4517         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4518         path.
4519         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4520         * sysdeps/s390/s390-64/memset.S: Likewise.
4522 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
4524         [BZ #14833]
4525         * menual/message.texi (Message Translation): Fix typos.
4526         (Helper programs for gettext): Likewise.
4528 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
4530         [BZ #14898]
4531         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4532         Change to -1.
4534 2012-12-07  David S. Miller  <davem@davemloft.net>
4536         * po/libc.pot: Update.
4538 2012-12-07  Richard Henderson  <rth@redhat.com>
4540         [BZ #10114]
4541         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4542         normal/normal case to before the switch.
4543         (_FP_DIV): Likewise.
4545 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
4546             Mike Frysinger  <vapier@gentoo.org>
4548         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4549         check for __NR_fadvise64_64.
4551 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
4553         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4554         0, not just to plain "0" as a statement.
4555         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4556         with cw.
4558 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
4560         * NEWS: Use sourceware.org in Bugzilla URL.
4562 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4565         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4567         * stdio-common/tst-put-error.c (do_test): Add newline to the
4568         padded test to ensure flush.
4570 2012-12-05  Jeff Law  <law@redhat.com>
4572         * sunrpc/etc.rpc (fedfs_admin): Add entry.
4574 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
4576         * README: Don't refer to ports add-on as distributed separately.
4577         Mention AArch64 in list of systems supported in the ports add-on.
4579         * LICENSES: Add more non-FSF copyright and license notices.
4581         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4582         ((unused)).
4584         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4586         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4587         10000 as width of padded output.
4589 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4591         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4593         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4594         variable LX with __attribute__ ((unused)).
4595         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4596         Likewise.
4597         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4598         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4599         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4600         with __attribute__ ((unused)).
4602 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
4604         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4606 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4608         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4609         (CFLAGS-nldbl-acos.c): New variable.
4610         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4611         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4612         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4613         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4614         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4615         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4616         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4617         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4618         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4619         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4620         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4621         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4622         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4623         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4624         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4625         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4626         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4627         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4628         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4629         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4630         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4631         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4632         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4633         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4634         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4635         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4636         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4637         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4638         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4639         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4640         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4641         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4642         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4643         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4644         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4645         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4646         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4647         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4648         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4649         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4650         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4651         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4652         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4653         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4654         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4655         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4656         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4657         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4658         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4659         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4660         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4661         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4662         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4663         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4664         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4665         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4666         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4667         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4668         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4669         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4670         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4671         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4672         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4673         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4674         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4675         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4676         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4677         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4678         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4679         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4680         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4681         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4682         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4683         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4684         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4685         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4686         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4687         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4688         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4689         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4690         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4691         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4692         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4693         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4694         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4695         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4696         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4697         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4698         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4699         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4700         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4701         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4702         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4703         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4704         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4705         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4706         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4709         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4711         [BZ #14914]
4712         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4713         whole low double instead of just low 47 bits when splitting values
4714         into two parts.
4716 2012-12-03  Allan McRae  <allan@archlinux.org>
4718         * manual/stdio.texi (Predefined Printf Handlers): Remove
4719         @hsep and @vsep usage.
4721 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
4723         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4724         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4726 2012-12-03  Jeff Law  <law@redhat.com>
4728         * time/sys/time.h (settimeofday): Do not mark TV argument
4729         as __nonnull.
4731 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
4733         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4734         when currently writing and seek to current position when not.
4735         * libio/Makefile (tests): Remove bug-fclose1.
4736         * libio/bug-fclose1.c: Delete.
4738 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
4740         * manual/arith.texi (feenableexcept): Fix typo.
4741         (fedisableexcept): Likewise.
4743 2012-11-30  Roland McGrath  <roland@hack.frob.com>
4745         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4746         second, differently-typed declaration, rather than a cast.
4748 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4750         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4751         * include/rpc/svc.h: ... here.
4753 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
4755         [BZ #13013]
4756         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4757         depending n and resplen2 to catch cases where answer
4758         equals answerp2.
4760 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
4762         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4763         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4765 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
4767         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4769 2012-11-29  Roland McGrath  <roland@hack.frob.com>
4771         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4773 2012-11-28  Jeff Law  <law@redhat.com>
4775         [BZ #13761]
4776         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4777         dataset_temporary.  Track alloca usage into alloca_used.
4778         If dataset is large allocate and release it via malloc/free.
4780 2012-06-04  Florian Weimer  <fweimer@redhat.com>
4782         [BZ #14197]
4783         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4785 2012-11-28  David S. Miller  <davem@davemloft.net>
4787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4789 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4791         [BZ #14803]
4792         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4793         of pi/2 rounded to nearest to 64 bits.
4794         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4795         nearest to 64 bits.
4796         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4797         bits.
4799 2012-11-28  Jeff Law <law@redhat.com>
4800             Martin Osvald <mosvald@redhat.com>
4802         [BZ #14889]
4803         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4804         * sunrpc/svc.c: Include time.h.
4805         (__svc_accept_failed): New function.
4806         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4807         any reason other than EINTR, call __svc_accept_failed.
4808         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4809         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4811 2012-11-28  Andreas Schwab  <schwab@suse.de>
4813         * scripts/abilist.awk: Also handle indirect functions in .opd
4814         section.
4816 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4818         [BZ #13881]
4819         * sysdeps/x86/fpu/powl_helper.c: New file.
4820         * sysdeps/x86/fpu/Makefile: Likewise.
4821         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4822         (p3): New object.
4823         (__ieee754_powl): Use __powl_helper for finite arguments except
4824         integer exponents below 8.
4825         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4826         (p3): New object.
4827         (__ieee754_powl): Use __powl_helper for finite arguments except
4828         integer exponents below 8.
4829         * math/libm-test.inc (pow_test): Add more tests and enable some
4830         previously disabled tests.
4831         * sysdeps/i386/fpu/libm-test-ulps: Update.
4832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4834 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4835             Carlos O'Donell  <carlos_odonell@mentor.com>
4837         * nss/makedb.c (is_prime): Assert that input is odd and greater
4838         than 4.  Note that fact in a comment too.
4839         (next_prime): Add 4 to input.
4841 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4843         [BZ #11741]
4844         * libio/Makefile (tests): Add test case tst-fwrite-error.
4845         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4846         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4847         * libio/tst-fwrite-error.c: New test case.
4849 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
4851         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4852         before casting to void *.
4853         * include/libc-internal.h (__pointer_type): New macro.
4854         (__integer_if_pointer_type_sub): Likewise.
4855         (__integer_if_pointer_type): Likewise.
4856         (cast_to_integer): Likewise.
4857         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4858         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4859         before casting to atomic64_t.
4860         (atomic_exchange_acq): Likewise.
4861         (__arch_exchange_and_add_body): Likewise.
4862         (__arch_add_body): Likewise.
4863         (atomic_add_negative): Likewise.
4864         (atomic_add_zero): Likewise.
4866 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
4868         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4869         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4870         (add_fdes): Likewise.
4871         (linear_search_fdes): Likewise.
4872         (binary_search_unencoded_fdes): Likewise.
4874 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
4876         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4878 2012-11-24  Adam Conrad  <adconrad@0c3.net>
4880         * configure.in: Autodetect C++ header directories.
4881         * configure: Regenerated.
4883 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
4885         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4887 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
4889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4891 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
4893         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4894         LDBL_MANT_DIG == 106]: Disable some tests.
4895         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4896         Likewise.
4897         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4898         Likewise.
4900         [BZ #14871]
4901         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4902         input for small inputs.  Return +/- pi/2 for large inputs.
4903         * math/libm-test.inc (atan_test): Add more tests.
4905         * sysdeps/generic/unwind-dw2-fde-glibc.c
4906         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4907         __attribute__ ((unused)).
4909         [BZ #14645]
4910         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4911         x * y if x and y are nonzero and z is zero.
4913         [BZ #14811]
4914         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4915         nonzero exponents with absolute value below 0x1p-117 to +/-
4916         0x1p-117.
4918         [BZ #14869]
4919         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4920         up arguments below 2**-450, not just those below 2**-500.
4921         * math/libm-test.inc (hypot_test): Add another test.
4923         [BZ #14868]
4924         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4925         Return a+b for ratio over 2**120, not 2**60.
4926         * math/libm-test.inc (hypot_test): Add another test.
4928         * math/libm-test.inc (clog_test): Use
4929         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4930         (clog10_test): Likewise.
4932         [BZ #6778]
4933         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4935 2012-11-22  Andreas Schwab  <schwab@suse.de>
4937         * sysdeps/i386/fpu/libm-test-ulps: Update.
4939 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
4941         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4942         printf output with newline.
4944 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
4946         [BZ #14865]
4947         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4948         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4949         -z nodlopen, -z initfirst and -z execstack support.
4950         * configure: Regenerated.
4952         * elf/elf.h (DF_1_NODIRECT): New macro.
4953         (DF_1_IGNMULDEF): Likewise.
4954         (DF_1_NOKSYMS): Likewise.
4955         (DF_1_NOHDR): Likewise.
4956         (DF_1_EDITED): Likewise.
4957         (DF_1_NORELOC): Likewise.
4958         (DF_1_SYMINTPOSE): Likewise.
4959         (DF_1_GLOBAUDIT): Likewise.
4960         (DF_1_SINGLETON): Likewise.
4961         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4962         DT_1_SUPPORTED_MASK bits.
4963         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4965 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
4967         * sysdeps/unix/make-syscalls.sh: Document prefixes.
4969 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
4971         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4972         macro.
4974         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4975         (sendmmsg): Move declarations...
4976         * socket/sys/socket.h: ... here.
4977         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4978         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4979         include it from...
4980         * socket/recvmmsg.c: ... this new file.
4981         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4982         (sendmmsg): Rename to __sendmmsg, create weak alias and make
4983         definition of __sendmmsg hidden.
4984         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4985         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4986         Move ENOSYS stub into and include it from...
4987         * socket/sendmmsg.c: ... this new file.
4988         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4989         (sysdep_routines): Move recvmmsg and sendmmsg...
4990         * socket/Makefile (routines): ... here.
4991         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4992         (GLIBC_PRIVATE): Add __sendmmsg.
4993         * include/sys/socket.h (__sendmmsg): Add declarations.
4994         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4995         sendmmsg.
4997 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
4999         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5000         variable I1 with __attribute__ ((unused)).
5001         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5003 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5005         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5006         DUMMY variables with __attribute__ ((unused)).
5008         * bits/byteswap.h: Include <bits/types.h>.
5009         (__bswap_64): Use __uint64_t instead of unsigned long long int.
5011 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5013         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5014         string_t.  Do not manually set errno.
5015         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5016         length with __strnlen.  Make sure to both set errno and return it on
5017         failure.
5019 2012-11-19  David S. Miller  <davem@davemloft.net>
5021         With help from Joseph Myers.
5022         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5023         very large arguments properly.
5024         * math/libm-test.inc (atan_test): New tests.
5025         (atan2_test): New tests.
5026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5027         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5029 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5031         [BZ #14856]
5032         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5033         Define to 3.
5035         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5036         [POSIX] (EADDRNOTAVAIL): Likewise.
5037         [POSIX] (EAFNOSUPPORT): Likewise.
5038         [POSIX] (EALREADY): Likewise.
5039         [POSIX] (ECONNABORTED): Likewise.
5040         [POSIX] (ECONNREFUSED): Likewise.
5041         [POSIX] (ECONNRESET): Likewise.
5042         [POSIX] (EDESTADDRREQ): Likewise.
5043         [POSIX] (EDQUOT): Likewise.
5044         [POSIX] (EHOSTUNREACH): Likewise.
5045         [POSIX] (EIDRM): Likewise.
5046         [POSIX] (EISCONN): Likewise.
5047         [POSIX] (ELOOP): Likewise.
5048         [POSIX] (EMULTIHOP): Likewise.
5049         [POSIX] (ENETDOWN): Likewise.
5050         [POSIX] (ENETUNREACH): Likewise.
5051         [POSIX] (ENOBUFS): Likewise.
5052         [POSIX] (ENODATA): Likewise.
5053         [POSIX] (ENOLINK): Likewise.
5054         [POSIX] (ENOMSG): Likewise.
5055         [POSIX] (ENOPROTOOPT): Likewise.
5056         [POSIX] (ENOSR): Likewise.
5057         [POSIX] (ENOSTR): Likewise.
5058         [POSIX] (ENOTCONN): Likewise.
5059         [POSIX] (ENOTSOCK): Likewise.
5060         [POSIX] (EOPNOTSUPP): Likewise.
5061         [POSIX] (EOVERFLOW): Likewise.
5062         [POSIX] (EPROTO): Likewise.
5063         [POSIX] (EPROTONOSUPPORT): Likewise.
5064         [POSIX] (EPROTOTYPE): Likewise.
5065         [POSIX] (ESTALE): Likewise.
5066         [POSIX] (ETIME): Likewise.
5067         [POSIX] (ETXTBSY): Likewise.
5068         [POSIX] (EWOULDBLOCK): Likewise.
5069         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5070         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5071         [POSIX] (SEEK_CUR): Likewise.
5072         [POSIX] (SEEK_END): Likewise.
5073         [POSIX || UNIX98] (mode_t): Do not require.
5074         [POSIX] (off_t): Likewise.
5075         [POSIX] (pid_t): Likewise.
5076         [POSIX] (sys/stat.h): Do not allow header.
5077         [POSIX] (unistd.h): Likewise.
5078         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5079         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5080         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5081         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5082         require.
5083         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5084         sigevent): Specify elements.
5085         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5086         entry.
5087         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5088         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5090         * conform/data/cpio.h-data [POSIX]: Disable whole file.
5091         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5092         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5093         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5094         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5095         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5096         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5097         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5098         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5099         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5100         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5101         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5102         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5103         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5104         Likewise.
5105         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5106         Likewise.
5107         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5108         Likewise.
5109         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5110         Likewise.
5111         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5112         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5113         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5114         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5115         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5116         Specify lower bound on value.
5117         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5118         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5119         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5120         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5121         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5122         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5123         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5124         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5125         value.
5126         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5127         as optional.
5128         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5129         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5130         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5131         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5132         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5133         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5134         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5135         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5136         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5137         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5138         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5139         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5140         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5141         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5142         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5143         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5144         entry.
5145         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5146         optional.
5147         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5148         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5149         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5150         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5151         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5152         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5153         Likewise.
5154         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5155         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5156         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5157         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5158         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
5159         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5160         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5161         as optional.
5162         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5163         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5164         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5165         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5166         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5167         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5168         specify as optional.
5169         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5170         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5171         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5172         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5173         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5174         [XPG3] (NL_LANGMAX): Likewise.
5175         [POSIX || XPG3] (NL_MSGMAX): Likewise.
5176         [POSIX || XPG3] (NL_NMAX): Likewise.
5177         [POSIX || XPG3] (NL_SETMAX): Likewise.
5178         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5179         [XPG3] (NZERO): Likewise.
5180         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5181         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5182         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5183         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5184         (REG_ERANGE): Expect.
5185         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5186         optional-constant.
5187         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5188         Use (void) in prototype.
5189         [POSIX] (*_t): Allow.
5190         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5191         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5192         (WRDE_BADVAL): Expect.
5194         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5195         expect.
5196         [XPG3 || XPG4] (O_RSYNC): Likewise.
5197         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5198         Likewise.
5199         [XPG3 || XPG4] (pthread_sigmask): Likewise.
5200         [XPG3 || XPG4] (sigqueue): Likewise.
5201         [XPG3 || XPG4] (sigtimedwait): Likewise.
5202         [XPG3 || XPG4] (sigwaitinfo): Likewise.
5203         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5204         [XPG3 || XPG4] (vsnprintf): Likewise.
5205         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5206         Likewise.
5207         [XPG3 || XPG4] (blksize_t): Likewise.
5208         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5209         Likewise.
5210         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5211         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5212         [XPG3 || XPG4] (struct itimerspec): Likewise.
5213         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5214         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5215         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5216         [XPG3 || XPG4] (clockid_t): Likewise.
5217         [XPG3 || XPG4] (timer_t): Likewise.
5218         [XPG3 || XPG4] (clock_getres): Likewise.
5219         [XPG3 || XPG4] (clock_gettime): Likewise.
5220         [XPG3 || XPG4] (clock_settime): Likewise.
5221         [XPG3 || XPG4] (nanosleep): Likewise.
5222         [XPG3 || XPG4] (timer_create): Likewise.
5223         [XPG3 || XPG4] (timer_delete): Likewise.
5224         [XPG3 || XPG4] (timer_gettime): Likewise.
5225         [XPG3 || XPG4] (timer_getoverrun): Likewise.
5226         [XPG3 || XPG4] (timer_settime): Likewise.
5227         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5228         [XPG3 || XPG4] (getlogin_r): Likewise.
5229         [XPG3 || XPG4] (pread): Likewise.
5230         [XPG3 || XPG4] (pthread_atfork): Likewise.
5231         [XPG3 || XPG4] (pwrite): Likewise.
5233         [BZ #14835]
5234         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5235         <bits/siginfo.h>.
5237 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5239         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5240         finalizing MALLSTREAM.
5242         * sysdeps/mach/hurd/syncfs.c: New file.
5244 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5246         [BZ #14719]
5247         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5248         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5249         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5250         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5251         (_nss_dns_gethostbyname4_r): Likewise.
5252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5253         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5255 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
5257         [BZ #13763]
5258         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5260 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
5262         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5263         * elf/cache.c (print_entry): Print ",AArch64" for
5264         FLAG_AARCH64_LIB64
5266         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5267         * elf/cache.c (print_entry): Print ",hard-float" for
5268         FLAG_ARM_LIBHF.
5270 2012-11-18  David S. Miller  <davem@davemloft.net>
5272         With help from Joseph Myers.
5273         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5274         cutoff to 2**-13.
5275         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5276         cutoff to 2**-25.
5277         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5278         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5279         small.
5280         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5281         * math/libm-test.inc (y0_test): New tests.
5282         (y1_test): New tests.
5283         * sysdeps/i386/fpu/libm-test-ulps: Update.
5284         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5287 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
5289         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5290         64-bit targets.
5291         * configure: Regenerated.
5293 2012-11-17  David S. Miller  <davem@davemloft.net>
5295         [BZ #14811]
5296         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5297         nonzero exponents with absolute value below 0x1p-128 to +/-
5298         0x1p-128.
5300 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
5302         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5304         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5306         * posix/getconf-speclist.c: New file.
5307         * posix/posix-envs.def: Likewise.
5308         * posix/confstr.c (START_ENV_GROUP): New macro.
5309         (END_ENV_GROUP): Likewise.
5310         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5311         (KNOWN_PRESENT_ENV_STRING): Likewise.
5312         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5313         (UNKNOWN_ENVIRONMENT): Likewise.
5314         (confstr): Include posix-envs.def instead of handling
5315         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5316         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5317         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5318         (END_ENV_GROUP): Likewise.
5319         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5320         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5321         (UNKNOWN_ENVIRONMENT): Likewise.
5322         (__sysconf): Include posix-envs.def instead of handling associated
5323         cases directly here.
5324         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5325         preprocessing getconf-speclist.c rather than running getconf or
5326         generating empty file.
5328 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
5330         * scripts/check-local-headers.sh: Ignore 'mach' headers.
5332 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
5334         [BZ #14672]
5335         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5337 2012-11-16  David S. Miller  <davem@davemloft.net>
5339         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5340         smaller than LDBL_EPSILON/2.0L, just return xm1.
5342 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
5344         * elf/tst-array1.c (init): Set constructor priority to 1000.
5345         (fini): Set destructor priority to 1000.
5346         * elf/tst-array2dep.c: Likewise.
5348 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5350         [BZ #11741]
5351         * libio/fileops.c (_IO_new_file_write): Correctly return error.
5352         (_IO_new_file_xsputn): Also return EOF if none of the input
5353         data was written when overflow failed.
5354         * libio/iopadn.c (_IO_padn): Likewise.
5355         * libio/iowpadn.c (_IO_wpadn): Likewise.
5356         * stdio-common/tst-put-error.c: Add copyright notice.
5357         (do_test): Add case for printing padded string.
5358         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5359         _IO_padn returned error.
5360         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5361         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5362         return EOF.
5364 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5366         * libio/libioP.h: Add comment note that the references to C++
5367         bits are now obsolete.
5369 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5371         * math/libm-test.inc (check_complex): Use asprintf.
5373 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
5375         * debug/pcprofiledump.c (print_version): Update copyright year.
5376         * malloc/memusagestat.c (print_version): Likewise.
5378 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5380         [BZ #14831]
5381         * elf/Makefile (tests): Add tst-audit8.
5382         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5383         ($(objpfx)tst-audit8.out): New target.
5384         (tst-audit8-ENV): New variable.
5385         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5386         audit if l_reloc_result is NULL.
5387         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5388         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5389         * elf/tst-audit8.c: New file.
5391 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5393         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5394         * misc/Makefile (CFLAGS-select.c): Define.
5395         * posix/Makefile (CFLAGS-pause.c): Define.
5397 2012-11-13  David S. Miller  <davem@davemloft.net>
5399         * crypt/Makefile: Move test targets after toplevel Rules
5400         inclusion.  Grab any necessary sysdep routines when linking.
5401         * crypt/md5.c (md5_process_block): Remove define, we will always
5402         name it __md5_process_block.
5403         (md5_finish_ctx): Update md5_process_block call.
5404         (md5_stream): Likewise.
5405         (md5_process_bytes): Likewise.
5406         (md5_process_block): Rename to __md5_process_block and move to ...
5407         * crypt/md5-block.c: ... here.
5408         * crypt/sha256.c (sha256_process_block): Move to ...
5409         * crypt/sha256-block.c: ... here.
5410         * crypt/sha512.c (sha512_process_block): Move to ...
5411         * crypt/sha512-block.c: ... here.
5412         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5413         path.
5414         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5415         * sysdeps/sparc/sparc64/multiarch/Makefile
5416         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5417         crypt subdir.
5418         (localedef-aux): Add md5 crypto assembler when in locale subdir.
5419         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5420         multiarch changes.
5421         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5422         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5423         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5424         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5425         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5426         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5427         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5428         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5429         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5430         file.
5431         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5432         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5433         file.
5434         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5436 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
5438         * timezone/tzselect.ksh: Update from tzcode git revision
5439         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5440         * timezone/zdump.c: Likewise.
5441         * timezone/zic.c: Likewise.
5442         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5443         in TZVERSION setting, not $(PKGVERSION).
5444         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
5445         REPORT_BUGS_TO settings.
5447         [BZ #14838]
5448         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5449         macro.
5451 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5453         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5454         detection to immediately after _FP_ROUND().
5455         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5456         bits are 0.
5458 2012-11-11  David S. Miller  <davem@davemloft.net>
5460         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5461         inttypes.h
5462         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5463         __close rather than their public counterparts.
5465 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
5467         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5468         file.
5469         [UNIX98] (sem_timedwait): Do not expect.
5470         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5471         [XPG4 || UNIX98] (sockatmark): Do not expect.
5472         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5473         (clock_getcpuclockid): Do not expect.
5474         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5475         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5476         Do not expect.
5477         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5478         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5479         [UNIX98] (vwscanf): Likewise.
5480         [UNIX98] (vswscanf): Likewise.
5482 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
5484         * timezone/version.h: Remove file.
5485         * timezone/README: Do not refer to version.h.
5486         * timezone/Makefile ($(objpfx)zic.o): New dependency on
5487         $(objpfx)version.h.
5488         ($(objpfx)zdump.o): Likewise.
5489         ($(objpfx)version.h): New target.
5491         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5492         2012i.
5493         * timezone/README: Don't mention modification to tzselect.ksh.
5494         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5495         work on unmodified tzselect.ksh.  Substitute version numbers in
5496         tzselect.ksh.
5498         * Makefile (format-me): Remove.
5499         (INSTALL): Adjust indentation.  Use commands directly instead of
5500         using $(format-me).
5502         * aclocal.m4 (ACX_PKGVERSION): New macro.
5503         (ACX_BUGURL): Likewise.
5504         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5505         (PKGVERSION): New AC_DEFINE_UNQUOTED.
5506         (REPORT_BUGS_TO): Likewise.
5507         * configure: Regenerated.
5508         * config.h.in (PKGVERSION): New macro.
5509         (REPORT_BUGS_TO): Likewise.
5510         * config.make.in (PKGVERSION): New variable.
5511         (PKGVERSION_TEXI): Likewise.
5512         (REPORT_BUGS_TO): Likewise.
5513         (REPORT_BUGS_TEXI): Likewise.
5514         * Makefile (format-me): Use -I$(common-objpfx)manual.
5515         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5516         ($(common-objpfx)manual/%): New target.
5517         (manual/%): Remove target.
5518         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5519         (print_version): Use PKGVERSION.
5520         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5521         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5522         and REPORT_BUGS_TO.
5523         ($(objpfx)xtrace): Likewise.
5524         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5525         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5526         (print_version): Use PKGVERSION.
5527         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5528         (do_version): Use PKGVERSION.
5529         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5530         REPORT_BUGS_TO.
5531         (common-ldd-rewrite): Likewise.
5532         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5533         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5534         (print_version): Use PKGVERSION.
5535         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5536         * elf/pldd.c (argp_program_bug_address): Remove variable.
5537         (more_help): New function.
5538         (argp): Use more_help.
5539         (print_version): Use PKGVERSION.
5540         * elf/sln.c (main): Use PKGVERSION.
5541         (usage): Use REPORT_BUGS_TO.
5542         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5543         (top level): Use PKGVERSION.
5544         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5545         (print_version): Use PKGVERSION.
5546         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5547         (print_version): Use PKGVERSION.
5548         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5549         (print_version): Use PKGVERSION.
5550         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5551         (print_version): Use PKGVERSION.
5552         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5553         (print_version): Use PKGVERSION.
5554         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5555         (print_version): Use PKGVERSION.
5556         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5557         and BUGURL.
5558         ($(objpfx)memusage): Likewise.
5559         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5560         (do_version): Use PKGVERSION.
5561         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5562         (print_version): Use PKGVERSION.
5563         * malloc/mtrace.pl ($PACKAGE): Remove variable.
5564         ($PKGVERSION): New variable.
5565         ($REPORT_BUGS_TO): Likewise.
5566         (usage): Use $REPORT_BUGS_TO.
5567         (top level): Use $PKGVERSION.
5568         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5569         ($(objpfx)pkgvers.texi): New rule.
5570         ($(objpfx)stamp-pkgvers): Likewise.
5571         * manual/install.texi: Include pkgvers.texi.
5572         (--with-pkgversion): Document new configure option.
5573         (--with-bugurl): Likewise.
5574         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5575         than necessarily for this particular distribution.  Use
5576         REPORT_BUGS_TO for where to report bugs.
5577         * INSTALL: Regenerated.
5578         * manual/libc.texinfo: Include pkgvers.texi.
5579         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5580         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5581         (print_version): Use PKGVERSION.
5582         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5583         (print_version): Use PKGVERSION.
5584         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5585         (print_version): Use PKGVERSION.
5586         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5587         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5588         macro.
5589         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5590         (print_version): Use PKGVERSION.
5591         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5592         (print_version): Use PKGVERSION.
5593         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5594         and PKGVERSION.
5596         * timezone/checktab.awk: Update from tzcode 2012i.
5597         * timezone/ialloc.c: Likewise.
5598         * timezone/private.h: Likewise.
5599         * timezone/scheck.c: Likewise.
5600         * timezone/tzfile.h: Likewise.
5601         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5602         (TZVERSION): Hardcode tzcode version number.
5603         * timezone/zdump.c: Update from tzcode 2012i.
5604         * timezone/zic.c: Likewise.
5605         * timezone/version.h: New file.
5606         * timezone/README: Describe version.h.  Update upstream location.
5608         [BZ #14824]
5609         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5610         (mktemp): Enable declaration.
5611         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5612         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5613         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5614         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5615         Likewise.
5616         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5617         Likewise.
5618         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5619         Likewise.
5620         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5621         Likewise.
5622         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5623         Likewise.
5624         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5625         Likewise.
5627         [BZ #14821]
5628         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5629         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
5630         for copies of such integer values.
5631         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5632         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5634 2012-11-09  Andreas Jaeger  <aj@suse.de>
5636         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5637         definitions and declarations that are provided by
5638         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5640 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5642         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5643         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5644         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5645         definition.
5647 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5649         * elf/elf.h: Update comment before AArch64 relocations.
5651 2012-11-07  David S. Miller  <davem@davemloft.net>
5653         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5654         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5655         (__start_context): Declare.
5656         (__makecontext_ret): Delete.
5657         (__makecontext): Hook up __start_context instead of
5658         __makecontext_ret.
5659         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5660         (sysdep_routines): Add __start_context when in stdlib.
5662 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5664         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5665         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5666         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
5667         hardcoded "nm".
5668         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
5669         (READELF): New variable.  Use it instead of hardcoded "readelf".
5671 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5673         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5674         * sysdeps/x86/Makefile: Here.
5675         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5676         * sysdeps/x86/tst-xmmymm.sh: This.
5678 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5680         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5681         expectations.
5682         [UNIX98] (pthread_barrier_t): Do not expect.
5683         [UNIX98] (pthread_barrierattr_t): Likewise.
5684         [UNIX98] (pthread_spinlock_t): Likewise.
5685         [UNIX98] (pthread_barrier_destroy): Likewise.
5686         [UNIX98] (pthread_barrier_init): Likewise.
5687         [UNIX98] (pthread_barrier_wait): Likewise.
5688         [UNIX98] (pthread_barrierattr_destroy): Likewise.
5689         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5690         [UNIX98] (pthread_barrierattr_init): Likewise.
5691         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5692         [UNIX98] (pthread_getcpuclockid): Likewise.
5693         [UNIX98] (pthread_mutex_timedlock): Likewise.
5694         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5695         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5696         [UNIX98] (pthread_sigmask): Likewise.
5697         [UNIX98] (pthread_spin_destroy): Likewise.
5698         [UNIX98] (pthread_spin_init): Likewise.
5699         [UNIX98] (pthread_spin_lock): Likewise.
5700         [UNIX98] (pthread_spin_trylock): Likewise.
5701         [UNIX98] (pthread_spin_unlock): Likewise.
5702         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5703         Do not expect.
5704         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5705         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5706         [XPG3 || XPG4] (pthread_cond_t): Likewise.
5707         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5708         [XPG3 || XPG4] (pthread_key_t): Likewise.
5709         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5710         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5711         [XPG3 || XPG4] (pthread_once_t): Likewise.
5712         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5713         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5714         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5715         [XPG3 || XPG4] (pthread_t): Likewise.
5717         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5718         not expect.
5719         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5721         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5722         Change function return type to int.
5724         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5725         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5726         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5727         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5728         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5729         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5730         [!POSIX] (posix_madvise): Likewise.
5731         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5732         && !UNIX98].
5733         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5734         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5735         (mode_t): Likewise.
5736         (posix_mem_offset): Likewise.
5737         (posix_typed_mem_get_info): Likewise.
5738         (posix_typed_mem_open): Likewise.
5740         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5741         Change condition to [XOPEN2K8].
5743         * conform/conformtest.pl: Preprocess allow-header data with -x c
5744         instead of from stdin.
5745         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5746         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5747         [C99-based standards] (cerfc): Likewise.
5748         [C99-based standards] (cexp2): Likewise.
5749         [C99-based standards] (cexpm1): Likewise.
5750         [C99-based standards] (clog10): Likewise.
5751         [C99-based standards] (clog1p): Likewise.
5752         [C99-based standards] (clog2): Likewise.
5753         [C99-based standards] (clgamma): Likewise.
5754         [C99-based standards] (ctgamma): Likewise.
5755         [C99-based standards] (cerff): Likewise.
5756         [C99-based standards] (cerfcf): Likewise.
5757         [C99-based standards] (cexp2f): Likewise.
5758         [C99-based standards] (cexpm1f): Likewise.
5759         [C99-based standards] (clog10f): Likewise.
5760         [C99-based standards] (clog1pf): Likewise.
5761         [C99-based standards] (clog2f): Likewise.
5762         [C99-based standards] (clgammaf): Likewise.
5763         [C99-based standards] (ctgammaf): Likewise.
5764         [C99-based standards] (cerfl): Likewise.
5765         [C99-based standards] (cerfcl): Likewise.
5766         [C99-based standards] (cexp2l): Likewise.
5767         [C99-based standards] (cexpm1l): Likewise.
5768         [C99-based standards] (clog10l): Likewise.
5769         [C99-based standards] (clog1pl): Likewise.
5770         [C99-based standards] (clog2l): Likewise.
5771         [C99-based standards] (clgammal): Likewise.
5772         [C99-based standards] (ctgammal): Likewise.
5773         * conform/data/inttypes.h-data [C99-based standards]: Include
5774         stdint.h-data.  Remove all expectations for stdint.h contents.
5775         [C99-based standards] (PRI*): Do not allow.
5776         [C99-based standards] (SCN*): Likewise.
5777         [C99-based standards] (*_t): Likewise.
5778         [C99-based-standards] (PRId8): Expect macro.
5779         [C99-based-standards] (PRIi8): Likewise.
5780         [C99-based-standards] (PRIo8): Likewise.
5781         [C99-based-standards] (PRIu8): Likewise.
5782         [C99-based-standards] (PRIx8): Likewise.
5783         [C99-based-standards] (PRIX8): Likewise.
5784         [C99-based-standards] (SCNd8): Likewise.
5785         [C99-based-standards] (SCNi8): Likewise.
5786         [C99-based-standards] (SCNo8): Likewise.
5787         [C99-based-standards] (SCNu8): Likewise.
5788         [C99-based-standards] (SCNx8): Likewise.
5789         [C99-based-standards] (PRIdLEAST8): Likewise.
5790         [C99-based-standards] (PRIiLEAST8): Likewise.
5791         [C99-based-standards] (PRIoLEAST8): Likewise.
5792         [C99-based-standards] (PRIuLEAST8): Likewise.
5793         [C99-based-standards] (PRIxLEAST8): Likewise.
5794         [C99-based-standards] (PRIXLEAST8): Likewise.
5795         [C99-based-standards] (SCNdLEAST8): Likewise.
5796         [C99-based-standards] (SCNiLEAST8): Likewise.
5797         [C99-based-standards] (SCNoLEAST8): Likewise.
5798         [C99-based-standards] (SCNuLEAST8): Likewise.
5799         [C99-based-standards] (SCNxLEAST8): Likewise.
5800         [C99-based-standards] (PRIdFAST8): Likewise.
5801         [C99-based-standards] (PRIiFAST8): Likewise.
5802         [C99-based-standards] (PRIoFAST8): Likewise.
5803         [C99-based-standards] (PRIuFAST8): Likewise.
5804         [C99-based-standards] (PRIxFAST8): Likewise.
5805         [C99-based-standards] (PRIXFAST8): Likewise.
5806         [C99-based-standards] (SCNdFAST8): Likewise.
5807         [C99-based-standards] (SCNiFAST8): Likewise.
5808         [C99-based-standards] (SCNoFAST8): Likewise.
5809         [C99-based-standards] (SCNuFAST8): Likewise.
5810         [C99-based-standards] (SCNxFAST8): Likewise.
5811         [C99-based-standards] (PRId16): Likewise.
5812         [C99-based-standards] (PRIi16): Likewise.
5813         [C99-based-standards] (PRIo16): Likewise.
5814         [C99-based-standards] (PRIu16): Likewise.
5815         [C99-based-standards] (PRIx16): Likewise.
5816         [C99-based-standards] (PRIX16): Likewise.
5817         [C99-based-standards] (SCNd16): Likewise.
5818         [C99-based-standards] (SCNi16): Likewise.
5819         [C99-based-standards] (SCNo16): Likewise.
5820         [C99-based-standards] (SCNu16): Likewise.
5821         [C99-based-standards] (SCNx16): Likewise.
5822         [C99-based-standards] (PRIdLEAST16): Likewise.
5823         [C99-based-standards] (PRIiLEAST16): Likewise.
5824         [C99-based-standards] (PRIoLEAST16): Likewise.
5825         [C99-based-standards] (PRIuLEAST16): Likewise.
5826         [C99-based-standards] (PRIxLEAST16): Likewise.
5827         [C99-based-standards] (PRIXLEAST16): Likewise.
5828         [C99-based-standards] (SCNdLEAST16): Likewise.
5829         [C99-based-standards] (SCNiLEAST16): Likewise.
5830         [C99-based-standards] (SCNoLEAST16): Likewise.
5831         [C99-based-standards] (SCNuLEAST16): Likewise.
5832         [C99-based-standards] (SCNxLEAST16): Likewise.
5833         [C99-based-standards] (PRIdFAST16): Likewise.
5834         [C99-based-standards] (PRIiFAST16): Likewise.
5835         [C99-based-standards] (PRIoFAST16): Likewise.
5836         [C99-based-standards] (PRIuFAST16): Likewise.
5837         [C99-based-standards] (PRIxFAST16): Likewise.
5838         [C99-based-standards] (PRIXFAST16): Likewise.
5839         [C99-based-standards] (SCNdFAST16): Likewise.
5840         [C99-based-standards] (SCNiFAST16): Likewise.
5841         [C99-based-standards] (SCNoFAST16): Likewise.
5842         [C99-based-standards] (SCNuFAST16): Likewise.
5843         [C99-based-standards] (SCNxFAST16): Likewise.
5844         [C99-based-standards] (PRId32): Likewise.
5845         [C99-based-standards] (PRIi32): Likewise.
5846         [C99-based-standards] (PRIo32): Likewise.
5847         [C99-based-standards] (PRIu32): Likewise.
5848         [C99-based-standards] (PRIx32): Likewise.
5849         [C99-based-standards] (PRIX32): Likewise.
5850         [C99-based-standards] (SCNd32): Likewise.
5851         [C99-based-standards] (SCNi32): Likewise.
5852         [C99-based-standards] (SCNo32): Likewise.
5853         [C99-based-standards] (SCNu32): Likewise.
5854         [C99-based-standards] (SCNx32): Likewise.
5855         [C99-based-standards] (PRIdLEAST32): Likewise.
5856         [C99-based-standards] (PRIiLEAST32): Likewise.
5857         [C99-based-standards] (PRIoLEAST32): Likewise.
5858         [C99-based-standards] (PRIuLEAST32): Likewise.
5859         [C99-based-standards] (PRIxLEAST32): Likewise.
5860         [C99-based-standards] (PRIXLEAST32): Likewise.
5861         [C99-based-standards] (SCNdLEAST32): Likewise.
5862         [C99-based-standards] (SCNiLEAST32): Likewise.
5863         [C99-based-standards] (SCNoLEAST32): Likewise.
5864         [C99-based-standards] (SCNuLEAST32): Likewise.
5865         [C99-based-standards] (SCNxLEAST32): Likewise.
5866         [C99-based-standards] (PRIdFAST32): Likewise.
5867         [C99-based-standards] (PRIiFAST32): Likewise.
5868         [C99-based-standards] (PRIoFAST32): Likewise.
5869         [C99-based-standards] (PRIuFAST32): Likewise.
5870         [C99-based-standards] (PRIxFAST32): Likewise.
5871         [C99-based-standards] (PRIXFAST32): Likewise.
5872         [C99-based-standards] (SCNdFAST32): Likewise.
5873         [C99-based-standards] (SCNiFAST32): Likewise.
5874         [C99-based-standards] (SCNoFAST32): Likewise.
5875         [C99-based-standards] (SCNuFAST32): Likewise.
5876         [C99-based-standards] (SCNxFAST32): Likewise.
5877         [C99-based-standards] (PRId64): Likewise.
5878         [C99-based-standards] (PRIi64): Likewise.
5879         [C99-based-standards] (PRIo64): Likewise.
5880         [C99-based-standards] (PRIu64): Likewise.
5881         [C99-based-standards] (PRIx64): Likewise.
5882         [C99-based-standards] (PRIX64): Likewise.
5883         [C99-based-standards] (SCNd64): Likewise.
5884         [C99-based-standards] (SCNi64): Likewise.
5885         [C99-based-standards] (SCNo64): Likewise.
5886         [C99-based-standards] (SCNu64): Likewise.
5887         [C99-based-standards] (SCNx64): Likewise.
5888         [C99-based-standards] (PRIdLEAST64): Likewise.
5889         [C99-based-standards] (PRIiLEAST64): Likewise.
5890         [C99-based-standards] (PRIoLEAST64): Likewise.
5891         [C99-based-standards] (PRIuLEAST64): Likewise.
5892         [C99-based-standards] (PRIxLEAST64): Likewise.
5893         [C99-based-standards] (PRIXLEAST64): Likewise.
5894         [C99-based-standards] (SCNdLEAST64): Likewise.
5895         [C99-based-standards] (SCNiLEAST64): Likewise.
5896         [C99-based-standards] (SCNoLEAST64): Likewise.
5897         [C99-based-standards] (SCNuLEAST64): Likewise.
5898         [C99-based-standards] (SCNxLEAST64): Likewise.
5899         [C99-based-standards] (PRIdFAST64): Likewise.
5900         [C99-based-standards] (PRIiFAST64): Likewise.
5901         [C99-based-standards] (PRIoFAST64): Likewise.
5902         [C99-based-standards] (PRIuFAST64): Likewise.
5903         [C99-based-standards] (PRIxFAST64): Likewise.
5904         [C99-based-standards] (PRIXFAST64): Likewise.
5905         [C99-based-standards] (SCNdFAST64): Likewise.
5906         [C99-based-standards] (SCNiFAST64): Likewise.
5907         [C99-based-standards] (SCNoFAST64): Likewise.
5908         [C99-based-standards] (SCNuFAST64): Likewise.
5909         [C99-based-standards] (SCNxFAST64): Likewise.
5910         [C99-based-standards] (PRIdMAX): Likewise.
5911         [C99-based-standards] (PRIiMAX): Likewise.
5912         [C99-based-standards] (PRIoMAX): Likewise.
5913         [C99-based-standards] (PRIuMAX): Likewise.
5914         [C99-based-standards] (PRIxMAX): Likewise.
5915         [C99-based-standards] (PRIXMAX): Likewise.
5916         [C99-based-standards] (SCNdMAX): Likewise.
5917         [C99-based-standards] (SCNiMAX): Likewise.
5918         [C99-based-standards] (SCNoMAX): Likewise.
5919         [C99-based-standards] (SCNuMAX): Likewise.
5920         [C99-based-standards] (SCNxMAX): Likewise.
5921         [C99-based-standards] (PRIdPTR): Likewise.
5922         [C99-based-standards] (PRIiPTR): Likewise.
5923         [C99-based-standards] (PRIoPTR): Likewise.
5924         [C99-based-standards] (PRIuPTR): Likewise.
5925         [C99-based-standards] (PRIxPTR): Likewise.
5926         [C99-based-standards] (PRIXPTR): Likewise.
5927         [C99-based-standards] (SCNdPTR): Likewise.
5928         [C99-based-standards] (SCNiPTR): Likewise.
5929         [C99-based-standards] (SCNoPTR): Likewise.
5930         [C99-based-standards] (SCNuPTR): Likewise.
5931         [C99-based-standards] (SCNxPTR): Likewise.
5932         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5933         allow.
5934         * conform/data/stdint.h-data: Update comments to clarify
5935         requirements.
5936         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
5937         type.
5938         [C99-based standards] (INT8_MAX): Likewise.
5939         [C99-based standards] (INT16_MIN): Likewise.
5940         [C99-based standards] (INT16_MAX): Likewise.
5941         [C99-based standards] (INT32_MIN): Likewise.
5942         [C99-based standards] (INT32_MAX): Likewise.
5943         [C99-based standards] (INT64_MIN): Likewise.
5944         [C99-based standards] (INT64_MAX): Likewise.
5945         [C99-based standards] (UINT8_MAX): Likewise.
5946         [C99-based standards] (UINT16_MAX): Likewise.
5947         [C99-based standards] (UINT32_MAX): Likewise.
5948         [C99-based standards] (UINT64_MAX): Likewise.
5949         [C99-based standards] (INT_LEAST8_MIN): Likewise.
5950         [C99-based standards] (INT_LEAST8_MAX): Likewise.
5951         [C99-based standards] (INT_LEAST16_MIN): Likewise.
5952         [C99-based standards] (INT_LEAST16_MAX): Likewise.
5953         [C99-based standards] (INT_LEAST32_MIN): Likewise.
5954         [C99-based standards] (INT_LEAST32_MAX): Likewise.
5955         [C99-based standards] (INT_LEAST64_MIN): Likewise.
5956         [C99-based standards] (INT_LEAST64_MAX): Likewise.
5957         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5958         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5959         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5960         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5961         [C99-based standards] (INT_FAST8_MIN): Likewise.
5962         [C99-based standards] (INT_FAST8_MAX): Likewise.
5963         [C99-based standards] (INT_FAST16_MIN): Likewise.
5964         [C99-based standards] (INT_FAST16_MAX): Likewise.
5965         [C99-based standards] (INT_FAST32_MIN): Likewise.
5966         [C99-based standards] (INT_FAST32_MAX): Likewise.
5967         [C99-based standards] (INT_FAST64_MIN): Likewise.
5968         [C99-based standards] (INT_FAST64_MAX): Likewise.
5969         [C99-based standards] (UINT_FAST8_MAX): Likewise.
5970         [C99-based standards] (UINT_FAST16_MAX): Likewise.
5971         [C99-based standards] (UINT_FAST32_MAX): Likewise.
5972         [C99-based standards] (UINT_FAST64_MAX): Likewise.
5973         [C99-based standards] (INTPTR_MIN): Likewise.
5974         [C99-based standards] (INTPTR_MAX): Likewise.
5975         [C99-based standards] (UINTPTR_MAX): Likewise.
5976         [C99-based standards] (INTMAX_MIN): Likewise.
5977         [C99-based standards] (INTMAX_MAX): Likewise.
5978         [C99-based standards] (UINTMAX_MAX): Likewise.
5979         [C99-based standards] (PTRDIFF_MIN): Likewise.
5980         [C99-based standards] (PTRDIFF_MAX): Likewise.
5981         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5982         [C99-based standards] (SIZE_MAX): Likewise.
5983         [C99-based standards] (WCHAR_MAX): Likewise.
5984         [C99-based standards] (WINT_MAX): Likewise.
5985         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
5986         constraint on value.
5987         [C99-based standards] (WCHAR_MIN): Likewise.
5988         [C99-based standards] (WINT_MIN): Likewise.
5989         [C99-based standards] (*_t): Allow.
5990         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5991         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5992         Include math.h-data and complex.h-data.  Remove all expectations
5993         of math.h and complex.h contents.
5994         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5995         at end of line.
5996         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5997         (struct tm): Expect tag.
5998         [C99-based-standards] (wcstof): Expect function.
5999         [C99-based-standards] (wcstold): Likewise.
6000         [C99-based-standards] (wcstoll): Likewise.
6001         [C99-based-standards] (wcstoull): Likewise.
6002         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6003         macro-int-constant.  Specify type.
6004         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
6005         constraint on value.
6006         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6007         Specify type.
6008         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6009         Specify value.
6010         [ISO C standards]: Do not allow headers.
6011         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6012         wcs[abcdefghijklmnopqrstuvwxyz]*.
6013         [ISO C standards] (*_t): Do not allow.
6014         * conform/data/wctype.h-data [C99-based standards] (iswblank):
6015         Expect function.
6016         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6017         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6018         Specify type.
6019         [ISO C standards]: Do not allow headers.
6020         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6021         is[abcdefghijklmnopqrstuvwxyz]*.
6022         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6023         to[abcdefghijklmnopqrstuvwxyz]*.
6024         [ISO C standards] (*_t): Do not allow.
6025         * conform/data/stdalign.h-data: New file.
6026         * conform/data/stdbool.h-data: Likewise.
6027         * conform/data/stdnoreturn.h-data: Likewise.
6029 2012-11-07  Roland McGrath  <roland@hack.frob.com>
6031         [BZ #14815]
6032         * manual/filesys.texi (Directory Entries): Typo fix.
6033         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6035 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6037         * elf/elf.h (EM_AARCH64): New macro.
6038         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6039         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6040         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6041         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6042         (R_AARCH64_TLSDESC): Likewise.
6043         (NT_ARM_TLS): Likewise.
6044         (NT_ARM_HW_BREAK): Likewise.
6045         (NT_ARM_HW_WATCH): Likewise.
6047 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6049         [BZ #14811]
6050         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6051         (__ieee754_powl): Saturate nonzero exponents with absolute value
6052         below 0x1p-79 to +/- 0x1p-79.
6053         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6054         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6055         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6056         nonzero exponents with absolute value below 0x1p-32 to +/-
6057         0x1p-32.
6058         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6059         (__ieee754_powl): Saturate nonzero exponents with absolute value
6060         below 0x1p-79 to +/- 0x1p-79.
6061         * math/libm-test.inc (pow_test): Add more tests.
6063 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6065         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6066         _dl_s390_cap_flags with kernel. Increase string length.
6067         (_dl_s390_platforms): Add z196 and zEC12.
6069 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6071         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6072         Change XOPEN21K to XOPEN2K.
6074 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
6076         * string/memmove.c: Use memcpy when possible.
6078 2012-11-06  Andreas Jaeger  <aj@suse.de>
6080         * po/eo.po: Update from translation team.
6082 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
6084         [BZ #14793]
6085         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6086         exponent and small x and y exponents, scale x or y up.  Increase
6087         by 2 the exponent used in scaling up.
6088         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6089         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6090         * math/libm-test.inc (fma_test): Add more tests.
6091         (fma_test_towardzero): Likewise.
6092         (fma_test_downward): Likewise.
6093         (fma_test_upward): Likewise.
6095 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
6097         [BZ #14805]
6098         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6099         fenv_t *.
6101         [BZ #14801]
6102         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6103         namespace for names of struct fields.
6104         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6105         fenv_t fields.
6106         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6107         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6109 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6111         [BZ #3665]
6112         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6114 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6116         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6117         PTR_DEMANGLE.
6119         [BZ #5246]
6120         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6121         PTR_DEMANGLE.
6123 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
6125         [BZ #14797]
6126         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6127         definitely overflow as x * y not x * y + z.
6128         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6129         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6130         * math/libm-test.inc (fma_test): Add more tests.
6131         (fma_test_towardzero): Likewise.
6132         (fma_test_downward): Likewise.
6133         (fma_test_upward): Likewise.
6135 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6137         [BZ #157]
6139         * include/stub-tag.h: Remove file.
6140         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6141         '#include' of it.
6142         * manual/maint.texi (Porting): Don't reference it.
6143         * Makerules ($(objpfx)stubs): Likewise.
6144         * dirent/closedir.c: Don't include <stub-tag.h>.
6145         * dirent/dirfd.c: Likewise.
6146         * dirent/fdopendir.c: Likewise.
6147         * dirent/getdents.c: Likewise.
6148         * dirent/getdents64.c: Likewise.
6149         * dirent/opendir.c: Likewise.
6150         * dirent/readdir.c: Likewise.
6151         * dirent/readdir64.c: Likewise.
6152         * dirent/readdir64_r.c: Likewise.
6153         * dirent/readdir_r.c: Likewise.
6154         * dirent/rewinddir.c: Likewise.
6155         * dirent/seekdir.c: Likewise.
6156         * dirent/telldir.c: Likewise.
6157         * gmon/profil.c: Likewise.
6158         * grp/setgroups.c: Likewise.
6159         * inet/if_index.c: Likewise.
6160         * io/access.c: Likewise.
6161         * io/chdir.c: Likewise.
6162         * io/chmod.c: Likewise.
6163         * io/chown.c: Likewise.
6164         * io/close.c: Likewise.
6165         * io/dup.c: Likewise.
6166         * io/dup2.c: Likewise.
6167         * io/dup3.c: Likewise.
6168         * io/euidaccess.c: Likewise.
6169         * io/faccessat.c: Likewise.
6170         * io/fchdir.c: Likewise.
6171         * io/fchmod.c: Likewise.
6172         * io/fchmodat.c: Likewise.
6173         * io/fchown.c: Likewise.
6174         * io/fchownat.c: Likewise.
6175         * io/fcntl.c: Likewise.
6176         * io/flock.c: Likewise.
6177         * io/fstatfs.c: Likewise.
6178         * io/fstatfs64.c: Likewise.
6179         * io/fstatvfs.c: Likewise.
6180         * io/fstatvfs64.c: Likewise.
6181         * io/futimens.c: Likewise.
6182         * io/fxstat.c: Likewise.
6183         * io/fxstat64.c: Likewise.
6184         * io/fxstatat.c: Likewise.
6185         * io/fxstatat64.c: Likewise.
6186         * io/getcwd.c: Likewise.
6187         * io/isatty.c: Likewise.
6188         * io/lchmod.c: Likewise.
6189         * io/lchown.c: Likewise.
6190         * io/link.c: Likewise.
6191         * io/linkat.c: Likewise.
6192         * io/lseek.c: Likewise.
6193         * io/lseek64.c: Likewise.
6194         * io/lxstat64.c: Likewise.
6195         * io/mkdir.c: Likewise.
6196         * io/mkdirat.c: Likewise.
6197         * io/mkfifo.c: Likewise.
6198         * io/mkfifoat.c: Likewise.
6199         * io/open.c: Likewise.
6200         * io/open64.c: Likewise.
6201         * io/openat.c: Likewise.
6202         * io/openat64.c: Likewise.
6203         * io/pipe.c: Likewise.
6204         * io/pipe2.c: Likewise.
6205         * io/poll.c: Likewise.
6206         * io/posix_fadvise.c: Likewise.
6207         * io/posix_fadvise64.c: Likewise.
6208         * io/posix_fallocate.c: Likewise.
6209         * io/posix_fallocate64.c: Likewise.
6210         * io/read.c: Likewise.
6211         * io/readlink.c: Likewise.
6212         * io/readlinkat.c: Likewise.
6213         * io/rmdir.c: Likewise.
6214         * io/sendfile.c: Likewise.
6215         * io/sendfile64.c: Likewise.
6216         * io/statfs.c: Likewise.
6217         * io/statfs64.c: Likewise.
6218         * io/statvfs.c: Likewise.
6219         * io/statvfs64.c: Likewise.
6220         * io/symlink.c: Likewise.
6221         * io/symlinkat.c: Likewise.
6222         * io/ttyname.c: Likewise.
6223         * io/ttyname_r.c: Likewise.
6224         * io/umask.c: Likewise.
6225         * io/unlink.c: Likewise.
6226         * io/unlinkat.c: Likewise.
6227         * io/utime.c: Likewise.
6228         * io/utimensat.c: Likewise.
6229         * io/write.c: Likewise.
6230         * io/xmknod.c: Likewise.
6231         * io/xmknodat.c: Likewise.
6232         * io/xstat.c: Likewise.
6233         * io/xstat64.c: Likewise.
6234         * login/getpt.c: Likewise.
6235         * login/grantpt.c: Likewise.
6236         * login/unlockpt.c: Likewise.
6237         * math/e_acoshl.c: Likewise.
6238         * math/e_acosl.c: Likewise.
6239         * math/e_asinl.c: Likewise.
6240         * math/e_atan2l.c: Likewise.
6241         * math/e_atanhl.c: Likewise.
6242         * math/e_coshl.c: Likewise.
6243         * math/e_expl.c: Likewise.
6244         * math/e_fmodl.c: Likewise.
6245         * math/e_gammal_r.c: Likewise.
6246         * math/e_hypotl.c: Likewise.
6247         * math/e_j0l.c: Likewise.
6248         * math/e_j1l.c: Likewise.
6249         * math/e_jnl.c: Likewise.
6250         * math/e_lgammal_r.c: Likewise.
6251         * math/e_log10l.c: Likewise.
6252         * math/e_log2l.c: Likewise.
6253         * math/e_logl.c: Likewise.
6254         * math/e_powl.c: Likewise.
6255         * math/e_rem_pio2l.c: Likewise.
6256         * math/e_sinhl.c: Likewise.
6257         * math/e_sqrtl.c: Likewise.
6258         * math/fclrexcpt.c: Likewise.
6259         * math/fedisblxcpt.c: Likewise.
6260         * math/feenablxcpt.c: Likewise.
6261         * math/fegetenv.c: Likewise.
6262         * math/fegetexcept.c: Likewise.
6263         * math/fegetround.c: Likewise.
6264         * math/feholdexcpt.c: Likewise.
6265         * math/fesetenv.c: Likewise.
6266         * math/fesetround.c: Likewise.
6267         * math/feupdateenv.c: Likewise.
6268         * math/fgetexcptflg.c: Likewise.
6269         * math/fraiseexcpt.c: Likewise.
6270         * math/fsetexcptflg.c: Likewise.
6271         * math/ftestexcept.c: Likewise.
6272         * math/k_cosl.c: Likewise.
6273         * math/k_rem_pio2l.c: Likewise.
6274         * math/k_sinl.c: Likewise.
6275         * math/k_tanl.c: Likewise.
6276         * math/s_asinhl.c: Likewise.
6277         * math/s_atanl.c: Likewise.
6278         * math/s_cbrtl.c: Likewise.
6279         * math/s_erfl.c: Likewise.
6280         * math/s_expm1l.c: Likewise.
6281         * math/s_log1pl.c: Likewise.
6282         * math/s_tanhl.c: Likewise.
6283         * misc/acct.c: Likewise.
6284         * misc/brk.c: Likewise.
6285         * misc/chflags.c: Likewise.
6286         * misc/chroot.c: Likewise.
6287         * misc/fchflags.c: Likewise.
6288         * misc/fgetxattr.c: Likewise.
6289         * misc/flistxattr.c: Likewise.
6290         * misc/fremovexattr.c: Likewise.
6291         * misc/fsetxattr.c: Likewise.
6292         * misc/fsync.c: Likewise.
6293         * misc/ftruncate.c: Likewise.
6294         * misc/futimes.c: Likewise.
6295         * misc/futimesat.c: Likewise.
6296         * misc/getdomain.c: Likewise.
6297         * misc/getdtsz.c: Likewise.
6298         * misc/gethostid.c: Likewise.
6299         * misc/gethostname.c: Likewise.
6300         * misc/getloadavg.c: Likewise.
6301         * misc/getpagesize.c: Likewise.
6302         * misc/getsysstats.c: Likewise.
6303         * misc/getxattr.c: Likewise.
6304         * misc/gtty.c: Likewise.
6305         * misc/ioctl.c: Likewise.
6306         * misc/lgetxattr.c: Likewise.
6307         * misc/listxattr.c: Likewise.
6308         * misc/llistxattr.c: Likewise.
6309         * misc/lremovexattr.c: Likewise.
6310         * misc/lsetxattr.c: Likewise.
6311         * misc/lutimes.c: Likewise.
6312         * misc/madvise.c: Likewise.
6313         * misc/mincore.c: Likewise.
6314         * misc/mlock.c: Likewise.
6315         * misc/mlockall.c: Likewise.
6316         * misc/mmap.c: Likewise.
6317         * misc/mprotect.c: Likewise.
6318         * misc/msync.c: Likewise.
6319         * misc/munlock.c: Likewise.
6320         * misc/munlockall.c: Likewise.
6321         * misc/munmap.c: Likewise.
6322         * misc/preadv.c: Likewise.
6323         * misc/preadv64.c: Likewise.
6324         * misc/ptrace.c: Likewise.
6325         * misc/pwritev.c: Likewise.
6326         * misc/pwritev64.c: Likewise.
6327         * misc/readv.c: Likewise.
6328         * misc/reboot.c: Likewise.
6329         * misc/remap_file_pages.c: Likewise.
6330         * misc/removexattr.c: Likewise.
6331         * misc/revoke.c: Likewise.
6332         * misc/select.c: Likewise.
6333         * misc/setdomain.c: Likewise.
6334         * misc/setegid.c: Likewise.
6335         * misc/seteuid.c: Likewise.
6336         * misc/sethostid.c: Likewise.
6337         * misc/sethostname.c: Likewise.
6338         * misc/setregid.c: Likewise.
6339         * misc/setreuid.c: Likewise.
6340         * misc/setxattr.c: Likewise.
6341         * misc/sstk.c: Likewise.
6342         * misc/stty.c: Likewise.
6343         * misc/swapoff.c: Likewise.
6344         * misc/swapon.c: Likewise.
6345         * misc/sync.c: Likewise.
6346         * misc/syncfs.c: Likewise.
6347         * misc/syscall.c: Likewise.
6348         * misc/truncate.c: Likewise.
6349         * misc/ualarm.c: Likewise.
6350         * misc/usleep.c: Likewise.
6351         * misc/ustat.c: Likewise.
6352         * misc/utimes.c: Likewise.
6353         * misc/vhangup.c: Likewise.
6354         * misc/writev.c: Likewise.
6355         * posix/_exit.c: Likewise.
6356         * posix/alarm.c: Likewise.
6357         * posix/execve.c: Likewise.
6358         * posix/fexecve.c: Likewise.
6359         * posix/fork.c: Likewise.
6360         * posix/fpathconf.c: Likewise.
6361         * posix/getaddrinfo.c: Likewise.
6362         * posix/getegid.c: Likewise.
6363         * posix/geteuid.c: Likewise.
6364         * posix/getgid.c: Likewise.
6365         * posix/getgroups.c: Likewise.
6366         * posix/getlogin.c: Likewise.
6367         * posix/getlogin_r.c: Likewise.
6368         * posix/getpgid.c: Likewise.
6369         * posix/getpid.c: Likewise.
6370         * posix/getppid.c: Likewise.
6371         * posix/getresgid.c: Likewise.
6372         * posix/getresuid.c: Likewise.
6373         * posix/getsid.c: Likewise.
6374         * posix/getuid.c: Likewise.
6375         * posix/glob64.c: Likewise.
6376         * posix/nanosleep.c: Likewise.
6377         * posix/pathconf.c: Likewise.
6378         * posix/pause.c: Likewise.
6379         * posix/posix_madvise.c: Likewise.
6380         * posix/pread.c: Likewise.
6381         * posix/pread64.c: Likewise.
6382         * posix/pwrite.c: Likewise.
6383         * posix/pwrite64.c: Likewise.
6384         * posix/sched_getaffinity.c: Likewise.
6385         * posix/sched_getp.c: Likewise.
6386         * posix/sched_gets.c: Likewise.
6387         * posix/sched_primax.c: Likewise.
6388         * posix/sched_primin.c: Likewise.
6389         * posix/sched_rr_gi.c: Likewise.
6390         * posix/sched_setaffinity.c: Likewise.
6391         * posix/sched_setp.c: Likewise.
6392         * posix/sched_sets.c: Likewise.
6393         * posix/sched_yield.c: Likewise.
6394         * posix/setgid.c: Likewise.
6395         * posix/setlogin.c: Likewise.
6396         * posix/setpgid.c: Likewise.
6397         * posix/setresgid.c: Likewise.
6398         * posix/setresuid.c: Likewise.
6399         * posix/setsid.c: Likewise.
6400         * posix/setuid.c: Likewise.
6401         * posix/sleep.c: Likewise.
6402         * posix/spawni.c: Likewise.
6403         * posix/sysconf.c: Likewise.
6404         * posix/times.c: Likewise.
6405         * posix/wait.c: Likewise.
6406         * posix/wait3.c: Likewise.
6407         * posix/wait4.c: Likewise.
6408         * posix/waitpid.c: Likewise.
6409         * resolv/gai_sigqueue.c: Likewise.
6410         * resource/getpriority.c: Likewise.
6411         * resource/getrlimit.c: Likewise.
6412         * resource/getrusage.c: Likewise.
6413         * resource/nice.c: Likewise.
6414         * resource/setpriority.c: Likewise.
6415         * resource/setrlimit.c: Likewise.
6416         * resource/ulimit.c: Likewise.
6417         * rt/aio_cancel.c: Likewise.
6418         * rt/aio_fsync.c: Likewise.
6419         * rt/aio_read.c: Likewise.
6420         * rt/aio_sigqueue.c: Likewise.
6421         * rt/aio_suspend.c: Likewise.
6422         * rt/aio_write.c: Likewise.
6423         * rt/clock_getres.c: Likewise.
6424         * rt/clock_gettime.c: Likewise.
6425         * rt/clock_nanosleep.c: Likewise.
6426         * rt/clock_settime.c: Likewise.
6427         * rt/lio_listio.c: Likewise.
6428         * rt/mq_close.c: Likewise.
6429         * rt/mq_getattr.c: Likewise.
6430         * rt/mq_notify.c: Likewise.
6431         * rt/mq_open.c: Likewise.
6432         * rt/mq_receive.c: Likewise.
6433         * rt/mq_send.c: Likewise.
6434         * rt/mq_setattr.c: Likewise.
6435         * rt/mq_timedreceive.c: Likewise.
6436         * rt/mq_timedsend.c: Likewise.
6437         * rt/mq_unlink.c: Likewise.
6438         * rt/shm_open.c: Likewise.
6439         * rt/shm_unlink.c: Likewise.
6440         * rt/timer_create.c: Likewise.
6441         * rt/timer_delete.c: Likewise.
6442         * rt/timer_getoverr.c: Likewise.
6443         * rt/timer_gettime.c: Likewise.
6444         * rt/timer_settime.c: Likewise.
6445         * setjmp/__longjmp.c: Likewise.
6446         * setjmp/setjmp.c: Likewise.
6447         * signal/kill.c: Likewise.
6448         * signal/killpg.c: Likewise.
6449         * signal/raise.c: Likewise.
6450         * signal/sigaction.c: Likewise.
6451         * signal/sigaltstack.c: Likewise.
6452         * signal/sigblock.c: Likewise.
6453         * signal/sigignore.c: Likewise.
6454         * signal/sigintr.c: Likewise.
6455         * signal/signal.c: Likewise.
6456         * signal/sigpause.c: Likewise.
6457         * signal/sigpending.c: Likewise.
6458         * signal/sigqueue.c: Likewise.
6459         * signal/sigreturn.c: Likewise.
6460         * signal/sigset.c: Likewise.
6461         * signal/sigsetmask.c: Likewise.
6462         * signal/sigstack.c: Likewise.
6463         * signal/sigsuspend.c: Likewise.
6464         * signal/sigtimedwait.c: Likewise.
6465         * signal/sigvec.c: Likewise.
6466         * signal/sigwait.c: Likewise.
6467         * signal/sigwaitinfo.c: Likewise.
6468         * signal/sysv_signal.c: Likewise.
6469         * socket/accept.c: Likewise.
6470         * socket/accept4.c: Likewise.
6471         * socket/bind.c: Likewise.
6472         * socket/connect.c: Likewise.
6473         * socket/getpeername.c: Likewise.
6474         * socket/getsockname.c: Likewise.
6475         * socket/getsockopt.c: Likewise.
6476         * socket/isfdtype.c: Likewise.
6477         * socket/listen.c: Likewise.
6478         * socket/recv.c: Likewise.
6479         * socket/recvfrom.c: Likewise.
6480         * socket/recvmsg.c: Likewise.
6481         * socket/send.c: Likewise.
6482         * socket/sendmsg.c: Likewise.
6483         * socket/sendto.c: Likewise.
6484         * socket/setsockopt.c: Likewise.
6485         * socket/shutdown.c: Likewise.
6486         * socket/sockatmark.c: Likewise.
6487         * socket/socket.c: Likewise.
6488         * socket/socketpair.c: Likewise.
6489         * stdio-common/ctermid.c: Likewise.
6490         * stdio-common/cuserid.c: Likewise.
6491         * stdio-common/remove.c: Likewise.
6492         * stdio-common/rename.c: Likewise.
6493         * stdio-common/renameat.c: Likewise.
6494         * stdio-common/tempname.c: Likewise.
6495         * stdlib/getcontext.c: Likewise.
6496         * stdlib/makecontext.c: Likewise.
6497         * stdlib/setcontext.c: Likewise.
6498         * stdlib/swapcontext.c: Likewise.
6499         * stdlib/system.c: Likewise.
6500         * streams/fattach.c: Likewise.
6501         * streams/fdetach.c: Likewise.
6502         * streams/getmsg.c: Likewise.
6503         * streams/getpmsg.c: Likewise.
6504         * streams/putmsg.c: Likewise.
6505         * streams/putpmsg.c: Likewise.
6506         * sysdeps/unix/bsd/getpt.c: Likewise.
6507         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6508         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6509         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6511         Likewise.
6512         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6513         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6514         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6515         * sysvipc/msgctl.c: Likewise.
6516         * sysvipc/msgget.c: Likewise.
6517         * sysvipc/msgrcv.c: Likewise.
6518         * sysvipc/msgsnd.c: Likewise.
6519         * sysvipc/semctl.c: Likewise.
6520         * sysvipc/semget.c: Likewise.
6521         * sysvipc/semop.c: Likewise.
6522         * sysvipc/semtimedop.c: Likewise.
6523         * sysvipc/shmat.c: Likewise.
6524         * sysvipc/shmctl.c: Likewise.
6525         * sysvipc/shmdt.c: Likewise.
6526         * sysvipc/shmget.c: Likewise.
6527         * termios/tcdrain.c: Likewise.
6528         * termios/tcflow.c: Likewise.
6529         * termios/tcflush.c: Likewise.
6530         * termios/tcgetattr.c: Likewise.
6531         * termios/tcgetpgrp.c: Likewise.
6532         * termios/tcsendbrk.c: Likewise.
6533         * termios/tcsetattr.c: Likewise.
6534         * termios/tcsetpgrp.c: Likewise.
6535         * time/adjtime.c: Likewise.
6536         * time/clock.c: Likewise.
6537         * time/getitimer.c: Likewise.
6538         * time/gettimeofday.c: Likewise.
6539         * time/setitimer.c: Likewise.
6540         * time/settimeofday.c: Likewise.
6541         * time/stime.c: Likewise.
6542         * time/time.c: Likewise.
6544 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
6546         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6547         /usr/old/bin.
6549         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6550         instead of spaces.
6551         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6553 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
6555         [BZ #14796]
6556         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6557         FE_TONEAREST before applying Dekker multiplication and Knuth
6558         addition.  Clear inexact exceptions and check for exact zero
6559         results afterwards.
6560         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6561         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6562         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6563         * math/libm-test.inc (fma_test): Add more tests.
6564         (fma_test_towardzero): Likewise.
6565         (fma_test_downward): Likewise.
6566         (fma_test_upward): Likewise.
6567         * sysdeps/generic/math_private.h (default_libc_fesetround): New
6568         function.
6569         (libc_fesetround): New macro.
6570         (libc_fesetroundf): Likewise.
6571         (libc_fesetroundl): Likewise.
6572         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6573         function.
6574         (libc_fesetround_387): Likewise.
6575         (libc_fesetroundf): New macro.
6576         (libc_fesetround): Likewise.
6577         (libc_fesetroundl): Likewise.
6578         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6579         function.
6580         (libc_fesetroundf): New macro.
6581         (libc_fesetround): Likewise.
6582         (libc_fesetroundl): Likewise.
6583         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6584         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6585         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6586         libm_hidden_ver.
6587         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6588         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6589         libm_hidden_def.
6590         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6591         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6592         libm_hidden_ver.
6593         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6594         libm_hidden_def.
6596         [BZ #3439]
6597         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6598         integer constant usable in #if and use that to give value to enum
6599         constant.
6600         (FE_DIVBYZERO): Likewise.
6601         (FE_UNDERFLOW): Likewise.
6602         (FE_OVERFLOW): Likewise.
6603         (FE_INVALID): Likewise.
6604         (FE_INVALID_SNAN): Likewise.
6605         (FE_INVALID_ISI): Likewise.
6606         (FE_INVALID_IDI): Likewise.
6607         (FE_INVALID_ZDZ): Likewise.
6608         (FE_INVALID_IMZ): Likewise.
6609         (FE_INVALID_COMPARE): Likewise.
6610         (FE_INVALID_SOFTWARE): Likewise.
6611         (FE_INVALID_SQRT): Likewise.
6612         (FE_INVALID_INTEGER_CONVERSION): Likewise.
6613         (FE_TONEAREST): Likewise.
6614         (FE_TOWARDZERO): Likewise.
6615         (FE_UPWARD): Likewise.
6616         (FE_DOWNWARD): Likewise.
6617         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6618         (FE_DIVBYZERO): Likewise.
6619         (FE_OVERFLOW): Likewise.
6620         (FE_UNDERFLOW): Likewise.
6621         (FE_INEXACT): Likewise.
6622         (FE_TONEAREST): Likewise.
6623         (FE_DOWNWARD): Likewise.
6624         (FE_UPWARD): Likewise.
6625         (FE_TOWARDZERO): Likewise.
6626         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6627         (FE_UNDERFLOW): Likewise.
6628         (FE_OVERFLOW): Likewise.
6629         (FE_DIVBYZERO): Likewise.
6630         (FE_INVALID): Likewise.
6631         (FE_TONEAREST): Likewise.
6632         (FE_TOWARDZERO): Likewise.
6633         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6634         (FE_OVERFLOW): Likewise.
6635         (FE_UNDERFLOW): Likewise.
6636         (FE_DIVBYZERO): Likewise.
6637         (FE_INEXACT): Likewise.
6638         (FE_TONEAREST): Likewise.
6639         (FE_TOWARDZERO): Likewise.
6640         (FE_UPWARD): Likewise.
6641         (FE_DOWNWARD): Likewise.
6642         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6643         (FE_DIVBYZERO): Likewise.
6644         (FE_OVERFLOW): Likewise.
6645         (FE_UNDERFLOW): Likewise.
6646         (FE_INEXACT): Likewise.
6647         (FE_TONEAREST): Likewise.
6648         (FE_DOWNWARD): Likewise.
6649         (FE_UPWARD): Likewise.
6650         (FE_TOWARDZERO): Likewise.
6652 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
6654         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6656 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
6658         * scripts/cross-test-ssh.sh (command): Use newlines to separate
6659         commands.  Quote $PWD.
6660         (blacklist_exports): Don't use remove_newlines.  Replace "declare
6661         -x" by "export".
6662         (remove_newlines): Remove.
6664 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
6666         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6667         * stdlib/stdlib.h (atof): Moved to ...
6668         * include/bits/stdlib-float.h: Here.  New file.
6669         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6670         * stdlib/bits/stdlib-float.h: New file.
6671         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6672         -mno-sse -mno-mmx.
6673         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6674         <xmmintrin.h>.
6676 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6678         * conform/conformtest.pl (@headers): Add fenv.h.
6679         * conform/data/fenv.h-data: New file.
6680         * include/fenv.h [_ISOMAC]: Disable all contents of file except
6681         include of <math/fenv.h>.
6683         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6684         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6685         && !UNIX98].  Enables tests for XOPEN2K8.
6686         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6687         POSIX2008]: Likewise.
6689         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6690         (struct rusage): Do not expect type or its members.
6692         [BZ #3439]
6693         * math/math.h (FP_NAN): Define macro to integer constant usable in
6694         #if and use that to give value to enum constant.
6695         (FP_INFINITE): Likewise.
6696         (FP_ZERO): Likewise.
6697         (FP_SUBNORMAL): Likewise.
6698         (FP_NORMAL): Likewise.
6700 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
6702         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6703         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6704         arguments.
6706 2012-11-02  Roland McGrath  <roland@hack.frob.com>
6708         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6709         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6710         autoconf-time if not.
6711         * configure.in: Remove AC_PREREQ.
6713 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6715         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6716         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6717         of the internal implementation.
6719 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6721         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6722         except include of <misc/sys/syslog.h>.
6724 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6727         function returns with a NULL context exit with zero.
6729 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6731         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6733 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
6735         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6736         (run_program_cmd): This.
6737         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6738         (tst_langinfo): New variable.  Use it.
6740 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
6742         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6743         floating point opcodes.
6745 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6747         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6748         variable.
6750         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6752         * sysdeps/mach/hurd/powerpc: Remove directory.
6753         * sysdeps/mach/powerpc: Likewise.
6755 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6757         * scripts/check-local-headers.sh: Ignore c++ headers.
6759 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6761         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6762         __libc_cleanup_region_start argument.
6764 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
6766         [BZ #14784]
6767         [BZ #14785]
6768         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6769         x * y using scaling, not as x * y + z.
6770         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6771         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6772         * math/libm-test.inc (fma_test): Add more tests.
6773         (fma_test_towardzero): Likewise.
6774         (fma_test_downward): Likewise.
6775         (fma_test_upward): Likewise.
6777 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6779         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6781 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6783         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6784         New variable.
6786 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
6788         * rt/tst-shm.c (worker): Correct checking for mmap failure.
6790 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6793         Fix sort order.
6794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6795         Likewise.
6797 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6800         Fix the order of the list for glibc 2.17.
6801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6802         Likewise.
6804 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6808 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6810         [BZ #14610]
6811         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6812         for low part of x being zero before using __atanl (y).
6813         * math/libm-test.inc (atan2_test): Add another test.
6815         * manual/install.texi (Configuring and compiling): Document
6816         general use of test-wrapper and test-wrapper-env.
6817         * INSTALL: Regenerated.
6819         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6820         (__fma): Do not extract and scale down low bits on after-rounding
6821         systems when result rounded to normal precision would have normal
6822         exponent.
6823         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6824         (__fmal): Do not extract and scale down low bits on after-rounding
6825         systems when result rounded to normal precision would have normal
6826         exponent.
6827         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6828         (__fmal): Do not extract and scale down low bits on after-rounding
6829         systems when result rounded to normal precision would have normal
6830         exponent.
6831         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6832         macro.
6833         (fma_test): Add more tests.
6834         (fma_test_towardzero): Likewise.
6835         (fma_test_downward): Likewise.
6836         (fma_test_upward): Likewise.
6838 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
6840         * sysdeps/i386/tininess.h: Renamed to ...
6841         * sysdeps/x86/tininess.h: This.
6842         * sysdeps/x86_64/tininess.h: Removed.
6844 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6846         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6847         input.  Use $(build-program-cmd).
6848         ($(objpfx)tst-array1-static.out): Likewise.
6849         ($(objpfx)tst-array2.out): Likewise.
6850         ($(objpfx)tst-array3.out): Likewise.
6851         ($(objpfx)tst-array4.out): Likewise.
6852         ($(objpfx)tst-array5.out): Likewise.
6853         ($(objpfx)tst-array5-static.out): Likewise.
6855 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
6857         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6858         if defined.
6860         * nss/nsswitch.h (nss_interface_function): Provide new
6861         macro for use with NSS functions.
6862         * grp/initgroups.c: Use new macro.
6863         * nss/getXXbyYY.c: Likewise.
6864         * nss/getXXbyYY_r.c: Likewise.
6865         * nss/getXXent.c: Likewise.
6866         * nss/getXXent_r.c: Likewise.
6867         * sysdeps/posix/getaddrinfo.c: Likewise.
6869 2012-10-30  Andreas Jaeger  <aj@suse.de>
6871         * po/ru.po: Update Russion translation from translation project.
6873 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6875         [BZ #14152]
6876         [BZ #14783]
6877         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6878         result and shift together with sticky bit instead of replicating
6879         round-to-nearest rounding.
6880         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6881         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6882         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
6883         missing underflow exceptions.
6884         (fma_test_towardzero): Add more tests.
6885         (fma_test_downward): Likewise.
6886         (fma_test_upward): Likewise.
6888         [BZ #14047]
6889         * sysdeps/generic/tininess.h: New file.
6890         * sysdeps/i386/tininess.h: Likewise.
6891         * sysdeps/sh/tininess.h: Likewise.
6892         * sysdeps/x86_64/tininess.h: Likewise.
6893         * stdlib/tst-strtod-underflow.c: Likewise.
6894         * stdlib/tst-tininess.c: Likewise.
6895         * stdlib/strtod_l.c: Include <tininess.h>.
6896         (round_and_return): Do not set errno for exact underflow cases.
6897         Force an underflow exception when setting errno for underflow.
6898         Determine underflow based on rounding to normal precision if
6899         TININESS_AFTER_ROUNDING.
6900         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6901         ERANGE for exact underflow cases.
6902         * stdlib/Makefile (tests): Add tst-tininess and
6903         tst-strtod-underflow.
6904         ($(objpfx)tst-tininess): Use $(link-libm).
6905         ($(objpfx)tst-strtod-underflow): Likewise.
6907 2012-10-30  Andreas Jaeger  <aj@suse.de>
6909         [BZ#14767]
6910         * elf/Makefile (tests): Remove conditional for have-initfini-array
6911         since this is now always required and the variable does not exist
6912         anymore.
6913         (tests-static): Likewise.
6914         (modules-names): Likewise.
6916         * po/eo.po: Add Esperanto translation from translation project.
6918         * elf/tst-array1.c (fini_array): Make writeable so that it can be
6919         merged with constructor/destructor.
6920         (init_array): Likewise.
6921         * elf/tst-array2dep.c (fini_array): Likewise.
6922         (init_array): Likewise.
6924 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
6926         * manual/message.texi: Delete @cartouche tags.
6928 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
6930         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6931         EOPNOTSUPP.
6932         * sysdeps/mach/hurd/fsync.c: Likewise.
6934         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6935         [_POSIX_REALTIME_SIGNALS]: Change condition to
6936         [_POSIX_REALTIME_SIGNALS > 0].
6938 2012-10-27  Andreas Jaeger  <aj@suse.de>
6940         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6941         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6942         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6943         [__WORDSIZE != 64]: Likewise.
6945 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
6947         *  iconvdata/tst-table.sh: Remove ${SHELL}.
6948         *  iconvdata/tst-tables.sh: Likewise.
6950 2012-10-25  David S. Miller  <davem@davemloft.net>
6952         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6953         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6954         of strtoull.
6956         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6957         ifunc-impl-list.c
6958         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6959         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6960         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6961         file.
6963 2012-10-25  Roland McGrath  <roland@hack.frob.com>
6965         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6966         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6967         __getdirentries.
6969 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6970             Jim Blandy  <jimb@codesourcery.com>
6972         * scripts/cross-test-ssh.sh: New file.
6973         * manual/install.texi (Configuring and compiling): Document use of
6974         cross-test-ssh.sh.
6975         * INSTALL: Regenerated.
6977 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
6979         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6980         EOPNOTSUPP.
6982 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6984         * Makeconfig (run-program-prefix): Fix comment.
6986 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6987             Jim Blandy  <jimb@codesourcery.com>
6989         * Makeconfig (test-wrapper): New variable,
6990         (test-wrapper-env): Likewise.
6991         [$(cross-compiling) = yes && $(test-wrapper) != ""]
6992         (run-built-tests): Define to yes.
6993         (run-program-prefix): Use $(test-wrapper).
6994         (built-program-cmd): Likewise.
6995         * Rules (make-test-out): Use $(test-wrapper-env) and
6996         $(host-built-program-cmd).
6997         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6998         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6999         tst-pathopt.sh.
7000         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7001         $(test-wrapper-env) to tst-rtld-load-self.sh.
7002         ($(objpfx)order2.out): Use $(test-wrapper).
7003         ($(objpfx)tst-initorder.out): Likewise.
7004         ($(objpfx)tst-initorder2.out): Likewise.
7005         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7006         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7007         (test_wrapper_env): New variable.  Use it to run ld.so.
7008         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7009         Use it to run ld.so.
7010         (test_wrapper_env): Likewise.
7011         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7012         $(test-wrapper) to run-iconv-test.sh.
7013         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7014         (ICONV): Use $test_wrapper.
7015         * posix/Makefile ($(objpfx)globtest.out): Pass
7016         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7017         globtest.sh, not $(run-program-prefix).
7018         * posix/globtest.sh (run_via_rtld_prefix): New variable.
7019         (test_wrapper): Likewise.
7020         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
7021         set together with run_via_rtld_prefix.
7022         (run_program_prefix): Define in terms of test_wrapper and
7023         run_via_rtld_prefix.
7025 2012-10-24  Roland McGrath  <roland@hack.frob.com>
7027         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7028         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7029         Targets removed.
7031         [BZ #14743]
7032         * include/time.h: Remove librt_hidden_proto (clock_gettime).
7033         Declare __clock_getres, __clock_gettime, __clock_settime,
7034         __clock_nanosleep, and __clock_getcpuclockid.
7035         * rt/clock_gettime.c: Define __clock_gettime as an alias.
7036         Remove librt_hidden_def (clock_gettime).
7037         * sysdeps/unix/clock_gettime.c: Likewise.
7038         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7039         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7040         * rt/clock_getres.c: Define __clock_getres as an alias.
7041         * sysdeps/posix/clock_getres.c: Likewise.
7042         * rt/clock_settime.c: Define __clock_settime as an alias.
7043         * sysdeps/unix/clock_settime.c: Likewise.
7044         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7045         * sysdeps/unix/clock_nanosleep.c: Likewise.
7046         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7047         * rt/clock-compat.c: New file.
7048         * rt/Makefile (librt-routines): Add clock-compat and move
7049         $(clock-routines) to ...
7050         (routines): ... here, new variable.
7051         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7052         Don't add get_clockfreq here.
7053         * rt/Versions (libc: GLIBC_2.17): New version set.
7054         Add clock_* symbols here.
7055         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
7056         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7057         (GLIBC_2.17): Add clock_* symbols.
7058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7060         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7062         Likewise.
7063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7064         Likewise.
7065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7069         * NEWS: Mention the move.
7071         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7072         Use __open, __read, __close rather than their public counterparts.
7073         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7074         (__get_clockfreq_via_cpuinfo): Likewise.
7075         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7076         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7078         * config.h.in (HAVE_IFUNC): New #undef.
7079         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7080         was successful.
7081         * configure: Regenerated.
7083 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7085         * configure.in: Move READELF check to start of file.
7086         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7087         libc_cv_asm_gnu_indirect_function in the process.
7088         * configure: Regenerated.
7090 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7092         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7093         send the output to /dev/null.
7094         (libc_cv_cc_with_libunwind): Likewise.
7095         (libc_cv_as_noexecstack): Likewise.
7096         * configure: Regenerate.
7098 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7100         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7102         * posix/globtest.sh (TMPDIR): Do not set.
7103         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7104         (testout): Likewise.
7106 2012-10-24  Andreas Jaeger  <aj@suse.de>
7108         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7109         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7110         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7111         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7112         posix_fadvise64, posix_fallocate64.
7114         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7115         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7116         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7117         Likewise.
7118         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7119         Likewise.
7120         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7122         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7123         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7124         <bits/fcntl-linux.h>.
7125         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7127         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7128         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7129         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7130         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7131         [__WORDSIZE != 64]: Likewise.
7133 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7135         * Makeconfig (run-built-tests): New variable.
7136         * Rules [$(cross-compiling) = yes]: Change condition to
7137         [$(run-built-tests) = no].
7138         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7139         to [$(run-built-tests) = yes].
7140         * elf/Makefile [$(cross-compiling) = no]: Likewise
7141         * grp/Makefile [$(cross-compiling) = no]: Likewise.
7142         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7143         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7144         * intl/Makefile [$(cross-compiling) = no]: Likewise.
7145         * io/Makefile [$(cross-compiling) = no]: Likewise.
7146         * libio/Makefile [$(cross-compiling) = no]: Likewise.
7147         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7148         * misc/Makefile [$(cross-compiling) = no]: Likewise.
7149         * posix/Makefile [$(cross-compiling) = no]: Likewise.
7150         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7151         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7152         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7153         * string/Makefile [$(cross-compiling) = no]: Likewise.
7155         * posix/Makefile ($(objpfx)globtest.out): Pass
7156         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7157         $(rtld-installed-name).
7158         * posix/globtest.sh (elf_objpfx): Remove variable.
7159         (rtld_installed_name): Likewise.
7160         (library_path): Likewise.
7161         (run_program_prefix): New variable.  Use for running globtest
7162         binary.
7164 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
7165             Joseph Myers  <joseph@codesourcery.com>
7167         * Makeconfig (host-built-program-cmd): New variable.
7168         * elf/Makefile (tst-stackguard1-ARGS): Use
7169         $(host-built-program-cmd).
7170         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7171         (tst-spawn-ARGS): Likewise.
7172         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7174 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7175             Jim Blandy  <jimb@codesourcery.com>
7177         * Makeconfig (run-via-rtld-prefix): New variable.
7178         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7179         (built-program-cmd): Likewise.
7181 2012-10-22  Andreas Jaeger  <aj@suse.de>
7183         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7184         __O_RSYNC if it exists, otherwise to O_SYNC.
7186 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
7187             Joseph Myers  <joseph@codesourcery.com>
7189         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7190         /dev/null.
7191         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7192         from /dev/null
7193         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7194         /dev/null.
7196 2012-10-22  Andreas Jaeger  <aj@suse.de>
7198         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7199         Define always.
7200         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7202         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7203         bits/fcntl-linux.h.
7205         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7206         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7208         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7209         to __O_LARGEFILE.
7210         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7211         to __O_LARGEFILE.
7213 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
7214             Joseph Myers  <joseph@codesourcery.com>
7216         * config.make.in (NM): New variable.
7218 2012-10-21  Andreas Jaeger  <aj@suse.de>
7220         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7221         definitions and declarations that are provided by
7222         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7224 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7226         [BZ #14683]
7227         * elf/Makefile (tests-static): Add tst-leaks1-static.
7228         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7229         ($(objpfx)tst-leaks1-static): New rule.
7230         ($(objpfx)tst-leaks1-static-mem): Likewise.
7231         (tst-leaks1-static-ENV): New macro.
7232         * elf/dl-open.c (dl_open_worker): Check the main application
7233         only if SHARED is defined.
7234         * elf/tst-leaks1-static.c: New file.
7236 2012-10-20  Andreas Jaeger  <aj@suse.de>
7238         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7239         generic values for Linux.
7240         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7241         and declarations that are provided by <bits/fcntl-linux.h> and
7242         include <bits/fcntl-linux.h>.
7243         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7244         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7246 2012-10-20  Roland McGrath  <roland@hack.frob.com>
7248         * io/fcntl.h: Move include of <bits/types.h> to the top and
7249         include it unconditionally.
7251 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7253         * wcsmbs/Makefile (tests-ifunc): New variable.
7254         (tests): Add $(tests-ifunc).
7255         * wcsmbs/test-wcschr-ifunc.c: New file.
7256         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7257         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7258         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7259         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7260         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7262         * string/Makefile (tests-ifunc): New variable.
7263         (tests): Add $(tests-ifunc).
7264         * string/test-memccpy.c (TEST_NAME): New macro.
7265         * string/test-memchr.c (TEST_NAME): Likewise.
7266         * string/test-memcmp.c (TEST_NAME): Likewise.
7267         * string/test-memcpy.c (TEST_NAME): Likewise.
7268         * string/test-memmem.c (TEST_NAME): Likewise.
7269         * string/test-memmove.c (TEST_NAME): Likewise.
7270         * string/test-memset.c (TEST_NAME): Likewise.
7271         * string/test-rawmemchr.c (TEST_NAME): Likewise.
7272         * string/test-stpcpy.c (TEST_NAME): Likewise.
7273         * string/test-stpncpy.c (TEST_NAME): Likewise.
7274         * string/test-strcasecmp.c (TEST_NAME): Likewise.
7275         * string/test-strcasestr.c (TEST_NAME): Likewise.
7276         * string/test-strcat.c (TEST_NAME): Likewise.
7277         * string/test-strchr.c (TEST_NAME): Likewise.
7278         * string/test-strcmp.c(TEST_NAME): Likewise.
7279         * string/test-strcpy.c (TEST_NAME): Likewise.
7280         * string/test-strcspn.c (TEST_NAME): Likewise.
7281         * string/test-strlen.c (TEST_NAME): Likewise.
7282         * string/test-strncasecmp.c (TEST_NAME): Likewise.
7283         * string/test-strncmp.c (TEST_NAME): Likewise.
7284         * string/test-strncpy.c (TEST_NAME): Likewise.
7285         * string/test-strnlen.c (TEST_NAME): Likewise.
7286         * string/test-strpbrk.c (TEST_NAME): Likewise.
7287         * string/test-strrchr.c (TEST_NAME): Likewise.
7288         * string/test-strspn.c (TEST_NAME): Likewise.
7289         * string/test-strstr.c (TEST_NAME): Likewise.
7290         * string/test-bcopy-ifunc.c: New file.
7291         * string/test-bzero-ifunc.c: Likewise.
7292         * string/test-memccpy-ifunc.c: Likewise.
7293         * string/test-memchr-ifunc.c: Likewise.
7294         * string/test-memcmp-ifunc.c: Likewise.
7295         * string/test-memcpy-ifunc.c: Likewise.
7296         * string/test-memmem-ifunc.c: Likewise.
7297         * string/test-memmove-ifunc.c: Likewise.
7298         * string/test-mempcpy-ifunc.c: Likewise.
7299         * string/test-memset-ifunc.c: Likewise.
7300         * string/test-rawmemchr-ifunc.c: Likewise.
7301         * string/test-stpcpy-ifunc.c: Likewise.
7302         * string/test-stpncpy-ifunc.c: Likewise.
7303         * string/test-strcasecmp-ifunc.c: Likewise.
7304         * string/test-strcasestr-ifunc.c: Likewise.
7305         * string/test-strcat-ifunc.c: Likewise.
7306         * string/test-strchr-ifunc.c: Likewise.
7307         * string/test-strchrnul-ifunc.c: Likewise.
7308         * string/test-strcmp-ifunc.c: Likewise.
7309         * string/test-strcpy-ifunc.c: Likewise.
7310         * string/test-strcspn-ifunc.c: Likewise.
7311         * string/test-strlen-ifunc.c: Likewise.
7312         * string/test-strncasecmp-ifunc.c: Likewise.
7313         * string/test-strncat-ifunc.c: Likewise.
7314         * string/test-strncmp-ifunc.c: Likewise.
7315         * string/test-strncpy-ifunc.c: Likewise.
7316         * string/test-strnlen-ifunc.c: Likewise.
7317         * string/test-strpbrk-ifunc.c: Likewise.
7318         * string/test-strrchr-ifunc.c: Likewise.
7319         * string/test-strspn-ifunc.c: Likewise.
7320         * string/test-strstr-ifunc.c: Likewise.
7322         * debug/Makefile (tests-ifunc): New variable.
7323         (tests): Add $(tests-ifunc).
7324         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7325         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7326         * debug/test-stpcpy_chk-ifunc.c: New file.
7327         * debug/test-strcpy_chk-ifunc.c: Likewise.
7329 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7331         [BZ #13601]
7332         * elf/dl-load.c (open_verify): Retry read if the entire ELF
7333         header is not read in.
7335 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
7337         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
7338         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
7339         directly.  Pass built executable to script as
7340         $(built-program-cmd).
7341         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
7342         $testprogram without using LD_LIBRARY_PATH and $ldso.
7344         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7345         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7346         $(rtld-installed-name).
7347         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7348         (rtld_installed_name): Likewise.
7349         (library_path): Likewise.
7350         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
7351         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7352         $(run-program-prefix) to tst-tables.sh.
7353         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
7354         it to run tst-table-from and tst-table-to.
7355         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7356         Pass it to tst-table.sh.
7357         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7358         $(run-program-prefix) to tst-gettext.sh.
7359         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7360         tst-translit.sh.
7361         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7362         tst-gettext2.sh.
7363         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
7364         to run tst-gettext.
7365         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
7366         to run tst-gettext2.
7367         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
7368         to run tst-translit.
7369         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7370         $(run-program-prefix) to tst-mtrace.sh.
7371         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
7372         to run tst-mtrace.
7373         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7374         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7375         $(rtld-installed-name).
7376         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7377         (rtld_installed_name): Likewise.
7378         (run_program_prefix): New variable.  Use it to run wordexp-test.
7380         * Makeconfig (ARCH): Remove all definitions.
7381         (machine): Likewise.
7382         [ARCH]: Remove conditional code.
7383         [!objdir]: Give error.
7384         [!objdir] (objpfx): Remove.
7385         [!objdir] (common-objpfx): Likewise.
7386         [!objdir] (common-objdir): Likewise.
7387         * configure.in (config_makefile): Remove.  Hardcode Makefile in
7388         AC_CONFIG_FILES call.
7389         * configure: Regenerated.
7391         [BZ #13888]
7392         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7393         or TMPDIR.
7394         (testout): Likewise.
7396         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7397         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7398         $(rtld-installed-name).
7399         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7400         (rtld_installed_name): Likwise.
7401         (runit): Remove function.
7402         (run_getconf): New variable,  Use it for running getconf binary.
7404 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
7406         [BZ #14716]
7407         * string/test-memmem.c (check_result): New function.
7408         (do_one_test): Use it.
7409         (check1): New function.
7410         (test_main): Use it.
7412 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
7414         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7416 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
7418         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7419         (_G_LSEEK64): Likewise.
7420         (_G_MMAP64): Likewise.
7421         (_G_FSTAT64): Likewise.
7422         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7423         (_G_LSEEK64): Likewise.
7424         (_G_MMAP64): Likewise.
7425         (_G_FSTAT64): Likewise.
7426         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7427         unconditional.  Call __mmap64 directly.
7428         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7429         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
7430         __lseek64 directly.
7431         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7432         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
7433         __mmap64 directly.
7434         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7435         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7436         __lseek64 directly.
7437         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7438         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7439         __lseek64 directly.
7440         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7441         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
7442         __lseek64 directly.
7443         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7444         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
7445         __fxstat64 directly.
7446         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7447         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7448         unconditional.
7449         (freopen64) [!_G_OPEN64]: Remove conditional code.
7450         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7451         unconditional.
7452         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7453         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7454         unconditional.
7455         (ftello64) [!_G_LSEEK64]: Remove conditional code.
7456         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7457         unconditional.
7458         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7459         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7460         unconditional.
7461         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7462         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7463         unconditional.
7464         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7465         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7466         unconditional.
7467         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7468         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7469         unconditional.
7470         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7472 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7474         [BZ #12140]
7475         * manual/memory.texi (Malloc Tunable Parameters): Add note
7476         about free list pointers overwriting some perturb bytes.
7477         Wording suggested by Roland McGrath.
7479 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
7481         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7482         (lgamma_test): Likewise.
7483         (tgamma_test): Likewise.
7485 2012-10-16  Florian Weimer  <fweimer@redhat.com>
7487         [BZ #14700]
7488         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7489         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7491 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
7493         * NEWS: Mention BZ #14716.
7494         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7495         when removing AVAILABLE1_USES_J macro.
7497 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7499         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7500         (__bswap_64): __uint64_t for unsigned 64-bit int.
7502 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
7504         * include/string.h (memmem): Declare libc hidden alias.
7505         * string/memmem.c (memmem): Define libc hidden alias.
7506         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7507         __read, __close instead of open, read, close.
7509 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
7511         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7512         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7513         global and hidden.
7514         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7515         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7516         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7517         Likewise.
7518         (__rawmemchr_sse2): Likewise.
7519         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7520         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7521         (__strchr_sse2): Likewise.
7522         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7523         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7524         (__strcasecmp_sse2): Likewise.
7525         (__strncasecmp_sse2): Likewise.
7526         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7527         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7528         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7529         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7530         (__strrchr_sse2): Likewise.
7531         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7532         ifunc-impl-list.c.
7533         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7534         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7535         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7536         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7537         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7538         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7539         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7540         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7541         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7542         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7543         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7544         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7545         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7546         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7547         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7548         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7549         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7550         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7551         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7552         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7553         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7554         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7555         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7556         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7557         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7558         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7559         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7560         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7561         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7562         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7564         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7565         global and hidden.
7566         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7567         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7568         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7569         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7570         Likewise.
7571         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7572         Likewise.
7573         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7574         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7575         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7576         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7577         ifunc-impl-list.c.
7578         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7579         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7580         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7581         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7582         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7583         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7584         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7585         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7586         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7587         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7588         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7589         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7590         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7591         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7592         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7593         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7594         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7595         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7596         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7597         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7598         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7599         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7600         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7601         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7602         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7603         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7604         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7605         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7606         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7607         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7608         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7609         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7610         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7611         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7612         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7613         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7614         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7615         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7616         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7617         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7618         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7620         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7621         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7622         * include/ifunc-impl-list.h: New file.
7623         * misc/ifunc-impl-list.c: Likewise.
7624         * misc/Makefile (routines): Add ifunc-impl-list.
7625         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7626         * string/test-string.h: Include <ifunc-impl-list.h>.
7627         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7628         impl_array): New variables.
7629         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7630         are defined.
7631         (test_init): Call __libc_ifunc_impl_list to initialize
7632         func_list if TEST_IFUNC and TEST_NAME are defined.
7634         * string/Makefile (strop-tests): Add bcopy and bzero.
7635         * string/test-bcopy.c: New file.
7636         * string/test-bzero.c: Likewise.
7637         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7638         defined.
7639         * string/test-memset.c: Support bzero test if TEST_BZERO is
7640         defined.
7641         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7642         __libc_memmove.
7643         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7644         __libc_memset.
7645         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7646         of memset.
7648 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
7650         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7651         * configure: Regenerated.
7653         * Makeconfig (+link-static-before-libc): Don't include
7654         $(link-static-libc).
7656         * libio/libio.h (_IO_pos_t): Remove.
7658 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7660         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
7661         McGrath.
7663 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7665         * crypt/crypt-entry.c: Include fips-private.h.
7666         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7667         * crypt/md5c-test.c (main): Tolerate disabled MD5.
7668         * sysdeps/unix/sysv/linux/fips-private.h: New file.
7669         * sysdeps/generic/fips-private.h: New file, dummy fallback.
7671 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7673         * crypt/crypt-private.h: Include stdbool.h.
7674         (_ufc_setup_salt_r): Return bool.
7675         * crypt/crypt-entry.c: Include errno.h.
7676         (__crypt_r): Return NULL with EINVAL for bad salt.
7677         * crypt/crypt_util.c (bad_for_salt): New.
7678         (_ufc_setup_salt_r): Check that salt is long enough and within
7679         the specified alphabet.
7680         * crypt/badsalttest.c: New file.
7681         * crypt/Makefile (tests): Add it.
7682         ($(objpfx)badsalttest): New.
7684 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
7686         * NEWS: Add entry for BZ #14602.
7688 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7690         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7691         type-generic.
7692         * math/libm-test.inc: Update comment listing what functions and
7693         macros are tested.
7694         (isgreater_test): New function.
7695         (isgreaterequal_test): Likewise.
7696         (isless_test): Likewise.
7697         (islessequal_test): Likewise.
7698         (islessgreater_test): Likewise.
7699         (isunordered_test): Likewise.
7700         (main): Call the new functions.
7702 2012-10-09  Roland McGrath  <roland@hack.frob.com>
7704         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7705         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7706         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7707         * sysdeps/i386/configure: Regenerated.
7708         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7709         * sysdeps/mach/configure: Regenerated.
7710         * sysdeps/mach/hurd/configure: Regenerated.
7711         * sysdeps/powerpc/configure: Regenerated.
7712         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7713         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7714         * sysdeps/s390/s390-32/configure: Regenerated.
7715         * sysdeps/s390/s390-64/configure: Regenerated.
7716         * sysdeps/sh/configure: Regenerated.
7717         * sysdeps/sparc/configure: Regenerated.
7718         * sysdeps/unix/sysv/linux/configure: Regenerated.
7719         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7720         * sysdeps/x86_64/configure: Regenerated.
7722         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7723         defined.  Don't check if MAP is NULL.
7725 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7727         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7728         (_G_stat64): Likewise.
7729         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7730         (_G_stat64): Likewise.
7731         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7732         instead of struct _G_stat64.
7733         * libio/fileops.c (mmap_remap_check): Likewise.
7734         (decide_maybe_mmap): Likewise.
7735         (_IO_new_file_seekoff): Likewise.
7736         (_IO_file_stat): Likewise.
7737         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7738         _G_off64_t.
7739         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7740         instead of struct _G_stat64.
7741         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7743 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
7745         [BZ #14602]
7746         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7747         Replace with ...
7748         (CHECK_EOL): New macro.
7749         (two_way_short_needle): Check beginning of haystack for EOL.  Use
7750         CHECK_EOL.
7751         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7752         Replace with CHECK_EOL.
7753         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7754         Replace with CHECK_EOL.
7756 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
7758         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7759         type-generic.
7760         * math/libm-test.inc: Update comment listing what functions and
7761         macros are tested.
7762         (finite_test): New function.
7763         (isinf_test): Likewise.
7764         (isnan_test): Likewise.
7765         (fpclassify_test): Test subnormal input.
7766         (isfinite_test): Likewise.
7767         (isnormal_test): Likewise.
7768         (main): Call the new functions.
7770 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
7772         [BZ #14660]
7773         * Makerules (%.dynsym): Force C locale when running
7774         $(OBJDUMP) --dynamic-syms.
7776 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
7778         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7779         <stdint.h>.
7781 2012-10-06  David S. Miller  <davem@davemloft.net>
7783         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7784         upper 32-bits of the length value in %o2 since we use branch-on-register
7785         tests which consider the entire 64-bit register.
7787 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
7789         * string/test-strstr.c (check2): Add a test for page boundary.
7791 2012-10-05  David S. Miller  <davem@davemloft.net>
7793         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7794         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7795         file.
7796         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7797         sysdep_routines.
7798         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7799         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7800         and bzero when HWCAP_SPARC_CRYPTO is present.
7802 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
7804         [BZ #14602]
7805         * string/test-strstr.c (check2): New function.
7806         (test_main): Call check2.
7808         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7809         and bug-strchr1.
7810         * string/bug-strcasestr1.c (do_test): Moved to ...
7811         * string/test-strcasestr.c (check1): Here.  New function.
7812         (do_one_test): Break out result checking code into ...
7813         (check_result): This.  New function.
7814         (do_one_test): Call check_result.
7815         (test_main): Call check1.
7816         * string/bug-strchr1.c (do_test): Moved to ...
7817         * string/test-strchr.c (check1): Here.  New function.
7818         (do_one_test): Break out result checking code into ...
7819         (check_result): This.  New function.
7820         (do_one_test): Call check_result.
7821         (test_main): Call check1.
7822         * string/bug-strstr1.c (main): Moved to ...
7823         * string/test-strstr.c (check1): Here.  New function.
7824         (do_one_test): Break out result checking code into ...
7825         (check_result): This.  New function.
7826         (do_one_test): Call check_result.
7827         (test_main): Call check1.
7828         * string/bug-strcasestr1.c: Removed.
7829         * string/bug-strchr1.c: Likewise.
7830         * string/bug-strstr1.c: Likewise.
7832         * elf/Makefile (dl-routines): Add hwcaps.
7833         * elf/dl-support.c (_dl_important_hwcaps): Removed.
7834         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7835         (_dl_important_hwcaps): Moved to ...
7836         * elf/dl-hwcaps.c: Here.  New file.
7837         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7839         [BZ #14557]
7840         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7841         if IS_IN_rtld isn't defined.
7843         * elf/dl-support.c (_dl_sysinfo_map): New.
7844         Include "get-dynamic-info.h" and "setup-vdso.h".
7845         (_dl_non_dynamic_init): Call setup_vdso.
7846         * elf/dynamic-link.h: Don't include <assert.h>.
7847         (elf_get_dynamic_info): Moved to ...
7848         * elf/get-dynamic-info.h: Here.  New file.
7849         * elf/dynamic-link.h: Include "get-dynamic-info.h".
7850         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7851         * elf/setup-vdso.h: Here.  New file.
7852         * elf/rtld.c: Include "setup-vdso.h".
7853         (dl_main): Call setup_vdso.
7855 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
7857         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7858         creal in comment listing functions tested.  List finite, isinf,
7859         isnan, isless, islessequal, isgreater, isgreaterequal,
7860         islessgreater, isunordered, lgamma_r and pow10 as functions and
7861         macros not tested.  Mention which functions not tested are aliases
7862         for other functions.  Fix typo.  Note that signs of NaNs are not
7863         tested.
7865         * scripts/config.guess: Update from config.git.
7866         * scripts/config.sub: Likewise.
7868 2012-10-04  Roland McGrath  <roland@hack.frob.com>
7870         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7871         * misc/madvise.c (madvise): Renamed to __madvise.
7872         Make madvise a weak alias.
7873         * include/sys/mman.h: Declare __madvise.
7874         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7875         * sysdeps/unix/syscalls.list
7876         (madvise): Make __madvise the strong name, and madvise a weak alias.
7877         * sysdeps/unix/sysv/linux/syscalls.list
7878         (madvise, mmap): Remove redundant entries.
7879         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7880         * malloc/malloc.c (mtrim): Likewise.
7881         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7883 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7885         * sysdeps/mach/hurd/dl-cache.c: File removed.
7886         * config.h.in (USE_LDCONFIG): New #undef.
7887         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7888         * configure: Regenerated.
7889         * elf/Makefile (dl-routines): Add dl-cache only under
7890         [$(use-ldconfig) = yes].
7891         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7892         cache on [USE_LDCONFIG].
7893         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7894         [USE_LDCONFIG].
7895         * elf/rtld.c (dl_main): Likewise.
7897 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
7899         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7900         _SC_LEVEL4_CACHE_LINESIZE.
7902 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7904         * sysdeps/unix/bsd/confstr.h: File removed.
7906 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
7908         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7909         sys/sdt-config.h.
7911 2012-10-02  Roland McGrath  <roland@hack.frob.com>
7913         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7914         Make 'mapoff' field ElfW(Off) rather than off_t.
7916 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
7918         * nscd/Makefile: Remove nscd-cflags and all its users.
7919         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7920         (CFLAGS-nonlib): Add compiler flags for nscd modules.
7922         [BZ #10631]
7923         * malloc.c (malloc_printerr): Clarify error message.
7925 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
7927         [BZ #14648]
7928         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7929         Set bit_FMA_Usable if FMA is supported.
7930         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7931         macro.
7932         (bit_FMA4_Usable): Updated.
7933         (index_FMA_Usable): New macro.
7934         (CPUID_FMA): Likewise
7935         (HAS_FMA): Defined with bit_FMA_Usable.
7937 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7939         * bits/types.h (__swblk_t): Type removed.
7940         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7941         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7942         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7943         (__SWBLK_T_TYPE): Likewise.
7944         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7945         (__SWBLK_T_TYPE): Likewise.
7946         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7947         (__SWBLK_T_TYPE): Likewise.
7948         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7949         (__SWBLK_T_TYPE): Likewise.
7951 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
7952             Honza Horak <hhorak@redhat.com>
7954         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7955         (xdr_mapname): Use YPMAXMAP as maxsize.
7956         (xdr_peername): Use YPMAXPEER as maxsize.
7957         (xdr_keydat): Use YPAXRECORD as maxsize.
7958         (xdr_valdat): Use YPMAXRECORD as maxsize.
7960 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7962         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7964         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7965         * csu/init-first.c: ... here.
7966         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7967         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7968         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7969         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7970         * sysdeps/i386/init-first.c: File removed.
7971         * sysdeps/sh/init-first.c: File removed.
7973 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
7975         [BZ #14645]
7976         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7977         if x * y might underflow to zero and z is zero.
7978         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7979         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7980         * math/libm-test.inc (min_subnorm_value): New variable.
7981         (fma_test): Add more tests.
7982         (fma_test_towardzero): Likewise.
7983         (fma_test_downward): Likewise
7984         (fma_test_upward): Likewise.
7985         (initialize): Set min_subnorm_value.
7987 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
7989         [BZ #14638]
7990         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7991         0 + 0.
7992         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7993         mode for addition resulting in exact zero.
7994         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7995         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7996         exact 0 + 0.
7997         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7998         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7999         * math/libm-test.inc (fma_test): Add more tests.
8000         (fma_test_towardzero): New function.
8001         (fma_test_downward): Likewise.
8002         (fma_test_upward): Likewise.
8003         (main): Call the new functions.
8005 2012-09-28  David S. Miller  <davem@davemloft.net>
8007         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8009 2012-09-28  Roland McGrath  <roland@hack.frob.com>
8011         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8012         instead of SIGALRM.
8014         * sysdeps/gnu/_G_config.h: Moved to ...
8015         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8016         * sysdeps/mach/hurd/_G_config.h: Moved to ...
8017         * sysdeps/generic/_G_config.h: ... here.
8019         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
8021         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8023         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8024         Conditionalize target on [libnss_test1.so-version].
8026         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8028         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8029         (elfobjdir): Move out of conditionals.
8031         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8032         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8033         (__nss_lookup_function): Conditionalize label remove_from_tree on
8034         [!DO_STATIC_NSS || SHARED], matching its only use.
8036 2012-09-28  David S. Miller  <davem@davemloft.net>
8038         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8039         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8040         file.
8041         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8042         sysdep_routines.
8043         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8044         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8045         when HWCAP_SPARC_CRYPTO is present.
8047 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8049         * io/tst-mknodat.c: Create a FIFO instead of a socket.
8051 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
8053         [BZ #6530]
8054         * stdio-common/vfprintf.c (process_string_arg): Revert
8055         2000-07-22 change.
8057 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
8059         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8060         for testcase.
8061         * stdio-common/tst-sprintf.c: Include <locale.h>
8062         (main): Test sprintf's handling of incomplete multibyte
8063         characters.
8065 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
8067         * elf/dl-runtime.c (VERSYMIDX): Removed.
8068         * elf/dl-version.c (VERSYMIDX): Likewise.
8069         * elf/do-rel.h (VERSYMIDX): Likewise.
8070         (VALIDX): Likewise.
8071         * elf/dynamic-link.h (VERSYMIDX): Likewise.
8072         * elf/rtld.c (VALIDX): Likewise.
8073         (ADDRIDX): Likewise.
8074         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8075         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8076         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8077         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8078         (VALIDX): Likewise.
8079         (ADDRIDX): Likewise.
8081 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8083         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8085 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
8087         [BZ #11438]
8088         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8089         to global scope.
8090         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8091         addresses are in the same scope as 192.0.2/24.
8092         * posix/gai.conf: Document new scope table defaults.
8094 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8096         [BZ #5298]
8097         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8098         for ftell.  Compute offsets from write pointers instead.
8099         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8101 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8103         [BZ #14543]
8104         * libio/Makefile (tests): New test case tst-fseek.
8105         * libio/tst-fseek.c: New test case to verify that fseek/ftell
8106         combination works in wide mode.
8107         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8108         state when the external buffer state changes.
8110 2012-09-27  David S. Miller  <davem@davemloft.net>
8112         [BZ #14376]
8113         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8114         pass reloc->r_addend in as the 'high' argument to
8115         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8119 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8121         * rt/tst-aio2.c: Include <pthread.h>.
8122         * rt/tst-aio3.c: Likewise.
8124 2012-09-27  Steve Ellcey  <sellcey@mips.com>
8126         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8128 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8130         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8131         contents on [SHARED].
8133 2012-09-26  Marek Polacek  <polacek@redhat.com>
8135         [BZ #14530]
8136         [BZ #13741]
8137         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8138         for C++ and GCC <4.3 as well as for non GCC compilers.
8140 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8144 2012-09-25  Roland McGrath  <roland@hack.frob.com>
8146         * Makefile.in (all, install): Declare with .PHONY.
8147         Reported by Michael Hope <michael.hope@linaro.org>.
8149 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8151         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8152         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8153         system header.
8154         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8155         Likewise.
8156         (sydep_routines): Add the new and the internal functions.
8157         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8158         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8160         (GLIBC_2.17): Add the new function.
8161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8162         (GLIBC_2.17): Likewise.
8163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8164         (GLIBC_2.17): Likewise.
8165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8166         (GLIBC_2.17): Likewise.
8167         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8169 2012-09-25  Alan Modra  <amodra@gmail.com>
8171         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8172         Add release barrier before setting once_control to say
8173         initialisation is done.  Add hints on lwarx.  Use macro in
8174         place of isync.
8175         (clear_once_control): Add release barrier.
8177 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8179         [BZ #13629]
8180         * math/s_clog.c (__clog): Handle more values close to |z| = 1
8181         specially.
8182         * math/s_clog10.c (__clog10): Likewise.
8183         * math/s_clog10f.c (__clog10f): Likewise.
8184         * math/s_clog10l.c (__clog10l): Likewise.
8185         * math/s_clogf.c (__clogf): Likewise.
8186         * math/s_clogl.c (__clogl): Likewise.
8187         * math/Makefile (libm-calls): Add x2y2m1.
8188         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8189         (__x2y2m1): Likewise.
8190         (__x2y2m1l): Likewise.
8191         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8192         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8193         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8194         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8195         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8196         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8197         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8198         * sysdeps/i386/fpu/libm-test-ulps: Update.
8199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8201         [BZ #14621]
8202         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8203         int as type of variable DEPTH.
8204         (glob): Use size_t instead of int as type of variables NEWCOUNT
8205         and OLD_PATHC.
8207 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8209         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8210         Add s_sincosf-sse2.
8211         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8212         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8213         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8214         macros for using routine as __sincosf_ia32.
8215         Use macro for function declaration and weak_alias.
8216         * sysdeps/i386/fpu/libm-test-ulps: Update.
8218         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8219         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8221         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8222         subnormal argument.
8223         * math/s_cexpf.c (__cexpf): Likewise.
8224         * math/s_csinf.c (__csinf): Likewise.
8225         * math/s_csinhf.c (__csinhf): Likewise.
8226         * math/s_ctanf.c (__ctanf): Likewise.
8227         * math/s_ctanhf.c (__ctanhf): Likewise.
8228         * math/s_ccosh.c (__ccoshf): Likewise.
8229         * math/s_cexp.c (__cexpl): Likewise.
8230         * math/s_csin.c (__csin): Likewise.
8231         * math/s_csinh.c (__csinh): Likewise.
8232         * math/s_ctan.c (__ctan): Likewise.
8233         * math/s_ctanh.c (ctanh): Likewise.
8234         * math/s_ccoshl.c (__ccoshl): Likewise.
8235         * math/s_cexpl.c (__cexpl): Likewise.
8236         * math/s_csinl.c (__csinl): Likewise.
8237         * math/s_csinhl.c (__csinhl): Likewise.
8238         * math/s_ctanl.c (__ctanl): Likewise.
8239         * math/s_ctanhl.c (__ctanhl): Likewise.
8241 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8243         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8244         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8245         (_IO_off_t): Define to __off_t, not _G_off_t.
8246         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8247         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8248         (_IO_wint_t): Define to wint_t, not _G_wint_t.
8249         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8250         type of __dummy and __dummy2 fields.
8251         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8252         (_G_ssize_t): Likewise.
8253         (_G_off_t): Likewise.
8254         (_G_pid_t): Likewise.
8255         (_G_uid_t): Likewise.
8256         (_G_wchar_t): Likewise.
8257         (_G_wint_t): Likewise.
8258         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8259         (_G_ssize_t): Likewise.
8260         (_G_off_t): Likewise.
8261         (_G_pid_t): Likewise.
8262         (_G_uid_t): Likewise.
8263         (_G_wchar_t): Likewise.
8264         (_G_wint_t): Likewise.
8265         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8266         (_G_ssize_t): Likewise.
8267         (_G_off_t): Likewise.
8268         (_G_pid_t): Likewise.
8269         (_G_uid_t): Likewise.
8270         (_G_wchar_t): Likewise.
8271         (_G_wint_t): Likewise.
8273 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8275         * malloc/arena.c: Include malloc-sysdep.h.
8276         (shrink_heap): Use check_may_shrink_heap to decide if madvise
8277         is sufficient to shrink the heap or an unmap is needed.
8278         * sysdeps/generic/malloc-sysdep.h: New file.  Define
8279         new function check_may_shrink_heap.
8280         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
8281         new function check_may_shrink_heap.
8283 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8285         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8286         comments.
8288 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
8290         * catgets/test-gencat.sh: Add "set -e".
8291         * elf/tst-pathopt.sh: Likewise.
8292         * grp/tst_fgetgrent.sh: Likewise.
8293         * iconvdata/run-iconv-test.sh: Likewise.
8294         * intl/tst-gettext.sh: Likewise.
8295         * intl/tst-gettext2.sh: Likewise.
8296         * intl/tst-gettext4.sh: Likewise.
8297         * intl/tst-gettext6.sh: Likewise.
8298         * intl/tst-translit.sh: Likewise.
8299         * io/ftwtest-sh: Likewise.
8300         * libio/test-freopen.sh: Likewise.
8301         * malloc/tst-mtrace.sh: Likewise.
8302         * posix/globtest.sh: Likewise.
8303         * posix/tst-getconf.sh: Likewise.
8304         * posix/wordexp-tst.sh: Likewise.
8305         * stdio-common/tst-printf.sh: Likewise.
8306         * stdio-common/tst-unbputc.sh: Likewise.
8307         * stdlib/tst-fmtmsg.sh: Likewise.
8308         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8309         * catgets/Makefile: Do not specify -e option when running
8310         testsuite shell scripts.
8311         * elf/Makefile: Likewise.
8312         * grp/Makefile: Likewise.
8313         * iconvdata/Makefile: Likewise.
8314         * intl/Makefile: Likewise.
8315         * io/Makefile: Likewise.
8316         * libio/Makefile: Likewise.
8317         * malloc/Makefile: Likewise.
8318         * posix/Makefile: Likewise.
8319         * stdio-common/Makefile: Likewise.
8320         * stdlib/Makefile: Likewise.
8321         * sysdeps/x86_64/Makefile: Likewise.
8323         * io/ftwtest-sh: Add copyright header.
8324         * posix/globtest.sh: Likewise.
8325         * posix/tst-getconf.sh: Likewise.
8326         * posix/wordexp-tst.sh: Likewise.
8327         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8329 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
8331         [BZ #13679]
8332         * Makeconfig (+link): Defined as $(+link-static) if
8333         $(build-shared) isn't yes.
8334         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8335         isn't yes.
8336         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8338         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8340         [BZ #14562]
8341         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8342         new chunk size with MALLOC_ALIGN_MASK.
8344 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
8346         [BZ #5044]
8347         * stdio-common/printf_fphex.c: Include <stdbool.h> and
8348         <rounding-mode.h>.
8349         (__printf_fphex): Determine rounding using get_rounding_mode and
8350         round_away.
8351         * stdio-common/tst-printf-round.c (struct hex_test): New
8352         structure.
8353         (hex_tests): New variable.
8354         (test_hex_in_one_mode): New function.
8355         (do_test): Also run tests for hex float output.
8357 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
8359         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8360         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8361         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8362         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8363         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8364         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8365         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8366         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8368 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
8370         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8371         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8372         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8373         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8375 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
8377         [BZ #14579]
8378         * elf/rtld.c (dl_main): Limit the check for self loading to normal
8379         mode only.
8380         * elf/tst-rtld-load-self.sh: New test.
8381         * elf/Makefile: Run it.
8383 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
8385         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8386         (tst-writev-ENV): Remove.
8387         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8389 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
8391         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8393 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
8395         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8396         unconditional.
8397         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8398         Likewise.
8399         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8400         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8401         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8402         Likewise.
8404 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8406         [BZ #14587]
8407         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8408         * config.make.in (have-cpp-asm-debuginfo): Removed.
8409         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8410         * configure: Regenerated.
8412 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
8414         [BZ #5044]
8415         * stdio-common/printf_fp.c: Include <stdbool.h> and
8416         <rounding-mode.h>.
8417         (___printf_fp): Determine rounding using get_rounding_mode and
8418         round_away.
8419         * stdio-common/tst-printf-round.c: New file.
8420         * stdio-common/Makefile (tests): Add tst-printf-round.
8421         (link-libm): New variable.
8422         ($(objpfx)tst-printf-round): Depend in $(link-libm).
8424 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
8426         [BZ #14576]
8427         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8428         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8429         Likewise.
8430         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8431         Likewise.
8433 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
8435         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8436         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8437         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8438         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8440 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
8442         [BZ #14518]
8443         * include/rounding-mode.h: New file.
8444         * sysdeps/generic/get-rounding-mode.h: Likewise.
8445         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8446         * stdlib/strtod_l.c: Include <rounding-mode.h>.
8447         (MAX_VALUE): New macro.
8448         (MIN_VALUE): Likewise.
8449         (overflow_value): New function.
8450         (underflow_value): Likewise.
8451         (round_and_return): Use overflow_value and underflow_value to
8452         determine return values in overflow and underflow cases.  Use
8453         round_away to determine rounding depending on rounding mode.
8454         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8455         determine return values in overflow and underflow cases.
8456         * stdlib/tst-strtod-round.c: Include <fenv.h>.
8457         (struct test_results): New structure.
8458         (struct test): Use struct test_results to store expected results
8459         for all rounding modes.
8460         (TEST): Include expected results for all rounding modes.
8461         (test_in_one_mode): New function.
8462         (do_test): Use test_in_one_mode to compute and check results.
8463         Check results for all rounding modes.
8464         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8465         $(link-libm).
8467 2012-12-09  Allan McRae  <allan@archlinux.org>
8469         * sysdeps/i386/fpu/libm-test-ulps: Update
8471 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
8473         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8474         (_G_int32_t): Likewise.
8475         (_G_uint16_t): Likewise.
8476         (_G_uint32_t): Likewise.
8477         (_G_HAVE_BOOL): Likewise.
8478         (_G_HAVE_ATEXIT): Likewise.
8479         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8480         (_G_HAVE_IO_FILE_OPEN): Likewise.
8481         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8482         (_G_int32_t): Likewise.
8483         (_G_uint16_t): Likewise.
8484         (_G_uint32_t): Likewise.
8485         (_G_HAVE_BOOL): Likewise.
8486         (_G_HAVE_ATEXIT): Likewise.
8487         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8488         (_G_HAVE_IO_FILE_OPEN): Likewise.
8489         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8490         (_G_int32_t): Likewise.
8491         (_G_uint16_t): Likewise.
8492         (_G_uint32_t): Likewise.
8493         (_G_HAVE_BOOL): Likewise.
8494         (_G_HAVE_ATEXIT): Likewise.
8495         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8496         (_G_HAVE_IO_FILE_OPEN): Likewise.
8498 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
8500         * csu/libc-tls.c: Update copyright years.
8502 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
8504         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8505         [!_G_USING_THUNKS]: Remove conditional code.
8506         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8507         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8509         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8510         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8511         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8512         (_G_VTABLE_LABEL_PREFIX): Likewise.
8513         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8514         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8515         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8516         (_G_VTABLE_LABEL_PREFIX): Likewise.
8517         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8518         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8519         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8520         (_G_VTABLE_LABEL_PREFIX): Likewise.
8521         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8523 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
8525         * libio/Makefile: Include ../Makeconfig before tests.
8526         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8527         only if $(build-shared) is yes.
8529         * iconv/gconv_db.c: Update copyright years.
8531 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8533         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8534         unwind info if defined PIC. Fix special cases description.
8535         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8537         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8538         DP_HI_MASK entry.
8539         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8541 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
8543         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8545         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8546         is NULL.
8548         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8549         (LDLIBS-tst-chk4): This.
8550         (LDFLAGS-tst-chk5): Renamed to ...
8551         (LDLIBS-tst-chk5): This.
8552         (LDFLAGS-tst-chk6): Renamed to ...
8553         (LDLIBS-tst-chk6): This.
8554         (LDFLAGS-tst-lfschk4): Renamed to ...
8555         (LDLIBS-tst-lfschk4): This.
8556         (LDFLAGS-tst-lfschk5): Renamed to ...
8557         (LDLIBS-tst-lfschk5): This.
8558         (LDFLAGS-tst-lfschk6): Renamed to ...
8559         (LDLIBS-tst-lfschk6): This.
8561         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8562         on $(common-objpfx)soversions.mk.
8564 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
8566         [BZ #10014]
8567         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8568         example host name.
8570 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8572         * malloc/arena.c (arena_get_retry): New function that gets
8573         another arena for the caller to try its request on.
8574         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8575         current arena cannot fulfill the request.
8576         (__libc_memalign): Likewise.
8577         (__libc_memalign): Likewise.
8578         (__libc_pvalloc): Likewise.
8579         (__libc_calloc): Likewise.
8581 2012-09-05  John Tobey  <john.tobey@gmail.com>
8583         [BZ #13542]
8584         * manual/arith.texi (Operations on Complex): Fix description
8585         of carg branch cut.
8587 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8589         [BZ #10014]
8590         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8591         host name.
8593         [BZ #10038]
8594         * manual/memory.texi (Memory): Make order of menu items match
8595         order of sections.
8597 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8599         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8600         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
8601         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8603 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8605         * csu/libc-tls.c (static_dtv): Renamed to ...
8606         (_dl_static_dtv): This.  Make it global.
8607         (_dl_initial_dtv): Removed.
8608         (__libc_setup_tls): Updated.
8609         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8610         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8611         DL_INITIAL_DTV.
8613 2012-09-06  Petr Machata  <pmachata@redhat.com>
8615         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8616         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8617         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8618         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8620 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8622         [BZ #14545]
8623         * csu/libc-tls.c (_dl_initial_dtv): New variable.
8624         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8625         freeing dtv[-1].
8627 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8629         [BZ #14544]
8630         * Makeconfig (link-static-before-libc): Replace $(+prector)
8631         with $(+prectorT).
8632         (link-static-after-libc): Replace $(+postctor) with
8633         $(+postctorT).
8634         (link-bounded): Replace $(+prector)/$(+postctor) with
8635         $(+prectorT)/$(+postctorT).
8636         (+prectorT): New macro.
8637         (+postctorT): Likewise.
8639 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8641         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8642         (round_str): Handle values above the maximum for IBM long double
8643         as inexact.
8644         * stdlib/tst-strtod-round.c (tests): Regenerated.
8646 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8648         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8649         assembler flag.
8650         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8651         zarch_nohighgprs around the zarch optimized routines.
8652         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8653         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8654         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8655         for zarch.
8657 2012-09-05  David S. Miller  <davem@davemloft.net>
8659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8661         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8662         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8663         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8664         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8665         entries.
8667 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8669         * malloc/arena.c: Fold copyright years.
8670         * malloc/mcheck.c, malloc/memusage.c: Likewise.
8672 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8674         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8676 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8678         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
8680 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8682         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8683         change internal state upon failure.
8685 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8687         * malloc/mcheck.c (mcheck_check_all): Fix typo.
8688         * malloc/memusage.c (mmap): Likewise.
8689         (mmap64, mremap): Likewise.  Adjust name in comment.
8691 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8693         * libio/fileops.c: Fix typos in comments.
8694         * libio/oldfileops.c: Likewise.
8695         * libio/wfileops.c: Likewise.
8697 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8699         [BZ #1349]
8700         * malloc/Makefile (tests): Add tst-malloc-usable test case.
8701         (tst-malloc-usable-ENV): Set environment for test case.
8702         * malloc/hooks.c (malloc_check_get_size): New function to get
8703         requested size.
8704         * malloc/malloc.c (musable): Use malloc_check_get_size.
8705         * malloc/tst-malloc-usable.c: New test case.
8707 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8709         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8711 2012-09-05  Allan McRae  <allan@archlinux.org>
8713         [BZ #13966]
8714         * configure.in (CXX_SYSINCLUDES): Use compiler output to
8715         determine header location.
8716         * configure: Regenerated.
8718 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8720         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8721         float format.
8722         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8723         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8724         format.
8725         (test): Regenerate.
8727 2012-09-04  David S. Miller  <davem@davemloft.net>
8729         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8730         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8731         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8733 2012-09-04  Florian Weimer  <fweimer@redhat.com>
8735         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8736         failures.
8738         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8740 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
8742         [BZ #9914]
8743         * libio/iogetdelim.c: Include <limits.h>.
8744         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8745         + len + 1 would overflow.
8747 2012-09-03  Andreas Jaeger  <aj@suse.de>
8749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8750         * sysdeps/i386/fpu/libm-test-ulps: Update.
8752 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8754         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8755         Add s_sinf-sse2, s_conf-sse2.
8757         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8758         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8759         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8760         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8762         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8763         for using routine as __sinf_ia32.
8764         Use macro for function declaration and weak_alias.
8765         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8766         for using routine as __cosf_ia32.
8767         Use macro for function declaration and weak_alias.
8769         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8770         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8772         * sysdeps/x86_64/fpu/s_sinf.S: New file.
8773         * sysdeps/x86_64/fpu/s_cosf.S: New file.
8774         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8776         * math/libm-test.inc (cos_test): Add more test cases.
8777         (sin_test): Likewise.
8778         (sincos_test): Likewise.
8780 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8782         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8783         (IFUNC_RESOLVE): Make pointers to the specialized implementations
8784         hidden.
8785         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8787 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
8789         [BZ #14538]
8790         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8791         first element of the GOT.
8792         (elf_machine_load_address): Return the difference between
8793         the runtime address of _DYNAMIC and elf_machine_dynamic ().
8795 2012-09-01  Allan McRae  <allan@archlinux.org>
8797         [BZ #13412]
8798         * configure.in (AWK): Require gawk version 3.0 or later.
8799         * configure: Regenerated.
8801 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
8803         * sysdeps/unix/sysv/linux/kernel-features.h
8804         (__ASSUME_POSIX_CPU_TIMERS): Remove.
8805         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8806         [__NR_clock_getres]: Make code unconditional.
8807         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8808         (clock_getcpuclockid): Remove code left unreachable by removal of
8809         conditionals.
8810         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8811         code unconditional.
8812         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8813         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8814         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8815         Make code unconditional.
8816         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8817         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8818         * sysdeps/unix/sysv/linux/clock_settime.c
8819         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8820         conditional code.
8821         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8822         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8824 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
8826         [BZ #14476]
8827         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8828         scripts/test-installation.pl.
8830         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8831         and $ld_so_version if it is set.
8833 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8835         [BZ #14516]
8836         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8837         failure if reading from procfs failed.
8838         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8840 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8842         * sysdeps/unix/sysv/linux/kernel-features.h
8843         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8844         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8845         Remove conditional code.
8846         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8847         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8848         Remove conditional code.
8849         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8850         * sysdeps/unix/sysv/linux/i386/fxstat.c
8851         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8852         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8853         * sysdeps/unix/sysv/linux/i386/fxstatat.c
8854         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8855         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8856         * sysdeps/unix/sysv/linux/i386/lxstat.c
8857         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8858         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8859         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8860         Remove conditional code.
8861         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8862         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8863         Remove conditional code.
8864         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8865         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8866         <kernel-features.h>.
8867         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8868         Remove.
8869         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8870         Remove conditional code.
8871         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8872         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8873         Remove conditional.
8875 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
8877         [BZ #5400]
8878         * NEWS: Add fixed bug number.
8880 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8882         [BZ #14519]
8883         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8884         underflowing exponent in case of negative sign.
8885         * stdlib/tst-strtod-round-data: Add more tests.
8886         * stdlib/tst-strtod-round.c (tests): Regenerated.
8888         [BZ #3479]
8889         * stdlib/strtod_l.c (NDIG): Remove.
8890         (HEXNDIG): Likewise.
8891         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8892         smallest representable value.
8893         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8894         lie within an exact representation of 1/2 ulp of the result.
8895         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8896         unconditionally.
8897         (TENS_P9_IDX): Define unconditionally.
8898         (TENS_P9_SIZE): Likewise.
8899         (TENS_P10_IDX): Likewise.
8900         (TENS_P10_SIZE): Likewise.
8901         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8902         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8903         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8904         entries for 10^2^13 and 10^2^14.
8905         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8906         (TENS_P13_IDX): Define.
8907         (TENS_P13_SIZE): Likewise.
8908         (TENS_P14_IDX): Likewise.
8909         (TENS_P14_SIZE): Likewise.
8910         (_fpioconst_pow10): Change array size to
8911         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
8912         unconditional.
8913         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8914         1024]: Add entries for 10^2^13 and 10^2^14.
8915         [LAST_POW10 > _LAST_POW10]: Remove #error.
8916         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8917         (_fpioconst_pow10): Change array size to
8918         FPIOCONST_POW10_ARRAY_SIZE.
8919         * stdlib/gen-fpioconst.c: New file.
8920         * stdlib/gen-tst-strtod-round.c: Likewise.
8921         * stdlib/tst-strtod-round-data: Likewise.
8922         * stdlib/tst-strtod-round.c: Likewise.
8923         * stdlib/Makefile (tests): Add tst-strtod-round.
8925         [BZ #14459]
8926         * stdlib/strtod_l.c: Include <stdint.h>.
8927         (NDEBUG): Do not define.
8928         (round_and_return): Change EXPONENT parameter to type intmax_t.
8929         Rearrange calculations to avoid internal overflow possibilities.
8930         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8931         Rearrange calculations to avoid internal overflow possibilities.
8932         Assert that number fits inside MPNSIZE limbs.
8933         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8934         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
8935         calculations and add assertions to avoid internal overflow
8936         possibilities.  Add casts to avoid signed/unsigned operations.
8937         * stdlib/tst-strtod-overflow.c: New file.
8938         * stdlib/Makefile (tests): Add tst-strtod-overflow.
8940 2012-08-25  Marek Polacek  <polacek@redhat.com>
8942         * time/time.h: Fix some typos in comments.
8944 2012-08-23  Roland McGrath  <roland@hack.frob.com>
8946         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8947         * posix/tst-rfc3484-2.c: Likewise.
8948         * posix/tst-rfc3484-3.c: Likewise.
8950 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
8952         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8953         (EF_ARM_ABI_FLOAT_HARD): Likewise.
8955 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
8957         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8958         #include of fxstatat64.c.
8960 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8962         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8963         * shadow/getspent_r.c: Likewise.
8964         * shadow/getspnam.c: Likewise.
8965         * shadow/getspnam_r.c: Likewise.
8966         * gshadow/getsgent.c: Likewise.
8967         * gshadow/getsgent_r.c: Likewise.
8968         * gshadow/getsgnam.c: Likewise.
8969         * gshadow/getsgnam_r.c: Likewise.
8970         * inet/getnetbyad.c: Likewise.
8971         * inet/getnetbyad_r.c: Likewise.
8972         * inet/getnetbynm.c: Likewise.
8973         * inet/getnetbynm_r.c: Likewise.
8974         * inet/getnetent.c: Likewise.
8975         * inet/getnetent_r.c: Likewise.
8976         * inet/getproto.c: Likewise.
8977         * inet/getproto_r.c: Likewise.
8978         * inet/getprtent.c: Likewise.
8979         * inet/getprtent_r.c: Likewise.
8980         * inet/getprtname.c: Likewise.
8981         * inet/getprtname_r.c: Likewise.
8982         * inet/getrpcbyname.c: Likewise.
8983         * inet/getrpcbyname_r.c: Likewise.
8984         * inet/getrpcbynumber.c: Likewise.
8985         * inet/getrpcbynumber_r.c: Likewise.
8986         * inet/getrpcent.c: Likewise.
8987         * inet/getrpcent_r.c: Likewise.
8988         * inet/getaliasent.c: Likewise.
8989         * inet/getaliasent_r.c: Likewise.
8990         * inet/getaliasname.c: Likewise.
8991         * inet/getaliasname_r.c: Likewise.
8992         * nscd/getgrgid_r.c: Likewise.
8993         * nscd/getgrnam_r.c: Likewise.
8994         * nscd/gethstbyad_r.c: Likewise.
8995         * nscd/gethstbynm3_r.c: Likewise.
8996         * nscd/getpwnam_r.c: Likewise.
8997         * nscd/getpwuid_r.c: Likewise.
8998         * nscd/getsrvbynm_r.c: Likewise.
8999         * nscd/getsrvbypt_r.c: Likewise.
9000         * nscd/gai.c: Likewise.
9002         * configure.in (build_nscd): New substituted variable, set
9003         by --disable-build-nscd and defaults to $use_nscd.
9004         * configure: Regenerated.
9005         * config.make.in (build-nscd): New substituted variable.
9006         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9007         Change conditional to require [$(build-nscd) = yes] as well.
9008         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9010         [BZ# 13696]
9011         * configure.in (use_nscd): New substituted variable, set by
9012         --disable-nscd.  If enabled, define USE_NSCD.
9013         * configure: Regenerated.
9014         * config.h.in: Add USE_NSCD.
9015         * config.make.in (use-nscd): New substituted variable.
9016         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9017         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9018         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9019         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9020         (CFLAGS-getgrnam_r.c): Likewise.
9021         (CFLAGS-initgroups.c): Likewise.
9022         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9023         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9024         Variables removed.
9025         * inet/getnetgrent_r.c
9026         (nscd_setnetgrent): New function, broken out of ...
9027         (setnetgrent): ... here.  Call it.
9028         (innetgr): Conditionalize nscd bits on [USE_NSCD].
9029         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9030         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9031         * nscd/Makefile (routines, aux): Move definitions after include of
9032         Makeconfig.  Conditionalize on [$(use-nscd) != no].
9033         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9034         Conditionalize on [USE_NSCD].
9035         (is_nscd, nscd_init_cb): Likewise.
9036         (nss_load_library): Conditionalize init callback on [USE_NSCD].
9037         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9038         * nss/nss_db/db-init.c: Likewise.
9039         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9040         [USE_NSCD].
9041         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9042         (make_request): Use it.
9043         (cache_valid_p): New function.
9044         (__check_pf): Use it.
9045         * NEWS: Add item for --disable-nscd.
9047 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
9049         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9050         to support sed >= 4.2.1-20-ga9bf076.
9051         * configure: Regenerated.
9053 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9055         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9056         Conditionalize whole body on [IREL].
9058 2012-08-22  Jeff Law <law@redhat.com>
9060         [BZ #14505]
9061         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9062         if the family is PF_UNSPEC.
9064 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
9066         * Makerules (lib-version): Rename from V.
9067         (install-lib-nosubdir): Change V to lib-version.
9069 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
9071         [BZ #14252]
9072         * powerpc32/power6/wcschr.c: New file.
9073         * powerpc32/power6/wcscpy.c: New file.
9074         * powerpc32/power6/wcsrchr.c: New file.
9075         * powerpc64/power6/wcschr.c: New file.
9076         * powerpc64/power6/wcscpy.c: New file.
9077         * powerpc64/power6/wcsrchr.c: New file.
9079 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9081         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9082         (two_way_short_needle): Use it.
9083         * string/strstr.c (AVAILABLE1_USES_J): Define.
9084         * string/strcasestr.c: Likewise.
9086         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9087         array references.
9088         * string/strcasestr.c (TOLOWER): Make side-effect safe.
9090         [BZ #11607]
9091         * NEWS: Add an entry.
9092         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9093         define their defaults.
9094         (two_way_short_needle): Detect end-of-string on-the-fly.
9095         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9096         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9097         * string/bug-strcasestr1.c: New test.
9098         * string/Makefile: Run it.
9100 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9102         [BZ #11607]
9103         * string/str-two-way.h (two_way_short_needle): Optimize matching of
9104         the first character.
9106 2012-08-21  Roland McGrath  <roland@hack.frob.com>
9108         * csu/elf-init.c (__libc_csu_irel): Function removed.
9109         * csu/libc-start.c (apply_irel): New function.
9110         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9112 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
9114         * sysdeps/unix/sysv/linux/kernel-features.h
9115         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9116         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9117         <kernel-features.h>.
9118         [__NR_fadvise64_64]: Make code unconditional.
9119         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9120         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9121         !__NR_fadvise64_64)]: Likewise.
9122         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9123         !__NR_fadvise64_64))]: Likewise.
9124         [__NR_fadvise64]: Make code unconditional.
9125         [!__NR_fadvise64]: Remove conditional code.
9126         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9127         <kernel-features.h>.
9128         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9129         unconditional.
9130         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9131         conditional code.
9132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9133         not include <kernel-features.h>.
9134         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9135         unconditional.
9136         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9137         conditional code.
9138         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9139         include <kernel-features.h>.
9140         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9141         unconditional.
9142         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9143         conditional code.
9145 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
9147         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9148         slight instruction rearrangements per scrollpipe analysis.
9149         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9151 2012-08-20  Roland McGrath  <roland@hack.frob.com>
9153         * manual/syslog.texi (syslog; vsyslog, closelog):
9154         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9155         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9157         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9158         DSOCAPS to match condition on defining it.
9160 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
9162         * sysdeps/unix/sysv/linux/kernel-features.h
9163         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9165         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9166         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9168         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9169         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9171         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9172         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9174         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9175         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9177         * sysdeps/unix/sysv/linux/kernel-features.h
9178         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9179         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9180         unconditional.
9181         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9182         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9183         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9184         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9185         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9186         Make code unconditional.
9187         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9188         (__mmap64) [!__NR_mmap2]: Likewise.
9189         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9190         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9191         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9192         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9193         [__NR_mmap2]: Make code unconditional.
9194         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9195         (__mmap64) [!__NR_mmap2]: Likewise.
9197 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9199         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9201 2012-08-18  Andreas Jaeger  <aj@suse.de>
9203         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9205 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9207         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9208         * include/unistd.h (__have_sock_cloexec): Likewise.
9209         (__have_pipe2): Likewise.
9210         (__have_dup3): Likewise.
9212 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9214         [BZ #9685]
9215         * include/unistd.h (__have_pipe2): Change define into an extern int.
9216         (__have_dup3): Likewise.
9217         * socket/have_sock_cloexec.c: Include fcntl.h.
9218         (__have_pipe2): New variable.
9219         (__have_dup3): Likewise.
9221 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
9223         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9225 2012-08-17  Marek Polacek  <polacek@redhat.com>
9227         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9228         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9230 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9232         * configure.in: Add AC_SUBST for sysheaders.
9233         * configure: Regenerated.
9234         * config.make.in (sysheaders): New substituted variable.
9236         * sysdeps/unix/mkfifo.c: Moved ...
9237         * sysdeps/posix/mkfifo.c: ... here.
9238         * sysdeps/unix/mkfifoat.c: Moved ...
9239         * sysdeps/posix/mkfifoat.c: ... here.
9241         * sysdeps/unix/utime.c: Moved ...
9242         * sysdeps/posix/utime.c: ... here.
9244         * sysdeps/unix/time.c: Moved ...
9245         * sysdeps/posix/time.c: ... here.
9246         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9247         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9249         * sysdeps/unix/nice.c: Moved ...
9250         * sysdeps/posix/nice.c: ... here.
9252         * sysdeps/unix/alarm.c: Moved ...
9253         * sysdeps/posix/alarm.c: ... here.
9255         * intl/Makefile ($(codeset_mo)): Depend on the input file.
9257 2012-08-17  Jeff Law <law@redhat.com>
9259         * intl/Makefile (codeset_mo): New variable.
9260         ($(codeset_mo)): New target.
9261         (tst-codeset.out): Depend on that.  Remove explicit rule.
9262         (tst-gettext3.out, tst-gettext5.out): Likewise.
9263         (LOCPATH-ENV, tst-codeset-ENV): New variables.
9264         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9265         * intl/tst-codeset.sh: Remove.
9266         * intl/tst-gettext3.sh: Likewise.
9267         * intl/tst-gettext5.sh: Likewise.
9269 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9271         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
9272         * sysdeps/unix/syscalls.list: ... here.
9274         * sysdeps/posix/getaddrinfo.c
9275         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9276         (gaiconf_init, gaiconf_reload): Use them.
9277         [!_STATBUF_ST_NSEC]
9278         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9279         Define using time_t rather than struct timespec.
9281         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9282         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9283         Macros removed.
9284         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9285         [!NO_THREADS].
9286         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9287         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9288         Likewise.
9290         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9291         __libc_cleanup_push argument.
9293         * bits/param.h: New file.
9294         * misc/sys/param.h: New file.
9295         * include/sys/param.h: New file.
9296         * misc/Makefile (headers): Add bits/param.h.
9297         * sysdeps/generic/sys/param.h: File removed.
9298         * sysdeps/unix/sysv/linux/bits/param.h: New file.
9299         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9300         * sysdeps/mach/hurd/bits/param.h: New file.
9301         * sysdeps/mach/hurd/sys/param.h: File removed.
9303         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9304         last change.
9306         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9307         [_IO_MTSAFE_IO].
9308         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9309         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9310         New macros.
9312         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9313         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9314         rather than -D_IO_MTSAFE_IO conditionally.
9315         * stdio-common/Makefile (CPPFLAGS): Likewise.
9316         * wcsmbs/Makefile (CPPFLAGS): Likewise.
9317         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9318         Use $(libio-mtsafe).
9319         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9320         of -D_IO_MTSAFE_IO.
9321         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9322         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9323         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9324         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9325         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9326         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9327         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9328         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9329         (CFLAGS-fread_u_chk.c): Likewise.
9330         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9331         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9332         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9333         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9334         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9335         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9336         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9337         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9338         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9340         * libio/Makefile: Test [$(libc-reentrant) = yes]
9341         instead of [$(filter %REENTRANT, $(defines)) nonempty].
9343         * Makeconfig
9344         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9345         * sysdeps/pthread/configure: File removed.
9346         * sysdeps/pthread/Makeconfig: New file.
9347         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9348         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9350 2012-08-16  Gary Benson  <gbenson@redhat.com>
9352         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9353         unmapping the first object in a namespace.
9355 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9357         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9358         (__internal_setnetgrent): ... this.  Add internal_function to
9359         definition.  Add libc_hidden_def.
9360         (setnetgrent): Update caller.
9361         (internal_endnetgrent): Renamed to ...
9362         (__internal_endnetgrent): ... this.  Add internal_function to
9363         definition.  Add libc_hidden_def.
9364         (endnetgrent): Update caller.
9365         (internal_getnetgrent_r): Renamed to ...
9366         (__internal_getnetgrent_r): ... this.  Add internal_function to
9367         definition.  Add libc_hidden_def.
9368         (__getnetgrent_r): Update caller.
9369         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
9371 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9373         * stdlib/longlong.h: Update from GCC.
9375 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9377         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9378         on _QL, which is set by umul_ppmm but never used.
9379         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9380         variables, which are set by GMP macros but never used.
9381         * stdio-common/_itowa.c (_itowa): Likewise.
9382         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9383         * stdlib/mod_1.c (mpn_mod_1): Likewise.
9385 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
9387         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9388         struct La_sh_regs is not constant.
9389         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9390         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9391         and struct La_sparc64_regs are not constant.
9393 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9395         * sysdeps/unix/sysv/linux/kernel-features.h
9396         (__ASSUME_POSIX_TIMERS): Remove.
9397         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9398         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9399         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9400         Make code unconditional.
9401         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9402         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9403         Make code unconditional.
9404         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9405         * sysdeps/unix/sysv/linux/clock_nanosleep.c
9406         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9407         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9408         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9409         Make code unconditional.
9410         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9411         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9412         (__libc_missing_posix_timers): Remove.
9414 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9416         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9417         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9419         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9421         * elf/dl-sym.c: Include <stdlib.h>.
9423         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9424         constants, which avoids warnings in 32-bit builds.
9426         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9427         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9429         * misc/lseek.c: File moved to ...
9430         * io/lseek.c: ... here.
9432         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9434         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9435         shifting LEN more than 31 bits at once.
9437 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9439         [BZ #14195]
9440         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9441         segmentation fault for a case of two empty input strings.
9442         * string/test-strncasecmp.c (check1): Renamed to...
9443         (bz12205): ...this.
9444         (bz14195): Add new testcase for two empty input strings and N > 0.
9445         (test_main): Call new testcase, adapt for renamed function.
9447 2012-08-15  Andreas Jaeger  <aj@suse.de>
9449         [BZ #14090]
9450         * crypt/md5test2.c: New test, based on test supplied by Serge
9451         Belyshev <belyshev@depni.sinp.msu.ru>.
9452         * crypt/Makefile (xtests): Add md5test-giant..
9453         * crypt/Makefile ($(objpfx)md5test-giant): Add.
9455 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
9457         [BZ #14090]
9458         * crypt/md5.c (md5_process_block): Don't assume the buffer
9459         length is less than 2**32.
9460         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9461         length is less than 2**64.
9463 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9465         * string/str-two-way.h: Include <sys/param.h>.
9466         (MAX): Macro removed.
9468         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9469         Move #define and #undef of memmove to just before and after
9470         including <string.h>.
9472         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9473         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9474         and after including <string.h>.  Move declarations of
9475         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9476         to before #include "string/memmove.c".
9478         * include/dirent.h: Declare __getdirentries.
9480         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9481         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9483 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
9485         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9486         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9487         * sysdeps/i386/configure: Regenerated.
9488         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9489         STABS_CURRENT_FILE, and STABS_FUN.
9490         (END): Remove call to STABS_FUN_END.
9491         (STABS_CURRENT_FILE1): Delete.
9492         (STABS_CURRENT_FILE): Likewise.
9493         (STABS_FUN): Likewise.
9494         (STABS_FUN_END): Likewise.
9495         (STABS_FUN2): Likewise.
9496         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9497         * sysdeps/x86_64/configure: Regenerated.
9499 2012-08-14  Roland McGrath  <roland@hack.frob.com>
9501         * elf/dl-open.c: Include <atomic.h>.
9502         * elf/dl-lookup.c: Likewise.
9504 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
9506         * sysdeps/unix/sysv/linux/kernel-features.h
9507         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9508         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9509         unconditionally.
9510         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9511         unconditionally.
9512         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9513         condition on __ASSUME_CLONE_THREAD_FLAGS.
9515 2012-08-14  Andreas Jaeger  <aj@suse.de>
9517         * sysdeps/i386/fpu/libm-test-ulps: Update.
9519 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
9521         * include/atomic.h (atomic_exchange_and_add): Split into ...
9522         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9523         New atomic macros.
9525 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
9527         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9529 2012-08-13  Jeff Law <law@redhat.com>
9531         * manual/stdio.texi (snprintf): Clarify handling of the trailing
9532         null byte in the output string.
9534 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
9536         * sysdeps/unix/sysv/linux/kernel-features.h
9537         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9538         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9539         (__ASSUME_ARG_MAX_STACK_BASED): Define.
9540         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9541         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9542         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
9543         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9545 2012-08-09  Jeff Law <law@redhat.com>
9547         [BZ #13939]
9548         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9549         When avoid_arena is set, don't retry in the that arena.  Pick the
9550         next one, whatever it might be.
9551         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9552         (arena_lock): Pass in new parameter to arena_get2.
9553         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9554         arena_get2.
9555         (__libc_malloc): Unify retrying after main arena failure with
9556         __libc_memalign version.
9557         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9559 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9561         [BZ #14166]
9562         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9563         to __redirect_strstr.
9564         (__strstr_sse42): Use typeof __redirect_strstr.
9565         (__strstr_ia32): Likewise.
9566         (__libc_strstr): New prototype.
9567         (strstr): Renamed to ...
9568         (__libc_strstr): This.
9569         (strstr): New strong alias of __libc_strstr.
9570         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9571         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9572         __redirect_time.
9573         Include <time.h>.
9574         (__libc_time): New prototype.
9575         (time_ifunc): Replace time with __libc_time.
9576         (time): New strong alias and hidden definition of __libc_time.
9577         (__GI_time): Remove strong alias.
9578         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9579         Include <stddef.h>.
9580         (memmove): Redefined to __redirect_memmove.
9581         (__memmove_sse2): Use typeof __redirect_memmove.
9582         (__memmove_ssse3): Likewise.
9583         (__memmove_ssse3_back): Likewise.
9584         (__libc_memmove): New prototype.
9585         (memmove): Renamed to ...
9586         (__libc_memmove): This.
9587         (memmove): New strong alias of __libc_memmove.
9589 2012-08-08  Mark Salter  <msalter@redhat.com>
9591         * elf/elf.h
9592         (R_MN10300_TLS_GD): Define.
9593         (R_MN10300_TLS_LD): Likewise.
9594         (R_MN10300_TLS_LDO): Likewise.
9595         (R_MN10300_TLS_GOTIE): Likewise.
9596         (R_MN10300_TLS_IE): Likewise.
9597         (R_MN10300_TLS_LE): Likewise.
9598         (R_MN10300_TLS_DTPMOD): Likewise.
9599         (R_MN10300_TLS_DTPOFF): Likewise.
9600         (R_MN10300_TLS_TPOFF): Likewise.
9601         (R_MN10300_SYM_DIFF): Likewise.
9602         (R_MN10300_ALIGN): Likewise.
9603         (R_MN10300_NUM): Update.
9605 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
9607         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9608         Remove.
9610 2012-08-08  Roland McGrath  <roland@hack.frob.com>
9612         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9614         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9615         sysdeps/unix -> sysdeps/posix move.
9616         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9618 2012-08-07      Allan McRae     <allan@archlinux.org>
9620         [BZ #14303]
9621         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9622         (SUNOS_CPP): Likewise.
9623         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9624         not found.
9625         (open_input): Call CPP using execvp.
9627 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9629         * sysdeps/unix/sysv/linux/kernel-features.h
9630         (__ASSUME_PROT_GROWSUPDOWN): Remove.
9631         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9632         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9633         (__ASSUME_WAITID_SYSCALL): Likewise.
9634         * sysdeps/unix/sysv/linux/dl-execstack.c
9635         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9636         code unconditional.
9637         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9638         conditional code.
9639         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9640         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9641         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9642         code.
9643         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9644         unconditional.
9645         [__ASSUME_WAITID_SYSCALL]: Likewise.
9646         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9648 2012-08-07  Roland McGrath  <roland@hack.frob.com>
9650         * sysdeps/unix/closedir.c: Renamed to ...
9651         * sysdeps/posix/closedir.c: ... here.
9652         * sysdeps/unix/dirfd.c: Renamed to ...
9653         * sysdeps/posix/dirfd.c: ... here.
9654         * sysdeps/unix/dirstream.h: Renamed to ...
9655         * sysdeps/posix/dirstream.h: ... here.
9656         * sysdeps/unix/fdopendir.c: Renamed to ...
9657         * sysdeps/posix/fdopendir.c: ... here.
9658         * sysdeps/unix/opendir.c: Renamed to ...
9659         * sysdeps/posix/opendir.c: ... here.
9660         * sysdeps/unix/readdir.c: Renamed to ...
9661         * sysdeps/posix/readdir.c: ... here.
9662         * sysdeps/unix/readdir_r.c: Renamed to ...
9663         * sysdeps/posix/readdir_r.c: ... here.
9664         * sysdeps/unix/rewinddir.c: Renamed to ...
9665         * sysdeps/posix/rewinddir.c: ... here.
9666         * sysdeps/unix/seekdir.c: Renamed to ...
9667         * sysdeps/posix/seekdir.c: ... here.
9668         * sysdeps/unix/telldir.c: Renamed to ...
9669         * sysdeps/posix/telldir.c: ... here.
9670         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9671         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9672         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9673         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9675         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9676         * bits/fcntl.h: ... here.
9678         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9679         not 0.
9680         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9681         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9682         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9683         (struct flock): Move l_start, l_len to the beginning.
9684         Use __pid_t for l_pid.
9685         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9686         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9687         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9688         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9689         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9690         [__USE_LARGEFILE64] (struct flock64): New type.
9691         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9693         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9694         * bits/dirent.h: ... here.
9696         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9697         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9699 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9701         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9702         Change from 2.6.0 to 2.6.16.
9703         * sysdeps/unix/sysv/linux/configure: Regenerated.
9704         * sysdeps/unix/sysv/linux/kernel-features.h
9705         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9706         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9707         version.
9708         (__ASSUME_UTIMES): Likewise.
9709         (__ASSUME_CLONE_STOPPED): Remove.
9710         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9711         architectures, not kernel version.
9712         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9713         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9714         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9715         (__ASSUME_WAITID_SYSCALL): Likewise.
9716         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9717         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9718         * README: State 2.6.16 as minimum Linux kernel version.  Do not
9719         refer to older versions.
9721 2012-08-06  Roland McGrath  <roland@hack.frob.com>
9723         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9724         Define alphasort64 as an alias.
9725         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9726         Define versionsort64 as an alias.
9727         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9728         Define scandir64 as an alias.
9729         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9730         Define scandirat64 as an alias.
9731         * dirent/alphasort64.c (alphasort64):
9732         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9733         * dirent/versionsort64.c: Likewise.
9734         * dirent/scandir64.c: Likewise.
9735         * dirent/scandirat64.c: Likewise.
9736         * sysdeps/wordsize-64/alphasort.c: File removed.
9737         * sysdeps/wordsize-64/alphasort64.c: File removed.
9738         * sysdeps/wordsize-64/scandir.c: File removed.
9739         * sysdeps/wordsize-64/scandir64.c: File removed.
9740         * sysdeps/wordsize-64/scandirat.c: File removed.
9741         * sysdeps/wordsize-64/scandirat64.c: File removed.
9742         * sysdeps/wordsize-64/versionsort.c: File removed.
9743         * sysdeps/wordsize-64/versionsort64.c: File removed.
9744         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9745         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9746         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9747         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9748         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9749         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9750         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9751         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9753         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9754         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9755         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9756         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9757         [defined __arch64__ || defined __sparcv9]
9758         (__INO_T_MATCHES_INO64_T): New macro.
9759         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9760         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9761         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9762         * sysdeps/unix/sysv/linux/bits/dirent.h
9763         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9764         (_DIRENT_MATCHES_DIRENT64): New macro.
9766         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9767         Define lockf64 as an alias.
9768         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9769         Define fseeko64 as an alias.
9770         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9771         Define ftello64 as an alias.
9772         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9773         Define _IO_fgetpos64 and fgetpos64 as aliases.
9774         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9775         Define _IO_fsetpos64 and fsetpos64 as aliases.
9776         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9777         Conditionalize body on this.
9778         * libio/fseeko64.c: Likewise.
9779         * libio/ftello64.c: Likewise.
9780         * libio/iofgetpos64.c: Likewise.
9781         * libio/iofsetpos64.c: Likewise.
9782         * sysdeps/wordsize-64/lockf.c: File removed.
9783         * sysdeps/wordsize-64/lockf64.c: File removed.
9784         * sysdeps/wordsize-64/fseeko.c: File removed.
9785         * sysdeps/wordsize-64/fseeko64.c: File removed.
9786         * sysdeps/wordsize-64/ftello.c: File removed.
9787         * sysdeps/wordsize-64/ftello64.c: File removed.
9788         * sysdeps/wordsize-64/iofgetpos.c: File removed.
9789         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9790         * sysdeps/wordsize-64/iofsetpos.c: File removed.
9791         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9792         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9793         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9794         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9795         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9796         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9797         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9798         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9799         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9800         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9801         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9803         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9804         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9805         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9806         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9807         [defined __arch64__ || defined __sparcv9]
9808         (__OFF_T_MATCHES_OFF64_T): New macro.
9809         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9810         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9811         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9812         (__OFF_T_MATCHES_OFF64_T): New macro.
9814 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9816         * stdlib/secure-getenv.c (__secure_getenv): Replace
9817         GLIBC_2_16 with GLIBC_2_17.
9819 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9821         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9822         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9824 2012-08-03  David S. Miller  <davem@davemloft.net>
9826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9828 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9830         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9831         Remove.
9832         (__ASSUME_CORRECT_SI_PID): Likewise.
9833         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9834         (__ASSUME_TMPFS_NAME): Likewise.
9835         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9836         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9837         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9838         (HAVE_AUX_SECURE): Make definition unconditional.
9839         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9840         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9842 2012-08-03  Roland McGrath  <roland@hack.frob.com>
9844         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9845         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9846         * sysdeps/mach/hurd/eloop-threshold.h: New file.
9847         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9848         __eloop_threshold instead of SYMLOOP_MAX.
9850         * sysdeps/generic/eloop-threshold.h: New file.
9851         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9852         of MAXSYMLINKS.
9853         * elf/chroot_canon.c (chroot_canon): Likewise.
9855 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9857         [BZ #13717]
9858         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9859         Change to 2.6.0 everywhere.
9860         * sysdeps/unix/sysv/linux/configure: Regenerated.
9861         * sysdeps/unix/sysv/linux/kernel-features.h
9862         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9863         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9864         kernel versions.
9865         (__ASSUME_POSIX_TIMERS): Define unconditionally.
9866         (__ASSUME_FUTEX_REQUEUE): Remove.
9867         (__ASSUME_STATFS64): Define unconditionally.
9868         (__ASSUME_AT_SECURE): Likewise.
9869         (__ASSUME_CORRECT_SI_PID): Likewise.
9870         (__ASSUME_TGKILL): Define without depending on kernel version for
9871         i386.
9872         (__ASSUME_UTIMES): Likewise.
9873         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9874         kernel version.
9875         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9876         (__ASSUME_TMPFS_NAME): Likewise.
9877         * README: Update reference to Linux kernel versions.
9879 2012-08-02  Marek Polacek  <polacek@redhat.com>
9881         [BZ# 14150]
9882         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
9883         libc_cv_asm_type_prefix with %.
9884         * configure: Regenerated.
9885         * include/libc-symbols.h: Remove comment about
9886         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9887         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9888         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9889         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9890         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9891         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9892         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9893         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9894         * elf/tst-unique2mod1.c: Likewise.
9895         * elf/tst-unique1mod2.c: Likewise.
9896         * elf/tst-unique1mod1.c: Likewise.
9897         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9898         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9899         Replace ASM_TYPE_DIRECTIVE with .type.
9900         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9901         * sysdeps/i386/sysdep.h: Likewise.
9902         * sysdeps/x86_64/sysdep.h: Likewise.
9903         * sysdeps/sh/sysdep.h: Likewise.
9904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9905         Do not define ASM_TYPE_DIRECTIVE.
9906         * sysdeps/powerpc/sysdep.h: Likewise.
9907         * sysdeps/powerpc/powerpc32/sysdep.h:
9908         Replace ASM_TYPE_DIRECTIVE with .type.
9909         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9910         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9911         * sysdeps/i386/fpu/e_powf.S: Likewise.
9912         * sysdeps/i386/fpu/e_expl.S: Likewise.
9913         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9914         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9915         * sysdeps/i386/fpu/e_pow.S: Likewise.
9916         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9917         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9918         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9919         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9920         * sysdeps/i386/fpu/e_log2.S: Likewise.
9921         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9922         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9923         * sysdeps/i386/fpu/e_powl.S: Likewise.
9924         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9925         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9926         * sysdeps/i386/fpu/e_logl.S: Likewise.
9927         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9928         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9929         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9930         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9931         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9932         * sysdeps/i386/fpu/e_log.S: Likewise.
9933         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9934         * sysdeps/i386/fpu/e_logf.S: Likewise.
9935         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9936         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9937         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9938         * sysdeps/i386/fpu/e_log10.S: Likewise.
9939         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9940         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9941         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9942         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9943         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9944         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9945         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9946         * sysdeps/i386/i686/strtok.S: Likewise.
9947         * sysdeps/i386/i386-mcount.S: Likewise.
9948         * sysdeps/i386/strtok.S: Likewise.
9949         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9950         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9951         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9952         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9953         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9954         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9955         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9956         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9957         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9958         * sysdeps/x86_64/_mcount.S: Likewise.
9959         * sysdeps/x86_64/strtok.S: Likewise.
9960         * sysdeps/sh/_mcount.S: Likewise.
9962 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9964         * libio/iofopen.c: Include <fcntl.h>.
9965         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9966         (_IO_fopen64, fopen64): Define as aliases.
9967         * libio/iofopen64.c: Include <fcntl.h>.
9968         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9969         Conditionalize body on this.
9970         * sysdeps/wordsize-64/iofopen.c: File removed.
9971         * sysdeps/wordsize-64/iofopen64.c: File removed.
9973 2012-08-01  Marek Polacek  <polacek@redhat.com>
9975         * libc/Makeconfig: Use elf in place of binfmt-subdir.
9976         Use dlfcn directly instead of a variable.
9977         (binfmt-subdir): Do not define.
9978         (dlfcn): Likewise.
9980 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
9982         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9983         Remove all definitions.
9984         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9985         <kernel-features.h>.
9986         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9987         (miss_F_GETOWN_EX): Remove all definitions.
9988         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9989         macro definition.
9990         [!__ASSUME_FCNTL64]: Remove conditional code.
9991         [__ASSUME_FCNTL64]: Make code unconditional.
9992         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9993         <kernel-features.h>.
9994         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9995         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9996         (lockf64) [__NR_fcntl64]: Make code unconditional.
9997         (lockf64) [__ASSUME_FCNTL64]: Likewise.
9999         * sysdeps/unix/sysv/linux/kernel-features.h
10000         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10001         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10002         Make code unconditional.
10003         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10004         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10006         [__NR_vfork]: Make code unconditional.
10007         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10008         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10010         [__NR_vfork]: Make code unconditional.
10011         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10012         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10014 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10016         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10017         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10019         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10020         Define mkstemp64 as an alias.
10021         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10022         Define mkstemps64 as an alias.
10023         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10024         Define mkostemp64 as an alias.
10025         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10026         Define mkostemps64 as an alias.
10027         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10028         Conditionalize body on this.
10029         * misc/mkostemp64.c: Likewise.
10030         * misc/mkostemps64.c: Likewise.
10031         * misc/mkstemps64.c: Likewise.
10032         * sysdeps/wordsize-64/mkstemp64.c: File removed.
10033         * sysdeps/wordsize-64/mkostemp64.c: File removed.
10034         * sysdeps/wordsize-64/mkostemp.c: File removed.
10035         * sysdeps/wordsize-64/mkstemp.c: File removed.
10036         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10037         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10038         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10039         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10041         [BZ #14138]
10042         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10043         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10044         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10045         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10047         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10048         compat_symbol macros from <shlib-compat.h> rather than the underlying
10049         default_symbol_version and symbol_version macros, so that DEFAULT
10050         lines in shlib-versions are respected.
10051         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10053 2012-08-01  Florian Weimer  <fweimer@redhat.com>
10055         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10056         Declare with warn_unused_result.
10057         (setgid, setregid, setegid, setresgid): Likewise.
10058         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10059         Likewise.
10060         * WUR-REPORT: Remove set*id functions.
10062 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
10064         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10066 2012-07-31  Roland McGrath  <roland@hack.frob.com>
10068         * include/sys/socket.h (__libc_accept, __libc_accept4):
10069         Add attribute_hidden.
10070         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10072         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10073         use of PTR_MANGLE.
10074         * inet/getnetgrent_r.c (setup): Likewise.
10076         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10078 2012-07-31  David S. Miller  <davem@davemloft.net>
10080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10082 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
10084         [BZ #13629]
10085         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10086         value between 1.0 and 2.0 and smaller part has absolute value less
10087         than 1.0.
10088         * math/s_clog10.c (__clog10): Likewise.
10089         * math/s_clog10f.c (__clog10f): Likewise.
10090         * math/s_clog10l.c (__clog10l): Likewise.
10091         * math/s_clogf.c (__clogf): Likewise.
10092         * math/s_clogl.c (__clogl): Likewise.
10093         * math/libm-test.inc (clog_test): Add more tests.
10094         (clog10_test): Likewise.
10095         * sysdeps/i386/fpu/libm-test-ulps: Update.
10096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10098 2012-07-31  Florian Weimer  <fweimer@redhat.com>
10100         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10101         Exit with zero in case no suitable GID is found, and write a
10102         message to standard error.
10104 2012-07-30  Roland McGrath  <roland@hack.frob.com>
10106         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10107         rather than to 1.
10108         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10109         (MAXPATHLEN): Removed.
10110         (NOGROUP, NODEV): New macros.
10111         (setbit, clrbit, isset, isclr): New macros.
10112         (howmany, roundup, powerof2): New macros.
10113         (DEV_BSIZE): New macro.
10115         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10116         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10118         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10119         definition on [!__NO_LONG_DOUBLE_MATH].
10121         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10122         PTR_MANGLE and PTR_DEMANGLE.
10124         * socket/accept4.c (accept4): Rename to __libc_accept4.
10125         Define accept4 as a weak alias.
10127         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10128         on [_DIRENT_HAVE_D_TYPE].
10129         * io/ftw.c (ftw_dir): Likewise.
10131         * io/xmknod.c (__xmknod): Don't check PATH for being null.
10133         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10135         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10136         Use the BSD numbers rather than the arbitrary ones we had.
10137         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10138         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10139         (SIGXCPU, SIGXFSZ): New macros.
10140         (_NSIG): Now 32.
10142         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10143         initializer on [_LIBC_REENTRANT].
10145         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10146         definitions inside [_POSIX_MAPPED_FILES].
10148         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10150         * dirent/opendir.c: Include <fcntl.h>.
10152         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10153         (__libc_getspecific): Likewise.
10154         (__libc_key_create): Likewise.
10156         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10157         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10158         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10159         (tmpfile64): Define as alias.
10160         * sysdeps/wordsize-64/tmpfile.c: File removed.
10161         * sysdeps/wordsize-64/tmpfile64.c: File removed.
10162         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10163         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10165         * stdio-common/vfscanf.c: Include <stdbool.h>.
10166         * nss/makedb.c: Likewise.
10167         * stdio-common/_i18n_number.h: Likewise.
10168         * argp/argp-help.c: Likewise.
10169         * posix/wordexp.c: Likewise.
10170         * sysdeps/posix/spawni.c: Likewise.
10171         * nss/nss_files/files-initgroups.c: Likewise.
10172         * stdio-common/reg-modifier.c: Include <stdlib.h>.
10173         * nss/nss_files/files-initgroups.c: Likewise.
10174         * nss/nss_db/db-netgrp.c: Likewise.
10175         * nss/nss_db/db-initgroups.c: Likewise.
10176         * io/fchmodat.c: Include <sys/stat.h>.
10178         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10179         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10181         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10182         [HAVE_MMAP].
10184         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10185         Add multiple inclusion protection.
10187 2012-07-27  David S. Miller  <davem@davemloft.net>
10189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10191 2012-07-27  Gary Benson  <gbenson@redhat.com>
10193         [BZ #14298]
10194         * elf/rtld.c: Include <stap-probe.h>.
10195         (dl_main): Added static probes "init_start" and "init_complete".
10196         * elf/dl-load.c: Include <stap-probe.h>.
10197         (lose): Take new parameter "nsid".
10198         Added static probe "map_failed".
10199         (_dl_map_object_from_fd): Pass namespace id to lose.
10200         Added static probe "map_start".
10201         (open_verify): Pass namespace id to lose.
10202         * elf/dl-open.c: Include <stap-probe.h>.
10203         (dl_open_worker) Added static probes "map_complete", "reloc_start"
10204         and "reloc_complete".
10205         * elf/dl-close.c: Include <stap-probe.h>.
10206         (_dl_close_worker): Added static probes "unmap_start" and
10207         "unmap_complete".
10208         * elf/rtld-debugger-interface.txt: New file documenting the above.
10210 2012-07-26  Roland McGrath  <roland@hack.frob.com>
10212         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10213         rather than a string variable.
10214         * sunrpc/rpc_main.c (h_output): Likewise.
10215         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10217 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
10219         * inet/check_native.c: New file.
10221 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
10223         [BZ #13629]
10224         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10225         if larger part has absolute value 1.0.
10226         * math/s_clog10.c (__clog10): Likewise.
10227         * math/s_clog10f.c (__clog10f): Likewise.
10228         * math/s_clog10l.c (__clog10l): Likewise.
10229         * math/s_clogf.c (__clogf): Likewise.
10230         * math/s_clogl.c (__clogl): Likewise.
10231         * math/libm-test.inc (clog_test): Add more tests.
10232         (clog10_test): Likewise.
10233         * sysdeps/i386/fpu/libm-test-ulps: Update.
10234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10236         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10237         (pltexit): Likewise.
10238         (La_regs): Likewise.
10239         (La_retval): Likewise.
10240         (int_retval): Likewise.
10241         Update #error for removed macros to refer only to definitions in
10242         tst-audit.h.
10243         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10244         macro.
10245         (pltexit): Likewise.
10246         (La_regs): Likewise.
10247         (La_retval): Likewise.
10248         (int_retval): Likewise.
10249         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10250         macro.
10251         (pltexit): Likewise.
10252         (La_regs): Likewise.
10253         (La_retval): Likewise.
10254         (int_retval): Likewise.
10255         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10256         macro.
10257         (pltexit): Likewise.
10258         (La_regs): Likewise.
10259         (La_retval): Likewise.
10260         (int_retval): Likewise.
10261         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10262         macro.
10263         (pltexit): Likewise.
10264         (La_regs): Likewise.
10265         (La_retval): Likewise.
10266         (int_retval): Likewise.
10267         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10268         macro.
10269         (pltexit): Likewise.
10270         (La_regs): Likewise.
10271         (La_retval): Likewise.
10272         (int_retval): Likewise.
10273         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10274         macro.
10275         (pltexit): Likewise.
10276         (La_regs): Likewise.
10277         (La_retval): Likewise.
10278         (int_retval): Likewise.
10279         * sysdeps/generic/tst-audit.h: Update comment to refer only to
10280         macro definitions in tst-audit.h.
10281         * sysdeps/i386/tst-audit.h: New file.
10282         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10283         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10284         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10285         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10286         * sysdeps/sh/tst-audit.h: Likewise.
10287         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10288         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10289         * sysdeps/x86_64/tst-audit.h: Likewise.
10291 2012-07-26  Andreas Jaeger  <aj@suse.de>
10293         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10294         ptrace.
10296         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10297         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10298         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10299         PTRACE_O_MASK.
10300         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10301         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10302         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10304         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10305         value.
10307         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10308         _sigsys.
10309         (si_call_addr, si_syscall, si_arch): Define new macro.
10310         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10311         _sigsys.
10312         (si_call_addr, si_syscall, si_arch): Define new marcro.
10313         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10314         _sigsys.
10315         (si_call_addr, si_syscall, si_arch): Define new macro.
10316         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10317         _sigsys.
10318         (si_call_addr, si_syscall, si_arch): Define new macro.
10320 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10322         [BZ #13717]
10323         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10324         Change to 2.4.21 where previously 2.4.1.
10325         * sysdeps/unix/sysv/linux/configure: Regenerated.
10326         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10327         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10328         Linux kernel version.
10329         (__ASSUME_STD_AUXV): Remove.
10330         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10331         kernel version.
10332         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10333         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10334         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10335         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10336         (__ASSUME_NETLINK_SUPPORT): Likewise.
10337         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10338         (__no_netlink_support): Remove conditional definition.
10339         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10340         Remove.
10341         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10342         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10343         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10344         (if_nameindex_ioctl): Remove.
10345         (if_nameindex_netlink): Do not handle __no_netlink_support.
10346         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10347         code.
10348         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10349         Remove conditional code.
10350         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10351         code.
10352         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10353         unconditional.
10354         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10355         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10356         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10357         Remove.
10358         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10359         [!__ASSUME_STD_AUXV]: Remove conditional code.
10360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10361         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10362         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10364         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10365         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10366         code.
10367         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10369         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10370         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10371         conditional code.
10372         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10374         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10375         code.
10376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10377         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10378         conditional code.
10379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10380         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10381         code unconditional.
10382         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10383         conditional code.
10384         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10385         unconditional.
10386         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10387         conditional code.
10388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10389         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10390         unconditional.
10391         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10392         conditional code.
10393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10394         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10395         code unconditional.
10396         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10397         conditional code.
10398         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10399         unconditional.
10400         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10401         conditional code.
10402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10403         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10404         code unconditional.
10405         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10406         conditional code.
10407         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10408         unconditional.
10409         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10410         conditional code.
10412 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
10414         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10415         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10416         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10417         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10418         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10419         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10420         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10421         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10422         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10423         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10424         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10425         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10426         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10427         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10428         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10429         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10430         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10431         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10432         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10433         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10434         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10435         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10436         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10438 2012-07-25  Florian Weimer  <fweimer@redhat.com>
10440         * Versions.def: Add GLIBC_2.17.
10441         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10442         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10443         Introduce __libc_secure_getenv.
10444         * stdlib/Versions (2.17): Add secure_getenv
10445         (GLIBC_PRIVATE): Add __libc_secure_getenv.
10446         * stdlib/secure-getenv.c: Rename __secure_getenv to
10447         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
10448         symbol __secure_getenv for GLIBC_2.0.
10449         * stdlib/tst-secure-getenv.c: New.
10450         * stdlib/Makefile (tests): Add testcase.
10451         * manual/startup.texi (Environment Access): Document
10452         secure_getenv.
10453         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10454         __libc_secure_getenv.
10455         * inet/ruserpass.c (ruserpass): Likewise.
10456         * malloc/mtrace.c (mtrace): Likewise.
10457         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10458         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10459         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10460         * sysdeps/posix/tempname.c: Likewise.  Evaluate
10461         HAVE_SECURE_GETENV.
10462         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10463         __secure_getenv to __libc_secure_getenv.
10464         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10466         Likewise.
10467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10468         Likewise.
10469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10471         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10477 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10479         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10480         (struct La_i86_retval): Likewise.
10481         (struct La_x86_64_regs): Likewise.
10482         (struct La_x86_64_retval): Likewise.
10483         (struct La_x32_regs): Likewise.
10484         (struct La_x32_retval): Likewise.
10485         (struct La_ppc32_regs): Likewise.
10486         (struct La_ppc32_retval): Likewise.
10487         (struct La_ppc64_regs): Likewise.
10488         (struct La_ppc64_retval): Likewise.
10489         (struct La_sh_regs): Likewise.
10490         (struct La_sh_retval): Likewise.
10491         (struct La_s390_32_regs): Likewise.
10492         (struct La_s390_32_retval): Likewise.
10493         (struct La_s390_64_regs): Likewise.
10494         (struct La_s390_64_retval): Likewise.
10495         (struct La_sparc32_regs): Likewise.
10496         (struct La_sparc32_retval): Likewise.
10497         (struct La_sparc64_regs): Likewise.
10498         (struct La_sparc64_retval): Likewise.
10499         (struct audit_ifaces): Remove architecture-specific pltenter and
10500         pltexit members.
10501         * sysdeps/i386/ldsodefs.h: New file.
10502         * sysdeps/powerpc/ldsodefs.h: Likewise.
10503         * sysdeps/s390/ldsodefs.h: Likewise.
10504         * sysdeps/sh/ldsodefs.h: Likewise.
10505         * sysdeps/sparc/ldsodefs.h: Likewise.
10506         * sysdeps/x86_64/ldsodefs.h: Likewise.
10508 2012-07-25  Marek Polacek  <polacek@redhat.com>
10510         [BZ #6808]
10511         * math/libm-test.inc (yn_test): Add another test.
10512         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10513         to ERANGE when the result is +-Inf.
10514         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10515         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10516         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10517         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10519 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
10521         * conform/data/time.h-data (NULL): Use macro-constant.  Require
10522         equal to 0.
10523         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
10524         clock_t.
10525         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
10527 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
10529         * configure.in <sysdeps resolving>: Correct printing
10530         Implies_before.
10531         * configure: Regenerate.
10533 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
10535         * math/w_ilogb.c: Include <limits.h>.
10536         * math/w_ilogbl.c: Likewise.
10538 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10540         * manual/lang.texi (__va_copy): Document primarily as ISO C99
10541         va_copy.  Document allowing for unavailable va_copy only as
10542         pre-C99 compatibility.
10543         * manual/string.texi (Copying and Concatenation): Use va_copy
10544         instead of __va_copy in concat example.
10546 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
10548         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10549         (__sendto): Use create_address_port.  Initialize APORT and deallocate
10550         it if not null.
10552         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10553         with O_NOLINK passed to __file_name_lookup.
10555         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10556         with O_NOLINK passed to __file_name_lookup.
10558         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10559         negative N or less than NGIDS.
10561         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10562         type to string_t.  Set ERANGE as errno and return it if NAME is not big
10563         enough.  Use memcpy instead of strncpy.
10565 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10567         * elf/Makefile (check-data): Remove.
10568         (localplt.data): New vpath directive.
10569         ($(objpfx)check-localplt.out): Use localplt.data from vpath
10570         instead of $(check-data).
10571         * scripts/data/localplt-generic.data: Move to ...
10572         * sysdeps/generic/localplt.data: ... here.
10573         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10574         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10575         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10577         ... here.
10578         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10580         ... here.
10581         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10583         ... here.
10584         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10586         ... here.
10587         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10589         ... here.
10590         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10592         ... here.
10594 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10596         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10597         PPC32 and PPC64 files.
10598         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10599         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10601 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10603         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10604         __makecontext_ret to ...
10605         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10606         ... here and call exit if uc_link is NULL.  New file.
10607         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10608         __makecontext_ret.S.
10609         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10610         __makecontext_ret to ...
10611         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10612         ... here and call exit if uc_link is NULL.  New file.
10613         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10614         __makecontext_ret.S.
10616 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10618         * elf/elf.h (R_390_IRELATIVE): New definition.
10619         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10620         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
10621         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10622         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10623         (elf_machine_lazy_rel): Likewise.
10624         * sysdeps/s390/dl-irel.h: New file.
10625         * sysdeps/s390/s390-64/memcpy.S: New asm code.
10626         * sysdeps/s390/s390-64/memset.S: New asm code.
10627         * sysdeps/s390/s390-64/memcmp.S: New asm code.
10628         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10629         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10630         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10631         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10632         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10633         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10634         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10635         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10636         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10637         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10638         * sysdeps/s390/s390-32/memcpy.S: New asm code.
10639         * sysdeps/s390/s390-32/memset.S: New asm code.
10640         * sysdeps/s390/s390-32/memcmp.S: New asm code.
10642 2012-07-17  Marek Polacek  <polacek@redhat.com>
10644         [BZ #14349]
10645         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10646         * sysdeps/s390/s390-64/configure.in: Likewise.
10647         * sysdeps/sparc/configure.in: Likewise.
10648         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10649         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10650         * sysdeps/i386/configure.in: Likewise.
10651         * sysdeps/x86_64/configure.in: Likewise.
10652         * sysdeps/sh/configure.in: Likewise.
10653         * sysdeps/s390/s390-32/configure: Regenerated.
10654         * sysdeps/s390/s390-64/configure: Likewise.
10655         * sysdeps/x86_64/configure: Likewise.
10656         * sysdeps/sh/configure: Likewise.
10657         * sysdeps/powerpc/powerpc64/configure: Likewise.
10658         * sysdeps/powerpc/powerpc32/configure: Likewise.
10659         * sysdeps/sparc/configure: Likwise.
10660         * sysdeps/i386/configure: Likewise.
10662         * elf/dl-open.c: Comment fixes.
10664 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
10666         * Makefile [CXX] (check-data): Remove.
10667         [CXX] (c++-types.data): New vpath directive.
10668         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10669         vpath.  Do not allow for C++ type data being missing.
10670         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10671         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10672         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10673         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10674         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10675         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10676         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10678         ... here.
10679         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10681         ... here.
10682         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10684         ... here.
10685         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10687         ... here.
10688         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10690         ... here.
10691         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10693         ... here.
10694         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10696         ... here.
10697         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10700         * elf/tls-macros.h (TLS_LE): Move architecture-specific
10701         definitions to architecture-specific files.
10702         (TLS_IE): Likewise.
10703         (TLS_LD): Likewise.
10704         (TLS_GD): Likewise.
10705         * sysdeps/i386/tls-macros.h: New file.
10706         * sysdeps/powerpc/tls-macros.h: Likewise.
10707         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10708         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10709         * sysdeps/sh/tls-macros.h: Likewise.
10710         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10711         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10712         * sysdeps/x86_64/tls-macros.h: Likewise.
10714 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10716         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10717         zero value for regular exit case.
10719         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10720         (__start_context): Preserve zero value for regular exit case.
10722 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10723             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10725         * manual/setjmp.texi (setcontext): Clarify normal process
10726         termination when uc_link is the null pointer.
10727         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10728         exit call.
10730 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
10732         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10733         preprocessor.  Test for each exception mask separately.
10735 2012-07-16  Andreas Jaeger  <aj@suse.de>
10737         * po/ru.po: Update from translation team.
10739 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
10741         * conform/data/string.h-data (NULL): Use macro-constant.  Require
10742         equal to 0.
10743         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10744         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10745         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10746         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10747         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10749 2012-07-13  Andreas Jaeger  <aj@suse.de>
10751         * po/fr.po: Update from translation team.
10753 2012-07-12  Marek Polacek  <polacek@redhat.com>
10755         [BZ #14173]
10756         * math/libm-test.inc (yn_test): Add test for BZ #14173.
10757         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10758         loop condition.
10760 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
10762         [BZ #13717]
10763         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10764         Change to 2.4.1 where previously 2.4.0.
10765         * sysdeps/unix/sysv/linux/configure: Regenerated.
10766         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10767         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10768         version.
10769         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10770         (__ASSUME_AT_CLKTCK): Remove.
10771         (__ASSUME_AT_PAGESIZE): Likewise.
10772         (__ASSUME_AT_XID): Likewise.
10773         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10774         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10775         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10776         unconditionally.
10777         (HAVE_AUX_PAGESIZE): Likewise.
10778         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10779         [__ASSUME_AT_CLKTCK]: Make code unconditional.
10780         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10782 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
10784         [BZ #14307]
10785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10786         the temporary buffer used to invoke __gethostbyname2_r,
10787         __gethostbyaddr_r and gethostbyname4_r to make room for struct
10788         host_data / struct gaih_addrtuple.
10789         * resolv/nss_dns/dns-host.c (global scope): Move definition of
10790         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10791         header file nss/nsswitch.h.
10792         * nss/nsswitch.h (global scope): Add definition of implementation
10793         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10794         resolv/nss_dns/dns-host.c).
10796 2012-07-11  Andreas Jaeger  <aj@suse.de>
10798         * po/fr.po: Update from translation team.
10800         * po/sv.po: Update from translation team
10801         * po/fr.po: Another update from translation team.
10803 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10805         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10806         for subnormals or multiply small sinh result by itself.
10807         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10810 2012-07-11  David S. Miller  <davem@davemloft.net>
10812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10814 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
10816         [BZ #14347]
10817         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10818         (INTERNAL_MARK): Shift it here.
10820 2012-07-10  Marek Polacek  <polacek@redhat.com>
10822         [BZ #14151]
10823         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
10824         libc_cv_asm_global_directive with .globl.
10825         * configure: Regenerated.
10826         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10827         with .globl.
10828         * sysdeps/i386/configure: Regenerated.
10829         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10830         with .globl.
10831         * sysdeps/x86_64/configure: Regenerated.
10832         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10833         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10834         * elf/tst-unique2mod2.c: Likewise.
10835         * elf/tst-unique2mod1.c: Likewise.
10836         * elf/tst-unique1mod2.c: Likewise.
10837         * elf/tst-unique1mod1.c: Likewise.
10838         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10839         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10840         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10841         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10842         * sysdeps/mach/sysdep.h: Likewise.
10843         * sysdeps/i386/sysdep.h: Likewise.
10844         * sysdeps/i386/i386-mcount.S: Likewise.
10845         * sysdeps/x86_64/_mcount.S: Likewise.
10846         * sysdeps/x86_64/sysdep.h: Likewise.
10847         * sysdeps/sh/_mcount.S: Likewise.
10848         * sysdeps/sh/sysdep.h: Likewise.
10849         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10850         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10851         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10852         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10853         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10854         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10855         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10856         * locale/localeinfo.h: Likewise.
10857         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10858         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10860 2012-07-09  Roland McGrath  <roland@hack.frob.com>
10862         [BZ #14336]
10863         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10864         system".
10865         * manual/message.texi (The Uniforum approach): Likewise.
10866         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10867         (glibc iconv Implementation): Likewise.
10869 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
10871         [BZ #14337]
10872         * math/s_clog.c (__clog): Avoid scaling a value down where that
10873         could result in underflow.
10874         * math/s_clog10.c (__clog10): Likewise.
10875         * math/s_clog10f.c (__clog10f): Likewise.
10876         * math/s_clog10l.c (__clog10l): Likewise.
10877         * math/s_clogf.c (__clogf): Likewise.
10878         * math/s_clogl.c (__clogl): Likewise.
10879         * math/libm-test.inc (clog_test): Add more tests.
10880         (clog10_test): Likewise.
10881         * sysdeps/i386/fpu/libm-test-ulps: Update.
10882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10884 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
10886         [BZ #14283]
10887         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10888         by 7 not 8 to examine high bit of fractional part.
10890         [BZ #14042]
10891         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10892         for call to __mcount_internal.
10893         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10894         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10895         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10897 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
10899         [BZ #14154]
10900         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10901         approximation for values within 0x1p-13f of an odd multiple of
10902         pi/4.
10903         * math/libm-test.inc (tan_test): Do not allow spurious underflow
10904         exception.  Add more tests.
10905         * sysdeps/i386/fpu/libm-test-ulps: Update.
10907         [BZ #6778]
10908         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10909         inputs and return -1 for them.  Do not check for +Inf in case not
10910         reachable for +Inf.
10911         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10912         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10913         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10914         and return -1 for them.  Do not check for +Inf in case not
10915         reachable for +Inf.
10916         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10917         define.
10918         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10919         and return -1 for them.  Do not check for +Inf in case not
10920         reachable for +Inf.
10921         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
10922         spurious underflow.
10923         * sysdeps/i386/fpu/libm-test-ulps: Update.
10924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10926 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
10928         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10930 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
10932         [BZ #14157]
10933         [BZ #14331]
10934         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10935         could result in spurious underflow.  Scale down values above
10936         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10937         * math/s_csqrtf.c (__csqrtf): Likewise.
10938         * math/s_csqrtl.c (__csqrtl): Likewise.
10939         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
10940         spurious underflow.
10941         * sysdeps/i386/fpu/libm-test-ulps: Update.
10942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10944 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10946         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10947         xopen-msg.sed.
10948         * catgets/xopen-msg.awk: New file.
10949         * catgets/xopen-msg.sed: Removed.
10951         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10952         po2text.sed.
10953         * intl/po2test.awk: New file.
10954         * intl/po2test.sed: Removed.
10956 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
10958         [BZ #14328]
10959         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10960         or multiply small sinh result by itself.
10961         * math/s_ctanf.c (__ctanf): Likewise.
10962         * math/s_ctanh.c (__ctanh): Likewise.
10963         * math/s_ctanhf.c (__ctanhf): Likewise.
10964         * math/s_ctanhl.c (__ctanhl): Likewise.
10965         * math/s_ctanl.c (__ctanl): Likewise.
10966         * math/libm-test.inc (ctan_test_tonearest): New function.
10967         (ctan_test_towardzero): Likewise.
10968         (ctan_test_downward): Likewise.
10969         (ctan_test_upward): Likewise.
10970         (ctanh_test_tonearest): Likewise.
10971         (ctanh_test_towardzero): Likewise.
10972         (ctanh_test_downward): Likewise.
10973         (ctanh_test_upward): Likewise.
10974         (main): Call these new functions.
10975         * sysdeps/i386/fpu/libm-test-ulps: Update.
10976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10978 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
10980         * .gitignore: Delete /ports entry.
10982 2012-07-03  Andreas Jaeger  <aj@suse.de>
10984         * po/bg.po: Update from translation team.
10985         * po/cs.po: Likewise.
10986         * po/de.po: Likewise.
10987         * po/hr.po: Likewise.
10988         * po/nl.pl: Likewise.
10989         * po/pl.po: Likewise.
10990         * po/vi.po: Likewise.
10992 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
10994         * Makeconfig [!+link] (+link-before-libc): New variable.
10995         [!+link] (+link-after-libc): Likewise.
10996         [!+link] (+link-tests): Likewise.
10997         [!+link] (+link): Define in terms of $(+link-before-libc) and
10998         $(+link-after-libc).
10999         [!+link-static] (+link-static-before-libc): New variable.
11000         [!+link-static] (+link-static-after-libc): Likewise.
11001         [!+link-static] (+link-static-tests): Likewise.
11002         [!+link-static] (+link-static): Define in terms of
11003         $(+link-static-before-libc) and $(+link-static-after-libc).
11004         [build-shared] (link-libc-before-gnulib): New variable.
11005         [build-shared] (link-libc-tests): Likewise.
11006         [build-shared] (link-libc): Define in terms of
11007         $(link-libc-before-gnulib).
11008         [!build-shared] (link-libc-tests): New variable.
11009         (link-libc-static-tests): New variable.
11010         [!gnulib] (gnulib-arch): New variable.
11011         [!gnulib] (gnulib-tests): Likewise.
11012         [!gnulib] (static-gnulib-arch): Likewise.
11013         [!gnulib] (static-gnulib-tests): Likewise.
11014         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
11015         Define with "=" instead of ":=".
11016         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
11017         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
11018         * Rules (binaries-all-notests): New variable.
11019         (binaries-all-tests): Likewise.
11020         (binaries-static-notests): Likewise.
11021         (binaries-static-tests): Likewise.
11022         (binaries-all): Define using $(binaries-all-notests) and
11023         $(binaries-all-tests).
11024         (binaries-static): Define using $(binaries-static-notests) and
11025         $(binaries-static-tests).
11026         (binaries-shared-tests): New variable.
11027         (binaries-shared-notests): Likewise.
11028         (binaries-shared): Remove variable.
11029         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11030         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11031         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11032         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11033         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11034         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11035         * elf/Makefile (sln-modules): New variable.
11036         (extra-objs): Add $(sln-modules:=.o).
11037         (ldconfig-modules): Add static-stubs.
11038         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11039         * elf/static-stubs.c: New file.
11041         [BZ #14283]
11042         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11043         by 7 not 8 to examine high bit of fractional part.  Use volatile
11044         variables when splitting into final array of floats if
11045         __FLT_EVAL_METHOD__ != 0.
11046         * math/libm-test.inc (cos_test): Add another test.
11047         (sin_test): Likewise.
11048         * sysdeps/i386/fpu/libm-test-ulps: Update.
11050         [BZ #14273]
11051         * math/libm-test.inc (cosh_test): Add more tests.
11053         * version.h (RELEASE): Set to "development".
11054         (VERSION): Set to "2.16.90".
11056 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
11058         * NEWS: Update copyright. Remove last-updated date.
11059         Mention math library bug fixes and timezone data changes.
11060         * README: Mention GNU/Hurd, x32, and HPPA support status.
11062 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
11064         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11066 2012-06-27  Andreas Jaeger  <aj@suse.de>
11068         * manual/contrib.texi (Contributors): Add Samuel Thibault.
11070 2012-06-25  Andreas Jaeger  <aj@suse.de>
11072         * sysdeps/s390/fpu/libm-test-ulps: Update.
11074 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
11075             Thomas Schwinge  <thomas@codesourcery.com>
11077         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11078         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11079         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11080         fanotify_mark.
11082 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
11084         * sysdeps/mach/start.c: Remove file.
11085         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11086         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11087         * sysdeps/sh/init-first.c: Likewise.
11089         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11090         registers for frame unwinding purposes, add CFI directives.
11091         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11092         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11093         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11094         Likewise.
11096         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11097         __fortify_fail returning.
11098         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11100         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11101         sysdeps/sh/____longjmp_chk.S.
11102         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11103         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11104         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11105         (gen-as-const-headers): Append sigaltstack-offsets.sym.
11107         * sysdeps/sh/abort-instr.h: New file.
11108         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11109         process in case exit returns.
11111         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11112         initialize the GOT register before use.
11114         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11115         calculation of ARGC > 4.
11117         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11118         meaningful names to some local labels.
11120 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11121             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11123         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11124         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11125         (__arch_compare_and_exchange_val_16_acq): Likewise.
11126         (__arch_compare_and_exchange_val_32_acq): Likewise.
11127         (atomic_exchange_and_add): Fix gUSA sequence.
11128         (atomic_add): Likewise.
11129         (atomic_add_negative): Likewise.
11130         (atomic_add_zero): Likewise.
11131         (atomic_bit_test_set): Likewise.
11133 2012-06-22  Andreas Schwab  <schwab@redhat.com>
11135         [BZ #13579]
11136         * include/link.h (struct link_map): Add l_free_initfini.
11137         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11138         l_initfini.
11139         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11140         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11141         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11142         set.
11144 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
11146         * configure.in: Use AC_LANG_SOURCE.
11147         * configure: Regenerate.
11149 2012-06-22  Roland McGrath  <roland@hack.frob.com>
11151         * configure.in (libc_cv_localstatedir): New substituted variable.
11152         * configure: Regenerated.
11153         * config.make.in (localstatedir): New variable, substituted from
11154         libc_cv_localstatedir.
11155         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11156         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11157         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11158         * sysdeps/gnu/configure: Regenerated.
11160 2012-06-21  Jeff Law  <law@redhat.com>
11162         [BZ #14277]
11163         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11164         free.  Simplify list management for _LIBC case.
11166 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
11168         [BZ #14273]
11169         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11170         Clear sign bit of 64-bit integer value before comparing against
11171         overflow value.
11173         * sysdeps/mach/configure: Regenerated.
11175 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
11177         [BZ #14278]
11178         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11180 2012-06-21  Jeff Law  <law@redhat.com>
11182         [BZ #13882]
11183         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
11184         uint16_t for elements in the "seen" array to avoid char overflows.
11185         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11186         * elf/dl-open.c (dl_open_worker): Likewise.
11188 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
11190         * scripts/list-sources.sh: Scan PORTS for translations.
11191         * po/libc.pot: Regenerated.
11193 2012-06-21  Andreas Jaeger  <aj@suse.de>
11195         [BZ #12194]
11196         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11197         warning.
11198         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11199         * bits/byteswap-16.h (__bswap_16): Likewise.
11200         * bits/byteswap.h (__bswap_constant_16): Likewise.
11202 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
11204         [BZ #14117]
11205         * sysdeps/i386/fpu_control.h: Removed.
11206         * sysdeps/x86_64/fpu_control.h: Moved to ...
11207         * sysdeps/x86/fpu_control.h: Here.
11209         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11210         (_FPU_SETCW): Likewise.
11212 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
11214         [BZ #14117]
11215         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11216         * sysdeps/x86/fpu/bits/mathinline.h: This.
11217         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11219         [BZ #14050]
11220         [BZ #14117]
11221         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11222         functions if __x86_64__ is defined.
11224 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
11226         * string/endian.h: Add !__ASSEMBLER__ condition for including
11227         conversion interfaces.
11229 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
11231         [BZ #14241]
11232         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11233         of ABS(x) in calculating zero to negative powers other than odd
11234         integers.
11235         * math/libm-test.inc (pow_test): Add more tests.
11237 2012-06-15  Andreas Jaeger  <aj@suse.de>
11239         * manual/contrib.texi (Contributors): Update entry of Liubov
11240         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11241         Machado Filho.
11243 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
11245         * string/string.h: Add __wur to GNU version of strerror_r.
11247 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
11249         [BZ #14229]
11250         * string/Makefile (tests): Add tst-strtok_r.
11251         * string/tst-strtok_r.c: New file.
11252         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11253         RAX_LP/RDX_LP on SAVE_PTR.
11255 2012-06-14  Roland McGrath  <roland@hack.frob.com>
11257         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11259 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
11261         * libm_test.inc (csqrt_test): Allow more spurious underflow
11262         exceptions.
11263         (j0_test): Likewise.
11264         (j1_test): Likewise.
11265         (y0_test): Likewise.
11266         (y1_test): Likewise.
11268 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
11270         * po/Makefile (libc.pot): Use UTF-8 charset.
11272 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
11274         [BZ #14210]
11275         Suppress sign-conversion warning from FD_SET.
11276         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11277         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11278         not unsigned long int.
11279         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11281 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
11283         [BZ #14050]
11284         [BZ #14117]
11285         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11286         __extern_always_inline instead of __extern_inline.
11287         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11288         (__signbit): Likewise.
11289         (__signbitl): Support C++ namespace.
11290         (lrintf): New inline function.
11291         (lrint): Likewise.
11292         (llrintf): Likewise.
11293         (llrint): Likewise.
11294         (fmaxf): Likewise.
11295         (fmax): Likewise.
11296         (fminf): Likewise.
11297         (fmin): Likewise.
11298         (rint): Likewise.
11299         (rintf): Likewise.
11300         (ceil): Likewise.
11301         (ceilf): Likewise.
11302         (floor): Likewise.
11303         (floorf): Likewise.
11304         (nearbyint): Likewise.
11305         (nearbyintf): Likewise.
11307 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
11309         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11310         non-default versions.
11312 2012-06-11  Roland McGrath  <roland@hack.frob.com>
11314         [BZ #14218]
11315         * manual/argp.texi (Argp): Reword argp_parse description slightly.
11317 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
11319         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11320         (FE_UPWARD, FE_DOWNWARD): Don't define.
11321         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11322         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11324         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11325         reading it.
11326         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11327         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11329 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11331         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11332         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11333         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11334         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11336 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11338         [BZ #14117]
11339         * sysdeps/i386/fpu/bits/fenv.h: Removed.
11340         * sysdeps/i386/fpu/Implies: New file.
11341         * sysdeps/x86_64/fpu/Implies: Likewise.
11342         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11343         * sysdeps/x86/fpu/bits/fenv.h: This.
11345         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11346         __SSE_MATH__.
11348 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11350         [BZ #14134]
11351         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11352         character 0xffff that matches the last element of the
11353         conversion table.
11355 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11357         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11358         fmodl commit.
11360 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11362         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11363         values higher than 25.6283.
11365 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11367         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11368         subnormal exponent extraction and add some __builtin_expect.
11369         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11370         Fix for subnormal mantissa calculation.
11372 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
11374         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11375         cpu2 is -1 and errno is not ENOSYS.
11377 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
11379         [BZ #14117]
11380         * sysdeps/i386/i486/bits/string.h: Renamed to ...
11381         * sysdeps/x86/bits/string.h: This.
11382         * sysdeps/x86_64/bits/string.h: Removed.
11384         * sysdeps/i386/i486/bits/string.h: Define inline functions only
11385         if not compiling for x86-64, but compiling for >= i486.
11387         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11388         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11390         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11391         New macro from Linux kernel 3.4.0.
11392         (FP_XSTATE_MAGIC2): Likewise.
11393         (FP_XSTATE_MAGIC2_SIZE): Likewise.
11394         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11395         (struct _fpx_sw_bytes): New struct.
11396         (struct _xsave_hdr): Likewise.
11397         (struct _ymmh_state): Likewise.
11398         (struct _xstate): Likewise.
11400         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11401         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11402         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11403         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11404         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11405         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11407         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11408         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11409         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11410         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11411         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11412         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11414 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11416         [BZ #13743]
11417         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11418         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11419         (sysdep_headers): Include sys/platform/ppc.h.
11420         * sysdeps/powerpc/test-gettimebase.c: Test for
11421         __ppc_get_timebase() to catch future ISA opcode/insn changes.
11422         * manual/Makefile (appendices): Include platform.texi.
11423         * manual/contrib.texi (Contributors): Update @node pointers.
11424         * manual/maint.texi (Maintenance): Likewise.
11425         (Platform): New node.
11426         * manual/platform.texi: New file.  Document the new features.
11428 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11429             Jakub Jelinek  <jakub@redhat.com>
11431         [BZ #14188]
11432         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11433         where __builtin_expect is unavailable.
11435 2012-06-03  David S. Miller  <davem@davemloft.net>
11437         * stdlib/longlong.h: Updated from GCC.
11439 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
11441         [BZ #14042]
11442         * sysdeps/powerpc/powerpc32/mcount.c: New file.
11443         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11444         __mcount_internal.
11445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11446         (GLIBC_2.16): Likewise.
11448 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11450         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11452 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11455         (default-abi): New variable.
11456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11457         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11458         variable.
11459         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11460         Likewise.
11461         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11462         Likewise.
11463         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11464         Likewise.
11466         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11467         definition.  Document in comment.
11469 2012-06-01  David S. Miller  <davem@davemloft.net>
11471         * stdlib/longlong.h: Updated from GCC.
11473 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11475         [BZ #14117]
11476         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11477         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11478         sys/debugreg.h sys/io.h here.
11479         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11480         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11481         sys/io.h.
11482         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11483         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11484         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11485         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11486         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11487         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11489         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11490         Define only if __x86_64__ is defined.
11492 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11494         [BZ #14048]
11495         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11496         Use int64_t for variable i.
11497         * math/libm-test.inc (fmod_test): Add more tests.
11499         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11500         z computation is not scheduled after fetestexcept.
11501         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11502         Use math_force_eval instead of asm to ensure calculation scheduled
11503         before exception test.
11504         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11505         Ensure a1 + u.d computation is not scheduled after fetestexcept.
11507 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
11509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11510         computation is not scheduled after fetestexcept.
11512 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11514         [BZ #14117]
11515         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11516         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11518 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11520         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11521         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11523 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11525         [BZ #14117]
11526         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11527         <bits/wordsize.h>.
11528         (__WCHAR_MIN): Support __WORDSIZE == 64.
11529         (__WCHAR_MAX): Likewise.
11531         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11532         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11534         [BZ #14183]
11535         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11536         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11538         [BZ #14117]
11539         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11540         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11542         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11543         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11545         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11546         Defined to 1 if __x86_64__ isn't defined.
11547         (_STAT_VER_LINUX_OLD): New.
11548         (st_atime): Remove duplicate.
11549         (st_mtime): Likewise.
11550         (st_ctime): Likewise.
11552 2012-05-31  David S. Miller  <davem@davemloft.net>
11554         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11555         entries.
11557 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
11559         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11560         gen-libm-test.pl.
11562         [BZ #14132]
11563         * elf/dl-reloc.c: Include <_itoa.h>.
11564         (_dl_reloc_bad_type): Remove use of INTUSE.
11565         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11566         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11567         * stdio-common/psiginfo.c (psiginfo): Likewise.
11568         * stdio-common/psignal.c (psignal): Likewise.
11569         * string/strsignal.c (strsignal): Likewise.
11570         * include/signal.h (_sys_siglist): Declare hidden proto.
11571         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
11572         INTVARDEF with libc_hidden_data_def.
11573         * stdio-common/itoa-udigits.c: Likewise.
11574         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11575         (_itoa_lower_digits_internal): Remove declaration.
11576         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11577         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11578         (_sys_sigabbrev_internal): Remove aliases.
11579         (_sys_siglist): Define hidden alias.
11581 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
11583         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11584         bits/sysctl.h.
11586 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11588         [BZ #14117]
11589         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11590         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11592         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11593         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11594         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11595         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11596         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11597         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11599         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11600         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11601         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11603         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11604         with __addr.
11605         (insw): Likewise.
11606         (insl): Likewise.
11607         (outsb): Likewise.
11608         (outsw): Likewise.
11609         (outsl): Likewise.
11611         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11612         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11613         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11615         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11616         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11617         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11618         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11619         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11620         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11622         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11623         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11625         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11626         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11628         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11629         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11630         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11632         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11633         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11634         to ...
11635         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11637         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11638         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11639         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11641         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11642         for x86-64.
11643         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11645 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
11647         * math/math.h (M_El): Use two more decimal places.
11648         (M_LOG2El): Likewise.
11649         (M_LOG10El): Likewise.
11650         (M_LN2l): Likewise.
11651         (M_LN10l): Likewise.
11652         (M_PIl): Likewise.
11653         (M_PI_2l): Likewise.
11654         (M_PI_4l): Likewise.
11655         (M_1_PIl): Likewise.
11656         (M_2_PIl): Likewise.
11657         (M_2_SQRTPIl): Likewise.
11658         (M_SQRT2l): Likewise.
11659         (M_SQRT1_2l): Likewise.
11661 2012-05-31  David S. Miller  <davem@davemloft.net>
11663         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11664         values between float registers.
11665         * sysdeps/sparc/sparc64/memset.S: Likewise.
11666         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11668 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
11670         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11671         -D_FORTIFY_SOURCE=1.
11672         (CPPFLAGS-tst-longjmp_chk.c): Define.
11673         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11674         (CPPFLAGS-tst-longjmp_chk2.c): Define.
11675         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11676         CFLAGS-tst-wchar-h.c.
11678 2012-05-31  Marek Polacek  <polacek@redhat.com>
11680         [BZ #14132]
11681         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11682         __endmntent_internal): Remove declaration.
11683         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11684         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11685         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11687 2012-05-30  David S. Miller  <davem@davemloft.net>
11689         * sysdeps/sparc/sparc32/soft-fp/q_util.c
11690         (___Q_simulate_exceptions): Use real FP ops rather than writing
11691         into the %fsr.
11692         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11693         Likewise.
11695 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11697         [BZ #14117]
11698         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11699         * sysdeps/x86/bits/xtitypes.h: This.
11701         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11702         * sysdeps/x86/bits/wordsize.h: This.
11704         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11705         * sysdeps/x86/bits/huge_vall.h: This.
11707         * sysdeps/i386/bits/select.h: Removed.
11708         * sysdeps/x86_64/bits/select.h: Renamed to ...
11709         * sysdeps/x86/bits/select.h: This.
11711         * sysdeps/i386/bits/setjmp.h: Removed.
11712         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11713         * sysdeps/x86/bits/setjmp.h: This.
11715         * sysdeps/i386/bits/mathdef.h: Removed.
11716         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11717         * sysdeps/x86/bits/mathdef.h: This.
11719 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
11721         [BZ #14132]
11722         * include/sys/socket.h (__connect_internal)
11723         (__libc_sa_len_internal): Remove declaration.
11724         (__connect, __libc_sa_len): Declare hidden_proto.
11725         (SA_LEN): Remove use of INTUSE.
11726         * socket/connect.c: Add libc_hidden_def.
11727         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11728         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11729         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11730         alias.
11731         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11732         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11733         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11734         of adding _internal alias.
11736 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11738         [BZ #14117]
11739         * sysdeps/i386/bits/link.h: Removed.
11740         * sysdeps/i386/bits/linkmap.h: Likewise.
11741         * sysdeps/x86_64/bits/link.h: Renamed to ...
11742         * sysdeps/x86/bits/link.h: This.
11743         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11744         * sysdeps/x86/bits/linkmap.h: This.
11746         * sysdeps/i386/bits/endian.h: Removed.
11747         * sysdeps/x86_64/bits/endian.h: Renamed to ...
11748         * sysdeps/x86/bits/endian.h: This.
11750         * sysdeps/i386/bits/byteswap.h: Removed.
11751         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11752         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11753         * sysdeps/x86/bits/byteswap.h: This.
11754         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11755         * sysdeps/x86/bits/byteswap-16.h: This.
11756         * sysdeps/i386/Implies: Add x86.
11757         * sysdeps/x86_64/Implies: Likewise.
11759 2012-05-30  David S. Miller  <davem@davemloft.net>
11761         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11762         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11763         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11764         (FP_TRAPPING_EXCEPTIONS): Define.
11765         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11766         (FP_TRAPPING_EXCEPTIONS): Define.
11767         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11768         subnormals only when inexact has been signalled or underflow
11769         exceptions are enabled.
11770         (_FP_PACK_CANONICAL): Likewise.
11772 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11774         [BZ #14183]
11775         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11776         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11778 2012-05-30  Richard Henderson  <rth@twiddle.net>
11780         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11781         with #ifndef NOT_IN_libc.
11783         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
11784         marked to avoid plt entry.
11786 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11788         [BZ #14112]
11789         * Makeconfig (default-abi): New macro.
11790         (abi-includes): Likewise.
11791         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
11792         $(abi-$(default-abi)-lib-soname) for soname if defined.
11793         ($(common-objpfx)gnu/lib-names.stmp): Generate from
11794         abi-variants.
11795         * Makefile (installed-stubs): Likewise.
11796         * include/stubs-biarch.h: Removed.
11797         * scripts/lib-names.awk: Only handle one library at a time.
11798         * scripts/soversions.awk: Remove WORDSIZE support.
11799         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11800         entries.
11801         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11802         Removed.
11803         (syscall-list-default-condition): Likewise.
11804         (syscall-list-default-condition): Likewise.
11805         (syscall-list-includes): Likewise.
11806         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11807         syscall-list-* with abi-*.  Handle undefined abi-variants.
11808         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11809         * sysdeps/unix/sysv/linux/i386/Implies: New file.
11810         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11811         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11812         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11813         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11814         Removed.
11815         (syscall-list-32-options): Likewise.
11816         (syscall-list-32-condition): Likewise.
11817         (syscall-list-64-options): Likewise.
11818         (syscall-list-64-condition): Likewise.
11819         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11820         macro.
11821         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11822         Renamed to ...
11823         (abi-*): This.
11824         (abi-64-ld-soname): New macro.
11825         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11826         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11827         Renamed to ...
11828         (abi-*): This.
11829         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11830         * sysdeps/x86_64/x32/shlib-versions: Likewise.
11832 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
11834         * sysdeps/unix/sysv/linux/kernel-features.h
11835         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11836         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11837         include <kernel-features.h>.
11838         [!__NR_ftruncate64]: Remove conditional code.
11839         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11840         [__NR_ftruncate64]: Make code unconditional.
11841         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11842         * sysdeps/unix/sysv/linux/truncate64.c: Do not
11843         include <kernel-features.h>.
11844         [!__NR_ftruncate64]: Remove conditional code.
11845         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11846         [__NR_ftruncate64]: Make code unconditional.
11847         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11849         include <kernel-features.h>.
11850         [!__NR_ftruncate64]: Remove conditional code.
11851         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11852         [__NR_ftruncate64]: Make code unconditional.
11853         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11855         include <kernel-features.h>.
11856         [!__NR_ftruncate64]: Remove conditional code.
11857         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11858         [__NR_ftruncate64]: Make code unconditional.
11859         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11861         * configure.in (libc_cv_fpie): Weaken to a compile test using
11862         LIBC_TRY_CC_OPTION.
11863         * configure: Regenerated.
11865 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11871         Refreshed.
11872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11878         Refreshed.
11880 2012-05-27  David S. Miller  <davem@davemloft.net>
11882         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11883         (___Q_zero): New.
11884         (__Q_simulate_exceptions): Return void.  Change to simulate
11885         exceptions by writing into the %fsr.
11886         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11887         (__Qp_handle_exceptions): Likewise.
11888         (numbers): Delete.
11889         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11890         __Qp_handle_exceptions.
11891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11892         __Qp_handle_exceptions.
11893         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11894         as unused and give dummy FP_RND_NEAREST initializer.
11895         (FP_INHIBIT_RESULTS): Define.
11896         (___Q_simulate_exceptions): Update declaration.
11897         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11898         formatting.
11899         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11900         as unused and give dummy FP_RND_NEAREST initializer.
11901         (__Qp_handle_exceptions): Update declaration.
11902         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11903         formatting.
11905 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
11907         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11908         the temporary FPU control word.
11909         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11910         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11911         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11912         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11913         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11914         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11915         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11916         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11917         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11918         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11919         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11921 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11923         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11924         fields.
11926 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
11928         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11929         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11930         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11931         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11932         Likewise.
11933         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11934         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11935         Likewise.
11937 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
11939         * po/h.po: Update from translation team.
11941 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
11943         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11945         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11946         handling of denormals.
11947         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11948         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11949         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11950         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11951         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11952         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11953         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11954         Likewise.
11956 2012-05-26  Marek Polacek  <polacek@redhat.com>
11958         [BZ #14152]
11959         * math/libm-test.inc (fma_test): Don't always expect underflow
11960         exception.
11962 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11964         [BZ #12416]
11965         * elf/tst-execstack.c: Include stackinfo.h.
11966         (do_test): Adjust test case to ensure that pthread_getattr_np
11967         behaviour remains the same after marking stack executable.
11969 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11971         * sysdeps/unix/sysv/linux/kernel-features.h
11972         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11973         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11974         kernel-features.h.
11975         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11976         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11977         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11978         kernel-features.h.
11979         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11980         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11982 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
11984         * configure.in: Define the default includes to being none.
11985         * configure: Regenerated.
11987 2012-05-25  Roland McGrath  <roland@hack.frob.com>
11989         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11990         * sysdeps/x86_64/setjmp.S: Likewise.
11991         * sysdeps/i386/bsd-setjmp.S: Likewise.
11992         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11993         * sysdeps/i386/setjmp.S: Likewise.
11994         * sysdeps/i386/__longjmp.S: Likewise.
11995         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11996         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11998         * include/stap-probe.h: New file.
11999         * configure.in: Handle --enable-systemtap.
12000         * configure: Regenerated.
12001         * config.h.in (USE_STAP_PROBE): New #undef.
12002         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12003         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12004         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12006 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12008         [BZ #13717]
12009         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12010         to 2.4.0 where earlier.
12011         * sysdeps/unix/sysv/linux/configure: Regenerated.
12012         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12013         <kernel-features.h>.
12014         [__ASSUME_32BITUIDS]: Make code unconditional.
12015         [!__ASSUME_32BITUIDS]: Remove conditional code.
12016         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12017         <kernel-features.h>.
12018         [__ASSUME_32BITUIDS]: Make code unconditional.
12019         [!__ASSUME_32BITUIDS]: Remove conditional code.
12020         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12021         [__ASSUME_32BITUIDS]: Make code unconditional.
12022         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12023         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12024         <kernel-features.h>.
12025         [__ASSUME_32BITUIDS]: Make code unconditional.
12026         [!__ASSUME_32BITUIDS]: Remove conditional code.
12027         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12028         <kernel-features.h>.
12029         [__ASSUME_32BITUIDS]: Make code unconditional.
12030         [!__ASSUME_32BITUIDS]: Remove conditional code.
12031         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12032         <kernel-features.h>.
12033         [__ASSUME_32BITUIDS]: Make code unconditional.
12034         [!__ASSUME_32BITUIDS]: Remove conditional code.
12035         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12036         <kernel-features.h>.
12037         [__ASSUME_32BITUIDS]: Make code unconditional.
12038         [!__ASSUME_32BITUIDS]: Remove conditional code.
12039         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12040         <kernel-features.h>.
12041         [__ASSUME_32BITUIDS]: Make code unconditional.
12042         [!__ASSUME_32BITUIDS]: Remove conditional code.
12043         * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
12064         <kernel-features.h>.
12065         [__NR_setresgid] (__setresgid): Do not declare.
12066         [__ASSUME_32BITUIDS]: Make code unconditional.
12067         [!__ASSUME_32BITUIDS]: Remove conditional code.
12068         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12069         <kernel-features.h>.
12070         [__NR_setresuid] (__setresuid): Do not declare.
12071         [__ASSUME_32BITUIDS]: Make code unconditional.
12072         [!__ASSUME_32BITUIDS]: Remove conditional code.
12073         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12074         <kernel-features.h>.
12075         [__ASSUME_32BITUIDS]: Make code unconditional.
12076         [!__ASSUME_32BITUIDS]: Remove conditional code.
12077         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12078         <kernel-features.h>.
12079         [__ASSUME_32BITUIDS]: Make code unconditional.
12080         [!__ASSUME_32BITUIDS]: Remove conditional code.
12081         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12082         <kernel-features.h>.
12083         [__ASSUME_32BITUIDS]: Make code unconditional.
12084         [!__ASSUME_32BITUIDS]: Remove conditional code.
12085         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12086         <kernel-features.h>.
12087         [__ASSUME_32BITUIDS]: Make code unconditional.
12088         [!__ASSUME_32BITUIDS]: Remove conditional code.
12089         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12090         <kernel-features.h>.
12091         [__ASSUME_32BITUIDS]: Make code unconditional.
12092         [!__ASSUME_32BITUIDS]: Remove conditional code.
12093         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12094         <kernel-features.h>.
12095         [__ASSUME_32BITUIDS]: Make code unconditional.
12096         [!__ASSUME_32BITUIDS]: Remove conditional code.
12097         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12098         <kernel-features.h>.
12099         [__ASSUME_32BITUIDS]: Make code unconditional.
12100         [!__ASSUME_32BITUIDS]: Remove conditional code.
12101         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12102         <kernel-features.h>.
12103         [__ASSUME_32BITUIDS]: Make code unconditional.
12104         [!__ASSUME_32BITUIDS]: Remove conditional code.
12105         * sysdeps/unix/sysv/linux/i386/setuid.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/i386/shmctl.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/kernel-features.h
12114         (__ASSUME_SETRESUID_SYSCALL): Remove.
12115         (__ASSUME_SETRESGID_SYSCALL): Likewise.
12116         (__ASSUME_32BITUIDS): Likewise.
12117         (__ASSUME_LDT_WORKS): Likewise.
12118         (__ASSUME_O_DIRECTORY): Likewise.
12119         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12120         architecture but not kernel version.
12121         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12122         (__ASSUME_MMAP2_SYSCALL): Likewise.
12123         (__ASSUME_STAT64_SYSCALL): Likewise.
12124         (__ASSUME_IPC64): Likewise.
12125         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12126         <kernel-features.h>.
12127         [__ASSUME_32BITUIDS]: Make code unconditional.
12128         [!__ASSUME_32BITUIDS]: Remove conditional code.
12129         * sysdeps/unix/sysv/linux/opendir.c: Do not include
12130         <kernel-features.h>.
12131         [__ASSUME_O_DIRECTORY]: Make code unconditional.
12132         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12133         132096]: Remove conditional code.
12134         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12135         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12136         <kernel-features.h>.
12137         [__ASSUME_32BITUIDS]: Make code unconditional.
12138         [!__ASSUME_32BITUIDS]: Remove conditional code.
12139         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12140         <kernel-features.h>.
12141         [__ASSUME_32BITUIDS]: Make code unconditional.
12142         [!__ASSUME_32BITUIDS]: Remove conditional code.
12143         * sysdeps/unix/sysv/linux/setegid.c: Do not include
12144         <kernel-features.h>.
12145         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12146         unconditional.
12147         (__setresgid): Do not declare.
12148         [__ASSUME_32BITUIDS]: Make code unconditional.
12149         [!__ASSUME_32BITUIDS]: Remove conditional code.
12150         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12151         <kernel-features.h>.
12152         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12153         unconditional.
12154         (__setresuid): Do not declare.
12155         [__ASSUME_32BITUIDS]: Make code unconditional.
12156         [!__ASSUME_32BITUIDS]: Remove conditional code.
12157         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12158         <kernel-features.h>.
12159         [__ASSUME_32BITUIDS]: Make code unconditional.
12160         [!__ASSUME_32BITUIDS]: Remove conditional code.
12161         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12162         <kernel-features.h>.
12163         [__ASSUME_32BITUIDS]: Make code unconditional.
12164         [!__ASSUME_32BITUIDS]: Remove conditional code.
12166 2012-05-25  Richard Henderson  <rth@twiddle.net>
12168         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12169         dl_hwcap to ifunc resolver.
12170         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12171         elf_ifunc_invoke.
12172         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12173         dl_hwcap to ifunc resolver.
12174         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12176 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12178         [BZ #14153]
12179         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12180         for |x| <= 2**-26, not 2**-57.
12181         * math/libm-test.inc (acos_test): Do not allow spurious underflow
12182         exception.
12184 2012-05-24  Jeff Law  <law@redhat.com>
12186         * stdio-common/Makefile (tests): Add bug25.
12187         * stdio-common/bug25.c: New test.
12189 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12191         [BZ #13576]
12192         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12193         multiple of MALLOC_ALIGNMENT in size.
12194         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12196 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12198         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12199         Require >= 256.
12200         (FILENAME_MAX): Use macro-int-constant.
12201         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
12202         (_IOFBF): Use macro-int-constant.
12203         (_IOLBF): Likewise.
12204         (_IONBF): Likewise.
12205         (SEEK_CUR): Likewise.
12206         (SEEK_END): Likewise.
12207         (SEEK_SET): Likewise.
12208         (TMP_MAX): Likewise.
12209         (EOF): Use macro-int-constant.  Require < 0.
12210         (NULL): Use macro-constant.  Require == 0.
12211         (stdin): Require type to be FILE *.
12212         (stdout): Likewise.
12213         (stderr): Likewise.
12214         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12215         macro-int-constant.
12216         (EXIT_SUCCESS): Likewise.
12217         (NULL): Use macro-constant.  Require == 0.
12218         (RAND_MAX): Use macro-int-constant.
12219         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12220         [C99-based standards] (strtof): Require function.
12221         [C99-based standards] (strtold): Likewise.
12222         [C99-based standards] (strtoll): Likewise.
12223         [C99-based standards] (strtoull): Likewise.
12224         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12225         [ISO || ISO99 || ISO11] (limits.h): Likewise.
12226         [ISO || ISO99 || ISO11] (math.h): Likewise.
12227         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12228         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12229         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12231 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
12233         [BZ #14132]
12234         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12235         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12236         * intl/dgettext.c (DCGETTEXT): Likewise.
12237         * intl/gettext.c (DCGETTEXT): Likewise.
12238         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12239         * posix/regex_internal.h (gettext): Likewise.
12240         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12241         Remove declaration.
12242         * include/argz.h (__argz_count_internal)
12243         (__argz_stringify_internal): Remove declaration.
12244         (__argz_count, __argz_stringify): Declare hidden proto.
12245         * intl/dcgettext.c: Remove use of INTDEF.
12246         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12247         * string/argz-stringify.c: Likewise.
12248         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12249         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12250         Declare hidden proto.
12251         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12252         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12253         Declare hidden proto.
12254         * include/stdio.h (__asprintf_internal): Don't declare.
12255         (__asprintf): Don't define as macro.  Declare hidden proto.
12256         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12257         (__fsetlocking): Declare hidden proto.
12258         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12259         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12260         hidden proto.
12261         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12262         (_IO_setlinebuf): Remove use of INTUSE.
12263         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12264         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12265         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12266         Remove declaration.
12267         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12268         (_IO_do_flush): Remove use of INTUSE.
12269         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12270         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12271         (_IO_adjust_column, _IO_least_wmarker)
12272         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12273         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12274         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12275         (_IO_default_doallocate, _IO_wdefault_doallocate)
12276         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12277         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12278         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12279         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12280         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12281         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12282         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12283         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12284         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12285         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12286         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12287         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12288         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12289         proto.
12290         (_IO_flush_all_internal, _IO_adjust_column_internal)
12291         (_IO_default_uflow_internal, _IO_default_finish_internal)
12292         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12293         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12294         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12295         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12296         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12297         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12298         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12299         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12300         (_IO_file_close_internal, _IO_file_close_it_internal)
12301         (_IO_file_underflow_internal, _IO_file_overflow_internal)
12302         (_IO_file_init_internal, _IO_file_attach_internal)
12303         (_IO_file_fopen_internal, _IO_file_read_internal)
12304         (_IO_file_sync_internal, _IO_file_seek_internal)
12305         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12306         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12307         (_IO_str_underflow_internal, _IO_str_overflow_internal)
12308         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12309         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12310         (_IO_list_all_internal, _IO_link_in_internal)
12311         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12312         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12313         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12314         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12315         (_IO_do_write_internal, _IO_padn_internal)
12316         (_IO_getline_info_internal, _IO_getline_internal)
12317         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12318         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12319         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12320         (_IO_vfscanf_internal, _IO_vfprintf_internal)
12321         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12322         (_IO_init_internal, _IO_un_link_internal): Don't declare.
12323         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12324         with libc_hidden_ver, remove use of INTUSE.
12325         * libio/genops.c: Likewise.
12326         * libio/freopen.c: Likewise.
12327         * libio/freopen64.c: Likewise.
12328         * libio/iofclose.c: Likewise.
12329         * libio/iofdopen.c: Likewise.
12330         * libio/iofflush.c: Likewise.
12331         * libio/iofflush_u.c: Likewise.
12332         * libio/iofgets.c: Likewise.
12333         * libio/iofgets_u.c: Likewise.
12334         * libio/iofopen.c: Likewise.
12335         * libio/iofopncook.c: Likewise.
12336         * libio/iofread.c: Likewise.
12337         * libio/iofread_u.c: Likewise.
12338         * libio/ioftell.c: Likewise.
12339         * libio/iofwrite.c: Likewise.
12340         * libio/iogetline.c: Likewise.
12341         * libio/iogets.c: Likewise.
12342         * libio/iogetwline.c: Likewise.
12343         * libio/iopadn.c: Likewise.
12344         * libio/iopopen.c: Likewise.
12345         * libio/ioseekoff.c: Likewise.
12346         * libio/ioseekpos.c: Likewise.
12347         * libio/iosetbuffer.c: Likewise.
12348         * libio/iosetvbuf.c: Likewise.
12349         * libio/ioungetc.c: Likewise.
12350         * libio/ioungetwc.c: Likewise.
12351         * libio/iovdprintf.c: Likewise.
12352         * libio/iovsprintf.c: Likewise.
12353         * libio/iovsscanf.c: Likewise.
12354         * libio/memstream.c: Likewise.
12355         * libio/obprintf.c: Likewise.
12356         * libio/oldfileops.c: Likewise.
12357         * libio/oldiofclose.c: Likewise.
12358         * libio/oldiofdopen.c: Likewise.
12359         * libio/oldiofopen.c: Likewise.
12360         * libio/oldiopopen.c: Likewise.
12361         * libio/oldstdfiles.c: Likewise.
12362         * libio/putc.c: Likewise.
12363         * libio/setbuf.c: Likewise.
12364         * libio/setlinebuf.c: Likewise.
12365         * libio/stdfiles.c: Likewise.
12366         * libio/strops.c: Likewise.
12367         * libio/vasprintf.c: Likewise.
12368         * libio/vscanf.c: Likewise.
12369         * libio/vsnprintf.c: Likewise.
12370         * libio/vswprintf.c: Likewise.
12371         * libio/wfiledoalloc.c: Likewise.
12372         * libio/wfileops.c: Likewise.
12373         * libio/wgenops.c: Likewise.
12374         * libio/wmemstream.c: Likewise.
12375         * libio/wstrops.c: Likewise.
12376         * libio/__fpurge.c: Likewise.
12377         * libio/__fsetlocking.c: Likewise.
12378         * assert/assert.c: Likewise.
12379         * debug/fgets_chk.c: Likewise.
12380         * debug/fgets_u_chk.c: Likewise.
12381         * debug/fread_chk.c: Likewise.
12382         * debug/fread_u_chk.c: Likewise.
12383         * debug/gets_chk.c: Likewise.
12384         * debug/obprintf_chk.c: Likewise.
12385         * debug/vasprintf_chk.c: Likewise.
12386         * debug/vdprintf_chk.c: Likewise.
12387         * debug/vsnprintf_chk.c: Likewise.
12388         * debug/vsprintf_chk.c: Likewise.
12389         * malloc/mtrace.c: Likewise.
12390         * misc/error.c: Likewise.
12391         * misc/syslog.c: Likewise.
12392         * stdio-common/asprintf.c: Likewise.
12393         * stdio-common/fxprintf.c: Likewise.
12394         * stdio-common/getw.c: Likewise.
12395         * stdio-common/isoc99_fscanf.c: Likewise.
12396         * stdio-common/isoc99_scanf.c: Likewise.
12397         * stdio-common/isoc99_vfscanf.c: Likewise.
12398         * stdio-common/isoc99_vscanf.c: Likewise.
12399         * stdio-common/isoc99_vsscanf.c: Likewise.
12400         * stdio-common/printf-prs.c: Likewise.
12401         * stdio-common/printf_fp.c: Likewise.
12402         * stdio-common/printf_fphex.c: Likewise.
12403         * stdio-common/printf_size.c: Likewise.
12404         * stdio-common/putw.c: Likewise.
12405         * stdio-common/scanf.c: Likewise.
12406         * stdio-common/sprintf.c: Likewise.
12407         * stdio-common/tmpfile.c: Likewise.
12408         * stdio-common/vfprintf.c: Likewise.
12409         * stdio-common/vfscanf.c: Likewise.
12410         * stdlib/strfmon_l.c: Likewise.
12411         * sunrpc/openchild.c: Likewise.
12412         * sunrpc/xdr_stdio.c: Likewise.
12413         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12414         * sysdeps/mach/hurd/tmpfile.c: Likewise.
12416 2012-05-24  Roland McGrath  <roland@hack.frob.com>
12418         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12420         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12421         in the third column, to generate for the shared library an IFUNC
12422         that uses _dl_vdso_vsym.
12423         * Makerules (COMPILE.c, compile-stdin.c): New variables.
12424         * Makeconfig (object-suffixes-noshared): New variable.
12426         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12427         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12428         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12429         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12431         [BZ #14132]
12432         * include/sys/time.h (__gettimeofday): Remove macro.
12433         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12434         * time/gettimeofday.c (__gettimeofday): Remove #undef.
12435         Remove INTDEF.
12436         (__gettimeofday): Add libc_hidden_def.
12437         (gettimeofday): Add libc_hidden_weak.
12438         * sysdeps/mach/gettimeofday.c: Likewise.
12439         * sysdeps/posix/gettimeofday.c: Likewise.
12440         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12441         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12442         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12443         (__gettimeofday_internal): Remove strong_alias.
12444         (__gettimeofday): Add libc_hidden_def.
12445         (gettimeofday): Add libc_hidden_weak.
12446         * sysdeps/unix/syscalls.list (gettimeofday):
12447         Remove __gettimeofday_internal alias.
12449 2012-05-24  Daniel Jacobowitz  <drow@false.org>
12450             H.J. Lu  <hongjiu.lu@intel.com>
12452         [BZ #12495]
12453         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12454         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12455         (largebin_index_32_big): New.
12456         (largebin_index): Use it for 16-byte alignment.
12457         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
12458         correction with front_misalign.
12460 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12464         Likewise.
12465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12466         Likewise.
12467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12468         Likewise.
12469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12470         Likewise.
12471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12472         Likewise.
12473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12474         Likewise.
12475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12476         Likewise.
12477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12478         Likewise.
12479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12480         Likewise.
12481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12482         Likewise.
12483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12484         Likewise.
12485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12486         Likewise.
12488         * scripts/data/c++-types-x32-linux-gnu.data: New file.
12489         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12491 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12493         [BZ #10846]
12494         [BZ #14036]
12495         * math/libm-test.inc (exp_test): Add test from bug 14036.
12496         (pow_test): Add test from bug 10846.
12498         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12499         and other flags.
12500         (special_function): Do not include flags in test name.
12501         (parse_args): Likewise.
12502         * sysdeps/i386/fpu/libm-test-ulps: Update.
12503         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12504         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12505         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12508         * math/gen-libm-test.pl (%beautify): Add entries for underflow
12509         exceptions.
12510         * math/libm-test.inc ("Philosophy"): Update comment about
12511         exception testing.
12512         (UNDERFLOW_EXCEPTION): New macro.
12513         (UNDERFLOW_EXCEPTION_OK): Likewise.
12514         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12515         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12516         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12517         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12518         (INVALID_EXCEPTION_OK): Update value.
12519         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12520         (OVERFLOW_EXCEPTION_OK): Likewise.
12521         (IGNORE_ZERO_INF_SIGN): Likewise.
12522         (test_exceptions): Handle underflow exceptions.
12523         (acos_test): Update for underflow exception expectations.
12524         (cexp_test): Likewise.
12525         (clog_test): Likewise.
12526         (clog10_test): Likewise.
12527         (csqrt_test): Likewise.
12528         (ctan_test): Likewise.
12529         (ctanh_test): Likewise.
12530         (exp_test): Likewise.
12531         (exp10_test): Likewise.
12532         (exp2_test): Likewise.
12533         (expm1_test): Likewise.
12534         (fma_test): Likewise.
12535         (j0_test): Likewise.
12536         (jn_test): Likewise.
12537         (nexttoward_test): Likewise.
12538         (pow_test): Likewise.
12539         (scalbn_test): Likewise.
12540         (scalbln_test): Likewise.
12541         (tan_test): Likewise.
12542         (y1_test): Likewise.
12543         * sysdeps/i386/fpu/libm-test-ulps: Update.
12544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12546 2012-05-23  David S. Miller  <davem@davemloft.net>
12548         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12549         (__libc_sigaction): Remove unused local variables.
12551 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12553         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12555 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
12557         mktime: avoid signed integer overflow
12558         * time/mktime.c (__mktime_internal): Do not mishandle the case
12559         where diff == INT_MIN.
12561         mktime: simplify computation of average
12562         * time/mktime.c (ranged_convert): Use new time_t_avg function
12563         instead of rolling our own (probably-slower) code.
12565         mktime: do not assume signed right shift propagates sign bit
12566         * time/mktime.c (isdst_differ): New static function.
12567         (__mktime_internal): No need to normalize tm_isdst now.
12568         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12569         tm_isdst values.
12571         mktime: merge another wrapv change from gnulib
12572         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12573         from some compilers.
12575         mktime: remove incorrect attempt at unusual arithmetics
12576         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12577         The code didn't really work on such machines anyway.
12578         (TYPE_MINIMUM): Assume two's complement.
12579         (twos_complement_arithmetic): Verify that long_int and time_t
12580         are two's complement (or unsigned, in the latter case).
12582         mktime: check signed shifts on long_int and time_t, too
12583         * time/mktime.c (SHR): Check that shifts work as desired
12584         on the types long_int and time_t too, as SHR is used on
12585         such types.
12587         mktime: do not assume 'long' is wide enough
12588         * time/mktime.c (verify): Move decl up.
12589         (long_int): New type.
12590         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12591         to remove assumption in the code that 'long' is wide enough to
12592         store year values.  This assumption is not true on x32 and on
12593         some non-glibc platforms.
12595         mktime: merge wrapv change from gnulib
12596         * time/mktime.c (WRAPV): New macro.
12597         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12598         (guess_time_tm, __mktime_internal): Do not assume that signed
12599         integer overflow wraps around; modern compilers generate code
12600         where this assumption is no longer valid.
12602 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12604         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12605         Replace "jmp L(pseudo_end)" with "ret".
12606         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12607         Likewise.
12609 2012-05-23  Andreas Jaeger  <aj@suse.de>
12611         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12612         * sysdeps/unix/sysv/linux/poll.c: Remove file.
12614 2012-05-23  Andreas Jaeger  <aj@suse.de>
12615             Maximilian Attems  <max@stro.at>
12617         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12618         New macros.
12620 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12622         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12623         code so that pseudo_end is just ret and the stack pointer is
12624         correct also for static library in error case.
12626 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
12628         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12629         move to syscalls.list.
12630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12635         * manual/install.texi (Running make install): Do not mention Linux
12636         kernel version for which pt_chown is not needed.
12637         (Linux): Do not mention problems with nscd with 2.0 kernels.
12638         * INSTALL: Regenerated.
12640 2012-05-23  Andreas Jaeger  <aj@suse.de>
12642         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12643         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12644         macro.
12645         * sysdeps/unix/sysv/linux/s390/bits/mman.h
12646         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12647         * sysdeps/unix/sysv/linux/sh/bits/mman.h
12648         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12649         * sysdeps/unix/sysv/linux/i386/bits/mman.h
12650         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12651         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12652         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12653         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12654         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12655         * sysdeps/unix/sysv/linux/bits/in.h
12656         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12658 2012-05-22  Roland McGrath  <roland@hack.frob.com>
12660         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12661         (PREPARE_VERSION): Just use assert instead, it will be elided
12662         under [NDEBUG] anyway.
12664 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12666         * sysdeps/unix/sysv/linux/Makefile: Include
12667         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12668         (sysdep_routines): Remove sysctl.
12669         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12670         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12671         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12672         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12673         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12675 2012-05-22  Andreas Jaeger  <aj@suse.de>
12677         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12678         that pseudo_end is just ret and the stack pointer is correct also
12679         for static library in error case.
12681 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12683         [BZ #14122]
12684         * nss/nsswitch.c (defconfig_entries): New variable.
12685         (__nss_database_lookup): Don't leak defconfig entries.
12686         (nss_parse_service_list): Don't leak on error paths.
12687         (free_database_entries): New function.
12688         (free_defconfig): New function.
12689         (free_mem): Move common code to free_database_entries.
12691 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12693         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12694         Add arch_prctl.
12695         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12697         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12698         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12699         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12700         New macro.
12701         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12702         (INTERNAL_SYSCALL_TYPES): Likewise.
12703         (LOAD_ARGS_TYPES_[1-6]): Likewise.
12704         (LOAD_REGS_TYPES_[1-6]): Likewise.
12705         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12706         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12708 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12710         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12711         copysignl for GLIBC_2_0.
12712         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12713         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12714         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12715         logbl for GLIBC_2_0.
12716         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12717         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12719 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12721         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12722         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12724         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12725         Use "neg %eax".
12727         * time/mktime.c: Update copyright years.
12729 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12731         mktime: merge comment-quoting-style change from gnulib
12732         * time/mktime.c: Quote 'like this' in comments.
12733         The GNU coding standards suggest that we no longer quote `like this',
12734         as "`" and "'" are typically rendered asymmetrically nowadays.
12735         The typical gnulib style is to quote 'like this' when quoting
12736         code, and "like this" when quoting English.
12738         * time/mktime.c (compile-command): Add "-I.".
12740         mktime: merge mktime-internal.h change from gnulib
12741         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12743         mktime: merge time_r change from gnulib
12744         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12746         mktime: merge DEBUG change from gnulib
12747         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12748         case system <time.h> has a #define.
12750         mktime: merge <sys/types.h> change from gnulib
12751         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12752         since <time.t> is now guaranteed to define time_t.
12754         mktime: merge HAVE_CONFIG_H change from gnulib
12755         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12757 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12759         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12760         Use "neg %eax".
12762         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12763         __rlim_t cast.
12764         (struct rusage): Use anonymous union to pad each field to
12765         __syscall_slong_t.
12767 2012-05-21  David S. Miller  <davem@davemloft.net>
12769         * Makefules (o-iterator): Remove .s cases.
12770         (compile-command.s): Delete.
12771         (COMPILE.s): Delete.
12772         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12774 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
12776         * configure.in (libc_cv_predef_stack_protector): Only consider
12777         "foobar" and "__stack_chk_fail" lines in libc_undefs.
12778         * configure: Regenerated.
12780 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12783         New macro.  Use R*LP on int and pointer.
12784         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12785         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12786         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12787         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12789         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12790         [__WORDSIZE_TIME64_COMPAT32] instead of
12791         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12792         (struct utmp): Likewise.
12793         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12794         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12795         Renamed to ...
12796         (__WORDSIZE_TIME64_COMPAT32): This.
12797         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12798         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12799         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12800         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12801         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12802         (__WORDSIZE_TIME64_COMPAT32): New macro.
12804 2012-05-21  Andreas Jaeger  <aj@suse.de>
12806         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12807         only if [SHARED]. Add prototype for __wcschr_ia32.
12809 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12811         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12812         of %rbp unmolested in the jmp_buf while mangling the low bits.
12813         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12814         unmolested high bits of %rbp while demangling the low bits.
12815         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12817 2012-05-21  Andreas Jaeger  <aj@suse.de>
12819         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12820         * sunrpc/svc_simple.c: Use it for registerrpc.
12821         * sunrpc/xcrypt.c: Use it for passwd2des.
12823         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12825 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12827         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12828         Don't define if [__SYSCALL_WORDSIZE != 32].
12829         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12830         New macro.
12832 2012-05-21  Bruno Haible  <bruno@clisp.org>
12833             Andreas Jaeger  <aj@suse.de>
12835         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12836         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12837         inptr and inend for must_buffer_ch.
12838         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12839         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12840         * stdio-common/Makefile (tests): Remove bug15.
12841         (bug15-ENV): Remove macro.
12842         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12843         anymore.
12845 2012-05-19  Andreas Jaeger  <aj@suse.de>
12846             Roland McGrath  <roland@hack.frob.com>
12848         * manual/contrib.texi: Completely rewritten. It contains now an
12849         alphabetical list of contributors and their contributions.
12851 2012-05-21  Richard Henderson  <rth@twiddle.net>
12853         * misc/getauxval.c (__getauxval): Use unsigned long int.
12854         * misc/sys/auxv.h: Include <sys/cdefs.h>.
12855         (getauxval): Use unsigned long int.
12857 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12859         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12861 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12863         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12864         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12865         __alignof__ (long double).
12867 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12871 2012-05-20  Richard Henderson  <rth@twiddle.net>
12873         * misc/getauxval.c: New file.
12874         * misc/sys/auxv.h: New file.
12875         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12876         (routines): Add getauxval.
12877         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12878         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12879         * elf/dl-sysdep.c (_dl_auxv): Remove.
12880         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12881         * elf/dl-support.c (_dl_auxv): New variable.
12882         (_dl_aux_init): Initialize it.
12883         * manual/startup.texi (Auxiliary Vector): New node.
12884         * sysdeps/generic/bits/hwcap.h: New file.
12885         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12886         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
12887         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12888         * sysdeps/sparc/sysdep.h: ... here.  Include it.
12889         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12890         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12892         Update.
12893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12896         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12902 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12906 2012-05-19  David S. Miller  <davem@davemloft.net>
12908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12910 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12912         [BZ #14123]
12913         * math/s_ccosh.c: Include <float.h>
12914         (__ccosh): Avoid internal overflow calculating sinh and cosh
12915         values before multiplying by sin and cos values.
12916         * math/s_ccoshf.c: Likewise.
12917         * math/s_ccoshl.c: Likewise.
12918         * math/s_csin.c: Likewise.
12919         * math/s_csinf.c: Likewise.
12920         * math/s_csinl.c: Likewise.
12921         * math/s_csinh.c: Likewise.
12922         * math/s_csinhf.c: Likewise.
12923         * math/s_csinhl.c: Likewise.
12924         * math/libm-test.inc (ccos_test): Add more tests.
12925         (ccosh_test): Likewise.
12926         (csin_test): Likewise.
12927         (csinh_test): Likewise.
12928         * sysdeps/i386/fpu/libm-test-ulps: Update.
12929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12931 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12933         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12934         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12936         * sysdeps/x86_64/x32/_itoa.h: Add comment.
12938 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12940         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12941         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12942         * sysdeps/powerpc/soft-fp/Versions: Likewise.
12943         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12944         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12945         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12946         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12947         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12948         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12949         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12950         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12951         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12952         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12953         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12954         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12955         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12956         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12957         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12958         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12959         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12960         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12961         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12962         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12963         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12964         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12965         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12966         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12967         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12968         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12969         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12970         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12972 2012-05-18  Andreas Jaeger  <aj@suse.de>
12974         * csu/.gitignore: Delete.
12976 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12978         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12979         (timex): Use __syscall_slong_t.
12981 2012-05-18  Andreas Jaeger  <aj@suse.de>
12982             Carlos O'Donell  <carlos_odonell@mentor.com>
12984         * manual/install.texi (Configuring and compiling): Update
12985         description about files modified in the source directory.
12986         * INSTALL: Regenerated.
12988 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12990         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12991         value.  Use "or" to set return value to -1.
12992         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12993         negate return value.
12995 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12997         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12998         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12999         failure if the compiler has Graphite support disabled.
13000         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13001         Likewise.
13002         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13003         CFLAGS-memmove.c): Likewise.
13004         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13005         Likewise.
13007 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13009         * sysdeps/x86_64/x32/_itoa.h: New file.
13011         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13012         getdents system call only if kernel and user dirents have the
13013         same d_ino and d_off.
13015         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13016         LLONG_MAX != LONG_MAX.
13017         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13018         (_fitoa_word): Likewise.
13020         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13021         years.
13022         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13023         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13024         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13026         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13027         include <bits/wordsize.h>.  Check __x86_64__ instead of
13028         __WORDSIZE.
13029         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13030         if __x86_64__ is defined.  Use anonymous union on fpstate.
13032         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13033         anonymous union.
13035 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
13037         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13038         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13039         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13040         Refer to _rtld_local_ro instead of _rtld_global_ro.
13041         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13042         Likewise.
13043         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13044         Likewise.
13045         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13046         Likewise.
13047         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13048         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13049         of _rtld_global, and rtld_progname instead of _dl_argv[0].
13051         * sysdeps/powerpc/powerpc32/dl-machine.c
13052         (__elf_machine_runtime_setup) [PROF]: Don't reference
13053         _dl_prof_resolve.
13055 2012-05-18  Andreas Jaeger  <aj@suse.de>
13057         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13058         function only available for GCCs before 3.4 since GCC 3.4
13059         introduced a builtin.
13060         (lrint): Likewise.
13061         (llrintf): Likewise.
13062         (llrint): Likewise.
13063         (fmaxf): Likewise.
13064         (fmax): Likewise.
13065         (fminf): Likewise.
13066         (fmin): Likewise.
13067         (rint): Likewise.
13068         (rintf): Likewise.
13069         (nearbyint): Likewise.
13070         (nearbyintf): Likewise.
13071         (ceil): Likewise.
13072         (ceilf): Likewise.
13073         (floor): Likewise.
13074         (floorf): Likewise.
13076 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13078         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13079         on both fields and cast pointer to __syscall_ulong_t.
13081         * bits/types.h (__fsword_t): New type.
13082         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13083         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13084         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13085         (__FSWORD_T_TYPE): Likewise.
13086         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13087         (__FSWORD_T_TYPE): Likewise.
13088         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13089         (__FSWORD_T_TYPE): Likewise.
13090         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13091         (__FSWORD_T_TYPE): Likewise.
13092         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13093         __SWORD_TYPE with __fsword_t.
13094         (statfs64): Likewise.
13096 2012-05-17  David S. Miller  <davem@davemloft.net>
13098         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13100 2012-05-17  Andreas Jaeger  <aj@suse.de>
13102         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13103         warning.
13105 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13107         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13109 2012-05-17  Andreas Jaeger  <aj@suse.de>
13111         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13112         when it is used.
13114 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13116         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13118 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13120         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13121         * sysdeps/x86_64/tst-mallocalign1.c: New file.
13123 2012-05-17  Andreas Jaeger  <aj@suse.de>
13124             Carlos O'Donell  <carlos_odonell@mentor.com>
13126         [BZ #14059]
13127         * sysdeps/x86_64/multiarch/init-arch.h
13128         (bit_YMM_Usable): Rename to...
13129         (bit_AVX_Usable): ... this.
13130         (bit_FMA4_Usable): New macro.
13131         (bit_XMM_state): New macro.
13132         (bit_YMM_state): New macro.
13133         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13134         [__ASSEMBLER__] (index_AVX_Usable): ... this.
13135         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13136         (CPUID_OSXSAVE): New macro.
13137         (CPUID_AVX): New macro.
13138         (CPUID_FMA4): New macro.
13139         (index_YMM_Usable): Rename to...
13140         (index_AVX_Usable): ... this.
13141         (HAS_AVX): Use HAS_ARCH_FEATURE.
13142         (HAS_FMA4): Likewise.
13143         (HAS_YMM_USABLE): Remove.
13144         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13145         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13146         are present.
13147         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13148         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13149         * sysdeps/x86_64/multiarch/Makefile: Likewise.
13150         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13151         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13153 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13155         * math/libm-test.c: Support platforms without multiple rounding modes.
13156         * math/bug-nextafter.c: Support platforms without FP exceptions.
13157         * math/bug-nexttoward.c: Likewise.
13158         * math/test-fenv.c: Likewise.
13159         * math/test-misc.c: Likewise.
13160         * stdlib/bug-getcontext.c: Likewise.
13162 2012-05-17  Andreas Jaeger  <aj@suse.de>
13164         * manual/examples/search.c (critter_cmp): Change signature to
13165         avoid warnings.
13166         * manual/string.texi (Collation Functions): Likewise.
13168 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13170         * bits/types.h: Fold copyright years.
13171         * bits/typesizes.h: Likewise.
13172         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13173         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13174         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13175         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13176         * time/time.h: Likewise.
13178 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
13180         [BZ #208]
13181         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13182         in instead of returning them.  Return void.
13183         (__libc_mallinfo): Accumulate over all arenas.
13184         (__malloc_stats): Adjust for change in int_mallinfo interface.
13186 2012-05-16  Roland McGrath  <roland@hack.frob.com>
13188         [BZ #10375]
13189         * configure.in (NM): Add AC_CHECK_TOOL for it.
13190         (libc_extra_cflags): New substituted variable.
13191         Check for -fstack-protector being used implicitly.
13192         * configure: Regenerated.
13193         * config.make.in (config-extra-cflags): New variable,
13194         gets @libc_extra_cflags@.
13195         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13197         [BZ #10375]
13198         * configure.in: Check for _FORTIFY_SOURCE being predefined.
13199         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13200         * configure: Regenerated.
13201         * config.make.in (CPPUNDEFS): New substituted variable.
13202         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13203         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13204         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13206 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13208         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13209         (mq_attr): Use __syscall_slong_t.
13211 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13213         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13214         Check __x86_64__ instead of __WORDSIZE.
13215         (_STAT_VER_LINUX): Likewise.
13216         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
13217         __syscall_ulong_t and __syscall_slong_t.
13218         (stat64): Likewise.
13220 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13222         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13224 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13226         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13228 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13230         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13231         __syscall_ulong_t.
13233         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13234         include <bits/wordsize.h>.  Check __x86_64__ instead of
13235         __WORDSIZE.
13236         (greg_t): Use "__extension__ long long int" if __x86_64__ is
13237         defined.
13238         (mcontext_t): Replace "unsigned long" with "unsigned long long".
13240         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13241         include <bits/wordsize.h>.  Check __x86_64__ instead of
13242         __WORDSIZE.
13243         (user_regs_struct): Use "__extension__ unsigned long long"
13244         instead of "unsigned long" if __x86_64__ is defined.
13245         (user): Likewise.  Pad after pointer field if __ILP32__ is
13246         defined.
13248 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
13250         * configure.in (makeinfo): Require version 4.5 or later.  Allow
13251         versions 5 to 9.
13252         * configure: Regenerated.
13253         * manual/install.texi (texinfo): Increase version requirement to
13254         4.5 or later.
13255         * INSTALL: Regenerated.
13257         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13259 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13261         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13263         * sysdeps/x86_64/x32/ffs.c: New file.
13265         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13266         __syscall_ulong_t.
13267         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13268         defined.  Use __syscall_ulong_t.
13269         (shminfo): Use __syscall_ulong_t.
13270         (shm_info): Likewise.
13272         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13273         __syscall_ulong_t.
13275         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13276         <bits/wordsize.h>.
13277         (msgqnum_t): Use __syscall_ulong_t.
13278         (msglen_t): Likewise.
13279         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
13280         __syscall_ulong_t.
13282         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13283         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13285         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13287         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13288         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13290         * sysvipc/sys/msg.h (msgbuf): Replace long int with
13291         __syscall_slong_t.
13293         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13294         include <bits/wordsize.h>.  Check __x86_64__ instead of
13295         __WORDSIZE.
13297         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13298         "unsigned long long int" if __x86_64__ is defined.
13299         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13301         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13302         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13303         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13305         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13306         <stdint.h>.
13307         (GET_PC): Cast to uintptr_t first.
13308         (GET_FRAME): Likewise.
13309         (GET_STACK): Likewise.
13311         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13312         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13313         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13314         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13315         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13316         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13317         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13318         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13319         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13320         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13321         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13322         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13323         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13324         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13325         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13326         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13327         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13328         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13329         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13330         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13331         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13332         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13333         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13334         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13335         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13336         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13337         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13338         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13339         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13341 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
13343         * Makerules (+depfiles): Also collect depfiles from .oS in
13344         $(extra-objs).
13345         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13346         .oS, $(libnldbl-routines)).
13348         * Makerules (native-compile-mkdep-flags): Define.
13349         * sunrpc/Makefile (extra-objs): Add $(addprefix
13350         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13351         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13352         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
13353         calling $(make-target-directory).
13355 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13357         * bits/types.h (__snseconds_t): Removed.
13358         * time/time.h (struct timespec): Replace __snseconds_t with
13359         __syscall_slong_t.
13360         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13361         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13362         Likewise.
13363         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13364         (__SNSECONDS_T_TYPE): Likewise.
13365         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13366         (__SNSECONDS_T_TYPE): Likewise.
13367         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13368         (__SNSECONDS_T_TYPE): Likewise.
13370 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13372         * sysdeps/mach/hurd/bits/typesizes.h
13373         (__SYSCALL_SLONG_TYPE): New macro.
13374         (__SYSCALL_ULONG_TYPE): Likewise.
13376 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13378         * bits/types.h (__syscall_slong_t): New type.
13379         (__syscall_ulong_t): Likewise.
13381         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13382         (__SYSCALL_ULONG_TYPE): Likewise.
13383         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13384         (__SYSCALL_SLONG_TYPE): Likewise.
13385         (__SYSCALL_ULONG_TYPE): Likewise.
13386         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13387         (__SYSCALL_SLONG_TYPE): Likewise.
13388         (__SYSCALL_ULONG_TYPE): Likewise.
13389         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13390         (__SYSCALL_SLONG_TYPE): Likewise.
13391         (__SYSCALL_ULONG_TYPE): Likewise.
13393 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13395         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13396         Add sigaltstack-offsets.sym.
13397         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13398         <sigaltstack-offsets.h>.
13399         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
13400         longjmp_msg pointer.
13401         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
13402         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13403         signal stack.
13404         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13406 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13408         * elf/stackguard-macros.h: Remove file.
13409         * sysdeps/generic/stackguard-macros.h: New file.
13410         * sysdeps/i386/stackguard-macros.h: Likewise.
13411         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13412         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13413         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13414         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13415         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13416         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13417         * sysdeps/x86_64/stackguard-macros.h: Likewise.
13418         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13419         <elf/stackguard-macros.h>.
13421         [BZ #14109]
13422         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13423         __aligned__ in attribute.
13424         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13425         (gregset_t): Likewise.
13427 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13429         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13430         * sysdeps/x86_64/64/Implies-after: Here.  New file.
13431         * sysdeps/x86_64/x32/Implies-after: New file.
13433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13435         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13436         and access return value for _dl_profile_fixup.  Use R10_LP to
13437         load frame size.
13439 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13441         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13445         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13446         * sysdeps/x86_64/x32/sysdep.h: New file.
13448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13450         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13451         * sysdeps/x86_64/setjmp.S: Likewise.
13453 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13455         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13456         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13457         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13458         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13459         remove unused global constant.
13461 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
13463         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13464         include of <not-cancel.h>.
13466 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13468         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13470 2012-05-15  Jeff Law  <law@redhat.com>
13471             Andreas Jaeger  <aj@suse.de>
13473         [BZ #13594]
13474         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13475         out from...
13476         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13477         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13478         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13479         code changing __hst_map_handle.map.
13481 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13483         * configure.in (sysnames): Look for Implies-before and Implies-after
13484         files.
13485         * configure: Regenerated.
13487 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13489         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13490         8-byte data alignment with LP_SIZE alignment.
13492 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13494         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13495         into R10_LP.
13497 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13499         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13501 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13503         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13504         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13505         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13506         Likewise.
13507         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13511         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13512         (stackinfo_sub_sp): Likewise.
13514 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13516         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13517         RAX_LP.
13519 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13521         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13522         into R*_LP.
13524 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13526         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13527         sizes into R*_LP.
13529 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13531         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13535         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13536         into R11_LP and load __x86_64_shared_cache_size_half into
13537         R8_LP.
13539 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13541         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13542         R8_LP.
13544 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13546         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13547         logb for POWER7.
13548         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13549         logbf for POWER7.
13550         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13551         logbl for POWER7.
13552         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13553         powerpc32/power7/fpu/s_logb.c via #include.
13554         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13555         powerpc32/power7/fpu/s_logbf.c via #include.
13556         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13557         powerpc32/power7/fpu/s_logbl.c via #include.
13559 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13561         * README.libm: Remove file.
13563 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13565         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13566         count for x32.  Use R*_LP and omit operand-size suffix.
13568 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13570         * shlib-versions: Move x86_64-.*-linux.* entries to ...
13571         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
13572         * sysdeps/x86_64/x32/shlib-versions: New file.
13574 2012-05-14  Roland McGrath  <roland@hack.frob.com>
13576         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13577         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13578         Use _dl_fatal_printf instead.
13580 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13582         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13583         set if not set by the user.  Do not allow for being unset.
13584         * sysdeps/unix/sysv/linux/configure: Regenerated.
13586 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13588         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13589         the `q' suffix from lea and replace .quad with ASM_ADDR.
13591 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13593         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13594         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
13595         instead of $17.
13596         (PTR_DEMANGLE): Likewise.
13598 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13600         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13601         (LP_OP): Likewise.
13602         (ASM_ADDR): Likewise.
13603         (RAX_LP): Likewise.
13604         (RBP_LP): Likewise.
13605         (RBX_LP): Likewise.
13606         (RCX_LP): Likewise.
13607         (RDI_LP): Likewise.
13608         (RSI_LP): Likewise.
13609         (RSP_LP): Likewise.
13610         (R8_LP): Likewise.
13611         (R9_LP): Likewise.
13612         (R10_LP): Likewise.
13613         (R10_LP): Likewise.
13614         (R11_LP): Likewise.
13615         (R12_LP): Likewise.
13616         (R13_LP): Likewise.
13617         (R14_LP): Likewise.
13618         (R15_LP): Likewise.
13620 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13622         * sysdeps/x86_64/x32/dl-machine.h: New file.
13624 2012-05-14  Andreas Jaeger  <aj@suse.de>
13626         * manual/Makefile (subdir): Remove export of subdir.
13627         (all): Remove target.
13628         (.PHONY): Remove all from list.
13629         (mkinstalldirs): Remove.
13630         (.PHONY): Remove installdirs from list.
13631         ($(inst_infodir)/libc.info): Use make-target-directory.
13632         (installdirs): Remove.
13633         (subdir_%): Remove.
13634         (glibc-targets): Remove.
13635         (lib): Remove.
13636         (stubs): Remove.
13637         ($(objpfx)stubs ../po/manual.pot): Remove.
13638         ($(objpfx)stamp%): Remove.
13639         (make-target-directory): Remove.
13640         (subdir_install): Remove.
13641         (routines): Remove.
13642         (aux): Remove.
13643         (sources): Remove.
13644         (objects): Remove.
13645         (headers): Remove.
13647         [BZ #13750]
13648         * manual/.gitignore: Remove, it's not needed anymore.
13649         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13650         all files in it.
13651         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13652         directory.
13653         (texis): Renamed to $(objpfx)texis.
13654         (texis-path): New, contains path to generated files.
13655         (chapters.%): Use texis-path for complete path, add extra argument
13656         libc-texinfo.sh.
13657         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13658         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13659         (summary,texi, stamp-summary): Use complete path of
13660         files. Generate files in build dir.
13661         (dir-add.texi): Build in build dir.
13662         (libm-err.texi,stamp-libm-err): Likewise.
13663         (version.texi, stamp-version): Likewise.
13664         (.%c.texi): Likewise.
13665         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13666         (mostlyclean): Remove target.
13667         (realclean): Remove target.
13668         (generated): Add new variable with contents from mostlyclean and
13669         realclean, remove entries duplicated in common-mostlyclean, add
13670         stamp-libm-err and stamp-version.
13671         (generated-dirs): Add libc directory.
13672         ($(inst_infodir)/libc.info): Install files from build dir.
13674         * manual/install.texi (Configuring and compiling): Adjust since
13675         the info files are not part of the tar ball anymore.
13677 2012-05-14  Andreas Jaeger  <aj@suse.de>
13679         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13680         variable.
13682 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13684         [BZ #13717]
13685         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13686         to 2.2.0 where earlier.
13687         * sysdeps/unix/sysv/linux/configure: Regenerated.
13688         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13689         Remove conditional code.
13690         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13691         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13692         Remove conditional code.
13693         [!__NR_lchown]: Likewise.
13694         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13695         [__NR_lchown]: Likewise.
13696         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13697         comment referencing __ASSUME_LCHOWN_SYSCALL.
13698         * sysdeps/unix/sysv/linux/i386/sigaction.c
13699         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13700         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13701         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13702         Remove conditional code.
13703         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13704         (__protocol_available): Remove #if 0 code.
13705         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13706         conditional code.
13707         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13708         * sysdeps/unix/sysv/linux/kernel-features.h
13709         (__ASSUME_GETCWD_SYSCALL): Don't define.
13710         (__ASSUME_REALTIME_SIGNALS): Likewise.
13711         (__ASSUME_PREAD_SYSCALL): Likewise.
13712         (__ASSUME_PWRITE_SYSCALL): Likewise.
13713         (__ASSUME_POLL_SYSCALL): Likewise.
13714         (__ASSUME_LCHOWN_SYSCALL): Likewise.
13715         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13716         non-SPARC.
13717         (__ASSUME_SIOCGIFNAME): Don't define.
13718         (__ASSUME_MSG_NOSIGNAL): Likewise.
13719         (__ASSUME_SENDFILE): Define unconditionally.
13720         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13721         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13722         conditional code.
13723         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13724         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13725         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13726         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13727         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13728         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13729         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13731         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13732         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13734         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13735         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13737         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13738         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13740         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13741         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13743         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13744         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13746         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13747         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13749         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13750         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13752         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13753         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13754         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13755         Remove conditional code.
13756         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13757         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13758         Remove conditional code.
13759         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13760         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13761         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13762         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13763         Remove conditional code.
13764         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13765         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13766         Remove conditional code.
13767         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13768         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13769         Remove conditional code.
13770         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13771         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13772         Remove conditional code.
13773         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13774         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13775         Remove conditional code.
13776         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13777         * sysdeps/unix/sysv/linux/sh/pwrite64.c
13778         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13779         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13780         * sysdeps/unix/sysv/linux/sigaction.c
13781         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13782         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13783         * sysdeps/unix/sysv/linux/sigpending.c
13784         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13785         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13786         * sysdeps/unix/sysv/linux/sigprocmask.c
13787         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13788         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13789         * sysdeps/unix/sysv/linux/sigsuspend.c
13790         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13791         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13792         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13793         (__libc_missing_rt_sigs): Remove.
13794         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13795         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13796         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13797         Remove conditional code.
13798         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13799         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13800         return 1.
13801         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13802         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13803         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13804         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13806 2012-05-14  Andreas Jaeger  <aj@suse.de>
13808         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13809         it's not used in glibc.
13810         (__coshm1): Likewise.
13811         (__acosh1p): Likewise.
13812         (__sgn): Likewise.
13814         * manual/string.texi (Copying and Concatenation): Add missing
13815         variable in concat example.
13816         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13818 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13820         [BZ #14103]
13821         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13822         __builtin_clzl with __builtin_clzll.
13824 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13826         [BZ #14104]
13827         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13828         libc_freeres_ptr.
13830 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13832         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13833         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13834         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13835         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13837 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
13839         * NEWS: Update ia64 info.
13841 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13843         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13844         used as bcopy.
13846 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
13848         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13849         * sysdeps/unix/syscalls.list (dup3): Likewise.
13850         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13851         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13853 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13855         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13856         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13858 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13860         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13861         thread pointer.
13862         (TLS_IE): Use mov/add instead of movq/addq to load thread
13863         pointer.
13864         (TLS_GD_PREFIX): New.
13865         (TLS_GD): Use it.
13867 2012-05-11  David S. Miller  <davem@davemloft.net>
13869         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13870         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13871         (_FPU_SETCW): Likewise.
13873 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13875         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13876         is 32-byte aligned.
13878 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
13880         [BZ #11837]
13881         * iconvdata/gb18030.c: Update tables.
13882         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
13883         characters specially.
13884         (BODY for TO_LOOP): Add encoding of missing ranges.
13886 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
13888         [BZ #13673]
13889         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13890         * sysdeps/mach/hurd/dup3.c: Likewise.
13891         * sysdeps/mach/hurd/readlinkat.c: Likewise.
13892         * sysdeps/powerpc/memmove.c:: Likewise.
13894 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13896         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13897         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13899 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13901         * elf/elf.h (R_X86_64_RELATIVE64): New.
13902         (R_X86_64_NUM): Updated.
13903         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13904         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
13905         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13906         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13907         tst-quad1pie tst-quad2pie
13908         (modules-names): Add tst-quadmod1 tst-quadmod2.
13909         ($(objpfx)tst-quad1): New dependency.
13910         ($(objpfx)tst-quad2): Likewise.
13911         ($(objpfx)tst-quad1pie): Likewise.
13912         ($(objpfx)tst-quad2pie): Likewise.
13913         * sysdeps/x86_64/tst-quad1.c: New file.
13914         * sysdeps/x86_64/tst-quad1pie.c: New file.
13915         * sysdeps/x86_64/tst-quad2.c: Likewise.
13916         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13917         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13918         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13919         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13920         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13922 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13924         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13925         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13926         * streams/stropts.h (t_scalar_t): Define type.
13928         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13929         (_PATH_PRESERVE): Set to "/var/lib".
13930         (_PATH_RWHODIR): Set to "/var/spool/rwho".
13932         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13933         instead of int.
13935         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13936         if __dir_mkfile succeeded.
13938         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13939         checking for _hurd_dtablesize.  Unlock it right after having
13940         finished _hurd_dtable allocation.
13942 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13944         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13945         * sysdeps/mach/hurd/configure: Regenerated.
13946         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13947         special-casing to...
13948         * sysdeps/gnu/configure.in: ... this new file.
13949         * sysdeps/unix/sysv/linux/configure: Regenerated.
13950         * sysdeps/gnu/configure: New generated file.
13952         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13953         for Linux: use nsec instead of usec, as well as:
13954         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13955         members of type struct timespec.
13956         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13957         New macros.
13958         (struct stat64): Likewise.
13959         (_STATBUF_ST_NSEC): New macro.
13960         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13962         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13963         __strtoul_internal rather than strtoul.
13965 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13967         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13968         and reject them.
13970 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13972         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13973         which preserves existing values.
13974         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13976 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13978         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13979         TIMEOUT values.  Return EINVAL for NFDS values either negative or
13980         greater than FD_SETSIZE.
13982 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13984         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13985         allocated, call __vm_protect to finish enabling the existing space, and
13986         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13987         allocate the remainder.
13989 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13991         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13992         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
13994 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13996         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13997         sysdeps/mach/hurd/readlink.c.
13999         * posix/tst-sysconf.c (posix_options): Only use
14000         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14001         _POSIX_SYNCHRONIZED_IO when they are defined
14002         * sysdeps/mach/hurd/bits/posix_opt.h:
14003         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14004         (_XOPEN_REALTIME): Undefine macro.
14005         (_XOPEN_REALTIME_THREADS): Undefine macro.
14006         (_XOPEN_SHM): Undefine macro.
14007         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14008         macro to -1.
14009         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14010         macro to -1.
14011         (_POSIX_ASYNC_IO): Undefine macro.
14012         (_POSIX_PRIORITIZED_IO): Undefine macro.
14013         (_POSIX_SPIN_LOCKS): Define macro to -1.
14015         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14016         SA_NODEFER, SA_RESETHAND.
14017         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14018         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14019         F_DUPFD_CLOEXEC.
14021 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14023         * elf/Makefile (pldd-modules): Define unconditionally.
14025 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14027         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14029 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14031         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14032         Return ENOENT when name is empty.
14033         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14035 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14037         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14039         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14041 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14043         Fix mlock in all cases except non-readable pages.
14044         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14045         instead of VM_PROT_ALL as parameter to __vm_wire function.
14047         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14048         (__mkdir): When path is `/', just fail with EEXIST.
14049         * sysdeps/mach/hurd/mkdirat.c: Likewise.
14051 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14053         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14054         <sys/uio.h> (for writev).
14055         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14056         and <sys/param.h> (for MIN).
14058 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14060         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14061         REQUESTED_TIME.  Properly set the remaining time and return EINTR
14062         if interrupted.
14064 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14066         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14067         Depend on against $(link-rpcuserlibs).
14069 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14071         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14072         (__libc_stack_end): Do not use attribute_relro.
14073         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14074         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14075         to libthread-provided value.
14076         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14077         attribute_relro.
14079 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14081         [BZ #3748]
14082         * bits/libc-lock.h (__libc_once_get): New macro.
14083         * sysdeps/mach/bits/libc-lock.h: Likewise.
14084         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14085         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14086         instead of using implementation details.
14088         * libio/fileops.c: Unconditionally include <kernel-features.h>.
14089         * libio/freopen.c: Likewise.
14090         * libio/freopen64.c: Likewise.
14091         * misc/syslog.c: Likewise.
14092         * nscd/connections.c: Likewise.
14093         * nscd/netgroupcache.c: Likewise.
14094         * sysdeps/posix/getcwd.c: Likewise.
14096 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14098         * math/w_ilogbf.c: Add #include <limits.h>.
14100 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14102         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14103         path instead of returning without unlocking.
14105         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14106         immediate-write ioctls.
14107         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14109 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14111         * sysdeps/mach/hurd/i386/init-first.c (init): Use
14112         __builtin_frame_address instead of making assumptions about the
14113         location of the return address relative to DATA.  Force early load of
14114         the return address.
14115         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14116         __builtin_frame_address.
14118         dup3 for GNU Hurd.
14119         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14120         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
14121         implement dup3 and do some further code clean-ups.
14122         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14123         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14125 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14127         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14129         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14130         HURD_CRITICAL_END around holding _hurd_dtable_lock.
14131         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14132         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14133         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14134         d->port.lock.
14136         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14137         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
14138         when handler == SIG_ERR, not when handler != SIG_ERR.
14140 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14142         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14143         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14144         definitions.
14146         accept4 for GNU Hurd.
14147         * include/sys/socket.h (__libc_accept4): New prototype.
14148         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
14149         to implement __libc_accept4.
14150         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14151         __libc_accept4.
14152         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14154         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14155         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14156         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14157         signal-defines.sym.
14159 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14161         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14163 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14165         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14166         assertion on O_CLOEXEC flag.
14167         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14168         * hurd/intern-fd.c: Likewise.
14169         * hurd/port2fd.c: Likewise.
14171 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14173         [BZ #3906]
14174         * bits/in.h (IPV6_PKTINFO): Define new macro.
14175         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14177 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14179         [BZ #13954]
14180         [BZ #13955]
14181         [BZ #13956]
14182         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14183         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14184         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14185         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14186         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14187         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14188         * math/libm-test.inc (logb_test) : Additional logb tests.
14190 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
14191             Andreas Jaeger  <aj@suse.de>
14193         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14194         * configure: Regenerated.
14195         * config.h.in (LINK_OBSOLETE_RPC): New macro.
14196         * config.make.in (link-obsolete-rpc): New substituted variable.
14197         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14198         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14199         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14200         (shared-only-routines): Don't set it under [link-obsolete-rpc],
14201         so that libc.a contains the symbols.
14202         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14203         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14204         * sunrpc/auth_none.c: Likewise.
14205         * sunrpc/auth_unix.c: Likewise.
14206         * sunrpc/authdes_prot.c: Likewise.
14207         * sunrpc/authuxprot.c: Likewise.
14208         * sunrpc/clnt_gen.c: Likewise.
14209         * sunrpc/clnt_perr.c: Likewise.
14210         * sunrpc/clnt_raw.c: Likewise.
14211         * sunrpc/clnt_simp.c: Likewise.
14212         * sunrpc/clnt_tcp.c: Likewise.
14213         * sunrpc/clnt_udp.c: Likewise.
14214         * sunrpc/clnt_unix.c: Likewise.
14215         * sunrpc/des_crypt.c: Likewise.
14216         * sunrpc/des_soft.c: Likewise.
14217         * sunrpc/get_myaddr.c: Likewise.
14218         * sunrpc/key_call.c: Likewise.
14219         * sunrpc/key_prot.c: Likewise.
14220         * sunrpc/netname.c: Likewise.
14221         * sunrpc/pm_getmaps.c: Likewise.
14222         * sunrpc/pm_getport.c: Likewise.
14223         * sunrpc/pmap_clnt.c: Likewise.
14224         * sunrpc/pmap_prot.c: Likewise.
14225         * sunrpc/pmap_prot2.c: Likewise.
14226         * sunrpc/pmap_rmt.c: Likewise.
14227         * sunrpc/publickey.c: Likewise.
14228         * sunrpc/rpc_cmsg.c: Likewise.
14229         * sunrpc/rpc_common.c: Likewise.
14230         * sunrpc/rpc_dtable.c: Likewise.
14231         * sunrpc/rpc_prot.c: Likewise.
14232         * sunrpc/rpc_thread.c: Likewise.
14233         * sunrpc/rtime.c: Likewise.
14234         * sunrpc/svc.c: Likewise.
14235         * sunrpc/svc_auth.c: Likewise.
14236         * sunrpc/svc_raw.c: Likewise.
14237         * sunrpc/svc_run.c: Likewise.
14238         * sunrpc/svc_tcp.c: Likewise.
14239         * sunrpc/svc_udp.c: Likewise.
14240         * sunrpc/svc_unix.c: Likewise.
14241         * sunrpc/svcauth_des.c: Likewise.
14242         * sunrpc/xcrypt.c: Likewise.
14243         * sunrpc/xdr.c: Likewise.
14244         * sunrpc/xdr_array.c: Likewise.
14245         * sunrpc/xdr_float.c: Likewise.
14246         * sunrpc/xdr_intXX_t.c: Likewise.
14247         * sunrpc/xdr_mem.c: Likewise.
14248         * sunrpc/xdr_rec.c: Likewise.
14249         * sunrpc/xdr_ref.c: Likewise.
14250         * sunrpc/xdr_sizeof.c: Likewise.
14251         * sunrpc/xdr_stdio.c: Likewise.
14253 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14255         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14256         change.  Update copyright years.
14258 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14260         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14262 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
14263             Joseph Myers  <joseph@codesourcery.com>
14264             Paul Pluzhnikov  <ppluzhnikov@google.com>
14266         [BZ #14012]
14267         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14268         requiring rpcgen.
14269         [cross-compiling] (extra-libs): Likewise.
14270         [cross-compiling] (extra-libs-others): Likewise.
14271         [cross-compiling] (librpcsvc-routines): Likewise.
14272         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14273         [cross-compiling] (omit-deps): Likewise.
14274         (sunrpc-CPPFLAGS): New variable.
14275         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14276         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14277         (cross-rpcgen-objs): New variable.
14278         (extra-objs): Append $(cross-rpcgen-objs).
14279         ($(cross-rpcgen-objs)): New rule.
14280         ($(objpfx)cross-rpcgen): Likewise.
14281         (rpcgen-cmd): Define to use $(built-program-file).  Expand
14282         comment.
14283         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14284         ($(objpfx)x%.stmp): Likewise.
14285         * sunrpc/proto.h [IS_IN_build] (_): Define.
14286         [IS_IN_build] (_libc_intl_domainname): Likewise.
14288 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14290         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14291         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14292         and R_X86_64_TPOFF64.
14294 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14296         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14297         sysdeps/unix/sysv/syscalls.list.
14298         (stime): Likewise.
14299         (utime): Likewise.
14300         * sysdeps/unix/sysv/syscalls.list: Remove file.
14302 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
14304         [BZ #3440]
14305         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14306         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14307         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14308         (__LC_IDENTIFICATION): Make these macros useful in #if
14309         expressions, as required by C99.
14311 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
14313         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14314         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
14315         after this.
14317 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
14319         * stdlib/longlong.h: Updated from GCC.
14321 2012-05-09  Andreas Jaeger  <aj@suse.de>
14323         * nscd/nscd.c (run_modes): Make named enum, reorder so that
14324         default is first entry.
14325         (run_mode): Set type.
14326         (main): Remove informal message about syslog.
14327         (options): Fix typo.
14329         [BZ #14053]
14330         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14331         to asm.
14332         (lrint): Likewise.
14333         (llrintf): Likewise.
14334         (llrint): Likewise.
14335         (rint): Likewise.
14336         (rintf): Likewise.
14337         (nearbyint): Likewise.
14338         (nearbyintf): Likewise.
14340 2012-05-09  Andreas Jaeger  <aj@suse.de>
14341             Pedro Alves  <palves@redhat.com>
14343         * nscd/nscd.c (run_mode): Use enum.
14344         (main): Cleanup coding style issue.
14346 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
14347             Andreas Jaeger  <aj@suse.de>
14349         * nscd/nscd.c (go_background): Replaced with...
14350         (run_mode): ... this.
14351         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14352         (options): Add -F --foreground.
14353         (main): Implement it.
14354         (parse_opt): Parse it.
14356 2012-05-09  Andreas Jaeger  <aj@suse.de>
14358         [BZ #14083]
14359         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14360         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14361         -Wconversion warning.
14362         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14363         Likewise.
14365 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
14367         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
14368         == 0.
14369         (LC_ALL): Use macro-int-constant.
14370         (LC_COLLATE): Likewise.
14371         (LC_CTYPE): Likewise.
14372         (LC_MESSAGES): Likewise.
14373         (LC_MONETARY): Likewise.
14374         (LC_NUMERIC): Likewise.
14375         (LC_TIME): Likewise.
14376         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14377         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14378         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14379         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14380         Specify type.
14381         [C99-based standards] (float_t): Expect type.
14382         [C99-based standards] (double_t): Expect type.
14383         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
14384         type.
14385         [C99-based standards] (HUGE_VALL): Likewise.
14386         [C99-based standards] (INFINITY): Likewise.
14387         [C99-based standards] (NAN): Likewise.
14388         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14389         [C99-based standards] (FP_NAN): Likewise.
14390         [C99-based standards] (FP_NORMAL): Likewise.
14391         [C99-based standards] (FP_SUBNORMAL): Likewise.
14392         [C99-based standards] (FP_ZERO): Likewise.
14393         [C99-based standards] (FP_FAST_FMA): Use
14394         optional-macro-int-constant.  Specify type.  Require == 1.
14395         [C99-based standards] (FP_FAST_FMAF): Likewise.
14396         [C99-based standards] (FP_FAST_FMAL): Likewise.
14397         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14398         [C99-based standards] (FP_ILOGBNAN): Likewise.
14399         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14400         Specify type.
14401         [C99-based standards] (MATH_ERREXCEPT): Likewise.
14402         [C99-based standards] (math_errhandling): Specify type.
14403         [ISO99 || ISO11] (signgam): Do not allow.
14404         [non-C99-based standards] (copysignf): Do not allow.
14405         [non-C99-based standards] (exp2f): Likewise.
14406         [non-C99-based standards] (log2f): Likewise.
14407         [non-C99-based standards] (modff): Allow.
14408         [non-C99-based standards] (erff): Do not allow.
14409         [non-C99-based standards] (erfcf): Likewise.
14410         [non-C99-based standards] (gammaf): Likewise.
14411         [non-C99-based standards] (hypotf): Likewise.
14412         [non-C99-based standards] (j0f): Likewise.
14413         [non-C99-based standards] (j1f): Likewise.
14414         [non-C99-based standards] (jnf): Likewise.
14415         [non-C99-based standards] (lgammaf): Likewise.
14416         [non-C99-based standards] (tgammaf): Likewise.
14417         [non-C99-based standards] (y0f): Likewise.
14418         [non-C99-based standards] (y1f): Likewise.
14419         [non-C99-based standards] (ynf): Likewise.
14420         [non-C99-based standards] (isnanf): Likewise.
14421         [non-C99-based standards] (acoshf): Likewise.
14422         [non-C99-based standards] (asinhf): Likewise.
14423         [non-C99-based standards] (atanhf): Likewise.
14424         [non-C99-based standards] (cbrtf): Likewise.
14425         [non-C99-based standards] (expm1f): Likewise.
14426         [non-C99-based standards] (ilogbf): Likewise.
14427         [non-C99-based standards] (log1pf): Likewise.
14428         [non-C99-based standards] (logbf): Likewise.
14429         [non-C99-based standards] (nextafterf): Likewise.
14430         [non-C99-based standards] (remainderf): Likewise.
14431         [non-C99-based standards] (rintf): Likewise.
14432         [non-C99-based standards] (scalbf): Likewise.
14433         [non-C99-based standards] (copysignl): Likewise.
14434         [non-C99-based standards] (exp2l): Likewise.
14435         [non-C99-based standards] (log2l): Likewise.
14436         [non-C99-based standards] (modfl): Allow.
14437         [non-C99-based standards] (erfl): Do not allow.
14438         [non-C99-based standards] (erfcl): Likewise.
14439         [non-C99-based standards] (gammal): Likewise.
14440         [non-C99-based standards] (hypotl): Likewise.
14441         [non-C99-based standards] (j0l): Likewise.
14442         [non-C99-based standards] (j1l): Likewise.
14443         [non-C99-based standards] (jnl): Likewise.
14444         [non-C99-based standards] (lgammal): Likewise.
14445         [non-C99-based standards] (tgammal): Likewise.
14446         [non-C99-based standards] (y0l): Likewise.
14447         [non-C99-based standards] (y1l): Likewise.
14448         [non-C99-based standards] (ynl): Likewise.
14449         [non-C99-based standards] (isnanl): Likewise.
14450         [non-C99-based standards] (acoshl): Likewise.
14451         [non-C99-based standards] (asinhl): Likewise.
14452         [non-C99-based standards] (atanhl): Likewise.
14453         [non-C99-based standards] (cbrtl): Likewise.
14454         [non-C99-based standards] (expm1l): Likewise.
14455         [non-C99-based standards] (ilogbl): Likewise.
14456         [non-C99-based standards] (log1pl): Likewise.
14457         [non-C99-based standards] (logbl): Likewise.
14458         [non-C99-based standards] (nextafterl): Likewise.
14459         [non-C99-based standards] (remainderl): Likewise.
14460         [non-C99-based standards] (rintl): Likewise.
14461         [non-C99-based standards] (scalbl): Likewise.
14462         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14463         [non-C99-based standards] (FP_*): Do not allow.
14464         [C99-based standards] (FP_*): Change to
14465         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14466         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14467         allow.
14468         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14469         (SIG_ERR): Likewise.
14470         [X/Open-based standards] (SIG_HOLD): Likewise.
14471         (SIG_IGN): Likewise.
14472         (SIGABRT): Use macro-int-constant.  Specify type.  Require
14473         positive value.
14474         (SIGFPE): Likewise.
14475         (SIGILL): Likewise.
14476         (SIGINT): Likewise.
14477         (SIGSEGV): Likewise.
14478         (SIGTER): Likewise.
14479         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14480         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14481         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14482         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14483         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14484         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14485         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14486         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14487         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14488         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14489         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14490         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14491         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14492         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14493         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14494         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14495         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14496         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14497         [X/Open-based standards] (SIGTRAP): Likewise.
14498         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14499         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14500         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14501         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14502         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14503         allow.
14505 2012-05-08  Ian Wienand  <ianw@vmware.com>
14507         [BZ #14080]
14508         * time/tzset.c (__tzset_parse_tz): Update default rules for
14509         daylight time changes in the Energy Policy Act of 2005.
14511 2012-05-09  Andreas Jaeger  <aj@suse.de>
14513         [BZ #13983]
14514         * elf/ldconfig.c (parse_conf): Change string to make clear that
14515         ldconfig only issued a warning if ld.so.conf does not exist.
14517 2012-05-08  David S. Miller  <davem@davemloft.net>
14519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14520         movxtod instead of popping the value on the stack.
14522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14524 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
14526         * config.h.in: Add HAVE_ARM_PCS_VFP.
14528 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
14530         [BZ #13979]
14531         * include/features.h: Warn if user requests __FORTIFY_SOURCE
14532         checking but the checks are disabled for any reason.
14534 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14536         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14537         and ELF64_R_TYPE with ELFW(R_TYPE).
14539 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
14541         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14542         (ulimit): Likewise.
14544         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14545         (settimeofday): Likewise.
14547 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
14549         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
14550         a struct th_u2 inside the union, and move tu_block/tu_code into
14551         a new th_u3 union of tu_block/tu_code inside of that.  Move
14552         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
14553         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
14554         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14555         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14556         (th_stuff): Change to th_u1.tu_stuff.
14557         (th_data): Define.
14558         (th_msg): Change to th_u1.th_u2.tu_data.
14560 2012-05-07  David S. Miller  <davem@davemloft.net>
14562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14564         [BZ #14074]
14565         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14566         (SETUP_PIC_REG): Use it.
14567         (SETUP_PIC_REG_LEAF): Use it.
14569 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
14571         [BZ #13885]
14572         [BZ #13923]
14573         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14574         USE_AS_EXPM1L.
14575         (EXPL_FINITE): Likewise.
14576         (FLDLOG): Likewise.
14577         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14578         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14579         e_expl.S.
14580         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14581         USE_AS_EXPM1L.
14582         (EXPL_FINITE): Likewise.
14583         (FLDLOG): Likewise.
14584         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14585         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14586         e_expl.S.
14587         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
14588         test of -max_value argument for long double.
14589         * sysdeps/i386/fpu/libm-test-ulps: Update.
14590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14592 2012-05-06  David S. Miller  <davem@davemloft.net>
14594         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14595         quad soft-float symbols whose references which are compiler
14596         generated.
14597         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14599 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
14601         [BZ #13884]
14602         [BZ #13914]
14603         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14604         USE_AS_EXP10L.
14605         (EXPL_FINITE): Likewise.
14606         (FLDLOG): Likewise.
14607         (c0): Likewise.
14608         (c1): Likewise.
14609         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14610         Adjust comments for base varying.
14611         (__expl_finite): Change alias to EXPL_FINITE.
14612         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14613         e_expl.S.
14614         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14615         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14616         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14617         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14618         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14619         USE_AS_EXP10L.
14620         (EXPL_FINITE): Likewise.
14621         (FLDLOG): Likewise.
14622         (c0): Likewise.
14623         (c1): Likewise.
14624         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14625         Adjust comments for base varying.
14626         (__expl_finite): Change alias to EXPL_FINITE.
14627         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
14628         tests for bugs.
14629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14631         [BZ #14064]
14632         * math/libm-test.inc (check_float_internal): Correct ulp
14633         calculation for subnormal expected results.
14635 2012-05-06  Andreas Jaeger  <aj@suse.de>
14637         * Makeconfig (+math-flags): New, set to -frounding-math.
14638         (+cflags): Add +math-flags so that all of glibc gets compiled with
14639         it.
14641         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14643 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
14645         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14646         Disable one test.
14648         [BZ #13787]
14649         [BZ #13922]
14650         [BZ #14036]
14651         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14652         (__ieee754_expl): Allow for and saturate large arguments.
14653         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14654         (u_threshold): Likewise.
14655         (__exp): Call __ieee754_exp before checking for overflow and
14656         underflow.
14657         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14658         (u_threshold): Likewise.
14659         (__expf): Call __ieee754_expf before checking for overflow and
14660         underflow.
14661         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14662         (u_threshold): Likewise.
14663         (__expl): Call __ieee754_expl before checking for overflow and
14664         underflow.
14665         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14666         (__ieee754_expl): Allow for and saturate large arguments.
14667         * math/libm-test.inc (exp_test): Add another test.  Do not allow
14668         missing overflow exception on overflow.
14669         (expm1_test): Do not allow missing overflow exception on overflow.
14671         * sysdeps/i386/fpu/e_expl.c: Move to ...
14672         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
14673         rather than using inline asm.
14674         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14675         * sysdeps/x86_64/fpu/e_expl.S: Copy from
14676         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14678         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14679         (nice): Likewise.
14680         (poll): Likewise.
14681         (signal): Likewise.
14682         (time): Likewise.
14683         (times): Likewise.
14685 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14687         * sysdeps/unix/syscalls.list (adjtime): Add entry from
14688         sysdeps/unix/common/syscalls.list.
14689         (fchmod): Likewise.
14690         (fchown): Likewise.
14691         (ftruncate): Likewise.
14692         (getrusage): Likewise.
14693         (gettimeofday): Likewise.
14694         (setpgid): Likewise.
14695         (setregid): Likewise.
14696         (setreuid): Likewise.
14697         (sigaction): Likewise.
14698         (truncate): Likewise.
14699         (vhangup): Likewise.
14700         * sysdeps/unix/common/syscalls.list: Remove file.
14701         * sysdeps/unix/bsd/Implies: Don't include unix/common.
14702         * sysdeps/unix/sysv/linux/Implies: Likewise.
14704 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
14706         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14708         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14709         Moved to ...
14710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14711         Here.
14712         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14713         to ...
14714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14715         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14716         to ...
14717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14718         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14719         to ...
14720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14721         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14722         to ...
14723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14724         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14725         to ...
14726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14727         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14728         to ...
14729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14730         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14731         to ...
14732         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14733         Here.
14734         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14735         to ...
14736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14737         Here.
14738         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14739         to ...
14740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14741         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14742         Moved to ...
14743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14744         Here.
14745         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14746         to ...
14747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14749 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14751         * sysdeps/unix/common/bits/dirent.h: Remove file.
14752         * sysdeps/unix/common/bits/fcntl.h: Likewise.
14754         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14755         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14756         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14757         * sysdeps/unix/bsd/isatty.c: Likewise.
14758         * sysdeps/unix/bsd/tcdrain.c: Likewise.
14759         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14760         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14762 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14764         [BZ #13563]
14765         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14766         long double comparison inaccuracies.
14767         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14770 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
14772         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14773         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14775 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14777         [BZ #14049]
14778         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14779         nonzero digits before rounding a hex value.
14780         * stdlib/tst-strtod.c (tests): Add another test.
14782 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14784         * sysdeps/s390/fpu/libm-test-ulps: Update.
14786 2012-05-03  Andreas Jaeger  <aj@suse.de>
14788         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14789         does not get optimized out.
14790         (malloc_opt_barrier): New.
14792 2012-05-03  Andreas Jaeger  <aj@suse.de>
14793             Roland McGrath  <roland@hack.frob.com>
14795         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14796         intermediate file deletion.
14797         (generated): Add .symlist files.
14799 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
14801         [BZ #13775]
14802         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14803         Redirect under this condition.
14804         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14805         [__USE_GNU] (__dprintf_chk): Not under this condition.
14806         [__USE_GNU] (__vdprintf_chk): Likewise.
14807         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14808         under this condition.
14809         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14810         [__USE_XOPEN2K8] (dprintf): Define under this condition.
14811         [__USE_XOPEN2K8] (vdprintf): Likewise.
14812         [__USE_GNU] (__dprintf_chk): Not under this condition.
14813         [__USE_GNU] (__vdprintf_chk): Likewise.
14814         [__USE_GNU] (dprintf): Likewise.
14815         [__USE_GNU] (vdprintf): Likewise.
14817 2012-05-03  Roland McGrath  <roland@hack.frob.com>
14819         * elf/Makefile (common-generated): Set this instead of generated for
14820         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
14821         $(all-built-dso)-derived lists.
14823 2012-05-03  Andreas Jaeger  <aj@suse.de>
14825         * sysdeps/i386/fpu/libm-test-ulps: Update.
14827         * FAQ: Removed.
14828         * FAQ.in: Likewise.
14829         * scripts/gen-FAQ.pl: Likewise.
14830         * manual/install.texi (Installation): Point to online location of
14831         FAQ.
14832         * Makefile (files-for-dist): Remove FAQ.
14833         (FAQ): Remove.
14835 2012-05-02  Allan McRae  <allan@archlinux.org>
14837         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14838         (LDFLAGS-reldepmod5.so): Likewise.
14839         (LDFLAGS-reldep6mod1.so): Likewise.
14840         (LDFLAGS-reldep6mod4.so): Likewise.
14841         (LDFLAGS-reldep8mod3.so): Likewise.
14842         (LDFLAGS-unload4mod1.so): Likewise.
14843         (LDFLAGS-unload4mod2.so): Likewise.
14844         (LDFLAGS-tst-initorder): Likewise.
14845         (LDFLAGS-tst-initordera2.so): Likewise.
14846         (LDFLAGS-tst-initordera3.so): Likewise.
14847         (LDFLAGS-tst-initordera4.so): Likewise.
14848         (LDFLAGS-tst-initorderb2.so): Likewise.
14849         (LDFLAGS-noload): Likewise.
14850         (LDFLAGS-next): Likewise.
14851         (LDFLAGS-order2mod1.so): Likewise.
14852         (LDFLAGS-order2mod2.so): Likewise.
14853         (LDFLAGS-tst-initorder2): Likewise.
14854         (LDFLAGS-tst-initorder2a.so): Likewise.
14855         (LDFLAGS-tst-initorder2b.so): Likewise.
14856         (LDFLAGS-tst-initorder2c.so): Likewise.
14857         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14859 2012-05-02  David S. Miller  <davem@davemloft.net>
14861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14863 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14865         [BZ #14055]
14866         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14868 2012-05-02  Andreas Jaeger  <aj@suse.de>
14870         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14871         since we manipulate rounding mode.
14872         (CPPFLAGS-test-idouble.c): Likewise.
14873         (CPPFLAGS-test-ifloat.c): Likewise.
14874         (CFLAGS-test-ldouble.c): Likewise.
14875         (CFLAGS-test-double.c): Likewise.
14876         (CFLAGS-test-float.c): Likewise.
14877         (CFLAGS-test-misc.c): Likewise.
14878         (CFLAGS-test-test-fenv.c): Likewise.
14880 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14882         [BZ #2550]
14883         [BZ #2570]
14884         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14885         comparisons to determine direction to adjust input.
14887 2012-05-01  Roland McGrath  <roland@hack.frob.com>
14889         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14890         output to the target.
14892         * scripts/localplt.awk: New file.
14893         * elf/Makefile ($(objpfx)check-localplt): Target removed.
14894         (check-localplt-CFLAGS): Variable removed.
14895         ($(all-built-dso:=.jmprel)): New static pattern rule.
14896         (generated): Add those targets.
14897         (localplt-built-dso): New variable.
14898         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14900         * elf/check-localplt.c: File removed.
14902         * scripts/check-execstack.awk: New file.
14903         * elf/Makefile ($(objpfx)check-execstack): Target removed.
14904         (check-execstack-CFLAGS): Variable removed.
14905         ($(objpfx)check-execstack.h): Target removed.
14906         ($(objpfx)execstack-default): New target.
14907         (generated): Add that instead of check-execstack.h.
14908         ($(all-built-dso:=.phdr)): New static pattern rule.
14909         (generated): Add those targets.
14910         * elf/check-execstack.c: File removed.
14912         * scripts/check-textrel.awk: New file.
14913         * elf/Makefile ($(objpfx)check-textrel): Target removed.
14914         (check-textrel-CFLAGS): Variable removed.
14915         (all-built-dso): Use := to define.o
14916         ($(all-built-dso:=.dyn)): New static pattern rule.
14917         (generated): Add those targets.
14918         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14919         * config.make.in (READELF): New substituted variable.
14920         * elf/check-textrel.c: File removed.
14922 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14924         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14925         allow.
14926         * conform/data/ctype.h-data [C99-based standards] (isblank):
14927         Expect function.
14928         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14929         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14930         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14931         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14932         Specify type.  Require positive value.
14933         (EILSEQ): Likewise.
14934         (ERANGE): Likewise.
14935         [ISO || POSIX] (EILSEQ): Do not expect.
14936         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14937         Specify type.  Require positive value.
14938         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14939         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14940         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14941         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14942         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14943         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14944         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14945         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14946         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14947         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14948         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14949         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14950         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14951         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14952         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14953         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14954         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14955         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14956         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14957         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14958         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14959         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14960         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14961         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14962         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14963         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14964         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14965         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14966         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14967         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14968         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14969         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14970         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14971         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14972         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14973         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14974         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14975         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14976         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14977         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14978         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14979         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14980         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14981         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14982         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14983         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14984         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14985         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14986         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14987         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14988         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14989         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14990         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14991         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14992         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14993         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14994         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14995         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14996         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14997         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14998         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14999         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15000         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15001         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15002         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15003         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15004         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15005         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15006         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15007         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15008         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15009         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15010         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15011         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15012         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15013         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15014         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15015         Require >= 2.
15016         (FLT_ROUNDS): Expect as macro, not constant.
15017         (FLT_MANT_DIG): Use macro-int-constant.
15018         (DBL_MANT_DIG): Likewise.
15019         (LDBL_MANT_DIG): Likewise.
15020         (FLT_DIG): Likewise.
15021         (DBL_DIG): Likewise.
15022         (LDBL_DIG): Likewise.
15023         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
15024         (DBL_MIN_EXP): Likewise.
15025         (LDBL_MIN_EXP): Likewise.
15026         (FLT_MAX_EXP): Use macro-int-constant.
15027         (DBL_MAX_EXP): Likewise.
15028         (LDBL_MAX_EXP): Likewise.
15029         (FLT_MAX_10_EXP): Likewise.
15030         (DBL_MAX_10_EXP): Likewise.
15031         (LDBL_MAX_10_EXP): Likewise.
15032         (FLT_MAX): Use macro-constant.
15033         (DBL_MAX): Likewise.
15034         (LDBL_MAX): Likewise.
15035         (FLT_EPSILON): Use macro-constant.  Give upper bound.
15036         (DBL_EPSILON): Likewise.
15037         (LDBL_EPSILON): Likewise.
15038         (FLT_MIN): Likewise.
15039         (DBL_MIN): Likewise.
15040         (LDBL_MIN): Likewise.
15041         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15042         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15043         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15044         [ISO11] (FLT_HAS_SUBNORM): Likewise.
15045         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15046         [ISO11] (DBL_DECIMAL_DIG): Likewise.
15047         [ISO11] (FLT_DECIMAL_DIG): Likewise.
15048         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15049         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15050         [ISO11] (FLT_TRUE_MIN): Likewise.
15051         [ISO11] (LDBL_TRUE_MIN): Likewise.
15052         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15053         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15054         (SCHAR_MIN): Use macro-int-constant.  Specify type.
15055         (SCHAR_MAX): Likewise.
15056         (UCHAR_MAX): Likewise.
15057         (CHAR_MIN): Likewise.
15058         (CHAR_MAX): Likewise.
15059         (MB_LEN_MAX): Use macro-int-constant.
15060         (SHRT_MIN): Use macro-int-constant.  Specify type.
15061         (SHRT_MAX): Likewise.
15062         (USHRT_MAX): Likewise.
15063         (INT_MAX): Likewise.
15064         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
15065         bound negative.
15066         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15067         bound with "U".
15068         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15069         bound with "L".
15070         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
15071         bound negative.  Suffix upper bound with "L".
15072         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15073         bound with "UL".
15074         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15075         Specify type.
15076         [C99-based standards] (LLONG_MAX): Likewise.
15077         [C99-based standards] (ULLONG_MAX): Likewise.
15078         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
15079         == 0.
15080         [ISO11] (max_align_t): Require type.
15081         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15083         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15084         from $CFLAGS, without defining away __attribute__ calls.
15085         (checknamespace): Use $CFLAGS_namespace.
15087         * conform/conformtest.pl (@keywords): Only include C99 keywords
15088         for standards based on C99 or C11.
15090         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15091         Disable tests.
15092         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15093         UNIX98]: Likewise.
15095         * conform/conformtest.pl: Handle "macro-int-constant" and test for
15096         usability of symbols in #if.
15098         * conform/conformtest.pl: If macro or constant types start
15099         "promoted:", expect the symbol to be of the following type
15100         promoted by the integer promotions.
15102         * conform/conformtest.pl: Parse all "constant" and "macro" lines
15103         in one place.  Also handle "macro-constant".
15105         * conform/conformtest.pl: Only accept expected macro values with
15106         "==".  Parse all "macro" lines in one place.
15107         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15109         * conform/conformtest.pl: Handle braced types on "constant" lines
15110         instead of handling "typed-constant".
15111         * conform/data/signal.h-data: Use "constant" instead of
15112         "typed-constant".
15114         * conform/conformtest.pl: Handle "optional-" at start of lines in
15115         one place rather than duplicating several cases.  Handle each
15116         format of "macro" line with initial "optional-".
15118         * conform/conformtest.pl: Only accept expected constant or
15119         optional-constant values with "==".  Parse all "constant" lines in
15120         one place.  Parse all "optional-constant" lines in one place.
15121         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15122         * conform/data/fmtmsg.h-data: Likewise.
15123         * conform/data/netinet/in.h-data: Likewise.
15124         * conform/data/tar.h-data: Likewise.
15125         * conform/data/limits.h-data: Use "==" form on "constant" and
15126         "optional-constant" lines.
15128         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15129         Use -std=c99 for XOPEN2K.
15130         (@knownproblems): Remove.
15131         (newtoken): Don't check %isknown.
15133         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15134         Do not expect macro.
15135         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15136         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15137         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15138         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15139         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15140         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15141         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15142         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15143         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15144         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15145         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15146         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15147         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15148         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15149         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15150         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15151         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15152         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15153         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15154         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15155         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15156         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15157         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15158         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15159         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15160         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15161         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15162         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15163         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15164         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15165         [XPG3] (acosh): Likewise.
15166         [XPG3] (asinh): Likewise.
15167         [XPG3] (atanh): Likewise.
15168         [XPG3] (cbrt): Likewise.
15169         [XPG3] (expm1): Likewise.
15170         [XPG3] (ilogb): Likewise.
15171         [XPG3] (log1p): Likewise.
15172         [XPG3] (logb): Likewise.
15173         [XPG3] (nextafter): Likewise.
15174         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15175         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15176         [XPG3] (remainder): Likewise.
15177         [XPG3] (rint): Likewise.
15178         [XPG3 || XPG4 || UNIX98] (round): Likewise.
15179         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15180         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15181         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15182         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15183         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15184         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15185         [UNIX98 || XOPEN2K] (scalb): Expect.
15186         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15187         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15188         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15189         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15190         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15191         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15192         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15193         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15194         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15195         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15196         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15197         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15198         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15199         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15200         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15201         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15202         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15203         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15204         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15205         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15206         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15207         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15208         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15209         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15210         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15211         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15212         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15213         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15214         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15215         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15216         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15217         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15218         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15219         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15220         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15221         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15222         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15223         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15224         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15225         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15226         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15227         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15228         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15229         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15230         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15231         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15232         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15233         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15234         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15235         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15236         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15237         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15238         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15239         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15240         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15241         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15242         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15243         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15244         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15245         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15246         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15247         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15248         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15249         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15250         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15251         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15252         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15253         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15254         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15255         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15256         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15257         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15258         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15259         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15260         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15261         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15262         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15263         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15264         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15265         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15266         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15267         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15268         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15269         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15270         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15271         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15272         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15273         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15274         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15275         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15276         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15277         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15278         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15279         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15280         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15281         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15282         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15283         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15284         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15285         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15286         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15287         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15288         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15289         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15290         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15291         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15292         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15293         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15294         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15295         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15296         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15297         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15298         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15299         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15300         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15301         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15302         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15303         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15304         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15305         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15306         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15307         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15308         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15309         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15310         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15311         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15312         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15313         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15314         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15315         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15316         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15317         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15318         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15319         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15320         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15321         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15322         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15324         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15325         _XOPEN_SOURCE_EXTENDED for XPG4.
15327         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15329         * Makeconfig (localtime): Remove variable.
15330         (inst_localtime-file): Likewise.
15332 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15335         Update.
15336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15337         Update.
15338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15339         Update.
15340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15341         Update.
15342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15343         Update.
15344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15345         Update.
15346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15347         Update.
15348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15349         Update.
15350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15351         Update.
15353 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15355         [BZ #2550]
15356         [BZ #2570]
15357         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15358         comparisons to determine direction to adjust input.
15359         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15360         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15361         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15362         Likewise.
15363         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15364         Likewise.
15365         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15366         Likewise.
15367         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15368         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15369         Likewise.
15370         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15371         Likewise.
15372         * math/libm-test.inc (nexttoward_test): Add more tests.
15374 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15376         [BZ #14040]
15377         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15378         in version GLIBC_2.1, not GLIBC_2.0.
15379         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15380         Likewise.
15382 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
15384         [BZ #13942]
15385         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15386         (1 - x) * (1 + x).
15387         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15388         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15389         * math/libm-test.inc (acos_test): Add more tests.
15390         (asin_test): Likewise.
15391         * sysdeps/i386/fpu/libm-test-ulps: Update.
15392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15394         [BZ #14034]
15395         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15396         of square root.
15397         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15398         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15399         * math/libm-test.inc (acos_test_tonearest): New function.
15400         (acos_test_towardzero): Likewise.
15401         (acos_test_downward): Likewise.
15402         (acos_test_upward): Likewise.
15403         (asin_test_tonearest): Likewise.
15404         (asin_test_towardzero): Likewise.
15405         (asin_test_downward): Likewise.
15406         (asin_test_upward): Likewise.
15407         (main): Call the new functions.
15408         * sysdeps/i386/fpu/libm-test-ulps: Update.
15409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15411         [BZ #13884]
15412         [BZ #13924]
15413         * math/e_exp10.c: Include <float.h>.
15414         (__ieee754_exp10): Handle underflow here rather than multiplying
15415         large negative argument by M_LN10.
15416         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15417         of __ieee754_expf.
15418         * math/e_exp10l.c: Include <float.h>.
15419         (__ieee754_exp10l): Handle underflow here rather than multiplying
15420         large negative argument by M_LN10l.
15421         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
15422         spurious overflow exception on underflow.
15424 2012-04-29  Marek Polacek  <polacek@redhat.com>
15426         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15427         (__fortify_function): New macro.
15428         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15429         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15430         __extern_always_inline.
15431         * libio/bits/stdio2.h: Likewise.
15432         * libio/bits/stdio.h: Likewise.
15433         * string/string.h: Likewise.
15434         * string/bits/string3.h: Likewise.
15435         * include/stdio.h: Likewise.
15436         * stdlib/bits/stdlib.h: Likewise.
15437         * stdlib/stdlib.h: Likewise.
15438         * rt/bits/mqueue2.h: Likewise.
15439         * rt/mqueue.h: Likewise.
15440         * posix/bits/unistd.h: Likewise.
15441         * posix/unistd.h: Likewise.
15442         * io/bits/poll2.h: Likewise.
15443         * io/bits/fcntl2.h: Likewise.
15444         * io/fcntl.h: Likewise.
15445         * io/sys/poll.h: Likewise.
15446         * misc/bits/syslog.h: Likewise.
15447         * misc/bits/syslog-ldbl.h: Likewise.
15448         * misc/sys/syslog.h: Likewise.
15449         * socket/bits/socket2.h: Likewise.
15450         * socket/sys/socket.h: Likewise.
15451         * debug/tst-chk1.c: Likewise.
15452         * wcsmbs/bits/wchar2.h: Likewise.
15453         * wcsmbs/bits/wchar-ldbl.h: Likewise.
15454         * wcsmbs/wchar.h: Likewise.
15456 2012-04-29  Andreas Jaeger  <aj@suse.de>
15458         * Makerules (tests): Remove enable-check-abi protection.
15459         (check-abi-warn): Remove.
15460         (check-abi-%): Remove check-abi-warn usage.
15462         * configure.in: Remove check-abi configure option.
15463         * configure: Regenerated.
15464         * config.make.in (enable-check-abi): Remove.
15466 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
15468         [BZ #14033]
15469         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15470         double functions to double *_finite functions.
15472         [BZ #13941]
15473         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15474         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15475         LDBL_MIN_EXP.
15476         * stdio-common/Makefile (tests): Add tst-sprintf3.
15477         * stdio-common/tst-sprintf3.c: New file.
15479         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15480         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15482 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15484         * conform/conformtest.pl: Remove duplicate typed-constant
15485         handling.
15487 2012-04-28  David S. Miller  <davem@davemloft.net>
15489         * Makerules (%.abilist): Add vpath on sysdep_dirs.
15490         (check-abi-%): Remove AWK script prerequisite and explicit
15491         abilist directory.
15492         (check-abi): Rewrite to just diff the symlist with the abilist.
15493         (config-tls, config-abi-config): Delete, no longer used.
15494         (update-abi-%): Remove AWK script and explicit abilist directory.
15495         (update-abi): Rewrite to simply compare and conditionally copy the
15496         symlist and the sysdep abilist file.  Remove update-abi-config
15497         checks.
15498         * abilist/ld.abilist: Remove.
15499         * abilist/libBrokenLocale.abilist: Remove.
15500         * abilist/libanl.abilist: Remove.
15501         * abilist/libcrypt.abilist: Remove.
15502         * abilist/libdl.abilist: Remove.
15503         * abilist/librt.abilist: Remove.
15504         * abilist/libthread_db.abilist: Remove.
15505         * abilist/libutil.abilist: Remove.
15506         * scripts/extract-abilist.awk: Remove.
15507         * scripts/merge-abilist.awk: Remove.
15508         * sysdeps/generic/libcidn.abilist: New file.
15509         * sysdeps/generic/libnss_compat.abilist: New file.
15510         * sysdeps/generic/libnss_db.abilist: New file.
15511         * sysdeps/generic/libnss_dns.abilist: New file.
15512         * sysdeps/generic/libnss_files.abilist: New file.
15513         * sysdeps/generic/libnss_hesiod.abilist: New file.
15514         * sysdeps/generic/libnss_nis.abilist: New file.
15515         * sysdeps/generic/libnss_nisplus.abilist: New file.
15516         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15517         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15518         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15519         file.
15520         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15521         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15522         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15523         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15524         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15525         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15526         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15527         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15528         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15529         file.
15530         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15531         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15532         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15533         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15534         file.
15535         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15536         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15537         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15538         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15539         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15540         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15541         file.
15542         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15543         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15544         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15545         file.
15546         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15547         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15548         New file.
15549         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15550         New file.
15551         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15552         New file.
15553         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15554         New file.
15555         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15556         New file.
15557         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15558         New file.
15559         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15560         New file.
15561         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15562         New file.
15563         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15564         New file.
15565         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15566         New file.
15567         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15568         New file.
15569         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15570         New file.
15571         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15572         New file.
15573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15574         file.
15575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15576         New file.
15577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15578         New file.
15579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15580         file.
15581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15582         New file.
15583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15584         New file.
15585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15586         file.
15587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15588         New file.
15589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15590         New file.
15591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15592         New file.
15593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15594         New file.
15595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15596         New file.
15597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15598         New file.
15599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15601         file.
15602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15603         New file.
15604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15605         file.
15606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15607         file.
15608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15609         file.
15610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15611         file.
15612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15613         file.
15614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15615         New file.
15616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15617         file.
15618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15619         file.
15620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15621         New file.
15622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15623         file.
15624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15626         file.
15627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15628         New file.
15629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15630         file.
15631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15632         file.
15633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15634         file.
15635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15636         file.
15637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15638         file.
15639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15640         New file.
15641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15642         file.
15643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15644         file.
15645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15646         New file.
15647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15648         file.
15649         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15650         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15651         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15652         file.
15653         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15654         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15655         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15656         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15657         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15658         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15659         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15660         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15661         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15662         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15665         file.
15666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15667         New file.
15668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15669         file.
15670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15671         file.
15672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15673         file.
15674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15675         file.
15676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15677         file.
15678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15679         New file.
15680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15681         New file.
15682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15683         file.
15684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15685         New file.
15686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15687         file.
15688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15690         file.
15691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15692         New file.
15693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15694         file.
15695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15696         file.
15697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15698         file.
15699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15700         file.
15701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15702         file.
15703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15704         New file.
15705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15706         New file.
15707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15708         file.
15709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15710         New file.
15711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15712         file.
15714 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15716         * conform/conformtest.pl: Fix typo in handling typed-constant from
15717         allow-header.
15719 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15721         * README: Cut down references to pre-2.6 Linux kernels and
15722         Linuxthreads.  Update lists of configurations in libc and ports
15723         and sort alphabetically.  Say "or newer" with Linux kernel version
15724         requirements.
15726         * config.h.in [IS_IN_build]: Allow compiling without optimization.
15728 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15730         [BZ #887]
15731         * math/libm-test.inc (logb_test_downward): New test to expose
15732         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15733         rounding mode.
15735 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15737         [BZ #14027]
15738         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15739         to be done.
15740         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15741         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15743 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
15745         * sysdeps/unix/i386/brk.S: Remove file.
15746         * sysdeps/unix/i386/dl-brk.S: Likewise.
15747         * sysdeps/unix/i386/pipe.S: Likewise.
15748         * sysdeps/unix/i386/sigreturn.S: Likewise.
15749         * sysdeps/unix/i386/syscall.S: Likewise.
15750         * sysdeps/unix/i386/vfork.S: Likewise.
15751         * sysdeps/unix/i386/wait.S: Likewise.
15753         * sysdeps/unix/common/tcsendbrk.c: Move to ...
15754         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15756         * configure.in (arm*-none*): Do not allow without
15757         --enable-hacker-mode.
15758         (netbsd*): Remove case setting base_os.
15759         (386bsd*): Likewise.
15760         (freebsd*): Likewise.
15761         (bsdi*): Likewise.
15762         (osf*): Likewise.
15763         (sunos*): Likewise.
15764         (ultrix*): Likewise.
15765         (newsos*): Likewise.
15766         (dynix*): Likewise.
15767         (*bsd*): Likewise.
15768         (sysv*): Likewise.
15769         (isc*): Likewise.
15770         (esix*): Likewise.
15771         (sco*): Likewise.
15772         (minix*): Likewise.
15773         (irix4*): Likewise.
15774         (irix6*): Likewise.
15775         (solaris[2-9]*): Likewise.
15776         (none): Likewise.
15777         * configure: Regenerated.
15779 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15781         [BZ #11521]
15782         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15783         overflow or cancellation in calculating denominator.
15784         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15785         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15786         down expression to avoid unexpected rounding in newer GCCs.
15787         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15789 2012-04-26  David S. Miller  <davem@davemloft.net>
15791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15792         long-double compat symbols.
15793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15807 2012-04-25  David S. Miller  <davem@davemloft.net>
15809         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15810         HWCAP_* values only after the memory barriers have been defined.
15811         (atomic_full_barrier): Define.
15812         (atomic_read_barrier): Define.
15813         (atomic_write_barrier): Define.
15815 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15817         * shlib-versions: Add libgcc_s version information.
15818         * sysdeps/generic/libgcc_s.h: Remove.
15819         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15820         libgcc_s.h.
15821         * sysdeps/gnu/unwind-resume.c: Likewise.
15822         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15824 2012-04-25  David S. Miller  <davem@davemloft.net>
15826         * sysdeps/unix/sparc/brk.S: Delete.
15827         * sysdeps/unix/sparc/dl-brk.S: Delete.
15828         * sysdeps/unix/sparc/pipe.S: Delete.
15829         * sysdeps/unix/sparc/sysdep.S: Delete.
15830         * sysdeps/unix/sparc/sysdep.h: Delete.
15831         * sysdeps/unix/sparc/vfork.S: Delete.
15832         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15833         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15834         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15835         ret_ERRVAL, r0, r1, MOVE): Define.
15836         (JUMPTARGET): Remove.
15837         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15838         sysdeps/unix/sparc/sysdep.h
15839         (ENTRY, END): Remove.
15840         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15842 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
15844         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15845         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15846         -DIS_IN_build.
15848         * timezone/README: Update upstream location and email address for
15849         tzcode and tzdata.
15850         * timezone/zdump.c: Update from tzcode 2012b.
15851         * timezone/zic.c: Likewise.
15853         * configure.in (libc_cv_as_needed): Remove test.
15854         * configure: Regenerated.
15855         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15856         conditional definition.
15857         [$(have-as-needed) != yes] (no-as-needed): Likewise.
15858         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15859         * config.make.in (have-as-needed): Remove variable.
15861 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15862             Paul Pluzhnikov  <ppluzhnikov@google.com>
15864         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15865         strings correctly.
15867 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15869         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15870         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15871         * sysdeps/sh/strlen.S: Likewise.
15873 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15875         * sysdeps/unix/fork.S: Remove file.
15876         * sysdeps/unix/i386/fork.S: Likewise.
15877         * sysdeps/unix/sparc/fork.S: Likewise.
15879         * sysdeps/unix/system.c: Remove file.
15880         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15882         * sysdeps/unix/getegid.S: Remove file.
15883         * sysdeps/unix/geteuid.S: Likewise.
15885 2012-04-24  Roland McGrath  <roland@hack.frob.com>
15887         * scripts/check-localplt.awk: New file.
15888         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15889         of diff.
15890         * scripts/data/localplt-generic.data: Add a comment.
15892         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15893         NODE when __dir_mkfile failed.
15894         * sysdeps/mach/hurd/symlinkat.c: Likewise.
15895         Reported by Ludovic Courtès <ludo@gnu.org>.
15897 2012-04-24  Andreas Jaeger  <aj@suse.de>
15899         * Makerules (common-clean): Also remove gen-as-const-headers
15900         files.
15902 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15904         * Makerules (native-compile): Do not change working directory for
15905         build.  Use $(OUTPUT_OPTION) in command.
15906         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15908 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15910         [BZ #13886]
15911         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15912         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15913         * math/libm-test.inc (floor_test): Add more tests.
15914         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15916 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15918         * sysdeps/unix/getdents.c: Remove file.
15919         * sysdeps/unix/sysv/getdents.c: Likewise.
15920         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15922         * sysdeps/unix/syscalls.list (madvise): Add syscall from
15923         sysdeps/unix/mman/syscalls.list.
15924         (mmap): Likewise.
15925         (mprotect): Likewise.
15926         (msync): Likewise.
15927         (munmap): Likewise.
15928         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15929         * sysdeps/unix/mman/syscalls.list: Remove.
15930         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15932         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15933         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15934         * configure: Regenerated.
15935         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15936         $(libgcc_s_suffix).
15937         * config.make.in (libgcc_s_suffix): Remove variable.
15939 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
15941         * sysdeps/unix/sysv/gethostname.c: Move to ...
15942         * sysdeps/posix/gethostname.c: ... here.
15944         * sysdeps/unix/execve.S: Remove file.
15946         * sysdeps/unix/_exit.S: Remove file.
15948 2012-04-23  Andreas Jaeger  <aj@suse.de>
15950         [BZ #13739]
15951         * manual/Makefile: Remove make dist support, there's no
15952         need for a stand-alone documentation tar ball.
15953         (TEXI2DVI): Define always, it's not in Makeconfig.
15954         (dist): Removed.
15955         (tar-it): Removed.
15956         (edition): Removed.
15957         (glibc-doc-$(edition).tar): Removed
15958         (%.Z): Removed.
15959         (%.gz): Removed.
15960         (%.uu): Removed.
15961         (ETAGS): Remove, it's in Makeconfig.
15962         (move-if-change): Remove, it's in Makeconfig.
15964 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
15966         [BZ #13970]
15967         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15968         (strtod, strtof, strtold, strtol, strtoul, strtoq)
15969         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15970         (strtod_l, strtof_l, strtold_l): Remove __wur.
15971         It is not necessarily an error to ignore strtol's return value.
15972         One can reliably look at the stored endptr to decide whether
15973         the number had valid syntax.
15975 2012-04-21  Andreas Jaeger  <aj@suse.de>
15977         [BZ #13739]
15978         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15980 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
15982         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15983         * sysdeps/unix/sysv/Versions: Remove file.
15985 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
15987         [BZ #13927]
15988         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15990 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
15992         [BZ #7064]
15993         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15994         version from __vm86.
15996 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
15998         * sysdeps/unix/common/lxstat.c: Remove file.
15999         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16001         * sysdeps/unix/sysv/Makefile: Remove file.
16003         * sysdeps/unix/sysv/direct.h: Remove file.
16005         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16006         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16007         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16008         * sysdeps/unix/sysv/bits/signum.h: Likewise.
16009         * sysdeps/unix/sysv/bits/stat.h: Likewise.
16010         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16011         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16013         * sysdeps/unix/sysv/setrlimit.c: Remove file.
16015         * sysdeps/unix/xmknod.c: Remove file.
16016         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16018         * sysdeps/unix/sysv/settimeofday.c: Remove file.
16020         * sysdeps/unix/sysv/i386/time.S: Remove file.
16022         * sysdeps/unix/fxstat.c: Remove file.
16023         * sysdeps/unix/xstat.c: Likewise.
16024         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16026         * sysdeps/unix/sysv/sigaction.c: Remove file.
16028         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16029         (sysdep_headers): Remove variable.
16030         [termio.h not in sysdep_headers] (generated): Likewise.
16031         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16032         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16033         * sysdeps/unix/sysv/tcdrain.c: Likewise.
16034         * sysdeps/unix/sysv/tcflow.c: Likewise.
16035         * sysdeps/unix/sysv/tcflush.c: Likewise.
16036         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16037         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16038         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16039         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16040         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16042         * sysdeps/unix/siglist.c: Remove file.
16044         * sysdeps/unix/getppid.S: Remove file.
16046         * sysdeps/unix/mkdir.c: Remove file.
16047         * sysdeps/unix/rmdir.c: Likewise.
16049 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
16051         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16052         ERR_MAX value.
16053         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16054         errlist-compat value.
16056 2012-04-18  David S. Miller  <davem@davemloft.net>
16058         * sysdeps/generic/memcopy.h (reg_char): Delete.
16059         * debug/strcat_chk.c: Use char, not reg_char.
16060         * debug/strcpy_chk.c: Likewise.
16061         * debug/strncat_chk.c: Likewise.
16062         * debug/strncpy_chk.c: Likewise.
16063         * string/memchr.c: Likewise.
16064         * string/memrchr.c: Likewise.
16065         * string/rawmemchr.c: Likewise.
16066         * string/strcat.c: Likewise.
16067         * string/strchr.c: Likewise.
16068         * string/strchrnul.c: Likewise.
16069         * string/strcmp.c: Likewise.
16070         * string/strcpy.c: Likewise.
16071         * string/strncat.c: Likewise.
16072         * string/strncmp.c: Likewise.
16073         * string/strncpy.c: Likewise.
16075 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16077         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16078         __builtin_memcopy is called when src and dest ranges are known to not
16079         overlap.
16081 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16083         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16084         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16085         fwd_align_merge macro call.
16086         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16087         bwd_align_merge macro call.
16088         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16090 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16092         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16093         bwd_align_merge macros.
16094         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16095         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16096         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16098 2012-04-18  David S. Miller  <davem@davemloft.net>
16100         * sysdeps/sparc/sparc64/memcopy.h: Delete.
16102 2012-04-18  Andreas Jaeger  <aj@suse.de>
16104         [BZ# 6794]
16105         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16106         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16107         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16109         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16110         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16111         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16113         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16114         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16115         Adjust for changed ldbl-128 files.
16117         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16118         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16119         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16121 2012-04-17  David S. Miller  <davem@davemloft.net>
16123         * sysdeps/sparc/sparc32/memcopy.h: Delete.
16125 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
16127         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16128         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16129         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16130         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16131         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16132         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16134 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16136         [BZ #6794]
16137         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16138         * math/libm-test.inc: Add ilogb errno and exception tests.
16139         * math/w_ilogb.c: New file: ilogb wrapper.
16140         * math/w_ilogbf.c: New file: ilogbf wrapper.
16141         * math/w_ilogbl.c: New file: ilogbl wrapper.
16142         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16143         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16144         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16145         exception being thrown with 0.0 as argument.
16146         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16147         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16148         exception being thrown with 0.0 as argument.
16149         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16150         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16151         exception being thrown with 0.0 as argument.
16152         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16153         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16154         exception being thrown with 0.0 as argument.
16155         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16156         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16157         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16158         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16159         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16160         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16161         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16162         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16163         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16165 2012-04-17  Petr Baudis  <pasky@ucw.cz>
16167         * include/sys/uio.h: Change __vector to __iovec to avoid clash
16168         with altivec.
16170 2012-04-16  Marek Polacek  <polacek@redhat.com>
16172         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16174 2012-04-16  Marek Polacek  <polacek@redhat.com>
16176         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16177         operands of fdivp instruction.
16179 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16181         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16182         * elf/tst-auditmod3b.c: Likewise.
16183         * elf/tst-auditmod4b.c: Likewise.
16184         * elf/tst-auditmod5b.c: Likewise.
16185         * elf/tst-auditmod6b.c: Likewise.
16186         * elf/tst-auditmod6c.c: Likewise.
16187         * elf/tst-auditmod7b.c: Likewise.
16188         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16189         * sysdeps/x86_64/preconfigure.in: Likewise.
16190         * sysdeps/x86_64/preconfigure: Regenerated.
16192 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16194         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16195         __ILP32__.
16197 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
16199         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16200         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16202 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
16204         [BZ #13973]
16205         * locale/iso-639.def: Fix gl language name. Spotted by
16206         Yaron Shahrabani.
16208 2012-04-12  Roland McGrath  <roland@hack.frob.com>
16210         [BZ #2074]
16211         * libio/libio.h (__io_write_fn): Update comment.
16213 2012-04-12  Petr Baudis  <pasky@ucw.cz>
16215         [BZ #2074]
16216         * stdio.texi (Hook Functions): The user provided writer function
16217         is not allowed to return -1.
16219 2012-04-11  David S. Miller  <davem@davemloft.net>
16221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16223 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
16225         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16226         Add a leading slash to rtkaio.
16228 2012-04-11  Jim Meyering  <meyering@redhat.com>
16230         [BZ #11959]
16231         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16232         It is not necessarily an error to ignore fwrite's return
16233         value.  One can reliably use ferror to test for errors after
16234         the fact.
16236 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16238         * bits/types.h (__snseconds_t): New type.
16239         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16241         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16242         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16243         (__SNSECONDS_T_TYPE): Likewise.
16244         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16245         (__SNSECONDS_T_TYPE): Likewise.
16246         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16247         (__SNSECONDS_T_TYPE): Likewise.
16249 2012-04-10  Andreas Jaeger  <aj@suse.de>
16251         [BZ #2636]
16252         * manual/time.texi (Processor Time): Return type of times is
16253         elapsed real time since an arbitrary point in the past.
16254         (CPU Time): Move CLK_TCK from here...
16255         (Processor Time): ...to here.  Correct description.
16256         * manual/conf.texi (Constants for Sysconf): Correct description of
16257         _SC_CLK_TCK.
16259 2012-04-10  David S. Miller  <davem@davemloft.net>
16261         [BZ #13967]
16262         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16263         where the is a gap between DT_REL(A) and DT_JMPREL.
16265 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16267         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16268         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16269         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16271 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16273         * elf/dl-support.c (_dl_inhibit_cache): New variable.
16274         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16275         (dl_main): Handle --inhibit-cache.
16276         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16277         _dl_inhibit_cache.
16278         * elf/dl-load.c (_dl_map_object): Use it.
16279         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16281 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16283         [BZ #13872]
16284         * sysdeps/i386/fpu/e_powl.S (p78): New object.
16285         (__ieee754_powl): Saturate large exponents rather than testing for
16286         overflow of y*log2(x).
16287         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16288         * math/libm-test.inc (pow_test): Do not permit spurious overflow
16289         exceptions.
16291         [BZ #11521]
16292         * math/s_ctan.c: Include <float.h>.
16293         (__ctan): Avoid internal overflow or cancellation in calculating
16294         denominator.
16295         * math/s_ctanf.c: Likewise.
16296         * math/s_ctanl.c: Likewise.
16297         * math/s_ctanh.c: Likewise.
16298         * math/s_ctanhf.c: Likewise.
16299         * math/s_ctanhl.c: Likewise.
16300         * math/libm-test.inc (ctan_test): Add more tests.
16301         (ctanh_test): Likewise.
16302         * sysdeps/i386/fpu/libm-test-ulps: Update.
16303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16305 2012-04-09  Andreas Jaeger  <aj@suse.de>
16307         [BZ #6894]
16308         * manual/filesys.texi (Directory Entries): Mention that d_namlen
16309         is an optional BSD extension.
16311         [BZ #10254]
16312         * manual/stdio.texi (Opening Streams): Document additional fopen
16313         parameters.
16315 2012-04-09  Roland McGrath  <roland@hack.frob.com>
16317         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16318         %eax without telling the compiler.
16320 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
16322         [BZ # 13963]
16323         * manual/install.texi: Use sourceware.org.
16325 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16327         [BZ #13873]
16328         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16329         (__ieee754_pow): Generate overflow and underflow using huge*huge
16330         and tiny*tiny rather than just returning constant infinity or zero
16331         for large exponents.
16332         * math/libm-test.inc (pow_test): Require overflow exceptions for
16333         applicable cases of large exponents.
16335         [BZ #706]
16336         * sysdeps/i386/fpu/e_pow.S (p10): New object.
16337         (__ieee754_pow): Use iterative multiplication algorithm only for
16338         integer exponents with absolute value below 1024.  Check for odd
16339         integer exponents when using algorithm for real exponents.
16340         * math/libm-test.inc (pow_test): Add more tests.
16341         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16343 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
16345         [BZ #13705]
16346         * math/libm-test.inc (exp_test): Do not allow overflow exception
16347         on underflow test.
16349 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
16351         [BZ #13705]
16352         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16353         instead of __kernel_standard_f.
16355 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
16357         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16358         * sysdeps/x86_64/memset_chk.S: Likewise.
16360 2012-04-08  Andreas Jaeger  <aj@suse.de>
16362         [BZ #10153]
16363         * manual/startup.texi (Environment Access): Describe return value
16364         for putenv and setenv.
16366         [BZ #6895]
16367         * manual/filesys.texi (Directory Entries): Add description for
16368         DT_LNK.
16370         [BZ #6890]
16371         * manual/filesys.texi (Directory Entries): Clarify that it's file
16372         system not operating system in the description of DT_UNKNOWN.
16374         [BZ #6578]
16375         * manual/syslog.texi (closelog): Fix reference, it's openlog.
16377 2012-04-08  Stephen Compall  <s11@member.fsf.org>
16379         [BZ #6649]
16380         * manual/llio.texi (Opening and Closing Files): Add cross
16381         reference to explain mode argument.
16383 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
16385         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16386         * sysdeps/x86_64/memset_chk.S: Likewise.
16388 2012-04-07  David S. Miller  <davem@davemloft.net>
16390         * elf/elf.h (R_SPARC_WDISP10): Define.
16391         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16392         R_SPARC_SIZE32.
16393         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16394         R_SPARC_SIZE64 and R_SPARC_H34.
16396 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
16398         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16399         conditions and remove no longer applicable assertion.
16401 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16403         * bits/byteswap.h: Include <features.h>.
16404         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16405         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16407 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16409         * bits/byteswap.h (__bswap_16): Removed.
16410         Include <bits/byteswap-16.h> to get __bswap_16.
16411         * sysdeps/i386/bits/byteswap.h: Likewise.
16412         * sysdeps/s390/bits/byteswap.h: Likewise.
16413         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16414         * bits/byteswap-16.h: New file.
16415         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16416         * sysdeps/s390/bits/byteswap-16.h: Likewise.
16417         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16418         * string/Makefile (headers): Add bits/byteswap-16.h.
16420 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16422         [BZ #13895]
16423         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16424         extra indirection.
16425         * nss/Makefile (tests-static, tests): Add tst-nss-static.
16426         * nss/tst-nss-static.c: New.
16428 2012-04-06  Robert Millan  <rmh@gnu.org>
16430         [BZ #6486]
16431         * manual/llio.texi (File Position Primitive): lseek
16432         refers to WHENCE when it really means OFFSET.
16434 2012-04-06  Andreas Jaeger  <aj@suse.de>
16436         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16437         strncmp declarations.
16439         * abilist/libc.abilist: Add __poll and __ppoll.
16441 2012-04-05  David S. Miller  <davem@davemloft.net>
16443         * scripts/check-local-headers.sh: Accept a host triplet in the
16444         path matched by the exclude regexp.
16446         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16447         definition.
16448         * sysdeps/powerpc/powerpc32/dl-machine.h
16449         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16450         * sysdeps/s390/s390-32/dl-machine.h
16451         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16452         * sysdeps/sparc/sparc32/dl-machine.h
16453         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16454         * sysdeps/sparc/sparc64/dl-machine.h
16455         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16457         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16458         lazy binding.
16459         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16460         undefined symbol errors.
16462         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16463         DT_NEEDED entries.
16465 2012-04-05  Michael Matz  <matz@suse.de>
16467         [BZ #13592]
16468         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16470 2012-04-05  Andreas Jaeger  <aj@suse.de>
16472         [BZ #13908]
16473         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16474         comment.
16476 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16478         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16479         which ROUND is no valid rounding mode.
16481 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16483         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16484         read again.
16485         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16487 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16489         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16490         an exception using FPU order intentionally.
16492 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16494         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16495         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16496         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16497         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16499 2012-04-05  Simon Josefsson  <simon@josefsson.org>
16501         [BZ #12340]
16502         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16503         EINVAL when BUFLEN is too smal.
16505 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16507         [BZ #13553]
16508         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16509         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16511 2012-04-03  Andreas Jaeger  <aj@suse.de>
16513         [BZ #13938]
16514         * manual/setjmp.texi (System V contexts): Fix sentence.
16516         [BZ #13926]
16517         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16518         New macro for this case.
16519         [!__GNUC__] (__bswap_64): New inline function for this case.
16520         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16521         * bits/byteswap.h: Likewise.
16522         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16523         ull, guard with __GLIBC_HAVE_LONG_LONG.
16525         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16526         __GLIBC_HAVE_LONG_LONG.
16528         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16529         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16531 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16533         [BZ #13691]
16534         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16535         inptr and inend, rather than using last_ch.
16537 2012-04-02  David S. Miller  <davem@davemloft.net>
16539         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16540         * stdio-common/printf-parse.h (read_int): Change return type to
16541         'int', return -1 on INT_MAX overflow.
16542         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16543         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
16544         overflows INT_MAX.  Check for overflow of in-format-string precision
16545         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
16546         SIZE_MAX not INT_MAX for integer overflow test.
16547         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16548         skip the construct in the format string but do not record anything.
16549         * stdio-common/bug22.c: Adjust to test both width/prevision
16550         INT_MAX overflow as well as total length INT_MAX overflow.  Check
16551         explicitly for proper errno values.
16553 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16555         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16556         CHAR_MAX.
16557         * string/test-strcmp.c [! WIDE]: Likewise.
16558         * time/tst-mktime2.c: Likewise for INT_MAX.
16559         * string/test-string.h: #include <sys/param.h> for MIN.
16561         * csu/init-first.c (__libc_init_first): Call __ctype_init.
16562         * sysdeps/i386/init-first.c (init): Likewise.
16563         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16564         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16565         * sysdeps/sh/init-first.c (init): Likewise.
16567 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
16569         * po/ru.po: Update from translation team.
16570         * po/vi.po: Likewise.
16572 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16574         * resolv/nss_dns/dns-host.c: Merge copyright years.
16576 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16578         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16579         Optimize memcpy with prefetch if
16580         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
16581         src, dst pointers have unequal 16 byte alignments.
16583 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16585         [BZ #13928]
16586         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16587         from a CNAME entry and return the minimum ttl for the query.
16588         (gaih_getanswer_slice): Likewise.
16590 2012-03-30  Jeff Law  <law@redhat.com>
16592         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16593         due to long keys.
16594         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16595         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16597         * resolv/nss_dns/dns-host.c: Update copyright year.
16599 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
16601         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16602         requests to save a system call.  Fix check that all bytes are sent.
16604         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16605         comments for sendmmsg.
16607 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16609         [BZ #13691]
16610         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16611         with only 1 character between 0x0041 and 0x01b0.
16612         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16613         * wcsmbs/tst-mbsnrtowcs.c: New file.
16615 2012-03-29  David S. Miller  <davem@davemloft.net>
16617         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16618         small copies by hand.
16620 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16622         [BZ #13761]
16623         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16624         _nss_compat_initgroups_dyn): Fall back to malloc/free
16625         for large group memberships.
16627 2012-03-28  David S. Miller  <davem@davemloft.net>
16629         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16630         that branches into memcpy.
16631         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16632         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16633         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16634         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16635         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16636         bits.
16637         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16638         implementation too.
16639         * sysdeps/sparc/mempcpy.S: New file.
16641         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16642         the IFUNC routine in the libc case.
16643         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16645         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16646         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16647         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16648         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16649         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16650         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16651         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16652         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16654         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16655         loop to 256 bytes instead of 64 bytes and fix test signedness.
16657         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16658         * sysdeps/sparc/sparc32/Makefile: rather than here...
16659         * sysdeps/sparc/sparc64/Makefile: and here.
16661 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
16663         * malloc/mallocbug.c: Avoid warnings about unused variables.
16665 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16667         [BZ #13760]
16668         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16669         in the right place. Discard and retry query if response is
16670         larger than input buffer size.
16672 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
16674         [BZ #369]
16675         [BZ #2678]
16676         [BZ #3866]
16677         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16678         x for large integer exponent.
16679         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16680         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
16681         sign of result as needed afterwards.
16682         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16683         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16684         result for underflowing pow the same as for overflow.
16685         (__kernel_standard_l): Handle powl overflow and underflow here
16686         rather than calling __kernel_standard.
16687         * math/libm-test.inc (pow_test): Add more tests.
16689         [BZ #3868]
16690         [BZ #13879]
16691         [BZ #13910]
16692         [BZ #13911]
16693         [BZ #13912]
16694         [BZ #13913]
16695         [BZ #13915]
16696         [BZ #13916]
16697         [BZ #13917]
16698         [BZ #13918]
16699         [BZ #13919]
16700         [BZ #13920]
16701         [BZ #13921]
16702         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16703         * sysdeps/ieee754/k_standard.c: Include <float.h>.
16704         (__kernel_standard_l): New function.
16705         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16706         __kernel_standard.
16707         * math/w_acosl.c (__acosl): Likewise.
16708         * math/w_asinl.c (__asinl): Likewise.
16709         * math/w_atan2l.c (__atan2l): Likewise.
16710         * math/w_atanhl.c (__atanhl): Likewise.
16711         * math/w_coshl.c (__coshl): Likewise.
16712         * math/w_exp10l.c (__exp10l): Likewise.
16713         * math/w_exp2l.c (__exp2l): Likewise.
16714         * math/w_fmodl.c (__fmodl): Likewise.
16715         * math/w_hypotl.c (__hypotl): Likewise.
16716         * math/w_j0l.c (__j0l, __y0l): Likewise.
16717         * math/w_j1l.c (__j1l, __y1l): Likewise.
16718         * math/w_jnl.c (__jnl, __ynl): Likewise.
16719         * math/w_lgammal.c (__lgammal): Likewise.
16720         * math/w_log10l.c (__log10l): Likewise.
16721         * math/w_log2l.c (__log2l): Likewise.
16722         * math/w_logl.c (__logl): Likewise.
16723         * math/w_powl.c (__powl): Likewise.
16724         * math/w_remainderl.c (__remainderl): Likewise.
16725         * math/w_scalbl.c (sysv_scalbl): Likewise.
16726         * math/w_sinhl.c (__sinhl): Likewise.
16727         * math/w_sqrtl.c (__sqrtl): Likewise.
16728         * math/w_tgammal.c (__tgammal): Likewise.
16729         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16730         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16731         * math/libm-test.inc (acos_test): Add more tests.
16732         (acosh_test): Likewise.
16733         (asin_test): Likewise.
16734         (atanh_test): Likewise.
16735         (exp_test): Likewise.
16736         (exp10_test): Likewise.
16737         (exp2_test): Likewise.
16738         (expm1_test): Likewise.
16739         (lgamma_test): Likewise.
16740         (log_test): Likewise.
16741         (log10_test): Likewise.
16742         (log1p_test): Likewise.
16743         (log2_test): Likewise.
16744         (pow_test): Do not allow some spurious overflow exceptions.
16745         (sqrt_test): Add more tests.
16746         (tgamma_test): Likewise.
16747         (y0_test): Likewise.
16748         (y1_test): Likewise.
16749         (yn_test): Likewise.
16751 2012-03-27  Anton Blanchard  <anton@samba.org>
16753         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16754         MAP_HUGETLB.
16755         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16756         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16757         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16759 2012-03-27  David S. Miller  <davem@davemloft.net>
16761         * conform/Makefile: Run run-conformtest.sh using $(BASH).
16763         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16764         have-as-vis3 check.
16766 2012-03-27  Andreas Jaeger  <aj@suse.de>
16768         * sysdeps/x86_64/elf/configure.in: Moved to ...
16769         * sysdeps/x86_64/configure.in: ... here.
16770         * sysdeps/x86_64/elf/start.S: Moved to ...
16771         * sysdeps/x86_64/start.S: ... here.
16772         * sysdeps/x86_64/elf/configure: Delete.
16774         * sysdeps/x86_64/configure.in: Merge contents from
16775         sysdeps/i386/configure.in (without i686 check).
16777         * sysdeps/i386/elf/Versions: Merge into ...
16778         * sysdeps/i386/Versions: ... this.
16779         * sysdeps/i386/elf/Versions: Delete file.
16780         * sysdeps/i386/elf/start.S: Moved to ...
16781         * sysdeps/i386/start.S: ...here.
16782         * sysdeps/i386/elf/configure.in: Merge into...
16783         * sysdeps/i386/configure.in: ...here.
16784         * sysdeps/i386/elf/configure.in: Delete file.
16785         * sysdeps/i386/elf/configure: Delete file.
16787         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16788         * debug/backtracesyms.c: ... here.
16789         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16790         * debug/backtracesymsfd.c: ... here.
16791         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16792         * sysdeps/generic/ifunc-sel.h: ... here.
16794         * sysdeps/unix/i386/start.c: Delete file.
16795         * sysdeps/unix/sparc/start.c: Delete file.
16796         * sysdeps/unix/start.c: Delete file.
16798         * sysdeps/sh/elf/configure.in: Moved to ...
16799         * sysdeps/sh/configure.in: ... here.
16800         * sysdeps/sh/elf/start.S: Moved to ...
16801         * sysdeps/sh/start.S: ... here.
16802         * sysdeps/sh/elf/configure: Delete file.
16804         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16805         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16806         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16807         * sysdeps/powerpc/powerpc64/entry.h: ... here.
16808         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16809         * sysdeps/powerpc/powerpc64/start.S: here.
16810         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16811         * sysdeps/powerpc/powerpc64/Makefile: ... this.
16812         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16813         * sysdeps/powerpc/powerpc64/configure.in: ... this.
16814         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16816         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16817         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16818         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16819         * sysdeps/powerpc/powerpc32/start.S: ... here.
16820         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16821         * sysdeps/powerpc/powerpc32/configure.in: ... this.
16822         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16824         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16825         * sysdeps/powerpc/ifunc-sel.h: ... here.
16826         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16827         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16829         * sysdeps/sparc/elf/configure.in: Moved to ...
16830         * sysdeps/sparc/configure.in: ... here.
16831         * sysdeps/sparc/elf/configure: Delete file.
16832         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16833         * sysdeps/sparc/sparc32/start.S: ... here.
16834         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16835         * sysdeps/sparc/sparc64/start.S: ... here.
16836         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16837         * sysdeps/sparc/sparc32/Makefile: ... this.
16838         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16839         * sysdeps/sparc/sparc64/Makefile: ... this.
16841         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16842         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16843         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16844         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16845         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16846         * sysdeps/s390/s390-32/setjmp.S: ... here.
16847         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16848         * sysdeps/s390/s390-32/configure.in: ... here.
16849         * sysdeps/s390/s390-32/elf/configure: Delete file.
16850         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16851         * sysdeps/s390/s390-32/start.S: ... here.
16853         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16854         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16855         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16856         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16857         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16858         * sysdeps/s390/s390-64/setjmp.S: ... here.
16859         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16860         * sysdeps/s390/s390-64/configure.in: ... here
16861         * sysdeps/s390/s390-64/elf/configure: Delete file.
16862         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16863         * sysdeps/s390/s390-64/start.S: ... here.
16864         * sysdeps/s390/s390-64/elf/configure: Delete.
16866         * configure.in: Remove support for elf directories in sysdeps.
16868         * configure: Regenerated.
16869         * sysdeps/i386/configure: Regenerated.
16870         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16871         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16872         * sysdeps/s390/s390-32/configure: Regenerated.
16873         * sysdeps/s390/s390-64/configure: Regenerated.
16874         * sysdeps/sh/configure: Regenerated.
16875         * sysdeps/sparc/configure: Regenerated.
16876         * sysdeps/x86_64/configure: Regenerated.
16878 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
16880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16882         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16883         denormal result into account.
16885 2012-03-25  Roland McGrath  <roland@hack.frob.com>
16887         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16888         Reported by Allan McRae <allan@archlinux.org>.
16890 2012-03-23  Jeff Law  <law@redhat.com>
16892         * nss/getnssent.c (__nss_getent): Fix typo.
16894 2012-03-23  David S. Miller  <davem@davemloft.net>
16896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16898 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
16900         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16901         to pad to uint64_t for each field.
16902         (dl_tls_index): Replace unsigned long with uint64_t.
16904 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
16905         Paul Pluzhnikov  <ppluzhnikov@google.com>
16907         [BZ #6528]
16908         * grp/Makefile (otherlibs): Don't set it.
16909         * inet/Makefile (otherlibs): Likewise.
16910         * login/Makefile (otherlibs): Likewise.
16911         * nscd/Makefile (otherlibs): Likewise.
16912         * posix/Makefile (otherlibs): Likewise.
16913         * pwd/Makefile (otherlibs): Likewise.
16914         * rt/Makefile (otherlibs): Likewise.
16915         * sunrpc/Makefile (otherlibs): Likewise.
16916         * nss/Makefile (otherlibs): Likewise.
16917         Add libnss_files to routines and static-only-routines.
16918         ($(objpfx)getent): Remove rule.
16919         * resolv/Makefile: Add libnss_dns and libresolv to routines and
16920         static-only-routines.
16922 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16924         [BZ #13892]
16925         * math/s_cexp.c: Include <float.h>.
16926         (__cexp): Handle exp result overflowing not necessarily
16927         overflowing both real and imaginary parts of result.
16928         * math/s_cexpf.c: Likewise.
16929         * math/s_cexpl.c: Likewise.
16930         * math/libm-test.inc (cexp_test): Add more tests.
16931         * sysdeps/i386/fpu/libm-test-ulps: Update.
16932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16934 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16936         * include/link.h (ELFW): New macro.
16937         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16938         Replace ELF64_R_TYPE with ELFW(R_TYPE).
16940 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16942         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16943         with uint64_t.
16945 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16947         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16948         declaration.
16949         (struct La_x32_retval): Likewise.
16951 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16953         * sysdeps/x86_64/preconfigure.in: New file.
16954         * sysdeps/x86_64/preconfigure: New generated file.
16956 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16958         [BZ #13824]
16959         * math/e_exp2l.c: Include <float.h>.
16960         (__ieee754_exp2l): Handle overflow and underflow cases
16961         separately.  Only pass fractional part of argument to
16962         __ieee754_expl.
16963         * math/libm-test.inc (exp2_test): Add more tests.
16965         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16966         negating x to take absolute value.
16967         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16968         Likewise.
16969         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16970         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16971         Likewise.
16972         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16973         computing low part if x was negated.
16974         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16976 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16978         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16979         la_x32_gnu_pltexit.
16980         (pltexit): Cast int_retval to ptrdiff_t.
16981         * elf/tst-auditmod3b.c: Likewise.
16982         * elf/tst-auditmod4b.c: Likewise.
16983         * elf/tst-auditmod5b.c: Likewise.
16984         * elf/tst-auditmod6b.c: Likewise.
16985         * elf/tst-auditmod6c.c: Likewise.
16986         * elf/tst-auditmod7b.c: Likewise.
16988         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16989         and x32_gnu_pltexit.
16991         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16992         __ELF_NATIVE_CLASS.
16993         (La_x32_regs): New macro.
16994         (La_x32_retval): Likewise.
16995         (la_x32_gnu_pltenter): New function prototype.
16996         (la_x32_gnu_pltexit): Likewise.
16998 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
17000         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17001         exponent.
17003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17005         * configure.in (libc_cv_cc_nofma): Check for option to disable
17006         generation of FMA instructions.
17007         * configure: Regenerate.
17008         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17009         * sysdeps/ieee754/dbl-64/Makefile: New file.
17010         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17011         Remove brandred-fma4.
17012         (CFLAGS-brandred-fma4.c): Remove.
17013         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17014         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17015         define.
17016         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17017         define.
17019 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17021         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17022         LLONG_MAX != LONG_MAX.
17023         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17024         (_fitoa_word): Likewise.
17025         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17026         LLONG_MAX != LONG_MAX.
17027         * stdio-common/_itowa.h: Include <_itoa.h>.
17028         (_itowa_word): Use _ITOA_WORD_TYPE on value.
17029         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
17030         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
17031         only if not defined.
17032         (_ITOA_WORD_TYPE): Likewise.
17033         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17034         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17036 2012-03-21  David S. Miller  <davem@davemloft.net>
17038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17040 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17042         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17043         of x86_64 when setting libc_cv_slibdir, libdir and
17044         libc_cv_localedir.
17045         * sysdeps/unix/sysv/linux/configure: Regenerated.
17047 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17049         * manual/lang.texi (Old Varargs): Remove section.
17050         (How Variadic): Update menu.
17051         (va_start): Do not mention varargs.h.
17053 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17054             Joseph Myers  <joseph@codesourcery.com>
17056         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17057         link test.
17058         * configure: Regenerated.
17060 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17062         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17063         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17064         conformtest.pl
17066 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17068         * NOTES: Remove.
17069         * Makefile (files-for-dist): Remove NOTES.
17070         (NOTES): Remove rule.
17071         * README: Don't refer to NOTES.
17072         * manual/creature.texi: Don't include macros.texi.
17073         * manual/intro.texi (creature.texi): Remove comment referring to
17074         NOTES.
17076         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17077         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17078         * configure: Regenerated.
17079         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17080         LIBC_TRY_CC_OPTION.
17081         (libc_cv_as_i686): Likewise.
17082         (libc_cv_cc_avx): Likewise.
17083         (libc_cv_cc_sse2avx): Likewise.
17084         (libc_cv_cc_fma4): Likewise.
17085         (libc_cv_cc_novzeroupper): Likewise.
17086         * sysdeps/i386/configure: Regenerated.
17088         [BZ #13883]
17089         * sysdeps/i386/fpu/s_cexp.S: Remove.
17090         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17091         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17092         * math/libm-test.inc (cexp_test): Add more tests.
17093         * sysdeps/i386/fpu/libm-test-ulps: Update.
17094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17096 2012-03-21  Allan McRae  <allan@archlinux.org>
17098         * timezone/Makefile: Do not install iso3166.tab and zone.tab
17100 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17102         [BZ #13871]
17103         * math/w_exp2.c: Do not include <float.h>.
17104         (o_threshold, u_threshold): Remove.
17105         (__exp2): Calculate result before checking finiteness and calling
17106         __kernel_standard.
17107         * math/w_exp2f.c: Likewise.
17108         * math/w_exp2l.c: Likewise.
17109         * math/libm-test.inc (exp2_test): Require overflow exception for
17110         1e6 input.
17112         [BZ #3866]
17113         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17114         range of signed 64-bit integers before using fistpll.  Remove
17115         checks for whether integers fit in mantissa bits.
17116         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17117         the range of signed 32-bit integers before using fistpl.  Remove
17118         checks for whether integers fit in mantissa bits.
17119         * sysdeps/i386/fpu/e_powl.S (p64): New object.
17120         (__ieee754_powl): Test for y outside the range of signed 64-bit
17121         integers before using fistpll.  Reduce 64-bit values to 63-bit
17122         ones as needed.
17123         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17124         divide-by-zero is raised for zero to large negative powers.
17125         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17126         (__ieee754_powl): Test for y outside the range of signed 64-bit
17127         integers before using fistpll.  Reduce 64-bit values to 63-bit
17128         ones as needed.
17129         * math/libm-test.inc (pow_test): Add more tests.
17131 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17133         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17134         <stdio-common/_itoa.h>.
17135         * debug/segfault.c: Likewise.
17136         * elf/dl-cache.c: Likewise.
17137         * elf/dl-minimal.c: Likewise.
17138         * elf/dl-misc.c: Likewise.
17139         * elf/dl-sysdep.c: Likewise.
17140         * elf/dl-version.c: Likewise.
17141         * elf/rtld.c: Likewise.
17142         * hurd/hurdsock.c: Likewise.
17143         * hurd/lookup-retry.c: Likewise.
17144         * malloc/malloc.c: Likewise.
17145         * malloc/mtrace.c: Likewise.
17146         * nscd/nscd_getgr_r.c: Likewise.
17147         * nscd/nscd_getpw_r.c: Likewise.
17148         * nscd/nscd_getserv_r.c: Likewise.
17149         * posix/getopt_init.c: Likewise.
17150         * posix/wordexp.c: Likewise.
17151         * stdio-common/_itoa.c: Likewise.
17152         * stdio-common/printf_fphex.c: Likewise.
17153         * stdio-common/vfprintf.c: Likewise.
17154         * string/_strerror.c: Likewise.
17155         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17156         * sysdeps/i386/i686/hp-timing.h: Likewise.
17157         * sysdeps/mach/_strerror.c: Likewise.
17158         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17159         * sysdeps/mach/hurd/sethostid.c: Likewise.
17160         * sysdeps/mach/hurd/xmknodat.c: Likewise.
17161         * sysdeps/mach/xpg-strerror.c: Likewise.
17162         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17163         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17164         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17165         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17166         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17167         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17168         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17169         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17170         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17171         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17172         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17173         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17174         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17175         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17176         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17177         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17178         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17179         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17180         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17181         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17182         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17184         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17186         * stdio-common/_itoa.h: Moved to ...
17187         * sysdeps/generic/_itoa.h: Here.
17189         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17191         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17192         instead of "_itoa.h" and "_itowa.h".
17193         * stdio-common/vfprintf.: Likewise.
17195 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17197         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17198         <bits/wordsize.h>.
17199         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17200         (__signbit): Likwise.
17201         (llrintf): Likwise.
17202         (llrint): Likwise.
17204 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17206         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17207         __WORDSIZE != 64.
17209 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
17211         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17212         OVERFLOW_EXCEPTION_OK.
17213         * math/libm-test.inc ("Philosophy"): Update comment about
17214         exception testing.
17215         (OVERFLOW_EXCEPTION): Define.
17216         (OVERFLOW_EXCEPTION_OK): Likewise.
17217         (INVALID_EXCEPTION_OK): Renumber.
17218         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17219         (IGNORE_ZERO_INF_SIGN): Likewise.
17220         (test_exceptions): Handle FE_OVERFLOW.
17221         (exp10_test): Expect overflow exceptions.
17222         (exp2_test): Likewise.
17223         (expm1_test): Likewise.
17224         (nextafter_test): Likewise.
17225         (pow_test): Likewise.
17226         (scalbn_test): Likewise.
17227         (scalbln_test): Likewise.
17229 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17231         * sysdeps/x86_64/bits/atomic.h
17232         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17233         64bit integer.
17234         (atomic_exchange_acq): Likewise.
17235         (__arch_exchange_and_add_body): Likewise.
17236         (__arch_add_body): Likewise.
17237         (atomic_add_negative): Likewise.
17238         (atomic_add_zero): Likewise.
17240 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17242         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17243         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17245 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17247         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17248         Check __x86_64__ instead of __WORDSIZE.
17250 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17252         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17254 2012-03-19  David S. Miller  <davem@davemloft.net>
17256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17258         * sysdeps/sparc/fpu/fenv_private.h: New file.
17259         * sysdeps/sparc/fpu/math_private.h: Use it.
17260         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17261         Remove.
17262         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17263         (libc_feholdexcept_setroundl): Remove.
17264         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17265         Remove.
17266         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17267         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17269 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17271         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17272         int64_t instead of long int.
17273         (INSERT_WORDS64): Likwise.
17275 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17277         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17278         _Unwind_GetCFA return to _Unwind_Ptr first.
17280 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
17282         [BZ #13629]
17283         * math/s_clog.c: Include <float.h>.
17284         (__clog): Scale large or subnormal inputs.
17285         * math/s_clogf.c: Likewise.
17286         * math/s_clogl.c: Likewise.
17287         * math/s_clog10.c: Include <float.h>.
17288         (M_LOG10_2): Define.
17289         (__clog10): Scale large or subnormal inputs.
17290         * math/s_clog10f.c: Likewise.
17291         * math/s_clog10l.c: Likewise.
17292         * math/libm-test.inc (clog_test): Add more tests.
17293         (clog10_test): Likewise.
17294         * sysdeps/i386/fpu/libm-test-ulps: Update.
17295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17297         [BZ #11451]
17298         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17299         x and y.
17300         * math/libm-test.inc (atan2_test): Add another test.
17302         * Makerules (common-objdir-compile): Remove.
17303         * sysdeps/unix/Makefile (config-generated): Do not add
17304         $(unix-generated) to variable.
17305         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17306         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17307         Remove rule.
17308         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17309         Likewise.
17310         [generic bits/local_lim.h] (before-compile): Do not append to
17311         variable.
17312         [generic bits/local_lim.h] (common-generated): Likewise.
17313         [generic sys/param.h] (before-compile): Do not append to variable.
17314         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17315         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17316         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17317         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17318         include.
17319         [generic sys/param.h] (sys/param.h-includes): Remove variable.
17320         [generic sys/param.h] (sys/param.h-includes): Remove rule.
17321         [generic sys/param.h] ($(addprefix
17322         $(common-objpfx),$(sys/param.h-includes))): Likewise.
17323         [generic sys/param.h] (common-generated): Do not append to
17324         variable.
17325         [generic sys/param.h] (sysdep_headers): Likewise.
17326         [generic bits/errno.h] (before-compile): Do not append to
17327         variable.
17328         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17329         rule.
17330         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17331         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17332         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17333         [generic bits/errno.h] (common-generated): Do not append to
17334         variable.
17335         [generic bits/ioctls.h] (before-compile): Do not append to
17336         variable.
17337         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17338         rule.
17339         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17340         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17341         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17342         rule.
17343         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17344         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17345         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17346         [generic bits/ioctls.h] (common-generated): Do not append to
17347         variable.
17348         [generic sys/syscall.h] (syscall.h): Remove variable.
17349         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17350         rule.
17351         [generic sys/syscall.h] (before-compile): Do not append to
17352         variable.
17353         [generic sys/syscall.h] (common-generated): Likewise.
17354         * sysdeps/unix/errnos-tmpl.c: Remove file.
17355         * sysdeps/unix/errnos.awk: Likewise.
17356         * sysdeps/unix/ioctls-tmpl.c: Likewise.
17357         * sysdeps/unix/ioctls.awk: Likewise.
17358         * sysdeps/unix/mk-local_lim.c: Likewise.
17359         * sysdeps/unix/snarf-ioctls: Likewise.
17361 2012-03-19  Richard Henderson  <rth@twiddle.net>
17363         * sysdeps/i386/fpu/fenv_private.h: New file.
17364         * sysdeps/i386/fpu/math_private.h: Use it.
17365         (math_opt_barrier, math_force_eval): Remove.
17366         (libc_feholdexcept_setround_53bit): Remove.
17367         (libc_feupdateenv_53bit): Remove.
17368         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17369         (math_opt_barrier, math_force_eval): Remove.
17370         (libc_feholdexcept): Remove.
17371         (libc_feholdexcept_setround): Remove.
17372         (libc_fetestexcept, libc_fesetenv): Remove.
17373         (libc_feupdateenv_test): Remove.
17374         (libc_feupdateenv, libc_feholdsetround): Remove.
17375         (libc_feresetround): Remove.
17377         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17378         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17380         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17381         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17382         (libc_feupdateenv_testl): New.
17383         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17384         (libc_feupdateenv_testf): New.
17385         (libc_feupdateenv): Use libc_feupdateenv_test.
17386         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17387         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17389         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17390         (libc_feholdsetroundf, libc_feholdsetroundl): New.
17391         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17392         (libc_feresetround_noex): New.
17393         (libc_feresetround_noexf): New.
17394         (libc_feresetround_noexl): New.
17395         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17396         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17397         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17398         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17399         SET_RESTORE_ROUND.
17400         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17401         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17402         (__cos): Likewise.
17403         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17404         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17405         SET_RESTORE_ROUND_NOEX.
17406         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17407         SET_RESTORE_ROUND_NOEXF.
17408         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17409         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17410         (libc_feholdsetroundf): New.
17411         (libc_feresetround, libc_feresetroundf): New.
17413         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17414         (libc_feholdexcept_setround_53bit): Convert from macro to function.
17415         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
17417         * sysdeps/generic/math_private.h: Include <fenv.h>.
17418         (default_libc_feholdexcept): New.
17419         (default_libc_feholdexcept_setround): New.
17420         (default_libc_fesetenv, default_libc_feupdateenv): New.
17421         (libc_feholdexcept): Only define if undefined.
17422         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17423         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17424         (libc_feholdexcept_setroundl): Likewise.
17425         (libc_feholdexcept_setround_53bit): Likewise.
17426         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17427         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17428         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17429         (libc_feupdateenv_53bit): Likewise.
17430         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17431         (libc_feholdexcept): Convert from macro to inline function.
17432         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17433         (libc_fesetenv, libc_feupdateenv): Likewise.
17435         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17436         not previously defined.
17437         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17438         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17439         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17440         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17441         * sysdeps/ieee754/flt-32/math_private.h: New file.
17442         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17443         math_private.h below SET_FLOAT_WORD.
17444         (__isnan, __isinf_ns, __finite): Remove.
17445         (__isnanf, __isinf_nsf, __finitef): Remove.
17447 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
17449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17451 2012-03-17  David S. Miller  <davem@davemloft.net>
17453         [BZ #6471]
17454         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17455         for 2.16.
17457 2012-03-16  David S. Miller  <davem@davemloft.net>
17459         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17460         warnings.
17462         [BZ #6471]
17463         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17464         properly.
17465         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17466         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17467         sysdep_routines when subdir is sysvipc.
17468         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17469         __getshmlba helper.
17471         * sysdeps/sparc/fpu/libm-test/ulps: Update.
17473 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17475         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17476         [__LP64__].
17478 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17480         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17481         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17482         (__lround): Renamed to ...
17483         (__llround): This.  Replace long int with long long int.
17484         Define lround functions as aliases of llround functions.
17485         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17487 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17489         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17490         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
17491         adresses to uintptr_t.  Replace "long int" and "unsigned long
17492         int" with "greg_t" on va_arg.
17494 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17496         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17497         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17499         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17500         Move e_machine check before EI_CLASS check.  Handle x32
17501         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17502         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17503         SKIP_EM_IA_64 and include
17504         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17506         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17507         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17508         (add_system_dir): New macro.
17510         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17511         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17513 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17515         [BZ #2551]
17516         [BZ #2552]
17517         [BZ #2553]
17518         [BZ #2554]
17519         [BZ #2562]
17520         [BZ #2563]
17521         [BZ #2565]
17522         [BZ #2566]
17523         [BZ #2576]
17524         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17525         (y0): Likewise.
17526         * math/w_j0f.c (j0f): Likewise.
17527         (y0f): Likewise.
17528         * math/w_j0l.c (__j0l): Likewise.
17529         (__y0l): Likewise.
17530         * math/w_j1.c (j1): Likewise.
17531         (y1): Likewise.
17532         * math/w_j1f.c (j1f): Likewise.
17533         (y1f): Likewise.
17534         * math/w_j1l.c (__j1l): Likewise.
17535         (__y1l): Likewise.
17536         * math/w_jn.c (jn): Likewise.
17537         (yn): Likewise.
17538         * math/w_jnf.c (jnf): Likewise.
17539         (ynf): Likewise.
17540         * math/w_jnl.c (__jnl): Likewise.
17541         (__ynl): Likewise.
17542         * math/libm-test.inc (j0_test): Add more tests.
17543         (j1_test): Likewise.
17544         (jn_test): Likewise.  Add trailing semicolon to existing test.
17545         (y0_test): Likewise.
17546         (y1_test): Likewise.
17547         * sysdeps/i386/fpu/libm-test-ulps: Update.
17548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17550         [BZ #13851]
17551         [BZ #13854]
17552         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17553         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17554         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17555         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17556         (__tanl): Set errno for infinite argument.
17557         * sysdeps/i386/fpu/mptan.c: Remove.
17558         * sysdeps/i386/fpu/s_tan.S: Likewise.
17559         * sysdeps/i386/fpu/s_tanl.S: Likewise.
17560         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17561         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17562         * math/libm-test.inc (tan_test): Add more tests and enable more
17563         tests for double and long double.
17564         * sysdeps/i386/fpu/libm-test-ulps: Update.
17565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17567 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
17569         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17570         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17572 2012-03-16  Roland McGrath  <roland@hack.frob.com>
17574         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17575         * configure.in: Use it for both main tree and add-ons.
17576         * configure: Regenerated.
17578 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17580         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17582 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17584         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17585         in comment.
17587         [BZ #13851]
17588         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17589         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17590         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17591         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17592         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17593         infinite argument.
17594         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17595         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17596         != 0 for prec == 2.
17597         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17598         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17599         * sysdeps/i386/fpu/s_cosl.S: Likewise.
17600         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17601         * sysdeps/i386/fpu/s_sinl.S: Likewise.
17602         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17603         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17604         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17605         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17606         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17607         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17608         * math/libm-test.inc (cos_test): Add more tests and enable more
17609         tests for long double.
17610         (sin_test): Likewise.
17611         (sincos_test): Likewise.
17612         * sysdeps/i386/fpu/libm-test-ulps: Update.
17613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17615 2012-03-16  David S. Miller  <davem@davemloft.net>
17617         * sysdeps/sparc/fpu/math_private.h: New file.
17619 2012-03-15  David S. Miller  <davem@davemloft.net>
17621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17622         file.
17623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17625         file.
17626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17627         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17628         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17629         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17630         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17631         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17632         sysdep routines.
17633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17635         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17636         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17638         * sysdeps/sparc/sparc-ifunc.h: New file.
17639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17640         sparc-ifunc.h
17641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17643         Likewise.
17644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17645         Likewise.
17646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17650         Likewise.
17651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17656         Likewise.
17657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17658         Likewise.
17659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17663         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17664         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17665         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17666         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17667         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17668         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17669         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17670         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17671         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17672         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17673         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17674         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17675         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17676         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17677         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17678         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17679         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17680         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17681         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17682         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17684 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17686         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17687         scaling.
17688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17690 2012-03-15  Andreas Jaeger  <aj@suse.de>
17692         [BZ #13852]
17693         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17694         ieee754/flt-32 implementation for sin, cos and sincos.
17695         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17696         * sysdeps/i386/fpu/s_cosf.S: Likewise.
17697         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17698         * sysdeps/i386/fpu/s_sinf.S: Likewise.
17699         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17700         ieee754/flt-32 implementation for tan.
17702         * math/libm-test.inc (cos_test): Enable some large input tests for
17703         float as well
17704         (sin_test): Likewise.
17705         (sincos_test): Likewise.
17706         (tan_test): Add tests for large input.
17708         * sysdeps/i386/fpu/libm-test-ulps: Update.
17710 2012-03-15  Andreas Jaeger  <aj@suse.de>
17712         [BZ #13658]
17713         * math/libm-test.inc (cos_test): Add more test cases.
17714         (sin_test): Likewise.
17715         (sincos_test): Likewise.
17717 2012-03-15  Andreas Jaeger  <aj@suse.de>
17719         [BZ #13837]
17720         * math/libm-test.inc (cos_test): Add a test case for large input
17721         value.
17722         (sin_test): Likewise.
17723         (sincos_test): Likewise.
17725 2012-03-15  Andreas Jaeger  <aj@suse.de>,
17726         Joseph Myers  <joseph@codesourcery.com>
17728         [BZ #13658]
17729         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17730         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17731         * sysdeps/i386/fpu/branred.c: Likewise.
17732         * sysdeps/i386/fpu/dosincos.c: Likewise.
17733         * sysdeps/i386/fpu/mpa.c: Likewise.
17734         * sysdeps/i386/fpu/s_cos.S: Likewise.
17735         * sysdeps/i386/fpu/s_sin.S: Likewise.
17736         * sysdeps/i386/fpu/s_sincos.S: Likewise.
17737         * sysdeps/i386/fpu/sincos32.c: Likewise.
17739         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17740         Define.
17741         (libc_feupdateenv_53bit): Define.
17742         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17743         Define.
17744         (libc_feupdateenv_53bit): Define.
17746         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17747         53 bit (without extend i386 double precision).
17749         * math/libm-test.inc (sincos_test): Add tests for large input.
17750         (sin): Likewise.
17751         (cos): Likewise.
17753         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17755 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17759 2012-03-15  David S. Miller  <davem@davemloft.net>
17761         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17762         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17763         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17764         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17769         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17770         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17771         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17772         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17773         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17774         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17775         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17777         file.
17778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17780         file.
17781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17783         file.
17784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17786         file.
17787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17788         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17789         fmin/fmax sysdep routines.
17790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17792 2012-03-14  David S. Miller  <davem@davemloft.net>
17794         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17795         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17796         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17797         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17798         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17799         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17800         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17801         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17802         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17803         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17804         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17805         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17806         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17807         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17808         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17809         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17810         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17811         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17812         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17813         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17814         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17815         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17816         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17817         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17818         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17819         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17820         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17821         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17822         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17823         routines.
17824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17825         file.
17826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17828         file.
17829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17831         file.
17832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17834         file.
17835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17837         file.
17838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17840         file.
17841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17842         file.
17843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17844         file.
17845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17846         file.
17847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17848         New file.
17849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17850         file.
17851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17852         file.
17853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17855         file.
17856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17858         file.
17859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17861         file.
17862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17864         VIS3 routines.
17866         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17867         New file.
17869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17871         * sysdeps/sparc/configure.in: New file.
17872         * sysdeps/sparc/configure: Generate.
17873         * configure.in (libc_cv_sparc_as_vis3): Substitute.
17874         * configure: Regenerate.
17875         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17876         * config.make.in (have-as-vis3): New.
17877         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17878         available use -Av9d instead of -Av9a.
17879         * sysdeps/sparc/sparc64/Makefile: Likewise.
17880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17882         New file.
17883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17884         file.
17885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17886         New file.
17887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17888         file.
17889         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17890         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17891         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17892         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17893         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17895         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17896         fzeros/fnegs to load 0x80000000 into a float register instead of
17897         using the stack.
17898         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17900 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17902         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17903         bits/syscall.h.
17904         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17905         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17906         ($(inst_includedir)/bits/syscall.h): Remove rule.
17907         ($(objpfx)bits/syscall.d): Include instead of
17908         $(objpfx)syscall-list.d.
17909         (generated): Change syscall-list.h and syscall-list.d to
17910         bits/syscall.h and bits/syscall.d.
17912 2012-03-14  Roland McGrath  <roland@hack.frob.com>
17914         [BZ #13846]
17915         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17917 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17919         [BZ #13841]
17920         * math/s_csqrt.c: Include <float.h>.
17921         (__csqrt): Scale large or subnormal inputs.
17922         * math/s_csqrtf.c: Likewise.
17923         * math/s_csqrtl.c: Likewise.
17924         * math/libm-test.inc (csqrt_test): Add more tests.
17925         * sysdeps/i386/fpu/libm-test-ulps: Update.
17926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17928         [BZ #13840]
17929         * math/libm-test.inc (hypot_test): Add more tests.
17931 2012-03-13  David S. Miller  <davem@davemloft.net>
17933         [BZ #13840]
17934         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17935         double-precision for the calculation instead of scaling.
17937 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
17939         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17940         manipulate bits before adding and subtracting TWO52[sx].
17941         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17942         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17943         Likewise.
17944         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17946 2012-03-13  David S. Miller  <davem@davemloft.net>
17948         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17949         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17950         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17951         rtld-global-offsets.h
17952         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17954         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17955         large parameters.
17957         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17959         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17960         'err' in the ifdef scope in which it is actually used.
17962         * nss/nss_db/db-init.c: Include string.h
17964 2012-03-12  David S. Miller  <davem@davemloft.net>
17966         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17967         masking out of the most significant byte of random value used.
17968         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17969         Fix coding style in previous change.
17971         * sysdeps/unix/sysv/linux/kernel-features.h
17972         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17973         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17974         expression.
17975         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17976         later.
17978 2012-03-11  David S. Miller  <davem@davemloft.net>
17980         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17981         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17982         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17983         for 'resultvar' otherwise things get truncated on 64-bit.
17985         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17986         Fix masking out of the most significant byte of random value used.
17988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17990 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
17992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17994 2012-03-09  David S. Miller  <davem@davemloft.net>
17996         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17997         variables with appropriate CPP guards.
17998         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17999         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
18000         on resulting framesize and the management of the outregs buffer for pltexit.
18001         Preserve floating point return values across _dl_call_pltexit call.
18002         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18003         framesize and the management of the outregs buffer for pltexit.
18004         Preserve floating point return values across _dl_call_pltexit
18005         call.
18006         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18007         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18008         (print_exit): Fix format string for return register value.
18010 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
18012         * sunrpc/Makefile (others): Add rpcgen.
18013         ($(objpfx)rpcgen): Remove special build rule and dependency on
18014         libc.
18015         * sunrpc/rpcgen.c: New file.
18017 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
18019         [BZ #13673]
18020         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18021         * stdio-common/bug-vfprintf-nargs.c: Likewise.
18022         * sysdeps/i386/crti.S: Likewise.
18023         * sysdeps/i386/crtn.S: Likewise.
18024         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18025         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18026         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18027         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18028         * sysdeps/sh/crti.S: Likewise.
18029         * sysdeps/sh/crtn.S: Likewise.
18030         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18032         [BZ #13673]
18033         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18034         with URL.
18035         * locale/programs/locfile-kw.gperf: Likewise.
18036         * locale/programs/charmap-kw.h: Regenerated.
18037         * locale/programs/locfile-kw.h: Likewise.
18039         [BZ #13673]
18040         * intl/plural.y: Replace FSF snail mail address with URL.
18041         * intl/plural.c: Regenerated.
18043 2012-03-09  Richard Henderson  <rth@twiddle.net>
18045         * include/math_private.h: Remove file.
18046         * math/math_private.h: Move file ...
18047         * sysdeps/generic/math_private.h: ... here.
18049         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18050         * sysdeps/powerpc/fpu/math_private.h: Likewise.
18051         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18053         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18054         and <math_private.h>.
18055         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18056         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18057         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18058         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18059         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18060         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18061         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18062         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18063         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18064         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18065         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18066         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18067         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18068         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18069         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18070         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18071         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18072         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18073         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18074         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18075         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18076         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18077         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18078         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18079         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18080         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18081         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18082         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18083         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18084         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18085         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18086         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18087         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18088         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18089         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18090         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18091         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18092         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18093         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18094         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18095         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18096         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18097         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18098         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18099         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18100         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18101         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18102         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18103         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18104         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18105         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18106         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18107         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18108         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18109         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18110         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18111         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18112         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18113         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18114         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18115         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18116         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18117         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18118         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18119         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18120         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18121         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18122         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18123         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18124         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18125         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18126         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18127         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18128         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18129         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18130         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18131         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18132         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18133         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18134         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18135         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18136         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18137         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18138         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18139         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18140         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18141         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18142         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18143         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18144         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18145         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18146         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18147         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18148         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18149         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18150         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18151         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18152         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18153         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18154         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18155         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18156         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18157         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18158         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18159         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18160         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18161         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18162         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18163         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18164         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18165         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18166         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18167         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18168         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18169         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18170         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18171         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18172         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18173         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18174         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18175         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18176         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18177         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18178         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18179         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18180         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18181         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18182         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18183         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18184         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18185         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18186         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18187         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18188         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18189         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18190         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18191         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18192         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18193         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18194         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18195         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18196         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18197         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18198         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18199         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18200         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18201         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18202         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18203         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18204         * sysdeps/ieee754/k_standard.c: Likewise.
18205         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18206         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18207         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18208         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18209         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18210         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18211         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18212         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18213         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18214         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18215         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18216         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18217         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18218         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18219         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18220         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18221         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18222         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18223         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18224         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18225         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18226         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18227         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18228         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18229         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18230         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18231         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18232         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18233         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18234         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18235         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18236         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18237         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18238         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18239         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18240         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18241         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18242         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18243         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18244         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18245         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18246         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18247         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18248         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18249         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18250         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18251         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18252         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18253         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18254         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18255         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18256         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18257         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18258         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18259         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18260         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18261         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18262         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18263         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18264         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18265         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18266         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18267         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18268         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18269         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18270         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18271         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18272         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18273         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18274         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18275         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18276         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18277         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18278         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18279         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18280         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18281         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18282         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18283         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18284         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18285         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18286         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18287         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18288         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18289         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18290         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18291         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18292         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18293         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18294         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18295         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18296         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18297         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18298         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18299         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18300         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18301         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18302         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18303         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18304         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18305         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18306         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18307         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18308         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18309         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18310         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18311         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18312         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18313         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18314         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18315         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18316         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18317         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18318         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18319         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18320         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18321         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18322         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18323         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18324         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18325         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18326         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18327         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18328         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18329         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18330         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18331         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18332         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18333         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18334         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18335         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18336         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18337         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18338         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18339         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18340         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18341         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18342         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18343         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18344         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18345         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18346         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18347         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18348         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18349         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18350         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18351         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18352         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18353         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18354         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18355         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18356         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18357         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18358         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18359         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18360         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18361         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18362         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18363         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18364         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18365         * sysdeps/ieee754/s_lib_version.c: Likewise.
18366         * sysdeps/ieee754/s_matherr.c: Likewise.
18367         * sysdeps/ieee754/s_signgam.c: Likewise.
18368         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18369         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18370         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18371         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18372         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18373         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18374         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18375         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18376         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18377         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18378         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18379         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18380         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18381         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18382         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18383         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18384         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18385         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18386         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18387         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18388         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18390 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18392         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18393         * sunrpc/rpc_main.c: Likewise.
18394         * sunrpc/rpc_svcout.c: Likewise.
18396 2012-03-09  David S. Miller  <davem@davemloft.net>
18398         * include/math_private.h: New file.
18400 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18402         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18403         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18404         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18405         from <bits/socket_type.h>.
18406         (enum __socket_type): Don't define here.
18407         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18408         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18409         bits/socket_type.h.
18411         [BZ #13566]
18412         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18413         checking __USE_GNU.
18415         * Makerules ($(inst_includedir)/%.h): New rule.
18416         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18417         (install-others): Remove variable setting.
18418         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18420 2012-03-08  Richard Henderson  <rth@twiddle.net>
18422         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18423         from macro to inline function; merge with the
18424         !__LIBC_INTERNAL_MATH_INLINES version.
18425         (__ieee754_sqrtf): Likewise.
18427         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18428         to inline function.
18429         (__rintf, __floor, __floorf): Likewise.
18431         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18432         macro to inline function.
18433         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18435         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18436         not <math/math_private.h>.
18438 2012-03-08  David S. Miller  <davem@davemloft.net>
18440         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18441         copyright year.
18442         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18444 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
18446         * resolv/gai_misc.c (handle_requests): Fix struct timespec
18447         normalization.
18448         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18449         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18451 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
18453         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
18454         be defined individually, they must be defined as a block.  Define
18455         S for printing a string instead of hidint the different by using a
18456         macro for adding the 'l'.
18457         * stdio-common/tst-fphex-wide.c: Adjust.
18459 2012-03-07  Marek Polacek  <polacek@redhat.com>
18461         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18463 2012-03-08  Marek Polacek  <polacek@redhat.com>
18465         [BZ #13806]
18466         * stdio-common/Makefile (tests): Add tst-fphex-wide.
18467         * stdio-common/tst-fphex.c: Define a few macros to make the
18468         test reusable.  Use them.
18469         * stdio-common/tst-fphex-wide.c: New file.
18471 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
18473         [BZ #6911]
18474         * manual/macros.texi (gnusystems): New macro.
18475         (nongnusystems): Likewise.
18476         (gnulinuxhurdsystems): Likewise.
18477         (gnuhurdsystems): Likewise..
18478         (gnulinuxsystems): Likewise.
18479         * manual/charset.texi: Use new macros or @theglibc{} to refer to
18480         variants of the GNU system, not "GNU system".
18481         * manual/conf.texi: Likewise.
18482         * manual/errno.texi: Likewise.  Update example of errno macro
18483         expansion.
18484         * manual/filesys.texi: Likewise.
18485         (getumask): Document as specific to GNU/Hurd.
18486         * manual/install.texi: Likewise.  Reword some references to
18487         GNU/Linux.
18488         * manual/intro.texi: Likewise.
18489         * manual/io.texi: Likewise.
18490         (File Name Portability): Detail which constraints are inapplicable
18491         to all GNU systems and which are only inapplicable to GNU/Hurd.
18492         * manual/job.texi: Likewise.
18493         * manual/llio.texi: Likewise.
18494         (O_NOCTTY): Document as present on GNU/Linux.
18495         * manual/maint.texi: Likewise.
18496         * manual/memory.texi: Likewise.
18497         * manual/pattern.texi: Likewise.
18498         * manual/pipe.texi: Likewise.
18499         * manual/process.texi: Likewise.
18500         * manual/resource.texi: Likewise.
18501         (RUSAGE_CHILDREN): Remove statement about specifying a particular
18502         child on GNU/Hurd.
18503         * manual/setjmp.texi: Likewise.
18504         * manual/signal.texi: Likewise.
18505         * manual/startup.texi: Likewise.
18506         * manual/stdio.texi: Likewise.
18507         * manual/terminal.texi: Likewise.
18508         (ONLCR): Document as POSIX.
18509         (OXTABS): Document availability on GNU/Linux as XTABS.
18510         (ONOEOT): Document availability separately from other bits.
18511         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18512         * manual/time.texi: Likewise.
18513         * manual/users.texi: Likewise.
18514         * INSTALL: Regenerated.
18515         * sysdeps/gnu/errlist.c: Regenerated.
18517         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18518         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18519         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
18520         puts.
18521         * configure: Regenerated.
18523 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
18525         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18526         default includes instead of AC_HEADER_CHECK.
18527         * sysdeps/i386/configure: Regenerated.
18529         [BZ #10716]
18530         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18531         * math/s_cacoshf.c (__cacoshf): Likewise.
18532         * math/s_cacoshl.c (__cacoshl): Likewise.
18533         * math/s_casinh.c (__casinh): Set signs of result from argument.
18534         * math/s_casinhf.c (__casinhf): Likewise.
18535         * math/s_casinhl.c (__casinhl): Likewise.
18536         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18537         (casinh_test): Add more tests.
18538         * sysdeps/i386/fpu/libm-test-ulps: Update.
18539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18541 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
18543         * po/zh_TW.po: Update from translation team.
18545         * login/Makefile (distribute): Remove variable.
18546         * catgets/Makefile: Likewise.
18547         * mach/Makefile: Likewise.
18548         * malloc/Makefile: Likewise.
18549         * misc/Makefile: Likewise.
18550         * iconv/Makefile: Likewise.
18551         * nscd/Makefile: Likewise.
18552         * hurd/Makefile: Likewise.
18553         * manual/Makefile: Likewise.
18554         * locale/Makefile: Likewise.
18555         * intl/Makefile: Likewise.
18556         * conform/Makefile: Likewise.
18557         * nss/Makefile: Likewise.
18558         * time/Makefile: Likewise.
18559         * soft-fp/Makefile: Likewise.
18560         * dirent/Makefile: Likewise.
18561         * gmon/Makefile: Likewise.
18562         * po/Makefile: Likewise.
18563         * rt/Makefile: Likewise.
18564         * socket/Makefile: Likewise.
18565         * math/Makefile: Likewise.
18566         * signal/Makefile: Likewise.
18567         * debug/Makefile: Likewise.
18568         * elf/Makefile: Likewise.
18569         * timezone/Makefile: Likewise.
18570         * stdlib/Makefile: Likewise.
18571         * iconvdata/Makefile: Likewise.
18572         * sunrpc/Makefile: Likewise.
18573         * io/Makefile: Likewise.
18574         * argp/Makefile: Likewise.
18575         * inet/Makefile: Likewise.
18576         * hesiod/Makefile: Likewise.
18577         * grp/Makefile: Likewise.
18578         * csu/Makefile: Likewise.
18579         * wctype/Makefile: Likewise.
18580         * crypt/Makefile: Likewise.
18581         * libio/Makefile: Likewise.
18582         * string/Makefile: Likewise.
18583         * nis/Makefile: Likewise.
18584         * resolv/Makefile: Likewise.
18585         * stdio-common/Makefile: Likewise.
18586         * wcsmbs/Makefile: Likewise.
18587         * dlfcn/Makefile: Likewise.
18588         * posix/Makefile: Likewise.
18590         [BZ #6959]
18591         * timezone/Makefile: Don't install timezone files, just the programs
18592         and scripts.
18594 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
18596         * nss/databases.def: Add missing gshadow entry.
18598         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
18600 2012-03-06  Marek Polacek  <polacek@redhat.com>
18602         [BZ #13726]
18603         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18604         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18605         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18606         * stdio-common/tst-long-dbl-fphex.c: New file.
18608 2012-03-06  David S. Miller  <davem@davemloft.net>
18610         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18611         (set_obp_int): New function.
18612         (get_obp_int): New function.
18613         (__get_clockfreq_via_dev_openprom): Likewise.
18614         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18615         Avoid unused variable warnings on 'val' and use builtin_expect.
18616         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18617         __builtin_expect.
18618         (INLINE_CLONE_SYSCALL): Likewise.
18620 2012-03-05  David S. Miller  <davem@davemloft.net>
18622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18624 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
18626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18628         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18629         only for |x| >= 40.
18630         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18632 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18634         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18635         Replace gettimeofday with __vdso_gettimeofday.
18637         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18638         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18639         __vdso_clock_gettime and __vdso_getcpu.
18641         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18642         time with __vdso_time.
18644 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18646         * manual/lang.texi (size_t): Note types to which size_t may be
18647         equivalent with the GNU C Library, but do not describe when
18648         differences between them are significant.
18650 2012-03-05  Andreas Jaeger  <aj@suse.de>
18652         * sysdeps/i386/fpu/libm-test-ulps: Update.
18654 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18656         [BZ #3976]
18657         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18658         (__ieee754_pow): Save and restore rounding mode and use
18659         round-to-nearest for main computations.
18660         * math/libm-test.inc (pow_test_tonearest): New function.
18661         (pow_test_towardzero): Likewise.
18662         (pow_test_downward): Likewise.
18663         (pow_test_upward): Likewise.
18664         (main): Call the new functions.
18665         * sysdeps/i386/fpu/libm-test-ulps: Update.
18666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18668         [BZ #3976]
18669         * math/libm-test.inc (cosh_test_tonearest): New function.
18670         (cosh_test_towardzero): Likewise.
18671         (cosh_test_downward): Likewise.
18672         (cosh_test_upward): Likewise.
18673         (sinh_test_tonearest): Likewise.
18674         (sinh_test_towardzero): Likewise.
18675         (sinh_test_downward): Likewise.
18676         (sinh_test_upward): Likewise.
18677         (main): Call the new functions.
18678         * sysdeps/i386/fpu/libm-test-ulps: Update.
18679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18681 2012-03-05  Tom de Vries  <tom@codesourcery.com>
18683         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18684         default stack guard is set in last bytes.
18685         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18687 2012-03-05  Kees Cook  <keescook@chromium.org>
18689         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18691         [BZ #13656]
18692         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18693         possibly allocate from heap instead of stack.
18694         * stdio-common/bug-vfprintf-nargs.c: New file.
18695         * stdio-common/Makefile (tests): Add nargs overflow test.
18697 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
18699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18701 2012-03-03  Marek Polacek  <polacek@redhat.com>
18703         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18704         * math/math_private.h: Likewise.
18705         * stdlib/tst-strtod.c: Likewise.
18706         * sysdeps/i386/i486/bits/atomic.h: Likewise.
18707         * sysdeps/x86_64/bits/atomic.h: Likewise.
18709 2012-03-02  David S. Miller  <davem@davemloft.net>
18711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18715         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18716         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18717         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18718         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18720 2012-03-02  Roland McGrath  <roland@hack.frob.com>
18722         [BZ #13792]
18723         * manual/examples/README: New file, says the example source files
18724         can be used under GPL>=2.
18725         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18726         line containing just "*/".
18727         * manual/examples/add.c: Add copyright header (GPL>=2).
18728         * manual/examples/argp-ex1.c: Likewise.
18729         * manual/examples/argp-ex2.c: Likewise.
18730         * manual/examples/argp-ex3.c: Likewise.
18731         * manual/examples/argp-ex4.c: Likewise.
18732         * manual/examples/atexit.c: Likewise.
18733         * manual/examples/db.c: Likewise.
18734         * manual/examples/dir.c: Likewise.
18735         * manual/examples/dir2.c: Likewise.
18736         * manual/examples/execinfo.c: Likewise.
18737         * manual/examples/filecli.c: Likewise.
18738         * manual/examples/filesrv.c: Likewise.
18739         * manual/examples/fmtmsgexpl.c: Likewise.
18740         * manual/examples/genpass.c: Likewise.
18741         * manual/examples/inetcli.c: Likewise.
18742         * manual/examples/inetsrv.c: Likewise.
18743         * manual/examples/isockad.c: Likewise.
18744         * manual/examples/longopt.c: Likewise.
18745         * manual/examples/memopen.c: Likewise.
18746         * manual/examples/memstrm.c: Likewise.
18747         * manual/examples/mkfsock.c: Likewise.
18748         * manual/examples/mkisock.c: Likewise.
18749         * manual/examples/mygetpass.c: Likewise.
18750         * manual/examples/pipe.c: Likewise.
18751         * manual/examples/popen.c: Likewise.
18752         * manual/examples/rprintf.c: Likewise.
18753         * manual/examples/search.c: Likewise.
18754         * manual/examples/select.c: Likewise.
18755         * manual/examples/setjmp.c: Likewise.
18756         * manual/examples/sigh1.c: Likewise.
18757         * manual/examples/sigusr.c: Likewise.
18758         * manual/examples/stpcpy.c: Likewise.
18759         * manual/examples/strdupa.c: Likewise.
18760         * manual/examples/strftim.c: Likewise.
18761         * manual/examples/strncat.c: Likewise.
18762         * manual/examples/subopt.c: Likewise.
18763         * manual/examples/swapcontext.c: Likewise.
18764         * manual/examples/termios.c: Likewise.
18765         * manual/examples/testopt.c: Likewise.
18766         * manual/examples/testpass.c: Likewise.
18767         * manual/examples/timeval_subtract.c: Likewise.
18769         [BZ #13792]
18770         * manual/time.texi (Elapsed Time): Move timeval_subtract example
18771         function to ...
18772         * manual/timeval_subtract.c.texi: ... here, new file.
18774 2012-03-02  David S. Miller  <davem@davemloft.net>
18776         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18778 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
18780         [BZ #3976]
18781         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18782         (__sin): Save and restore rounding mode and use round-to-nearest
18783         for all computations.
18784         (__cos): Save and restore rounding mode and use round-to-nearest
18785         for all computations.
18786         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18787         <fenv.h>.
18788         (tan): Save and restore rounding mode and use round-to-nearest for
18789         all computations.
18790         * math/libm-test.inc (cos_test_tonearest): New function.
18791         (cos_test_towardzero): Likewise.
18792         (cos_test_downward): Likewise.
18793         (cos_test_upward): Likewise.
18794         (sin_test_tonearest): Likewise.
18795         (sin_test_towardzero): Likewise.
18796         (sin_test_downward): Likewise.
18797         (sin_test_upward): Likewise.
18798         (tan_test_tonearest): Likewise.
18799         (tan_test_towardzero): Likewise.
18800         (tan_test_downward): Likewise.
18801         (tan_test_upward): Likewise.
18802         (main): Call the new functions.
18803         * sysdeps/i386/fpu/libm-test-ulps: Update.
18804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18806         [BZ #10135]
18807         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18808         small n, then large n, before computing and testing k+n.
18809         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18810         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18811         Likewise.
18812         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18813         Likewise.
18814         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18815         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18816         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18817         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18818         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18819         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18820         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18821         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18822         * math/libm-test.inc (scalbn_test): Add more tests.
18823         (scalbln_test): Likewise.
18825         * manual/filesys.texi (mode_t): Describe constraints on size and
18826         signedness, not exact equivalence to a particular type.
18827         (ino_t): Likewise.
18828         (ino64_t): Likewise.
18829         (dev_t): Likewise.
18830         (nlink_t): Likewise.
18831         (blkcnt_t): Likewise.
18832         (blkcnt64_t): Likewise.
18833         * manual/llio.texi (off_t): Likewise.
18835         [BZ #3976]
18836         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18837         (__ieee754_exp): Save and restore rounding mode and use
18838         round-to-nearest for all computations.
18839         * math/libm-test.inc (exp_test_tonearest): New function.
18840         (exp_test_towardzero): Likewise.
18841         (exp_test_downward): Likewise.
18842         (exp_test_upward): Likewise.
18843         (main): Call the new functions.
18844         * sysdeps/i386/fpu/libm-test-ulps: Update.
18845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18847 2012-03-01  Chris Demetriou  <cgd@google.com>
18849         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18850         have predictable order.
18852 2012-03-01  David S. Miller  <davem@davemloft.net>
18854         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18856         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18857         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18858         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18859         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18861         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18862         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18863         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18865         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18866         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18867         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18868         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18869         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18873         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18874         * sysdeps/sparc/fpu/libm-test-ulps: to here.
18875         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18877         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18878         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18879         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18880         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18881         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18882         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18883         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18884         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18885         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18886         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18887         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18888         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18889         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18890         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18891         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18892         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18893         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18894         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18895         * sysdeps/sparc/elf/configure: Regenerated.
18897 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
18899         * configure.in (AS, LD): Require binutils 2.20 or later.
18900         * configure: Regenerated.
18901         * manual/install.texi (Tools for Compilation): Give binutils 2.20
18902         as required minimum version.
18903         * INSTALL: Regenerated.
18905         [BZ #2541]
18906         [BZ #4108]
18907         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18908         before squaring exponent.
18909         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18910         bottom long double and 27 bits of top long double before squaring
18911         exponent.
18912         * math/libm-test.inc (erfc_test): Add more tests.
18913         * sysdeps/i386/fpu/libm-test-ulps: Update.
18914         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18917 2012-03-01  Kai Tietz  <ktietz@redhat.com>
18919         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18920         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18921         containing bit-fields.
18922         * soft-fp/extended.h (_FP_UNION_E): Likewise.
18923         * soft-fp/single.h (_FP_UNION_S): Likewise.
18924         * soft-fp/double.h (_FP_UNION_D): Likewise.
18926 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18928         [BZ #13786]
18929         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18930         not include ../strcmp.S.
18931         [USE_AS_STRNCASECMP_L]: Likewise.
18932         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18933         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18934         * sysdeps/i386/i686/multiarch/strncase_l-c.c
18935         (__strncasecmp_l_ia32): Define as alias to
18936         __strncasecmp_l_nonascii.
18938         [BZ #5794]
18939         * math/libm-test.inc (expm1_test): Add test for bug 5794.
18940         * sysdeps/i386/fpu/libm-test-ulps: Update.
18941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18943         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18946 2012-02-29  Jeff Law  <law@redhat.com>
18948         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18949         out of bounds read.
18951 2012-02-29  Marek Polacek  <polacek@redhat.com>
18953         [BZ #13706]
18954         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18955         * elf/Makefile: Add rules to run tst-unused-dep.out.
18957 2012-02-28  David S. Miller  <davem@davemloft.net>
18959         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18960         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18961         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18962         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18963         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18964         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18966 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18968         * math/libm-test.inc (llround_test): Move one test from
18969         lround_test.  Use TEST_f_L in moved test.
18970         (lround_test): Move misplaced test to llround_test.  Add testcase
18971         from bug 2561.
18973 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
18975         * sysdeps/x86_64/fpu/e_expf.S: New file.
18976         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18978 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
18980         [BZ #13637]
18981         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18982         of remain_len that may cause incomplete multi-byte character and
18983         false match.
18984         * posix/bug-regex33.c: New file.
18985         * posix/Makefile (tests): Add bug-regex33.
18987 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
18989         * manual/macros.texi: New file.
18990         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18991         * manual/libc.texinfo: Include macros.texi.
18992         * manual/creatute.texi: Likewise.
18993         * manual/install.texi: Likewise.
18994         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18995         @glibcadj{} in references to the GNU C Library.
18996         * manual/charset.texi: Likewise.
18997         * manual/conf.texi: Likewise.
18998         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
18999         when not using those macros.
19000         * manual/creature.texi: Likewise.
19001         * manual/crypt.texi: Likewise.
19002         * manual/errno.texi: Likewise.
19003         * manual/filesys.texi: Likewise.
19004         * manual/header.texi: Likewise.
19005         * manual/install.texi: Likewise.
19006         * manual/intro.texi: Likewise.
19007         * manual/io.texi: Likewise.
19008         * manual/job.texi: Likewise.
19009         * manual/lang.texi: Likewise.
19010         * manual/libc.texiinfo: Likewise.
19011         * manual/llio.texi: Likewise.
19012         * manual/locale.texi: Likewise.
19013         * manual/maint.texi: Likewise.
19014         * manual/math.texi: Likewise.
19015         * manual/memory.texi: Likewise.
19016         * manual/message.texi: Likewise.
19017         * manual/nss.texi: Likewise.
19018         * manual/pattern.texi: Likewise.
19019         * manual/process.texi: Likewise.
19020         * manual/resource.texi: Likewise.
19021         * manual/search.texi: Likewise.
19022         * manual/setjmp.texi: Likewise.
19023         * manual/signal.texi: Likewise.
19024         * manual/socket.texi: Likewise.
19025         * manual/startup.texi: Likewise.
19026         * manual/stdio.texi: Likewise.
19027         * manual/string.texi: Likewise.
19028         * manual/sysinfo.texi: Likewise.
19029         * manual/syslog.texi: Likewise.
19030         * manual/terminal.texi: Likewise.
19031         * manual/time.texi: Likewise.
19032         * manual/users.texi: Likewise.
19033         * INSTALL: Regenerated.
19034         * NOTES: Regenerated.
19035         * sysdeps/gnu/errlist.c: Regenerated.
19037 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
19039         * include/dirent.h: Include <dirstream.h> before
19040         <dirent/dirent.h>.
19042 2012-02-28  David S. Miller  <davem@davemloft.net>
19044         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19045         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19046         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19047         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19049 2012-02-27  David S. Miller  <davem@davemloft.net>
19051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19053         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19054         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19057         frame pointer instead of stack pointer relative arg slot.
19058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19059         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19060         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19062 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
19064         [BZ #3992]
19065         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19067 2012-02-27  David S. Miller  <davem@davemloft.net>
19069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19073         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19074         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19075         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19076         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19078 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19080         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19081         later.  Allow versions 5-9.
19082         * configure: Regenerated.
19083         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19084         required minimum version and 4.6 as recommended version.  Do not
19085         mention bugs in GCC 2.7 and 2.8.
19086         * INSTALL: Regenerated.
19088 2012-02-27  David S. Miller  <davem@davemloft.net>
19090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19094         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19095         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19096         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19097         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19099         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19100         manipulate bits before adding and subtracting TWO112[sx].
19101         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19103 2012-02-27  Roland McGrath  <roland@hack.frob.com>
19105         [BZ #13775]
19106         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19107         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19108         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19109         being in POSIX, because they are in 1003.1-2008.
19111         * rt/tst-aio.c: Include <fcntl.h>.
19112         * rt/tst-aio7.c: Likewise.
19113         * rt/tst-aio64.c: Likewise.
19115         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19117 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19119         * manual/install.texi (--with-headers): Describe headers as
19120         interface headers, not private headers.
19121         (Specific advice for GNU/Linux systems): Describe use of headers
19122         from "make headers_install", not private headers from older
19123         kernels.
19124         * INSTALL: Regenerated.
19125         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19126         Change to 2.6.19.
19127         * sysdeps/unix/sysv/linux/configure: Regenerated.
19129         * manual/llio.texi (fclean): Remove documentation.
19131         * manual/Makefile (libc-texi-generated): New variable.  Include
19132         version.texi.
19133         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19134         $(libc-texi-generated), not duplicated list of files.
19135         (version.texi, stamp-version): New rules.
19136         (realclean): Remove $(libc-texi-generated), not individual files
19137         from that list.  Do not remove dir-add.texinfo.
19138         * manual/libc.texinfo: Comment out uses of edition numbers and
19139         references to printed manual.  Remove last-updated dates.
19140         (EDITION): Comment out.
19141         (ISBN): Likewise.
19142         (VERSION, UPDATED): Remove.
19143         (version.texi): Include.
19145 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
19147         * sysdeps/posix/spawni.c: Include <signal.h>.
19148         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19149         * sysdeps/pthread/aio_fsync.c: Likewise.
19151 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
19153         * conform/Makefile (tests): Run only when not cross-compiling and
19154         when fast-check is not defined.
19156         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19157         * conform/data/limits.h-data: Fixes for POSIX2008.
19158         * conform/run-conformtest.sh: Run all tests.
19159         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19160         headers.
19161         * include/bits/dlfcn.h: Likewise.
19162         * include/langinfo.h: Likewise.
19163         * include/monetary.h: Likewise.
19164         * include/sys/poll.h: Likewise.
19166         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19167         for __USE_GNU.
19168         * posix/spawn.h: Define __need_sigset_t.
19169         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19170         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19171         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
19172         to get sigevent_t only.
19173         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19174         only for __USE_GNU.
19175         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19176         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19177         process_vm_writev only for __USE_GNU.
19178         * termios/termios.h: Declare tcgetsid also for POSIX2008.
19180         * conform/Makefile: For now ignore errors from run-conformtest.
19181         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
19182         POSIX to avoid namespace pollution.  Don't prepend headers.
19183         * conform/data/aio.h-data: Fixes for POSIX testing.
19184         * conform/data/fcntl.h-data: Likewise.
19185         * conform/data/glob.h-data: Likewise.
19186         * conform/data/grp.h-data: Likewise.
19187         * conform/data/pthread.h-data: Likewise.
19188         * conform/data/pwd.h-data: Likewise.
19189         * conform/data/signal.h-data: Likewise.
19190         * conform/data/spawn.h-data: Likewise.
19191         * conform/data/stdio.h-data: Likewise.
19192         * conform/data/stdlib.h-data: Likewise.
19193         * conform/data/stropts.h-data: Likewise.
19194         * conform/data/sys/mman.h-data: Likewise.
19195         * conform/data/sys/stat.h-data: Likewise.
19196         * conform/data/sys/types.h-data: Likewise.
19197         * conform/data/sys/wait.h-data: Likewise.
19198         * conform/data/time.h-data: Likewise.
19199         * conform/data/unistd.h-data: Likewise.
19200         * conform/data/utime.h-data: Likewise.
19202         * io/sys/stat.h: fchmod was always in POSIX.
19203         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19204         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19205         * rt/aio.h: Define __need_timespec before including <time.h>.
19206         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19207         struct.  Add forward declaration of pthread_attr_t and use it in
19208         sigevent.
19209         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19210         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19211         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19212         always remove CLK_TCK definition.
19214 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
19216         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19218 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
19220         * conform/run-conformtest.sh: New file.
19221         * conform/Makefile: Run run-conformtest for tests.
19222         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
19223         support.
19225         * conform/data/uchar.h-data: New file.
19226         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19227         * conform/data/arpa/inet.h-data: Likewise.
19228         * conform/data/assert.h-data: Likewise.
19229         * conform/data/complex.h-data: Likewise.
19230         * conform/data/cpio.h-data: Likewise.
19231         * conform/data/ctype.h-data: Likewise.
19232         * conform/data/dirent.h-data: Likewise.
19233         * conform/data/dlfcn.h-data: Likewise.
19234         * conform/data/errno.h-data: Likewise.
19235         * conform/data/fcntl.h-data: Likewise.
19236         * conform/data/float.h-data: Likewise.
19237         * conform/data/fmtmsg.h-data: Likewise.
19238         * conform/data/fnmatch.h-data: Likewise.
19239         * conform/data/ftw.h-data: Likewise.
19240         * conform/data/glob.h-data: Likewise.
19241         * conform/data/grp.h-data: Likewise.
19242         * conform/data/iconv.h-data: Likewise.
19243         * conform/data/inttypes.h-data: Likewise.
19244         * conform/data/langinfo.h-data: Likewise.
19245         * conform/data/libgen.h-data: Likewise.
19246         * conform/data/limits.h-data: Likewise.
19247         * conform/data/locale.h-data: Likewise.
19248         * conform/data/math.h-data: Likewise.
19249         * conform/data/monetary.h-data: Likewise.
19250         * conform/data/mqueue.h-data: Likewise.
19251         * conform/data/ndbm.h-data: Likewise.
19252         * conform/data/net/if.h-data: Likewise.
19253         * conform/data/netdb.h-data: Likewise.
19254         * conform/data/netinet/in.h-data: Likewise.
19255         * conform/data/nl_types.h-data: Likewise.
19256         * conform/data/poll.h-data: Likewise.
19257         * conform/data/pthread.h-data: Likewise.
19258         * conform/data/pwd.h-data: Likewise.
19259         * conform/data/regex.h-data: Likewise.
19260         * conform/data/sched.h-data: Likewise.
19261         * conform/data/search.h-data: Likewise.
19262         * conform/data/semaphore.h-data: Likewise.
19263         * conform/data/setjmp.h-data: Likewise.
19264         * conform/data/signal.h-data: Likewise.
19265         * conform/data/spawn.h-data: Likewise.
19266         * conform/data/stdarg.h-data: Likewise.
19267         * conform/data/stdio.h-data: Likewise.
19268         * conform/data/stdlib.h-data: Likewise.
19269         * conform/data/string.h-data: Likewise.
19270         * conform/data/strings.h-data: Likewise.
19271         * conform/data/stropts.h-data: Likewise.
19272         * conform/data/sys/ipc.h-data: Likewise.
19273         * conform/data/sys/mman.h-data: Likewise.
19274         * conform/data/sys/msg.h-data: Likewise.
19275         * conform/data/sys/resource.h-data: Likewise.
19276         * conform/data/sys/select.h-data: Likewise.
19277         * conform/data/sys/sem.h-data: Likewise.
19278         * conform/data/sys/shm.h-data: Likewise.
19279         * conform/data/sys/socket.h-data: Likewise.
19280         * conform/data/sys/stat.h-data: Likewise.
19281         * conform/data/sys/statvfs.h-data: Likewise.
19282         * conform/data/sys/time.h-data: Likewise.
19283         * conform/data/sys/timeb.h-data: Likewise.
19284         * conform/data/sys/times.h-data: Likewise.
19285         * conform/data/sys/types.h-data: Likewise.
19286         * conform/data/sys/uio.h-data: Likewise.
19287         * conform/data/sys/un.h-data: Likewise.
19288         * conform/data/sys/utsname.h-data: Likewise.
19289         * conform/data/sys/wait.h-data: Likewise.
19290         * conform/data/syslog.h-data: Likewise.
19291         * conform/data/tar.h-data: Likewise.
19292         * conform/data/termios.h-data: Likewise.
19293         * conform/data/utime.h-data: Likewise.
19294         * conform/data/utmpx.h-data: Likewise.
19295         * conform/data/varargs.h-data: Likewise.
19296         * conform/data/wchar.h-data: Likewise.
19297         * conform/data/wctype.h-data: Likewise.
19298         * conform/data/wordexp.h-data: Likewise.
19300         * include/stropts.h: New file.
19301         * include/uchar.h: New file.
19302         * include/aio.h: Changes to allow conformtest.pl to use the headers.
19303         * include/assert.h: Likewise.
19304         * include/ctype.h: Likewise.
19305         * include/dirent.h: Likewise.
19306         * include/dlfcn.h: Likewise.
19307         * include/fcntl.h: Likewise.
19308         * include/fnmatch.h: Likewise.
19309         * include/glob.h: Likewise.
19310         * include/grp.h: Likewise.
19311         * include/libio.h: Likewise.
19312         * include/locale.h: Likewise.
19313         * include/math.h: Likewise.
19314         * include/net/if.h: Likewise.
19315         * include/netdb.h: Likewise.
19316         * include/netinet/in.h: Likewise.
19317         * include/pthread.h: Likewise.
19318         * include/pwd.h: Likewise.
19319         * include/regex.h: Likewise.
19320         * include/sched.h: Likewise.
19321         * include/search.h: Likewise.
19322         * include/setjmp.h: Likewise.
19323         * include/signal.h: Likewise.
19324         * include/stdio.h: Likewise.
19325         * include/stdlib.h: Likewise.
19326         * include/string.h: Likewise.
19327         * include/sys/cdefs.h: Likewise.
19328         * include/sys/mman.h: Likewise.
19329         * include/sys/msg.h: Likewise.
19330         * include/sys/resource.h: Likewise.
19331         * include/sys/select.h: Likewise.
19332         * include/sys/socket.h: Likewise.
19333         * include/sys/stat.h: Likewise.
19334         * include/sys/statvfs.h: Likewise.
19335         * include/sys/time.h: Likewise.
19336         * include/sys/times.h: Likewise.
19337         * include/sys/uio.h: Likewise.
19338         * include/sys/utsname.h: Likewise.
19339         * include/sys/wait.h: Likewise.
19340         * include/termios.h: Likewise.
19341         * include/time.h: Likewise.
19342         * include/ulimit.h: Likewise.
19343         * include/unistd.h: Likewise.
19344         * include/utime.h: Likewise.
19345         * include/wchar.h: Likewise.
19346         * include/wctype.h: Likewise.
19347         * include/wordexp.h: Likewise.
19349         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19351         * time/time.h: TIME_UTC must be a macro.
19352         Make timespec_get available for ISO C11 only as well.
19354 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
19356         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19357         Reported by Peng Haitao <penght@cn.fujitsu.com>.
19359 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19361         * configure.in: Use -o not -a in test for unsupported multi-arch.
19363 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19365         * manual/texinfo.tex: Update to version 2012-01-19.16.
19367 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19369         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19371 2012-02-24  Roland McGrath  <roland@hack.frob.com>
19373         [BZ #13738]
19374         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19375         * manual/fdl-1.3.texi: New file.
19376         * manual/fdl-1.1.texi: File removed.
19378         [BZ #13738]
19379         * manual/libc.texinfo (FDL_VERSION): New @set.
19380         Use it for mention of FDL in cover text.
19381         (Documentation License): Use it in @include file name.
19383 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19384             Roland McGrath  <roland@hack.frob.com>
19386         [BZ #5461]
19387         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19388         not LONG_LONG_MAX and LONG_LONG_MIN.
19389         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19390         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
19391         name.
19392         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19394 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19396         [BZ #2547]
19397         [BZ #11365]
19398         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19399         manipulate bits before adding and subtracting TWO23[sx].
19400         * math/libm-test.inc (nearbyint_test): Add more tests.
19402 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19404         [BZ #2548]
19405         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19406         bits before adding and subtracting TWO23[sx].
19407         * math/libm-test.inc (rint_test): Add more tests.
19408         (rint_test_tonearest): Likewise.
19409         (rint_test_towardzero): Likewise.
19410         (rint_test_downward): Likewise.
19411         (rint_test_upward: Likewise.
19413 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19415         [BZ #10110]
19416         * include/stdc-predef.h: New file.  Extracted from features.h.
19417         * include/features.h: Include stdc-predef.h.
19418         * Makefile (headers): Add stdc-predef.h.
19419         * CONFORMANCE (Compiler limitations): Update.
19421 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19423         * manual/libc.texinfo (VERSION, UPDATED): Revert.
19425 2012-02-21  David S. Miller  <davem@davemloft.net>
19427         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19428         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19430 2012-02-20  David S. Miller  <davem@davemloft.net>
19432         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19433         using a normal save/restore sequence, rather than allocating a
19434         dummy stack frame just to store a frame pointer and restore.
19435         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19437 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19439         * manual/install.texi: Fix stray word in line-wrapped comment.
19441 2012-02-20  David S. Miller  <davem@davemloft.net>
19443         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19444         both binutils and gcc support GOTDATA.
19446         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19447         "rd %pc" in the PIC register setup sequences.
19449         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19450         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19451         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19452         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19453         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19454         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19455         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19456         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19457         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19458         (SYSCALL_ERROR_HANDLER): Likewise.
19459         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19460         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19461         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19462         (SYSCALL_ERROR_HANDLER): Likewise.
19464         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19465         (HAVE_GCC_GOTDATA): New.
19466         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19467         relocation support in both binutils and gcc.
19468         * sysdeps/sparc/elf/configure: Regenerate.
19470         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19471         * sysdeps/sparc/sparc32/elf/configure: Delete.
19472         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19473         * sysdeps/sparc/sparc64/elf/configure: Delete.
19474         * sysdeps/sparc/elf/configure.in: New file.
19475         * sysdeps/sparc/elf/configure: Generate.
19477         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19478         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19479         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19480         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19481         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19483 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19485         * manual/install.texi: Do not mention specific glibc version
19486         numbers.
19487         * manual/libc.texinfo (VERSION, UPDATED): Update.
19488         (@copying): Use @copyright{} and range of years.
19490 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19492         [BZ #13695]
19493         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19494         [crti.S not in sysdirs] (generated): Do not append.
19495         [crti.S not in sysdirs] (omit-deps): Likewise.
19496         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19497         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19498         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19499         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19500         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19501         Likewise.
19502         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19503         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19504         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19505         * csu/defs.awk: Remove file.
19506         * sysdeps/generic/initfini.c: Likewise.
19507         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19508         variable.
19509         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19510         Likewise.
19512 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19514         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19515         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19516         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19517         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19518         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19519         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19520         <bits/epoll.h>.
19521         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19522         (__EPOLL_PACKED): Define to empty if not defined by
19523         <bits/epoll.h>.
19524         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19526         bits/epoll.h.
19528 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19530         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19531         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19532         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19533         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19534         <bits/timerfd.h>.
19535         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19536         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19537         bits/timerfd.h.
19539 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19541         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19542         in C locale.
19543         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19544         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19545         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19548 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
19550         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19551         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19553 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
19555         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19556         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19557         defined.
19558         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19559         Likewise.
19560         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19561         entry for 2.16.
19563 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
19565         * math/w_acos.c: Use non-signaling floating-point comparisons.
19566         * math/w_acosf.c: Likewise.
19567         * math/w_acosh.c: Likewise.
19568         * math/w_acoshf.c: Likewise.
19569         * math/w_acoshl.c: Likewise.
19570         * math/w_acosl.c: Likewise.
19571         * math/w_asin.c: Likewise.
19572         * math/w_asinf.c: Likewise.
19573         * math/w_asinl.c: Likewise.
19574         * math/w_atanh.c: Likewise.
19575         * math/w_atanhf.c: Likewise.
19576         * math/w_atanhl.c: Likewise.
19577         * math/w_exp2.c: Likewise.
19578         * math/w_exp2f.c: Likewise.
19579         * math/w_exp2l.c: Likewise.
19580         * math/w_j0.c: Likewise.
19581         * math/w_j0f.c: Likewise.
19582         * math/w_j0l.c: Likewise.
19583         * math/w_j1.c: Likewise.
19584         * math/w_j1f.c: Likewise.
19585         * math/w_j1l.c: Likewise.
19586         * math/w_jn.c: Likewise.
19587         * math/w_jnf.c: Likewise.
19588         * math/w_log.c: Likewise.
19589         * math/w_log10.c: Likewise.
19590         * math/w_log10f.c: Likewise.
19591         * math/w_log10l.c: Likewise.
19592         * math/w_log2.c: Likewise.
19593         * math/w_log2f.c: Likewise.
19594         * math/w_log2l.c: Likewise.
19595         * math/w_logf.c: Likewise.
19596         * math/w_logl.c: Likewise.
19597         * math/w_sqrt.c: Likewise.
19598         * math/w_sqrtf.c: Likewise.
19599         * math/w_sqrtl.c: Likewise.
19600         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19601         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19602         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19603         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19604         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19606 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19608         [BZ #9739]
19609         * manual/string.texi (strnlen): Use correct parameter name in
19610         equivalent expression.
19612 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19614         [BZ #11174]
19615         * manual/users.texi (seteuid): Consistently use neweuid for
19616         argument name.
19618 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19620         [BZ #13704]
19621         * manual/nss.texi (Services in the NSS configuration): Correct
19622         list of services in example configuration file.
19624 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
19626         [BZ #11322]
19627         * manual/arith.texi: Remove statements about negative zero
19628         behaving identically to zero.
19630 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19632         [BZ #5993]
19633         * manual/install.texi: Do not document upgrading from libc5.
19635 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19637         [BZ #4596]
19638         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19640 2012-02-18  David S. Miller  <davem@davemloft.net>
19642         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19643         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19644         %o7 across the call.
19645         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19646         instead.
19647         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19648         SETUP_PIC_REG_LEAF.
19649         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19650         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19651         * sysdeps/sparc/crtn.S: Likewise.
19653 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
19655         * aout/Makefile: Remove.
19657 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
19659         [BZ #13058]
19660         * manual/examples/argp-ex1.c (main): Format definition in GNU
19661         style.
19662         * manual/examples/argp-ex2.c (main): Likewise.
19663         * manual/examples/argp-ex3.c (main): Likewise.
19664         * manual/examples/argp-ex4.c (main): Likewise.
19665         * manual/examples/longopt.c (main): Use new-style prototype
19666         definition.
19667         * manual/examples/strncat.c (main): Specify return type and use
19668         (void) for arguments.
19669         * manual/examples/subopt.c (main): Use char **argv argument.
19671 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19673         [BZ #5077]
19674         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19675         rounding modes.
19677 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
19679         [BZ #6907]
19680         * manual/string.texi (strchr): Change when strchrnul is
19681         recommended.
19683 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
19685         [BZ #174]
19686         * manual/locale.texi (setlocale): Document LOCPATH.
19688 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19690         [BZ #10210]
19691         * manual/process.texi (execle): Move @dots{} before last argument.
19693 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
19695         [BZ #12047]
19696         * manual/charset.texi (Generic Charset Conversion): Fix typo
19697         (LC_TYPE -> LC_CTYPE).
19699 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
19701         [BZ #5805]
19702         * manual/arith.texi (scalbn): Use @var{} on parameter names.
19703         (scalbnf): Likewise.
19704         (scalbnl): Likewise.
19705         (scalbln): Likewise.
19706         (scalblnf): Likewise.
19707         (scalblnl): Likewise.
19708         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19709         (vwarnx): Likewise.
19710         (verr): Likewise.
19711         (verrx): Likewise.
19712         * manual/filesys.texi (telldir): Use braces around return type.
19713         * manual/llio.texi (mmap): Add space after comma.
19714         (mmap64): Likewise.
19715         * manual/math.texi (jn): Use @var{} on parameter names.
19716         (jnf): Likewise.
19717         (jnl): Likewise.
19718         (yn): Likewise.
19719         (ynf): Likewise.
19720         (ynl): Likewise.
19721         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19722         line.
19723         * manual/resource.texi (ulimit): Use @dots{} instead of literal
19724         "...".
19725         (sched_get_priority_min): Remove semicolon on @deftypefun line.
19726         (sched_get_priority_max): Likewise.
19727         * manual/signal.texi (sigvec): Add space after comma.
19728         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19729         names.
19730         (if_indextoname): Likewise.
19731         (if_freenameindex): Likewise.
19732         (sendto): Use ',' instead of '.' in prototype.
19733         * manual/startup.texi (syscall): Use @dots{} instead of literal
19734         "...".
19735         * manual/stdio.texi (__fpending): Separate initial words of
19736         paragraph from @deftypefun line.
19737         * manual/syslog.texi (syslog): Use @dots{} instead of literal
19738         "...".
19739         (vsyslog): Use @var{} on parameter names.
19740         * manual/terminal.texi (stty): Use @var{} on parameter names.
19741         * manual/users.texi (getutmp): Use @var{} on parameter names.
19742         (getutmpx): Likewise.
19744 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19746         [BZ #6884]
19747         * manual/stdio.texi (fopen): Fix typos in description of
19748         ",ccs=STRING".
19750 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
19752         [BZ #4026]
19753         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19754         get clock_id definition.
19756 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
19758         [BZ #4822]
19759         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19760         (madvise): Cast every argument to void on its own.
19762 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19764         [BZ #9902]
19765         * manual/startup.texi (Exit Status): Fix typo.
19767 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19769         [BZ #10140]
19770         * manual/examples/argp-ex1.c: Include <stdlib.h>.
19771         * manual/examples/argp-ex2.c: Likewise.
19772         * manual/examples/argp-ex3.c: Likewise.
19774 2012-02-16  Richard Henderson  <rth@redhat.com>
19776         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19777         * sysdeps/s390/s390-32/initfini.c: Remove.
19778         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19779         * sysdeps/s390/s390-64/initfini.c: Remove.
19781 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19783         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19784         compiler output for sysdeps/generic/initfini.c.
19785         * sysdeps/sh/elf/initfini.c: Remove file.
19787 2012-02-16  David S. Miller  <davem@davemloft.net>
19789         [BZ #11494]
19790         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19792         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19793         * sysdeps/sparc/crti.S: New file.
19794         * sysdeps/sparc/crtn.S: New file.
19795         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19796         * sysdeps/sparc/sparc64/Makefile: Likewise.
19798 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
19800         [BZ #3335]
19801         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19803 2012-02-15  Roland McGrath  <roland@hack.frob.com>
19805         [BZ #4822]
19806         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19808         * mach/devstream.c (cookie_io_functions_t): Macro removed.
19809         (write, read, close): Likewise.
19810         Patch by Aurelien Jarno <aurelien@aurel32.net>.
19812 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
19814         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19815         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19816         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19817         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19818         <bits/signalfd.h>.
19819         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19820         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19821         bits/signalfd.h.
19823 2012-02-14  Marek Polacek  <polacek@redhat.com>
19825         * sysdeps/x86_64/crti.S: New file.
19826         * sysdeps/x86_64/crtn.S: New file.
19827         * sysdeps/x86_64/elf/initfini.c: Remove file.
19829 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19831         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19832         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19833         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19834         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19835         <bits/inotify.h>.
19836         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19837         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19838         bits/inotify.h.
19840 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19842         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19843         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19844         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19845         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19846         <bits/eventfd.h>.
19847         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19848         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19849         bits/eventfd.h.
19851 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
19853         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19854         __feraiseexcept instead of feraiseexcept.
19856         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19857         nanosleep invocations.
19858         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19859         strings, and add error checking for a nanosleep invocations.
19861 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
19863         Replace FSF snail mail address with URLs, as per GNU coding standards.
19864         Most of the snail mail addresses were wrong anyway, and omitting
19865         them makes the source code easier to maintain.  Almost all of the
19866         changes are to license notices and to locale LC_IDENTIFICATION
19867         addresses, except for this one:
19868         * manual/libc.texinfo: In "Published by", give the FSF's URL,
19869         not its snail mail address.
19871 2012-02-09  Richard Henderson  <rth@twiddle.net>
19873         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19874         of kernel-features.h.
19876         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19878 2012-02-08  Marek Polacek  <polacek@redhat.com>
19880         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19881         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19882         * sysdeps/gnu/_G_config.h: Likewise.
19883         * sysdeps/generic/_G_config.h: Likewise.
19885 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
19887         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19888         tests.
19889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19891         * sysdeps/powerpc/powerpc32/crti.S: New file.
19892         * sysdeps/powerpc/powerpc32/crtn.S: New file.
19893         * sysdeps/powerpc/powerpc64/crti.S: New file.
19894         * sysdeps/powerpc/powerpc64/crtn.S: New file.
19896         * Makeconfig (have-initfini): Don't set.
19897         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19898         * configure.in (nopic_initfini): Don't substitute.
19899         * config.h.in (HAVE_INITFINI): Don't #undef.
19900         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19901         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19903 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
19905         Support crti.S and crtn.S provided directly by architectures.
19906         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19907         [crti.S in sysdirs] (omit-deps): Likewise.
19908         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19909         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19910         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19911         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19912         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19913         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19914         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19915         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19916         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19917         compiler output for sysdeps/generic/initfini.c.
19918         * sysdeps/i386/elf/Makefile: Remove file.
19919         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19921 2012-02-07  Marek Polacek  <polacek@redhat.com>
19923         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19924         * sysdeps/gnu/_G_config.h: Likewise.
19925         * sysdeps/mach/hurd/_G_config.h: Likewise.
19927 2012-02-07  Marek Polacek  <polacek@redhat.com>
19929         * math/Makefile (tests): Add tst-CMPLX2.
19930         * math/tst-CMPLX2.c: New file.
19932 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
19934         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19936         * math/libm-test.inc (jn_test): Add missing L suffix.
19938 2012-02-06  Marek Polacek  <polacek@redhat.com>
19940         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19941         * sysdeps/i386/fpu/e_powf.S: Likewise.
19942         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19943         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19944         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19945         * sysdeps/i386/fpu/e_pow.S: Likewise.
19946         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19947         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19948         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19949         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19950         * sysdeps/i386/fpu/e_log2.S: Likewise.
19951         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19952         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19953         * sysdeps/i386/fpu/e_powl.S: Likewise.
19954         * sysdeps/i386/fpu/s_log1p.S: Likewise.
19955         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19956         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19957         * sysdeps/i386/fpu/e_logl.S: Likewise.
19958         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19959         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19960         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19961         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19962         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19963         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19964         * sysdeps/i386/fpu/e_log.S: Likewise.
19965         * sysdeps/i386/fpu/s_cexp.S: Likewise.
19966         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19967         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19968         * sysdeps/i386/fpu/e_logf.S: Likewise.
19969         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19970         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19971         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19972         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19973         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19974         * sysdeps/i386/fpu/e_log10.S: Likewise.
19975         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19976         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19977         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19978         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19979         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19980         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19981         * sysdeps/i386/asm-syntax.h: Likewise.
19982         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19983         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19984         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19985         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19986         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19987         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19988         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19989         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19990         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19991         * sysdeps/powerpc/sysdep.h: Likewise.
19992         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19993         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19995 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19997         [BZ #411]
19998         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20000 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20002         * sysdeps/i386/sysdep.h: Include <features.h>.
20003         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20004         version.
20006 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
20008         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20009         Define.
20010         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20011         LOAD_PIC_REG_STR.
20013 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20015         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20016         (SETUP_PIC_REG): Use GET_PC_THUNK.
20017         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20018         macro.
20020 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20022         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20023         for non-PIC compilation.
20024         (SETUP_PIC_REG): Add .p2align directive.
20025         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20026         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20027         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20028         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20029         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20030         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20031         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20032         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20033         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20034         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20035         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20036         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20037         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20038         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20039         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20040         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20041         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20042         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20043         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20044         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20045         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20046         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20047         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20048         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20049         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20050         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20051         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20052         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20053         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20054         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20055         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20056         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20057         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20058         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20059         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20060         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20061         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20062         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20063         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20064         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20065         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20067 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20069         * math/tst-CMPLX.c: Include <stdio.h>.
20071 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
20073         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20074         float.
20075         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20076         * sysdeps/sparc/bits/mathdef.h: Likewise.
20078 2012-01-31  Marek Polacek  <polacek@redhat.com>
20080         * libio/libio.h: Don't define _PARAMS.
20081         * locale/programs/config.h: Don't define PARAMS.
20082         * stdlib/strtol_l.c: Likewise.
20083         (__strtol_l): Remove PARAMS from the prototype.
20085 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
20087         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
20088         names.  Just use the correct names.  Remove unnecessary wrapper
20089         functions.
20090         * malloc/arena.c: Likewise.
20091         * malloc/hooks.c: Likewise.
20093         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20094         ARENA_TEST says not to.  Simplify test for creation of a new arena.
20095         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20097 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
20099         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20100         into tail calls.
20101         (update_get_addr): New function.
20102         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20103         GET_ADDR_MODULE parameter.
20105 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20107         * crypt/cert.c: Remove __STDC__ conditionals.
20108         * crypt/crypt-entry.c: Likewise.
20109         * crypt/crypt_util.c: Likewise.
20110         * libio/filedoalloc.c: Likewise.
20111         * libio/fileops.c: Likewise.
20112         * libio/genops.c: Likewise.
20113         * libio/iofclose.c: Likewise.
20114         * libio/iofdopen.c: Likewise.
20115         * libio/iofopen.c: Likewise.
20116         * libio/iofopen64.c: Likewise.
20117         * libio/iogetdelim.c: Likewise.
20118         * libio/iopopen.c: Likewise.
20119         * libio/obprintf.c: Likewise.
20120         * libio/oldfileops.c: Likewise.
20121         * libio/oldiofclose.c: Likewise.
20122         * libio/oldiofdopen.c: Likewise.
20123         * libio/oldiofopen.c: Likewise.
20124         * libio/oldiopopen.c: Likewise.
20125         * libio/wfiledoalloc.c: Likewise.
20126         * libio/wgenops.c: Likewise.
20127         * locale/programs/xmalloc.c: Likewise.
20128         * misc/syslog.c: Likewise.
20129         * stdio-common/xbug.c: Likewise.
20130         * string/memchr.c: Likewise.
20131         * string/memcmp.c: Likewise.
20132         * string/memrchr.c: Likewise.
20133         * string/rawmemchr.c: Likewise.
20134         * sysdeps/posix/getcwd.c: Likewise.
20135         * time/strftime_l.c: Likewise.
20137 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20139         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20140         * config.make.in (config-cflags-sse2avx): Define.
20141         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20142         Fix typo.
20144 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
20146         * scripts/config.guess: Update from upstream config git repository.
20147         * scripts/config.sub: Likewise.
20149 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
20151         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20152         (EM_NUM): Update.
20153         (R_TILEPRO_*, R_TILEGX_*): New macros.
20155         * scripts/firstversions.awk: Fix bug in version range handling.
20157         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20159         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20161         * include/sys/epoll.h: New file.
20162         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20163         libc_hidden_def.
20165 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
20167         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20168         Avoid unnecessary __WORDSIZE == 64 test.
20169         (fmaxf): Use VEX format if possible.
20170         (fmax): Likewise.
20171         (fminf): Likewise.
20172         (fmin): Likewise.
20174         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20175         * math/math_private.h: Remove libc_fegetround* and
20176         libc_fesetround*.
20177         * sysdeps/i386/configure.in: Check for -msse2avx.
20178         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20179         also if SSE2AVX is defined.
20180         Remove libc_fegetround* and libc_fesetround*.
20181         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20182         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
20183         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20184         of HAS_YMM_USABLE.
20185         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20186         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20187         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20188         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20189         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20191         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20193 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20195         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20196         size is not set.
20197         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20199 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
20201         [BZ #13618]
20202         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20203         relocation.
20204         * Makeconfig (libm): Define.
20205         * elf/Makefile: Add rules to build and run tst-relsort1.
20206         * elf/tst-relsort1.c: New file.
20207         * elf/tst-relsort1mod1.c: New file.
20208         * elf/tst-relsort1mod2.c: New file.
20210 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
20212         * math/s_ldexp.c: Remove __STDC__ conditionals.
20213         * math/s_ldexpf.c: Likewise.
20214         * math/s_ldexpl.c: Likewise.
20215         * math/s_nextafter.c: Likewise.
20216         * math/s_nexttowardf.c: Likewise.
20217         * math/s_significand.c: Likewise.
20218         * math/s_significandf.c: Likewise.
20219         * math/s_significandl.c: Likewise.
20220         * math/w_jnl.c: Likewise.
20221         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20222         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20223         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20224         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20225         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20226         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20227         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20228         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20229         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20230         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20231         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20232         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20233         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20234         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20235         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20236         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20237         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20238         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20239         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20240         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20241         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20242         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20243         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20244         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20245         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20246         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20247         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20248         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20249         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20250         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20251         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20252         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20253         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20254         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20255         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20256         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20257         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20258         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20259         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20260         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20261         * sysdeps/ieee754/k_standard.c: Likewise.
20262         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20263         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20264         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20265         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20266         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20267         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20268         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20269         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20270         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20271         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20272         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20273         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20274         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20275         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20276         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20277         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20278         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20279         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20280         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20281         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20282         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20283         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20284         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20285         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20286         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20287         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20288         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20289         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20290         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20291         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20292         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20293         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20294         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20295         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20296         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20297         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20298         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20299         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20300         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20301         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20302         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20303         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20304         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20305         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20306         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20307         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20308         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20309         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20310         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20311         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20312         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20313         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20314         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20315         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20316         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20317         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20318         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20319         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20320         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20321         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20322         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20323         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20324         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20325         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20326         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20327         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20328         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20329         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20330         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20331         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20332         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20333         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20334         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20335         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20336         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20337         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20338         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20339         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20340         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20341         * sysdeps/ieee754/s_matherr.c: Likewise.
20342         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20343         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20344         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20345         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20347 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20349         * crypt/md5.h: Remove __STDC__ conditionals.
20350         * libio/libioP.h: Likewise.
20351         * locale/programs/config.h: Likewise.
20352         * sysdeps/generic/sysdep.h: Likewise.
20353         * sysdeps/i386/asm-syntax.h: Likewise.
20354         * sysdeps/s390/asm-syntax.h: Likewise.
20355         * sysdeps/unix/sysdep.h: Likewise.
20356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20359 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20361         * libio/libio.h: Remove __STDC__ conditionals.
20362         * malloc/obstack.h: Likewise.
20363         * math/complex.h: Likewise.
20364         * math/math.h: Likewise.
20365         * sysdeps/generic/_G_config.h: Likewise.
20366         * sysdeps/gnu/_G_config.h: Likewise.
20367         * sysdeps/mach/hurd/_G_config.h: Likewise.
20368         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20369         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20370         * sysdeps/sparc/bits/mathdef.h: Likewise.
20372 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
20374         [BZ #13583]
20375         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20376         Clean up HAS_* macros.
20377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20378         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20379         possible.
20380         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20381         HAS_AVX.
20382         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20383         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20384         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20385         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20386         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20388 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
20390         * elf/tst-unique3.cc (gets): Remove declaration.
20391         * elf/tst-unique3lib.cc (gets): Likewise.
20392         * elf/tst-unique3lib2.cc (gets): Likewise.
20393         * elf/tst-unique4.cc (gets): Likewise.
20395 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
20397         * include/stdio.h: Add C++ protection.  Add gets declarations and
20398         definitions.
20399         * debug/tst-chk1.c: Don't declare gets here.
20400         * stdio-common/tst-gets.c: Likewise.
20402 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20404         * posix/glob: Remove directory.
20406 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20408         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20410 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
20412         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20413         of the non-standard EPFNOSUPPORT.
20415 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20417         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20418         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20419         ANYWHERE set to 1 only on KERN_NO_SPACE error.
20421 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
20423         * wcsmbs/uchar.h: Test __STDC_VERSION__.
20425 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
20427         * nscd/aicache.c (addhstaiX): Do not cache negative results of
20428         transient errors.
20429         * nscd/grpcache.c (cache_addgr): Likewise.
20430         * nscd/hstcache.c (cache_addhst): Likewise.
20431         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20432         * nscd/pwdcache.c (cache_addpw): Likewise.
20433         * nscd/servicescache.c (cache_addserv): Likewise.
20435 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
20437         * malloc/malloc.c: Various cleanups.
20438         * malloc/hooks.c: Likewise.
20440         * stdlib/Makefile (tests): Add bug-fmtmsg1.
20441         * stdlib/bug-fmtmsg1.c: New file.
20443         * stdlib/fmtmsg.c (init): Add missing unlock.
20444         Patch by Peng Haitao <penght@cn.fujitsu.com>.
20446 2012-01-12  Marek Polacek  <polacek@redhat.com>
20448         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20449         and _GNU_SOURCE.
20451 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20453         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20454         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20455         macro to ensure uniqueness of label name.
20456         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20457         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20459 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
20461         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20463         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20464         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20465         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20466         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20468 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
20470         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20472         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20473         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20474         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20476         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20478         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20479         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20480         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20481         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20483         * math/bits/math-finite.h: Add ldexp support.
20485 2012-01-10  Marek Polacek  <polacek@redhat.com>
20487         * locale/programs/localedef.h (show_archive_content): Add noreturn
20488         attribute.
20490 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
20492         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20494 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20496         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20498         * io/Makefile (headers): Add bits/poll2.h.
20500 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
20502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20503         typo #include statement.
20505 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20507         * include/sys/cdefs.h: Define __attribute_alloc_size.
20508         * catgets/gencat.c: Add alloc_size attribute and apply consistently
20509         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20510         * elf/pldd.c: Likewise.
20511         * iconv/iconv_charmap.c: Likewise.
20512         * iconv/iconvconfig.c: Likewise.
20513         * iconv/strtab.c: Likewise.
20514         * locale/programs/locale.c: Likewise.
20515         * locale/programs/localedef.h: Likewise.
20516         * locale/programs/simple-hash.c: Likewise.
20517         * nscd/nscd.h: Likewise.
20518         * nss/makedb.c: Likewise.
20519         * sysdeps/generic/ldconfig.h: Likewise.
20520         * locale/programs/localedef.c: Remove xmalloc prototype.
20521         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20523 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20525         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20526         appropriate.
20528 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20530         * math/Makefile (tests): Add tst-CMPLX.
20531         * math/tst-CMPLX.c: New file.
20533         * math/complex.h (CMPLXL): Fix typo.
20535         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20536         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20537         GLIBC_2.16.
20538         * debug/tst-chk1.c: Add poll and ppoll tests.
20539         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20540         * include/sys/poll.h: Add hidden proto for ppoll.
20541         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20542         * sysdeps/mach/hurd/ppoll.c: Likewise.
20543         * io/ppoll.c: Likewise.
20544         * debug/poll_chk.c: New file.
20545         * debug/ppoll_chk.c: New file.
20546         * include/bits/poll2.h: New file.
20547         * io/bits/poll2.h: New file.
20549         [BZ #1350]
20550         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20552         * configure.in: static is always set to yes.  Remove.
20553         * config.make.in: Don't set build-static.
20554         * Makeconfig: Remove use of build-static.
20555         * dlfcn/Makefile: Likewise.
20556         * elf/Makefile: Likewise.
20557         * math/Makefile: Likewise.
20558         * misc/Makefile: Likewise.
20559         * nptl/Makefile: Likewise.
20560         * sysdeps/mach/hurd/Makefile: Likewise.
20562         * configure.in: PWD_P is not used anymore.
20563         * config.make.in: Remove PWD_P entry.
20565         * configure.in: Remove last remnants of RANLIB.
20566         No need to check for signed size_t anymore.
20567         Don't set libc_commonpagesize and libc_relro_required here for Alpha
20568         and IA-64.
20569         Remove __builtin_expect test because we require at least gcc 3.4.
20570         * aclocal.m4: Likewise.
20572         * wcsmbs/mbrtoc16.c: Implement using towc function.
20573         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20574         * wcsmbs/wcsmbsload.c: Likewise.
20575         * iconv/gconv_simple.c: Likewise.
20576         * iconv/gconv_int.h: Likewise.
20577         * iconv/gconv_builtin.h: Likewise.
20578         * iconv/iconv_prog.c: Remove CHAR16 handling.
20580         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20582         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20584         * configure.in: Remove --with-elf and --enable-bounded options.
20585         Dont set base_machine for ia64.  More non-ELF conditions removed.
20586         Remove testing and setting of leading underscore information.
20587         * config.make.in (build-bounded): Set to no.
20588         * config.h.in: Remove NO_UNDERSCORES entry.
20589         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
20590         them.
20591         * csu/start.c: Remove !NO_UNDERSCORE code.
20592         * locale/localeinfo.h: Likewise.
20593         * sysdeps/generic/machine-gmon.h: Likewise.
20594         * sysdeps/generic/sysdep.h: Likewise.
20595         * sysdeps/i386/sysdep.h: Likewise.
20596         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20597         * sysdeps/mach/sysdep.h: Likewise.
20598         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20599         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20600         * sysdeps/sh/sysdep.h: Likewise.
20601         * sysdeps/sparc/sparc32/alloca.S: Likewise.
20602         * sysdeps/unix/i386/sysdep.S: Likewise.
20603         * sysdeps/unix/sparc/start.c: Likewise.
20604         * sysdeps/unix/sparc/sysdep.S: Likewise.
20605         * sysdeps/unix/sparc/sysdep.h: Likewise.
20606         * sysdeps/unix/start.c: Likewise.
20607         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20608         * sysdeps/x86_64/sysdep.h: Likewise.
20610 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
20612         [BZ #13553]
20613         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20614         for non-gcc.
20615         * argp/argp-fmtstream.h: Use const instead __const.
20616         * argp/argp.h: Likewise.
20617         * assert/assert.h: Likewise.
20618         * bits/fenv.h: Likewise.
20619         * bits/sched.h: Likewise.
20620         * bits/sigset.h: Likewise.
20621         * bits/sigthread.h: Likewise.
20622         * catgets/nl_types.h: Likewise.
20623         * conform/data/pthread.h-data: Likewise.
20624         * crypt/crypt-private.h: Likewise.
20625         * crypt/crypt.h: Likewise.
20626         * crypt/crypt_util.c: Likewise.
20627         * ctype/ctype.h: Likewise.
20628         * debug/execinfo.h: Likewise.
20629         * debug/mbsnrtowcs_chk.c: Likewise.
20630         * debug/mbsrtowcs_chk.c: Likewise.
20631         * debug/wcsnrtombs_chk.c: Likewise.
20632         * debug/wcsrtombs_chk.c: Likewise.
20633         * debug/wcstombs_chk.c: Likewise.
20634         * dirent/dirent.h: Likewise.
20635         * dlfcn/dlfcn.h: Likewise.
20636         * elf/neededtest4.c: Likewise.
20637         * grp/grp.h: Likewise.
20638         * gshadow/gshadow.h: Likewise.
20639         * iconv/gconv.h: Likewise.
20640         * iconv/gconv_int.h: Likewise.
20641         * iconv/gconv_simple.c: Likewise.
20642         * iconv/iconv.h: Likewise.
20643         * iconv/loop.c: Likewise.
20644         * iconv/skeleton.c: Likewise.
20645         * include/aio.h: Likewise.
20646         * include/aliases.h: Likewise.
20647         * include/argz.h: Likewise.
20648         * include/arpa/inet.h: Likewise.
20649         * include/assert.h: Likewise.
20650         * include/dirent.h: Likewise.
20651         * include/dlfcn.h: Likewise.
20652         * include/execinfo.h: Likewise.
20653         * include/fcntl.h: Likewise.
20654         * include/fenv.h: Likewise.
20655         * include/glob.h: Likewise.
20656         * include/grp.h: Likewise.
20657         * include/libintl.h: Likewise.
20658         * include/mntent.h: Likewise.
20659         * include/netdb.h: Likewise.
20660         * include/pwd.h: Likewise.
20661         * include/rpc/netdb.h: Likewise.
20662         * include/sched.h: Likewise.
20663         * include/search.h: Likewise.
20664         * include/shadow.h: Likewise.
20665         * include/signal.h: Likewise.
20666         * include/stdio.h: Likewise.
20667         * include/stdlib.h: Likewise.
20668         * include/string.h: Likewise.
20669         * include/sys/socket.h: Likewise.
20670         * include/sys/stat.h: Likewise.
20671         * include/sys/statfs.h: Likewise.
20672         * include/sys/statvfs.h: Likewise.
20673         * include/sys/syslog.h: Likewise.
20674         * include/sys/time.h: Likewise.
20675         * include/sys/uio.h: Likewise.
20676         * include/time.h: Likewise.
20677         * include/unistd.h: Likewise.
20678         * include/utmp.h: Likewise.
20679         * include/wchar.h: Likewise.
20680         * include/wctype.h: Likewise.
20681         * inet/aliases.h: Likewise.
20682         * inet/arpa/inet.h: Likewise.
20683         * inet/netinet/ether.h: Likewise.
20684         * inet/netinet/in.h: Likewise.
20685         * intl/libintl.h: Likewise.
20686         * io/bits/fcntl2.h: Likewise.
20687         * io/fcntl.h: Likewise.
20688         * io/ftw.h: Likewise.
20689         * io/sys/poll.h: Likewise.
20690         * io/sys/stat.h: Likewise.
20691         * io/sys/statfs.h: Likewise.
20692         * io/sys/statvfs.h: Likewise.
20693         * io/utime.h: Likewise.
20694         * libio/bits/stdio.h: Likewise.
20695         * libio/bits/stdio2.h: Likewise.
20696         * libio/libio.h: Likewise.
20697         * libio/libioP.h: Likewise.
20698         * libio/stdio.h: Likewise.
20699         * locale/lc-ctype.c: Likewise.
20700         * locale/locale.h: Likewise.
20701         * login/utmp.h: Likewise.
20702         * malloc/arena.c: Likewise.
20703         * malloc/malloc.c: Likewise.
20704         * malloc/malloc.h: Likewise.
20705         * malloc/mcheck.c: Likewise.
20706         * malloc/mtrace.c: Likewise.
20707         * math/bits/mathcalls.h: Likewise.
20708         * math/fenv.h: Likewise.
20709         * math/math_private.h: Likewise.
20710         * misc/bits/error.h: Likewise.
20711         * misc/bits/syslog.h: Likewise.
20712         * misc/err.h: Likewise.
20713         * misc/error.h: Likewise.
20714         * misc/fstab.h: Likewise.
20715         * misc/mntent.h: Likewise.
20716         * misc/regexp.h: Likewise.
20717         * misc/search.h: Likewise.
20718         * misc/sgtty.h: Likewise.
20719         * misc/sys/mman.h: Likewise.
20720         * misc/sys/syslog.h: Likewise.
20721         * misc/sys/uio.h: Likewise.
20722         * misc/sys/xattr.h: Likewise.
20723         * misc/ttyent.h: Likewise.
20724         * nis/rpcsvc/ypclnt.h: Likewise.
20725         * nss/nss.h: Likewise.
20726         * posix/bits/unistd.h: Likewise.
20727         * posix/fnmatch.h: Likewise.
20728         * posix/glob.h: Likewise.
20729         * posix/sched.h: Likewise.
20730         * posix/spawn.h: Likewise.
20731         * posix/sys/wait.h: Likewise.
20732         * posix/unistd.h: Likewise.
20733         * posix/wordexp.h: Likewise.
20734         * pwd/pwd.h: Likewise.
20735         * resolv/netdb.h: Likewise.
20736         * resource/sys/resource.h: Likewise.
20737         * rt/aio.h: Likewise.
20738         * rt/bits/mqueue2.h: Likewise.
20739         * rt/mqueue.h: Likewise.
20740         * shadow/shadow.h: Likewise.
20741         * signal/signal.h: Likewise.
20742         * socket/send.c: Likewise.
20743         * socket/sendto.c: Likewise.
20744         * socket/sys/socket.h: Likewise.
20745         * stdio-common/printf.h: Likewise.
20746         * stdlib/bits/stdlib.h: Likewise.
20747         * stdlib/fmtmsg.h: Likewise.
20748         * stdlib/monetary.h: Likewise.
20749         * stdlib/stdlib.h: Likewise.
20750         * stdlib/ucontext.h: Likewise.
20751         * streams/stropts.h: Likewise.
20752         * string/argz.h: Likewise.
20753         * string/bits/string2.h: Likewise.
20754         * string/string.h: Likewise.
20755         * string/strings.h: Likewise.
20756         * sunrpc/rpc/auth.h: Likewise.
20757         * sunrpc/rpc/auth_des.h: Likewise.
20758         * sunrpc/rpc/clnt.h: Likewise.
20759         * sunrpc/rpc/netdb.h: Likewise.
20760         * sunrpc/rpc/pmap_clnt.h: Likewise.
20761         * sunrpc/rpc/xdr.h: Likewise.
20762         * sysdeps/generic/inttypes.h: Likewise.
20763         * sysdeps/generic/net/if.h: Likewise.
20764         * sysdeps/generic/sys/swap.h: Likewise.
20765         * sysdeps/gnu/net/if.h: Likewise.
20766         * sysdeps/gnu/utmpx.h: Likewise.
20767         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20768         * sysdeps/i386/i486/bits/string.h: Likewise.
20769         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20770         * sysdeps/s390/bits/string.h: Likewise.
20771         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20772         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20773         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20774         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20775         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20776         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20777         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20778         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20779         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20780         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20781         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20782         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20783         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20784         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20785         * sysdeps/unix/sysv/linux/readv.c: Likewise.
20786         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20787         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20788         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20789         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20790         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20791         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20792         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20793         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20794         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20795         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20796         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20797         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20798         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20799         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20800         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20801         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20802         * sysvipc/sys/ipc.h: Likewise.
20803         * sysvipc/sys/msg.h: Likewise.
20804         * sysvipc/sys/sem.h: Likewise.
20805         * sysvipc/sys/shm.h: Likewise.
20806         * termios/termios.h: Likewise.
20807         * time/sys/time.h: Likewise.
20808         * time/time.h: Likewise.
20809         * wcsmbs/bits/wchar2.h: Likewise.
20810         * wcsmbs/uchar.h: Likewise.
20811         * wcsmbs/wchar.h: Likewise.
20812         * wctype/wctype.h: Likewise.
20814         [BZ #13551]
20815         * Makeconfig: Remove all but ELF support including AIX support.
20816         * Makerules: Likewise.
20817         * config.h.in: Likewise.
20818         * config.make.in: Likewise.
20819         * configure: Likewise.
20820         * configure.in: Likewise.
20821         * csu/Makefile: Likewise.
20822         * csu/version.c: Likewise.
20823         * debug/Makefile: Likewise.
20824         * dlfcn/Makefile: Likewise.
20825         * elf/Makefile: Likewise.
20826         * extra-lib.mk: Likewise.
20827         * iconv/Makefile: Likewise.
20828         * include/libc-symbols.h: Likewise.
20829         * include/shlib-compat.h: Likewise.
20830         * resolv/Makefile: Likewise.
20831         * resolv/res_libc.c: Likewise.
20832         * rt/Makefile: Likewise.
20833         * sysdeps/i386/asm-syntax.h: Likewise.
20834         * sysdeps/i386/sysdep.h: Likewise.
20835         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20836         * sysdeps/mach/sysdep.h: Likewise.
20837         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20838         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20839         * sysdeps/s390/asm-syntax.h: Likewise.
20840         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20841         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20842         * sysdeps/sh/sysdep.h: Likewise.
20843         * sysdeps/unix/sparc/sysdep.h: Likewise.
20844         * sysdeps/wordsize-32/divdi3.c: Likewise.
20845         * sysdeps/x86_64/sysdep.h: Likewise.
20847         * argp/Versions: Remove _argp_unlock_xxx.
20849         [BZ #13559]
20850         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
20851         * abilist/libBrokenLocale.abilist: Likewise.
20852         * abilist/libanl.abilist: Likewise.
20853         * abilist/libc.abilist: Likewise.
20854         * abilist/libcrypt.abilist: Likewise.
20855         * abilist/libdl.abilist: Likewise.
20856         * abilist/libm.abilist: Likewise.
20857         * abilist/libnsl.abilist: Likewise.
20858         * abilist/libpthread.abilist: Likewise.
20859         * abilist/libresolv.abilist: Likewise.
20860         * abilist/librt.abilist: Likewise.
20861         * abilist/libthread_db.abilist: Likewise.
20862         * abilist/libutil.abilist: Likewise.
20863         * abilist/libnss_db.abilist: New file.
20865         * scripts/abilist.awk: Add support for indirect functions.
20867         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20869         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20871         * shlib-versions: Remove entries for ports architectures.
20873         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
20874         files in ports.
20875         * elf/stackguard-macros.h: Remove support for IA-64.
20876         * elf/tst-auditmod1.c: Likewise.
20877         * sysdeps/generic/ldsodefs.h: Likewise.
20879         * sysdeps/unix/sysv/linux/configure.in: Ports should define
20880         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20881         configure files.
20883         [BZ #13552]
20884         * configure.in: Remove --enable-omitfp support.
20885         * FAQ.in: Adjust.
20886         * config.make.in: Likewise.
20887         * Makeconfig: Likewise.
20888         * manual/install.texi: Likewise.
20890         In case anyone cares, the IA-64 architecture could move to ports.
20891         * sysdeps/ia64/*: Removed.
20892         * sysdeps/unix/sysv/linux/ia64/*: Removed.
20893         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20895         [BZ #13555]
20896         * configure.in: Remove entries for unsupported architectures.
20898         [BZ #13533]
20899         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20900         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
20901         routines.
20902         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20903         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20904         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
20905         fall back to using wcrtomb.
20906         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20907         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
20908         renaming.
20909         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20910         * wcsmbs/tst-c16c32-1.c: New file.
20912         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20913         local variable.
20915         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20917         * elf/tst-unique3.cc: Add explicit declaration of gets.
20918         * elf/tst-unique3lib.cc: Likewise.
20919         * elf/tst-unique3lib2.cc: Likewise.
20920         * elf/tst-unique4.cc: Likewise.
20922         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20924 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
20926         [BZ #13566]
20927         * assert/assert.h (static_assert): Don't define for C++.
20928         * libio/stdio.h (gets): Do declare for C++ <= C++11.
20929         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20931 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
20933         * iconv/loop.c (single loop): Fix assertion in storing of
20934         remaining bytes.
20936         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20938 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
20940         * posix/getconf.c: Update copyright year.
20941         * nss/getent.c: Likewise.
20942         * nss/makedb.c: Likewise.
20943         * iconv/iconvconfig.c: Likewise.
20944         * iconv/iconv_prog.c: Likewise.
20945         * elf/ldconfig.c: Likewise.
20946         * elf/pldd.c: Likewise.
20947         * elf/sotruss.ksh: Likewise.
20948         * catgets/gencat.c: Likewise.
20949         * csu/version.c: Likewise.
20950         * elf/ldd.bash.in: Likewise.
20951         * elf/sprof.c (print_version): Likewise.
20952         * locale/programs/locale.c: Likewise.
20953         * locale/programs/localedef.c: Likewise.
20954         * login/programs/pt_chown.c: Likewise.
20955         * nscd/nscd.c (print_version): Likewise.
20956         * debug/xtrace.sh: Likewise.
20957         * malloc/memusage.sh: Likewise.
20958         * malloc/mtrace.pl: Likewise.
20959         * debug/catchsegv.sh: Likewise.
20961 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
20963         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20964         pure attribute.
20966 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
20968         [BZ #13533]
20969         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20970         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20971         transformations.
20972         * iconv/gconv_int.h: Likewise.
20973         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20974         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20975         from libc for GLIBC_2.16.
20976         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20977         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20978         * wcsmbs/uchar.h: Really define mbstate_t.
20979         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20980         * wcsmbs/c16rtomb.c: New file.
20981         * wcsmbs/mbrtoc16.c: New file.
20982         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20983         for C/POSIX locale.
20984         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20985         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20987         * wcsmbs/wchar.h: Add missing __restrict.
20989 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20991         [BZ #13532]
20992         * time/Makefile (routines): Add timespec_get.
20993         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20994         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
20995         timespec for ISO C11.
20996         * time/timespec_get.c: New file.
20997         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20998         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21000         [BZ #13531]
21001         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21002         * stdlib/stdlib.h: Declare aligned_alloc.
21003         * Versions.def: Add GLIBC_2.16 for libc.
21004         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21006         [BZ 13527]
21007         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21008         ISO C11.
21010         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21011         code.
21013         [BZ #13528]
21014         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21016         [BZ #13529]
21017         * assert/assert.h (static_assert): Define.
21019         * version.h: Update for 2.16 development version.
21021         [BZ #13526]
21022         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21023         _ISOC11_SOURCE.
21025         * version.h (RELEASE): Bump for 2.15 release.
21026         * include/features.h (__GLIBC_MINOR__): Bump to 15.
21028         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21029         Patch by Marek Polacek <mpolacek@redhat.com>.
21031         * bits/byteswap.h: Protect long long constants with __extension__.
21032         * sysdeps/i386/bits/byteswap.h: Likewise.
21033         * sysdeps/ia64/bits/byteswap.h: Likewise.
21034         * sysdeps/s390/bits/byteswap.h: Likewise.
21035         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21037 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21039         [BZ #13540]
21040         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21041         destination buffer.
21042         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21044 2011-12-23  Marek Polacek  <polacek@redhat.com>
21046         * elf/dl-addr.c (determine_info): Add inline keyword.
21047         * elf/tst-auditmod4b.c (check_avx): Likewise.
21048         * elf/tst-auditmod6b.c (check_avx): Likewise.
21049         * elf/tst-auditmod6c.c (check_avx): Likewise.
21050         * elf/tst-auditmod7b.c (check_avx): Likewise.
21052 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21054         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21055         !__SSE_MATH__.
21057 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21059         [BZ #13540]
21060         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21061         processing for last bytes.
21063 2011-08-06  Bruno Haible  <bruno@clisp.org>
21065         [BZ #13061]
21066         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21067         U+0385, not to U+1FEE.
21069         [BZ #13062]
21070         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21071         entry for U+00A5 U+0301.
21073 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21075         [BZ #13166]
21076         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21077         buffer for the output is too small.
21079         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21080         optimization.
21082         [BZ #13185]
21083         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21084         SSE flags if possible.
21086 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21088         [BZ #13540]
21089         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21090         processing for last bytes.
21092 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
21094         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21095         (syscall-list-default-options, syscall-list-default-condition)
21096         (syscall-list-includes): Define.
21097         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21098         list of ABIs and options and #if conditions for each ABI.  Do not
21099         handle common syscalls between ABIs specially.
21100         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21101         Remove.
21102         (syscall-list-variants, syscall-list-32bit-options)
21103         (syscall-list-32bit-condition, syscall-list-64bit-options)
21104         (syscall-list-64bit-condition): Define.
21105         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21106         (syscall-list-variants, syscall-list-32bit-options)
21107         (syscall-list-32bit-condition, syscall-list-64bit-options)
21108         (syscall-list-64bit-condition): Define.
21109         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21110         Remove.
21111         (syscall-list-variants, syscall-list-32bit-options)
21112         (syscall-list-32bit-condition, syscall-list-64bit-options)
21113         (syscall-list-64bit-condition): Define.
21114         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21115         Remove.
21116         (syscall-list-variants, syscall-list-32bit-options)
21117         (syscall-list-32bit-condition, syscall-list-64bit-options)
21118         (syscall-list-64bit-condition): Define.
21120 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21122         * locale/iso-639.def: Add brx entry.
21124         [BZ #13328]
21125         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21126         Proposed by Mariusz_Cukr <marcukr@op.pl>.
21128         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21129         __feraiseexcept_renamed.
21131 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21133         [BZ #13538]
21134         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21135         EPOLLET with unsigned values.
21136         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21137         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21139         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21140         to large cancellation.
21141         * math/s_cacoshf.c: Likewise.
21142         * math/s_cacoshl.c: Likewise.
21144 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
21146         [BZ #13305]
21147         [BZ #12786]
21148         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21149         * math/s_cacoshf.c: Likewise.
21150         * math/s_cacoshl.c: Likewise.
21152 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21154         [BZ #13439]
21155         * iconv/gconv.h: Define __GCONV_SWAP.
21156         * iconvdata/unicode.c: The swap bit must be stored in __flags.
21157         * iconvdata/utf-16.c: Likewise.
21158         * iconvdata/utf-32.c: Likewise.
21160 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21162         [BZ #13524]
21163         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21164         numerator after shifting it by one limb.
21166 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
21168         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21169         under [__USE_EXTERN_INLINES].
21171 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21173         [BZ #13446]
21174         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21176 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21178         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21179         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21180         optimized code.
21181         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21182         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21183         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21184         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21185         for strncasecmp/strncasecmp_l compilation.
21186         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21187         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21189 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
21191         [BZ #13484]
21192         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21193         of __asm__.
21195 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21197         [BZ #13506]
21198         * time/tzfile.c (__tzfile_read): Check values from file header.
21200 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21202         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21203         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21204         * powerpc/powerpc32/dl-start.S: Likewise.
21205         * powerpc/powerpc32/elf/start.S: Likewise.
21206         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21207         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21208         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21209         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21210         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21211         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21212         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21213         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21214         * powerpc/powerpc32/fpu/s_round.S: Likewise.
21215         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21216         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21217         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21218         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21219         * powerpc/powerpc32/memset.S: Likewise.
21220         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21221         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21222         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21223         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21224         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21225         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21226         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21227         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21228         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21229         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21230         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21231         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21232         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21234 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21236         * math/libm-test.inc: Added more nearbyint tests.
21237         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21238         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21239         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21240         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21242 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
21244         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21245         FD_CLOEXEC.
21247 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21249         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21250         Add wcscpy-ssse3 wcscpy-c.
21251         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21252         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21253         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21254         * sysdeps/x86_64/wcschr.S: New file.
21255         * sysdeps/x86_64/wcsrchr.S: New file.
21256         * string/test-strcmp.c: Remove checking of wcscmp function for
21257         wrong alignments.
21258         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21259         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21260         wcsrchr-sse2 wcsrchr-c.
21261         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21262         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21263         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21264         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21265         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21266         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21267         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21268         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21269         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21270         * wcsmbc/wcschr.c (WCSCHR): New macro.
21272 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21274         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21275         * wcsmbs/test-wcsrchr.c: New file.
21276         * string/test-strrchr.c: Add wcsrchr support.
21277         (WIDE): New macro.
21278         * wcsmbs/test-wcscpy.c: New file.
21279         * string/test-strcpy.c: Add wcscpy support.
21280         (WIDE): New macro.
21282 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
21284         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21285         the inner loop.
21287 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
21289         [BZ #13472]
21290         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21292 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
21294         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21295         Minor optimizations.
21297         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21298         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21299         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21301 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
21303         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21304         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21305         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21306         for gcc to avoid warnings.
21307         * inet/Makefile (tests): Add tst-checks.
21308         * inet/tst-checks.c: New file.
21310         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21311         warning.
21313         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21314         __wmemcmp_sse2.
21316         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21317         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21319         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21321 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
21323         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21324         problem.
21326         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21328 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
21330         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21331         conditional on GCC version.
21332         (__arch_compare_and_exchange_val_8_acq)
21333         (__arch_compare_and_exchange_val_16_acq)
21334         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21335         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21336         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21338 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
21340         * sysdeps/sh/backtrace.c: New file.
21342 2011-12-02  Andreas Schwab  <schwab@redhat.com>
21344         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
21345         parenthesis.
21347 2011-12-01  Andreas Schwab  <schwab@redhat.com>
21349         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21350         falling back to utime.
21352 2011-11-30  Andreas Schwab  <schwab@redhat.com>
21354         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21355         expectations for float.
21357 2011-11-29  Andreas Schwab  <schwab@redhat.com>
21359         * locale/weight.h (findidx): Add parameter len.
21360         * locale/weightwc.h (findidx): Likewise.
21361         * posix/fnmatch_loop.c (FCT): Adjust caller.
21362         * posix/regcomp.c (build_equiv_class): Likewise.
21363         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21364         * posix/regexec.c (check_node_accept_bytes): Likewise.
21365         * string/strcoll_l.c (STRCOLL): Likewise.
21366         * string/strxfrm_l.c (STRXFRM): Likewise.
21368 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
21370         * Makefile.in: Remove CVSOPT handling.
21371         * configure.in: Remove use of AC_REVISION.
21372         * iconvdata/Makefile (distribute): No need to filter out CVS.
21373         * scripts/list-sources.sh: Remove CVS, subversion and monotone
21374         handling.
21376 2011-11-16  Andreas Schwab  <schwab@redhat.com>
21378         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21379         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21380         [USE_AS_STRNCASECMP_L]: Likewise.
21381         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21382         NO_TLS_DIRECT_SEG_REFS.
21383         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21384         Fix argument offsets for non-PIC.
21385         [USE_AS_STRNCASECMP_L]: Likewise.
21386         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21387         NO_TLS_DIRECT_SEG_REFS.
21389 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21391         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21392         O_CLOEXEC.
21393         * locale/loadlocale.c (_nl_load_locale): Likewise.
21395 2011-11-15  Andreas Schwab  <schwab@redhat.com>
21397         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21398         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21399         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21400         (SYSCALL_GETTIME): Set errno on error.
21402         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21403         count references to noai6ai_cached.
21405 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21407         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21409         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21410         FD_CLOEXEC for /proc/self/maps.
21412         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21413         FD_CLOEXEC for /proc/meminfo.
21415         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21416         gai.conf.
21418         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
21419         FD_CLOEXEC for given file.
21421         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21423         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21424         FD_CLOEXEC for /etc/hosts.
21425         (_gethtent): Likewise.
21427         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21429         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21430         cancellation and set FD_CLOEXEC for /etc/netgroup.
21432         * nss/nss_files/files-key.c (search): Don't allow cancellation when
21433         reading /etc/publickey.
21435         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21436         allow cancellation when reading /etc/group.
21438         * nss/nss_files/files-alias.c (internal_setent): Don't allow
21439         cancellation.
21440         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
21442         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21443         when using data file.
21445         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21447         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21448         (write_nis_obj): Use "c" and "e" in fopen.
21450         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21452         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21454         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21456         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21458         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21459         locale.alias.
21461         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21463         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21465         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21467         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21468         file parsing and set FD_CLOEXEC.
21470 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21472         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21474 2011-11-14  Andreas Schwab  <schwab@redhat.com>
21476         * malloc/arena.c (arena_get2): Don't call reused_arena when
21477         _int_new_arena failed.
21479 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21481         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21482         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21483         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21484         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21485         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21486         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21487         to compile strcasecmp and strncasecmp.
21488         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21489         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21491         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21493 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
21495         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21496         locale-defines.sym to gen-as-const-headers.
21497         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21498         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21499         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21500         to compile strcasecmp and strncasecmp.
21501         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21502         strcasecmp_l and strncasecmp_l.
21503         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21504         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21505         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21506         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21507         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21508         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21509         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21510         * sysdeps/i386/i686/multiarch/strncase.S: New file.
21511         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21512         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21513         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21515 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
21517         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21518         result of SYSDEP_GETTIME_CPU to retval.
21519         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21520         parameter list to macro.  Remove trailing semicolon.  Adjust users.
21522         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21523         variable.
21525         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21526         mantissa words.
21527         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21529         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21530         from unused variable.
21532         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21533         DWARF definitions.
21534         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21535         for assembling.
21537         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21538         over namespaces.
21540         * sunrpc/rpc_prot.c (rejected): Fix case value.
21542         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21543         unsigned long long int to avoid warnings in shift.
21545         * posix/regex_internal.c (re_string_reconstruct): Actually use result
21546         of use of trans.
21547         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21548         variable tmp.
21550         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21551         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21552         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21554         * nis/nis_table.c (nis_list): Use variable of correct type for
21555         result of __follow_path call.
21557 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21559         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21560         of math functions ceil, trunc, floor, round, and sqrt, when
21561         avaliable on the platform.
21562         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21563         name clash.
21564         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21565         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21566         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21568 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
21570         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21571         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21573 2011-11-11  Roland McGrath  <roland@hack.frob.com>
21575         * include/unistd.h: Fix __readlink return type.
21576         Reported by Chris Metcalf <cmetcalf@tilera.com>.
21578 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
21580         * stdlib/ucontext.h: Undo last change for makecontext.
21582 2011-11-11  Andreas Schwab  <schwab@redhat.com>
21584         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21586         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21587         * setjmp/setjmp.h: Mark functions as non-leaf.
21588         * setjmp/bits/setjmp2.h: Likewise.
21589         * stdlib/ucontext.h: Likewise.
21591 2011-11-10  Andreas Schwab  <schwab@redhat.com>
21593         * malloc/arena.c (_int_new_arena): Don't increment narenas.
21594         (reused_arena): Don't check arena limit.
21595         (arena_get2): Atomically check arena limit.
21597 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
21599         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21600         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21602         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21603         instructions.
21605 2011-11-07  Andreas Schwab  <schwab@redhat.com>
21607         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21608         handler when locking.
21610         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21611         Fix size of allocated buffer.
21613 2011-11-04  Andreas Schwab  <schwab@redhat.com>
21615         [BZ #10103]
21616         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21617         declarations for long double functions.
21618         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21620         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21622 2011-11-03  Andreas Schwab  <schwab@redhat.com>
21624         * nscd/nscd.c (main): Don't start AVC thread until credentials are
21625         installed.
21627         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21628         is disabled.
21630 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21632         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21634 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21636         * include/alloca.h (stackinfo_alloca_round): Define.
21637         (extend_alloca): Use it.
21638         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21639         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21640         here.
21642         * scripts/check-local-headers.sh: Ignore libaudit.h.
21644         * nscd/Makefile (extra-objs): Make recursively expanded.
21646 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
21648         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21649         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21651         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21652         * posix/tst-rfc3484-2.c: Likewise.
21653         * posix/tst-rfc3484-3.c: Likewise.
21655         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21656         process_vm_writev.
21657         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21658         process_vm_writev.
21659         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21660         process_vm_writev from libc using GLIBC_2.15 version.
21662         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21664 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
21666         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21667         stack usage.
21669 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
21671         [BZ #13367]
21672         * nss/getent.c (initgroups_keys): Show error message in case no group
21673         names are given.
21675         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21676         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21677         __bump_nl_timestamp.
21678         * nscd/connections (nscd_init): When host database is served open
21679         netlink socket and request notification about configuration changes.
21680         (main_loop_poll): Track netlink file descriptor and bump timestamp
21681         in case data becomes available.
21682         (main_loop_epoll): Likewise.
21683         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21684         (database_pers_head): Add extra_data fileds.
21685         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21686         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21687         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21688         Adjust caller.
21689         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21690         in6ai data, call __free_in6ai.
21691         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21692         Add -DHAVE_NETLINK.
21693         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
21694         interface information.  Reuse previous data if netlink timestamp
21695         is not changed.
21696         (__bump_nl_timestamp): New function.
21697         (__free_in6ai): New function.
21699 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
21701         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21702         close_not_cancel_no_status here.
21703         (__check_pf): Reorganize code a bit to not call close twice if OOM.
21705 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21707         [BZ #13276]
21708         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21709         return value.
21711         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21712         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21713         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21715 2011-07-03  Andreas Jaeger  <aj@suse.de>
21717         [BZ #10709]
21718         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21719         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21720         * math/libm-test.inc (sin_test): Add test case.
21722 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21724         [BZ #13337]
21725         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21726         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21728         * elf/chroot_canon.c (chroot_canon): Cleanups.
21730         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21732         [BZ #13335]
21733         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21734         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21736         * string/test-strchr.c: Make usable for strchrnul testing.
21737         * string/test-strchrnul.c: New file.
21738         * string/Makefile (strop-tests): Add strchrnul.
21740         * po/it.po: Update from translation team.
21741         * po/es.po: Likewise.
21743 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
21745         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21746         the three constants needed as parameters.  Drop the others.
21747         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21748         __m128i_strloadu_tolower.
21749         Create and initialize variable zero and use it in all the places
21750         where _mm_setzero_si128 was used.
21752         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21753         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21754         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21755         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21756         anymore.
21757         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21758         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21759         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21760         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21761         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21762         __mpranred, __mptan.
21763         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21764         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21765         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21766         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21767         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21768         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21769         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21770         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21771         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21773 2011-10-28  Andreas Schwab  <schwab@redhat.com>
21775         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21776         redefine if SHARED.
21777         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21779         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21780         wide char related routines to wcsmbs subdir.
21782 2011-10-27  Andreas Schwab  <schwab@redhat.com>
21784         [BZ #13344]
21785         * misc/sys/cdefs.h (__THROWNL): Define.
21786         * posix/unistd.h: Use __THREADNL instead of __THREAD
21787         for memory synchronization functions.
21789 2011-10-26  Roland McGrath  <roland@hack.frob.com>
21791         [BZ #13349]
21792         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21793         doesn't exist.
21794         * manual/stdio.texi (Obstack Streams): Node removed.
21796 2011-10-26  Andreas Schwab  <schwab@redhat.com>
21798         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21799         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21800         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21802         * math/math_private.h (math_force_eval): Allow non-addressable
21803         arguments.
21804         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21806 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21808         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21809         file is not needed.
21811         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21812         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21813         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21814         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21815         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21816         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21817         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21818         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21819         Add AVX variants.
21820         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21821         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21822         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21823         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21824         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21825         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21826         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21827         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21828         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21829         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21830         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21831         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21832         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21833         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21834         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21835         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21836         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21837         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21838         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21840         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21841         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
21843         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21844         place.  Use VEX encoding when compiling for AVX.
21846 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21848         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21849         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21851         * string/test-strchr.c (do_test): Don't generate NUL bytes.
21853 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21855         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21856         useless if() expression.
21857         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21858         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21859         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21860         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21861         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21862         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21863         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21864         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21865         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21866         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21867         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21868         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21869         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21870         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21871         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21872         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21873         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21874         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21875         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21877         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21879 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21881         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21882         condition.
21883         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21885 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21887         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21888         .text section.  Avoid duplicate constants.
21889         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21890         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21891         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21892         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21893         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21894         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21895         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21896         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21897         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21898         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21899         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21900         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21901         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21902         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21903         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21904         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21905         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21906         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21907         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21908         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21909         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21910         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21911         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21912         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21913         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21914         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21915         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21916         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21917         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21918         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21919         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21920         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21921         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21922         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21923         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21924         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21925         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21926         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21927         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21928         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21929         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21930         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21931         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21932         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21933         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21935 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
21937         * sysdeps/x86_64/dla.h: Move to ...
21938         * sysdeps/x86_64/fpu/dla.h: ...here.
21939         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21940         situations.  Use __builtin_fma only for gcc 4.6 and up.
21942         * config.make.in: Add have-mfma4 entry.
21943         * configure.in: Substitute libc_cv_cc_fma4.
21944         * math/Makefile (dbl-only-routines): Add sincostab.
21945         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21946         Use __sincostab not sincos.
21947         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21948         name is a macro.
21949         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21950         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21951         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21952         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
21953         using __copysign.
21954         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
21955         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
21956         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21957         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21958         and __inv.
21959         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21960         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21961         __copysign.
21962         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
21963         define aliases when function name is a macro.
21964         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21965         sysdeps/ieee754/dbl-64/sincos.tbl.
21966         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21967         fma4-enabled routines.
21968         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21969         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21970         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21971         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21972         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21973         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21974         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21975         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21976         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21977         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21978         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21979         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21980         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21981         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21982         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21983         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21984         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21985         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21986         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21987         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21988         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21989         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21990         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21991         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21992         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21993         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21994         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21995         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21996         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21997         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21999         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22000         rename.
22001         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22002         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22003         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22004         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22005         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22006         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22007         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22008         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22010 2011-10-24  Andreas Schwab  <schwab@redhat.com>
22012         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22014 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22016         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22018         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22019         prediction.
22020         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22022         * string/strnlen.c: Don't define STRNLEN, reverse logic.
22023         Remove unused variable magic_bits.
22024         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22026         * string/strnlen.c: Define and use STRNLEN macro.
22027         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22028         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22029         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22030         * wcsmbs/wcslen.c: Define and use WCSLEN.
22031         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22032         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22033         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22034         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22035         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22036         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22037         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22039 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22041         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22042         strnlen-sse2-no-bsf.
22043         Rename strlen-no-bsf to strlen-sse2-no-bsf.
22044         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22045         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22046         Add strnlen support.
22047         (USE_AS_STRNLEN): New macro.
22048         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22049         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22050         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22051         * sysdeps/x86_64/wcslen.S: New file.
22053 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
22055         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22056         XMM-moves are used for copying on small sizes.
22058 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22060         * wcsmbs/Makefile (strop-tests): Add wcschr.
22061         * wcsmbs/test-wcschr.c: New file.
22062         * string/test-strchr.c: Update.
22063         Add wcschr support.
22064         (WIDE): New macro.
22066 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22068         * wcsmbs/Makefile (strop-tests): Add wcslen.
22069         * wcsmbs/test-wcslen.c: New file.
22070         * string/test-strlen.c: Update.
22071         Add wcslen support.
22072         (WIDE): New macro.
22074 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22076         * po/it.po: Update from translation team.
22078 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22080         * sysdeps/x86_64/wcscmp.S: Update.
22081         Fix wrong comparison semantics.
22082         wcscmp shall use signed comparison not unsigned.
22083         Don't use substraction to avoid overflow bug.
22084         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22085         * wcsmbc/wcscmp.c: Likewise.
22086         * string/test-strcmp.c: Likewise.
22087         Add new tests to check cases with negative values.
22089 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22091         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22092         * sysdeps/x86_64/dla.h: ...here.  New file.
22093         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22094         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22095         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22097         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22098         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22099         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22100         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22101         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22103 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
22105         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22106         __ynl_finite aliases.
22108 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22110         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22112         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22113         define DLA_FMA.
22114         [DLA_FMA] (EMULV): Use DLA_FMA.
22115         [DLA_FMA] (MUL12): Use EMULV.
22116         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22117         that are not needed.
22118         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22119         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22120         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22121         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22122         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22123         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22124         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22126 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
22128         * math/s_nan.c: Undef __nan.
22129         * math/s_nanf.c: Undef __nanf.
22130         * math/s_nanl.c: Undef __nanl.
22131         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22132         "math_private.h".
22134 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22136         * math/s_catan.c: Add branch predictions.
22137         * math/s_catanf.c: Likewise.
22138         * math/s_catanh.c: Likewise.
22139         * math/s_catanhf.c: Likewise.
22140         * math/s_catanhl.c: Likewise.
22141         * math/s_catanl.c: Likewise.
22142         * math/s_cexp.c: Likewise.
22143         * math/s_cexpf.c: Likewise.
22144         * math/s_cexpl.c: Likewise.
22145         * math/s_clog.c: Likewise.
22146         * math/s_clog10.c: Likewise.
22147         * math/s_clog10f.c: Likewise.
22148         * math/s_clog10l.c: Likewise.
22149         * math/s_clogf.c: Likewise.
22150         * math/s_clogl.c: Likewise.
22151         * math/s_csqrt.c: Likewise.
22152         * math/s_csqrtf.c: Likewise.
22153         * math/s_csqrtl.c: Likewise.
22154         * math/s_ctanf.c: Likewise.
22155         * math/s_ctanh.c: Likewise.
22156         * math/s_ctanhf.c: Likewise.
22157         * math/s_ctanhl.c: Likewise.
22158         * math/s_ctanl.c: Likewise.
22160         * math/math_private.h: Define __nan, __nanf, __nanl.
22161         * math/s_cacosh.c: Include <math_private.h>.
22162         * math/s_cacoshl.c: Likewise.
22163         * math/s_casinh.c: Likewise.
22164         * math/s_casinhf.c: Likewise.
22165         * math/s_casinhl.c: Likewise.
22166         * math/s_ccos.c: Rely entire on ccosh.
22167         * math/s_ccosf.c: Rely entire on ccoshf.
22168         * math/s_ccosl.c: Rely entirely on ccoshl.
22169         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
22170         Remove tests for FE_INVALID.
22171         * math/s_ccoshf.c: Likewise.
22172         * math/s_ccoshl.c: Likewise.
22173         * math/s_csin.c: Likewise.
22174         * math/s_csinf.c: Likewise.
22175         * math/s_csinh.c Likewise.
22176         * math/s_csinhf.c: Likewise.
22177         * math/s_csinhl.c: Likewise.
22178         * math/s_csinl.c: Likewise.
22179         * math/s_ctan.c: Likewise.
22180         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22181         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22182         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22184 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
22186         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22187         compilation problems.
22189         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22190         __builtin_expect.
22192 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
22194         * sysdeps/i386/configure.in: Test for -mfma4 option.
22195         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22196         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22197         COMMON_CPUID_INDEX_80000001.
22198         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22199         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22200         use it if FMA3 is not supported.
22201         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22203         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22204         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22206 2011-10-20  Andreas Schwab  <schwab@redhat.com>
22208         [BZ #12892]
22209         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22210         it would create a cycle with a link time dependency.
22212 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
22214         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22215         instruction.
22216         * string/Makefile (strop-tests): Add rawmemchr.
22217         * string/test-rawmemchr.c: New file.
22219         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22220         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
22221         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
22222         when compiling str{,n}casecmp and when AVX is available.  Hook up
22223         new optimized code in initializers.
22225 2011-10-19  Andreas Schwab  <schwab@redhat.com>
22227         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22228         __feraiseexcept instead of feraiseexcept.
22230 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
22232         * math/math_private.h: Define defaults for libc_fetestexcept and
22233         libc_feupdateenv.
22234         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22235         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22236         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22237         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22238         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22239         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22240         libc_fetestexcept and libc_feupdateenv.
22242         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22243         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22244         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22245         * sysdeps/x86_64/fpu/math_private.h: Define special version of
22246         libc_feholdexcept_setround.
22248         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22249         Add s_nearbyint-c and s_nearbyintf-c.
22250         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22251         nearbyintf inlines.
22252         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22253         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22254         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22255         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22257         * math/math_private.h: Define defaults for libc_fegetround,
22258         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22259         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22260         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22261         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22262         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22263         standard functions.
22264         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22265         Remove comments and hacks for old compiler versions.
22266         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22267         libc_fegetround, libc_fesetround, libc_feholdexcept, and
22268         libc_feholdexceptl.
22270 2011-10-18  Andreas Schwab  <schwab@redhat.com>
22272         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22273         (__feraiseexcept_renamed): Add __NTH.
22274         (feraiseexcept): Add __NTH.  Rename local variables to fix
22275         namespace violations.
22277 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
22279         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22281         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22283         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22284         recently added interfaces.
22285         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22287         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22288         about macro parameter expansion.
22290         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22291         __NO_MATH_INLINES is defined.  Cleanups.
22293         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22294         and __floorf is target has SSE4.1.
22295         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22296         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22297         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22298         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22300         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22301         name.
22302         (floorf): Likewise.
22304         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22306 2011-10-17  Andreas Schwab  <schwab@redhat.com>
22308         * misc/sys/cdefs.h: Fix last change.
22310         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22311         database lookup.
22313 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
22315         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22317         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22318         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22319         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22320         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22321         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22322         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22323         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22324         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22325         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22326         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22327         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22328         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22329         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22330         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22331         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22332         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22333         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22334         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22335         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22336         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22337         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22338         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22340         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22341         ceil, ceilf, floor, floorf.
22343         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22344         Perform IRELATIVE relocations last.
22346         * elf/do-rel.h: Add another parameter nrelative, replacing the
22347         local variable with the same name.  Change name of the function
22348         to end in Rel or Rela (uppercase).
22349         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22350         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
22351         elf_dynamic_do_##reloc function.
22353 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22355         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22356         is sufficient, at least on modern CPUs.
22358         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22360         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22361         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22363         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22364         __expl_finite.
22365         * math/bits/math-finite.h: Add entries for exp.
22366         * math/e_expl.c: Add __*_finite alias.
22367         * sysdeps/i386/fpu/e_exp.S: Likewise.
22368         * sysdeps/i386/fpu/e_expf.S: Likewise.
22369         * sysdeps/i386/fpu/e_expl.c: Likewise.
22370         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22371         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22372         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22373         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22374         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22375         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22376         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22378         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22379         is sufficient, at least on modern CPUs.
22381         * ctype/ctype-info.c (__ctype_init): Define.
22382         * include/ctype.h (__ctype_init): Declare.
22383         (__ctype_b_loc): The variable is always initialized.
22384         (__ctype_toupper_loc): Likewise.
22385         (__ctype_tolower_loc): Likewise.
22386         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22387         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22389 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
22391         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22393         * configure.in: Also look in $cxxmachine/include for C++ system
22394         headers.
22396 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22398         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22399         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22400         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22401         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
22402         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22403         (USE_AS_WMEMCMP): New macro.
22404         Fixing indents.
22405         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22406         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22407         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22408         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22409         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22410         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22411         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22412         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22413         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22414         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22415         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22416         (USE_AS_WMEMCMP): New macro.
22417         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22418         * sysdeps/string/test-memcmp.c: Update.
22419         Fix simple_wmemcmp.
22420         Add new tests.
22421         * wcsmbs/wmemcmp.c: Update.
22422         (WMEMCMP): New macro.
22423         Fix overflow bug.
22425 2011-10-12  Andreas Jaeger  <aj@suse.de>
22427         [BZ #13268]
22428         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22430 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22432         * libio/iofwide.c (do_length): Avoid warning.
22434         * ctype/ctype.h (__isctype_f): Add missing __THROW.
22436 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
22438         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22440         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22441         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22442         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22443         * sysdeps/i386/i686/fpu/e_log.S: New file.
22444         * sysdeps/i386/i686/fpu/e_logf.S: New file.
22445         * sysdeps/i386/i686/fpu/e_logl.S: New file.
22447         * ctype/ctype.h: Add support for inlined isXXX functions when
22448         compiling C++ code.
22450 2011-10-14  Andreas Schwab  <schwab@redhat.com>
22452         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22454         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22456 2011-10-13  Roland McGrath  <roland@hack.frob.com>
22458         [BZ #13291]
22459         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22461 2011-10-13  Andreas Schwab  <schwab@redhat.com>
22463         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22464         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22465         feraiseexcept.
22467         * sysdeps/x86_64/memrchr.S: Check for zero size.
22469         * string/stratcliff.c: Add memrchr tests.
22471 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22473         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22474         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22475         rawmemchr-sse2 rawmemchr-sse2-bsf.
22476         * sysdeps/i386/i686/multiarch/memchr.S: New file.
22477         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22478         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22479         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22480         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22481         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22482         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22483         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22484         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22485         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22486         * string/memrchr.c (MEMRCHR): New macro.
22488 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
22490         Add integration with gcc's -ffinite-math-only and optimize wrapper
22491         functions in libm.
22492         * Versions.def: Define GLIBC_2.15 version for libm.
22493         * math/Makefile (headers): Add bits/math-finite.h.
22494         * math/bits/math-finite.h: New file.
22495         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22496         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22497         * math/e_acoshl.c: Add __*_finite alias.
22498         * math/e_acosl.c: Likewise.
22499         * math/e_asinl.c: Likewise.
22500         * math/e_atan2l.c: Likewise.
22501         * math/e_atanhl.c: Likewise.
22502         * math/e_coshl.c: Likewise.
22503         * math/e_exp10.c: Likewise.
22504         * math/e_exp10f.c: Likewise.
22505         * math/e_exp10l.c: Likewise.
22506         * math/e_exp2l.c: Likewise.
22507         * math/e_fmodl.c: Likewise.
22508         * math/e_gammal_r.c: Likewise.
22509         * math/e_hypotl.c: Likewise.
22510         * math/e_j0l.c: Likewise.
22511         * math/e_j1l.c: Likewise.
22512         * math/e_jnl.c: Likewise.
22513         * math/e_lgammal_r.c: Likewise.
22514         * math/e_log10l.c: Likewise.
22515         * math/e_log2l.c: Likewise.
22516         * math/e_logl.c: Likewise.
22517         * math/e_powl.c: Likewise.
22518         * math/e_sinhl.c: Likewise.
22519         * math/e_sqrtl.c: Likewise.
22520         * math/e_scalb.c: Completely rewritten and optimized.
22521         * math/e_scalbf.c: Likewise.
22522         * math/e_scalbl.c: Likewise.
22523         * math/w_acos.c: Likewise.
22524         * math/w_acosf.c: Likewise.
22525         * math/w_acosl.c: Likewise.
22526         * math/w_acosh.c: Likewise.
22527         * math/w_acoshf.c: Likewise.
22528         * math/w_acoshl.c: Likewise.
22529         * math/w_asin.c: Likewise.
22530         * math/w_asinf.c: Likewise.
22531         * math/w_asinl.c: Likewise.
22532         * math/w_atan2.c: Likewise.
22533         * math/w_atan2f.c: Likewise.
22534         * math/w_atan2l.c: Likewise.
22535         * math/w_atanh.c: Likewise.
22536         * math/w_atanhf.c: Likewise.
22537         * math/w_atanhl.c: Likewise.
22538         * math/w_exp10.c: Likewise.
22539         * math/w_exp10f.c: Likewise.
22540         * math/w_exp10l.c: Likewise.
22541         * math/w_fmod.c: Likewise.
22542         * math/w_fmodf.c: Likewise.
22543         * math/w_fmodl.c: Likewise.
22544         * math/w_j0.c: Likewise.
22545         * math/w_j0f.c: Likewise.
22546         * math/w_j0l.c: Likewise.
22547         * math/w_j1.c: Likewise.
22548         * math/w_j1f.c: Likewise.
22549         * math/w_j1l.c: Likewise.
22550         * math/w_jn.c: Likewise.
22551         * math/w_jnf.c: Likewise.
22552         * math/w_log.c: Likewise.
22553         * math/w_logf.c: Likewise.
22554         * math/w_logl.c: Likewise.
22555         * math/w_log10.c: Likewise.
22556         * math/w_log10f.c: Likewise.
22557         * math/w_log10l.c: Likewise.
22558         * math/w_log2.c: Likewise.
22559         * math/w_log2f.c: Likewise.
22560         * math/w_log2l.c: Likewise.
22561         * math/w_pow.c: Likewise.
22562         * math/w_powf.c: Likewise.
22563         * math/w_powl.c: Likewise.
22564         * math/w_remainder.c: Likewise.
22565         * math/w_remainderf.c: Likewise.
22566         * math/w_remainderl.c: Likewise.
22567         * math/w_scalb.c: Likewise.
22568         * math/w_scalbf.c: Likewise.
22569         * math/w_scalbl.c: Likewise.
22570         * math/w_sqrt.c: Likewise.
22571         * math/w_sqrtf.c: Likewise.
22572         * math/w_sqrtl.c: Likewise.
22573         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22574         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
22575         used.
22576         * math/math_private.h: Declare __kernel_standard_f.
22577         * math/w_cosh.c: Remove cruft and optimize a bit.
22578         * math/w_coshf.c: Likewise.
22579         * math/w_coshl.c: Likewise.
22580         * math/w_exp2.c: Likewise.
22581         * math/w_exp2f.c: Likewise.
22582         * math/w_exp2l.c: Likewise.
22583         * math/w_hypot.c: Likewise.
22584         * math/w_hypotf.c: Likewise.
22585         * math/w_hypotl.c: Likewise.
22586         * math/w_lgamma.c: Likewise.
22587         * math/w_lgamma_r.c: Likewise.
22588         * math/w_lgammaf.c: Likewise.
22589         * math/w_lgammaf_r.c: Likewise.
22590         * math/w_lgammal.c: Likewise.
22591         * math/w_lgammal_r.c: Likewise.
22592         * math/w_sinh.c: Likewise.
22593         * math/w_sinhf.c: Likewise.
22594         * math/w_sinhl.c: Likewise.
22595         * math/w_tgamma.c: Likewise.
22596         * math/w_tgammaf.c: Likewise.
22597         * math/w_tgammal.c: Likewise.
22598         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22599         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22600         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22601         Minor optimizations.  Pretty printing.  Remove cruft.
22602         * sysdeps/i386/fpu/e_acosf.S: Likewise.
22603         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22604         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22605         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22606         * sysdeps/i386/fpu/e_acosl.c: Likewise.
22607         * sysdeps/i386/fpu/e_asin.S: Likewise.
22608         * sysdeps/i386/fpu/e_asinf.S: Likewise.
22609         * sysdeps/i386/fpu/e_atan2.S: Likewise.
22610         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22611         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22612         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22613         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22614         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22615         * sysdeps/i386/fpu/e_exp10.S: Likewise.
22616         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22617         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22618         * sysdeps/i386/fpu/e_exp2.S: Likewise.
22619         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22620         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22621         * sysdeps/i386/fpu/e_fmod.S: Likewise.
22622         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22623         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22624         * sysdeps/i386/fpu/e_hypot.S: Likewise.
22625         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22626         * sysdeps/i386/fpu/e_log.S: Likewise.
22627         * sysdeps/i386/fpu/e_log10.S: Likewise.
22628         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22629         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22630         * sysdeps/i386/fpu/e_log2.S: Likewise.
22631         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22632         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22633         * sysdeps/i386/fpu/e_logf.S: Likewise.
22634         * sysdeps/i386/fpu/e_logl.S: Likewise.
22635         * sysdeps/i386/fpu/e_pow.S: Likewise.
22636         * sysdeps/i386/fpu/e_powf.S: Likewise.
22637         * sysdeps/i386/fpu/e_powl.S: Likewise.
22638         * sysdeps/i386/fpu/e_remainder.S: Likewise.
22639         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22640         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22641         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22642         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22643         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22644         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22645         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22646         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22647         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22648         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22649         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22650         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22651         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22652         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22653         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22654         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22655         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22656         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22657         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22658         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22659         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22660         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22661         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22662         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22663         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22664         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22665         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22666         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22667         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22668         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22669         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22670         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22671         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22672         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22673         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22674         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22675         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22676         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22677         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22678         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22679         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22680         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22681         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22682         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22683         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22684         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22685         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22686         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22687         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22688         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22689         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22690         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22691         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22692         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22693         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22694         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22695         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22696         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22697         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22698         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22699         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22700         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22701         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22702         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22703         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22704         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22705         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22706         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22707         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22708         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22709         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22710         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22711         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22712         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22713         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22714         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22715         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22716         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22717         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22718         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22719         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22720         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22721         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22722         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22723         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22724         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22725         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22726         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22727         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22728         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22729         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22730         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22731         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22732         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22733         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22734         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22735         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22736         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22737         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22738         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22739         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22740         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22741         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22742         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22743         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22744         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22745         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22746         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22747         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22748         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22749         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22750         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22751         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22752         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22753         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22754         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22755         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22756         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22757         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
22758         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22759         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22760         (__isnanf): Likewise.
22761         (__isinf_ns): Likewise.
22762         (__isinf_nsf): Likewise.
22763         (__finite): Likewise.
22764         (__finitef): Likewise.
22765         (__ieee754_sqrt): Define as macro.
22766         (__ieee754_sqrtf): Define as macro.
22767         (__ieee754_sqrtl): Define as macro.
22768         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22769         inlined copy.
22770         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22771         __FINITE_MATH_ONLY__ consistent.
22772         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22774 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
22776         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22777         of rawmemchr.
22779         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22781 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
22783         * po/ja.po: Update from translation team.
22785 2011-10-08  Roland McGrath  <roland@hack.frob.com>
22787         * locale/programs/locarchive.c (prepare_address_space): New function.
22788         (create_archive, enlarge_archive, open_archive): Use it.
22790         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22791         inside [SHARED], where it is used.
22793         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22795         * nss/getent.c (netgroup_keys): Remove unused variable.
22796         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22798 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
22800         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22801         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22802         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22803         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22804         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22805         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22806         * math/Makefile (libm-calls): Add s_isinf_ns.
22807         * math/divtc3.c: Use __isinf_nsl instead of isinf.
22808         * math/multc3.c: Likewise.
22809         * math/s_casin.c: Likewise.
22810         * math/s_casinf.c: Likewise.
22811         * math/s_casinl.c: Likewise.
22812         * math/s_ccos.c: Likewise.
22813         * math/s_ccosf.c: Likewise.
22814         * math/s_ccosl.c: Likewise.
22815         * math/s_ctan.c: Likewise.
22816         * math/s_ctanf.c: Likewise.
22817         * math/s_ctanh.c: Likewise.
22818         * math/s_ctanhf.c: Likewise.
22819         * math/s_ctanhl.c: Likewise.
22820         * math/s_ctanl.c: Likewise.
22821         * math/w_fmod.c: Likewise.
22822         * math/w_fmodf.c: Likewise.
22823         * math/w_fmodl.c: Likewise.
22824         * math/w_remainder.c: Likewise.
22825         * math/w_remainderf.c: Likewise.
22826         * math/w_remainderl.c: Likewise.
22827         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22828         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22829         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22830         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22831         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22832         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22833         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22834         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22836         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22837         of the number.
22838         * stdio-common/printf_fphex.c: Likewise.
22839         * stdio-common/printf_size.c: Likewise.
22841         * math/e_exp10.c: Include math_private.h using <...> not "...".
22842         * math/e_exp10f.c: Likewise.
22843         * math/e_exp10l.c: Likewise.
22844         * math/e_exp2l.c: Likewise.
22845         * math/e_j0l.c: Likewise.
22846         * math/e_j1l.c: Likewise.
22847         * math/e_jnl.c: Likewise.
22848         * math/e_lgammal_r.c: Likewise.
22849         * math/e_rem_pio2l.c: Likewise.
22850         * math/e_scalb.c: Likewise.
22851         * math/e_scalbf.c: Likewise.
22852         * math/e_scalbl.c: Likewise.
22853         * math/k_cosl.c: Likewise.
22854         * math/k_sinl.c: Likewise.
22855         * math/k_tanl.c: Likewise.
22856         * math/s_cacoshf.c: Likewise.
22857         * math/s_catan.c: Likewise.
22858         * math/s_catanf.c: Likewise.
22859         * math/s_catanh.c: Likewise.
22860         * math/s_catanhf.c: Likewise.
22861         * math/s_catanhl.c: Likewise.
22862         * math/s_catanl.c: Likewise.
22863         * math/s_ccosh.c: Likewise.
22864         * math/s_ccoshf.c: Likewise.
22865         * math/s_ccoshl.c: Likewise.
22866         * math/s_cexp.c: Likewise.
22867         * math/s_cexpf.c: Likewise.
22868         * math/s_cexpl.c: Likewise.
22869         * math/s_clog.c: Likewise.
22870         * math/s_clog10.c: Likewise.
22871         * math/s_clog10f.c: Likewise.
22872         * math/s_clog10l.c: Likewise.
22873         * math/s_clogf.c: Likewise.
22874         * math/s_clogl.c: Likewise.
22875         * math/s_csin.c: Likewise.
22876         * math/s_csinf.c: Likewise.
22877         * math/s_csinh.c: Likewise.
22878         * math/s_csinhf.c: Likewise.
22879         * math/s_csinhl.c: Likewise.
22880         * math/s_csinl.c: Likewise.
22881         * math/s_csqrt.c: Likewise.
22882         * math/s_csqrtf.c: Likewise.
22883         * math/s_csqrtl.c: Likewise.
22884         * math/s_ctan.c: Likewise.
22885         * math/s_ctanf.c: Likewise.
22886         * math/s_ctanh.c: Likewise.
22887         * math/s_ctanhf.c: Likewise.
22888         * math/s_ctanhl.c: Likewise.
22889         * math/s_ctanl.c: Likewise.
22890         * math/s_ldexp.c: Likewise.
22891         * math/s_ldexpf.c: Likewise.
22892         * math/s_ldexpl.c: Likewise.
22893         * math/s_significand.c: Likewise.
22894         * math/s_significandf.c: Likewise.
22895         * math/s_significandl.c: Likewise.
22896         * math/w_acos.c: Likewise.
22897         * math/w_acosf.c: Likewise.
22898         * math/w_acosh.c: Likewise.
22899         * math/w_acoshf.c: Likewise.
22900         * math/w_acoshl.c: Likewise.
22901         * math/w_acosl.c: Likewise.
22902         * math/w_asin.c: Likewise.
22903         * math/w_asinf.c: Likewise.
22904         * math/w_asinl.c: Likewise.
22905         * math/w_atan2.c: Likewise.
22906         * math/w_atan2f.c: Likewise.
22907         * math/w_atan2l.c: Likewise.
22908         * math/w_atanh.c: Likewise.
22909         * math/w_atanhf.c: Likewise.
22910         * math/w_atanhl.c: Likewise.
22911         * math/w_cosh.c: Likewise.
22912         * math/w_coshf.c: Likewise.
22913         * math/w_coshl.c: Likewise.
22914         * math/w_dremf.c: Likewise.
22915         * math/w_exp10.c: Likewise.
22916         * math/w_exp10f.c: Likewise.
22917         * math/w_exp10l.c: Likewise.
22918         * math/w_exp2.c: Likewise.
22919         * math/w_exp2f.c: Likewise.
22920         * math/w_fmod.c: Likewise.
22921         * math/w_fmodf.c: Likewise.
22922         * math/w_fmodl.c: Likewise.
22923         * math/w_hypot.c: Likewise.
22924         * math/w_hypotf.c: Likewise.
22925         * math/w_hypotl.c: Likewise.
22926         * math/w_j0.c: Likewise.
22927         * math/w_j0f.c: Likewise.
22928         * math/w_j0l.c: Likewise.
22929         * math/w_j1.c: Likewise.
22930         * math/w_j1f.c: Likewise.
22931         * math/w_j1l.c: Likewise.
22932         * math/w_jn.c: Likewise.
22933         * math/w_jnf.c: Likewise.
22934         * math/w_jnl.c: Likewise.
22935         * math/w_lgamma.c: Likewise.
22936         * math/w_lgamma_r.c: Likewise.
22937         * math/w_lgammaf.c: Likewise.
22938         * math/w_lgammaf_r.c: Likewise.
22939         * math/w_lgammal.c: Likewise.
22940         * math/w_lgammal_r.c: Likewise.
22941         * math/w_log.c: Likewise.
22942         * math/w_log10.c: Likewise.
22943         * math/w_log10f.c: Likewise.
22944         * math/w_log10l.c: Likewise.
22945         * math/w_log2.c: Likewise.
22946         * math/w_log2f.c: Likewise.
22947         * math/w_log2l.c: Likewise.
22948         * math/w_logf.c: Likewise.
22949         * math/w_logl.c: Likewise.
22950         * math/w_pow.c: Likewise.
22951         * math/w_powf.c: Likewise.
22952         * math/w_powl.c: Likewise.
22953         * math/w_remainder.c: Likewise.
22954         * math/w_remainderf.c: Likewise.
22955         * math/w_remainderl.c: Likewise.
22956         * math/w_scalb.c: Likewise.
22957         * math/w_scalbf.c: Likewise.
22958         * math/w_scalbl.c: Likewise.
22959         * math/w_sinh.c: Likewise.
22960         * math/w_sinhf.c: Likewise.
22961         * math/w_sinhl.c: Likewise.
22962         * math/w_sqrt.c: Likewise.
22963         * math/w_sqrtf.c: Likewise.
22964         * math/w_sqrtl.c: Likewise.
22965         * math/w_tgamma.c: Likewise.
22966         * math/w_tgammaf.c: Likewise.
22967         * math/w_tgammal.c: Likewise.
22969         * po/ja.po: Update from translation team.
22971 2011-09-29  Andreas Jaeger  <aj@suse.de>
22973         [BZ #13179]
22974         * sunrpc/netname.c (netname2host): Fix logic.
22976         [BZ #6779]
22977         [BZ #6783]
22978         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22979         correctly.
22980         * math/w_remainder.c (__remainder): Likewise.
22981         * math/w_remainderf.c (__remainderf): Likewise.
22982         * math/libm-test.inc (remainder_test): Add test cases.
22984 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22986         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
22987         sdiv_qrnnd.
22989 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22991         * string/test-memcmp.c: Avoid unncessary #defines.
22992         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22994 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22996         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22997         Use new sse2 version for core i3 - i7 as it's faster
22998         than sse42 version.
22999         (bit_Prefer_PMINUB_for_stringop): New.
23000         * sysdeps/x86_64/rawmemchr.S: Update.
23001         Replace with faster SSE2 version.
23002         * sysdeps/x86_64/memrchr.S: New file.
23003         * sysdeps/x86_64/memchr.S: Update.
23004         Replace with faster SSE2 version.
23006 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
23008         * elf/dl-load.c (lose): Add cast to avoid warning.
23010 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23012         * po/ca.po: Update from translation team.
23014         * inet/getnetgrent_r.c: Hook up nscd.
23015         * nscd/Makefile (routines): Add nscd_netgroup.
23016         (nscd-modules): Add netgroupcache.
23017         (CFLAGS-netgroupcache.c): Define.
23018         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23019         (cache_search): Add const to second parameter.
23020         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23021         INNETGR.
23022         (dbs): Add netgrdb entry.
23023         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23024         (verify_persistent_db): Handle netgrdb.
23025         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23026         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23027         GETFDNETGR.
23028         (netgroup_response_header): Define.
23029         (innetgroup_response_header): Define.
23030         (datahead): Add netgroup_response_header and innetgroup_response_header
23031         elements.
23032         * nscd/nscd.conf: Add entries for netgroup cache.
23033         * nscd/nscd.h (dbtype): Add netgrdb.
23034         (_PATH_NSCD_NETGROUP_DB): Define.
23035         (netgroup_iov_disabled): Declare.
23036         (xmalloc, xcalloc, xrealloc): Move declarations here.
23037         (cache_search): Adjust prototype.
23038         Add netgroup-related prototypes.
23039         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23040         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23041         (__nscd_innetgr): Declare.
23042         * nscd/selinux.c (perms): Use access_vector_t as element type and
23043         add netgroup-related initializers.
23044         * nscd/netgroupcache.c: New file.
23045         * nscd/nscd_netgroup.c: New file.
23046         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23047         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23048         For four parameters use innetgr.
23049         * nss/nss_files/files-init.c: Add definition and callback for netgr.
23050         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23051         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23052         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23054         * nscd/connections.c (register_traced_file): Don't register file
23055         for disabled databases.
23057 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
23059         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23061         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23062         from tree and freeing node.
23064 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
23066         * nss/nsswitch.c (__nss_database_lookup): Handle
23067         nss_parse_service_list out of memory case.
23069 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
23071         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23072         out of memory case.
23074 2011-10-04  Andreas Schwab  <schwab@redhat.com>
23076         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23077         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23078         pass it down.
23079         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23080         elf_machine_rela, elf_machine_lazy_rel.
23081         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23082         (ELF_DYNAMIC_DO_REL): Likewise.
23083         (ELF_DYNAMIC_DO_RELA): Likewise.
23084         (ELF_DYNAMIC_RELOCATE): Likewise.
23085         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23086         to ELF_DYNAMIC_DO_REL.
23087         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23088         (dl_main): In trace mode always set __RTLD_NOIFUNC.
23089         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23090         elf_machine_rela.
23091         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23092         skip_ifunc, don't call ifunc function if non-zero.
23093         (elf_machine_rela): Likewise.
23094         (elf_machine_lazy_rel): Likewise.
23095         (elf_machine_lazy_rela): Likewise.
23096         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23097         (elf_machine_lazy_rel): Likewise.
23098         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23099         Likewise.
23100         (elf_machine_lazy_rel): Likewise.
23101         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23102         Likewise.
23103         (elf_machine_lazy_rel): Likewise.
23104         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23105         (elf_machine_lazy_rel): Likewise.
23106         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23107         (elf_machine_lazy_rel): Likewise.
23108         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23109         (elf_machine_lazy_rel): Likewise.
23110         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23111         (elf_machine_lazy_rel): Likewise.
23112         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23113         (elf_machine_lazy_rel): Likewise.
23114         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23115         (elf_machine_lazy_rel): Likewise.
23117 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
23119         * nss/nss_files/files-init.c (_nss_files_init): Use static
23120         initialization for all the *_traced_file variables.
23122 2011-09-28  Andreas Schwab  <schwab@redhat.com>
23124         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23126 2011-09-27  Roland McGrath  <roland@hack.frob.com>
23128         [BZ #13226]
23129         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23131 2011-09-27  Andreas Schwab  <schwab@redhat.com>
23133         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23134         Reread the line before reparsing it.
23136 2011-09-26  Andreas Schwab  <schwab@redhat.com>
23138         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23140 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
23141             Maxim Kuvyrkov  <maxim@codesourcery.com>
23142             Joseph Myers  <joseph@codesourcery.com>
23144         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23145         if needed for __stack_chk_guard.
23147 2011-09-19  Roland McGrath  <roland@hack.frob.com>
23149         * sysdeps/posix/spawni.c (script_execute): Always define it.
23150         It will be optimized away if unused.
23151         (maybe_script_execute): New function.
23152         (__spawni): Call it.
23154         * Makerules: Don't include tls.make.
23155         (config-tls): Always set to thread.
23156         * tls.make.c: File removed.
23158 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
23160         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23161         * config.make.in (CPPFLAGS-config): New substituted variable.
23163 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23165         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23167         [BZ #13192]
23168         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23169         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23171 2011-09-15  Roland McGrath  <roland@hack.frob.com>
23173         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23174         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23175         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23176         (CALL_FAIL): Likewise.
23177         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23178         (CALL_FAIL): Macro removed.
23179         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23181 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23183         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23184         for __FINITE_MATH_ONLY__ == 1.
23186 2011-09-15  Andreas Schwab  <schwab@redhat.com>
23188         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23189         __ieee754_sqrt instead of sqrt.
23190         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23191         __ieee754_sqrtf instead of sqrtf.
23192         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23193         __floorf instead of floorf.
23194         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23195         __floorf, __truncf instead of floorf, truncf.
23197 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
23199         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23201         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23202         __extern_always_inline.
23203         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23204         32-bit.
23206 2011-09-14  Andreas Schwab  <schwab@redhat.com>
23208         * elf/rtld.c (dl_main): Also relocate in dependency order when
23209         doing symbol dependency testing.
23211 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
23213         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23214         Always define `refsym'.
23216 2011-09-13  Andreas Schwab  <schwab@redhat.com>
23218         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23219         (__FD_ELT): Renamed from __FDELT.
23220         * misc/bits/select2.h (__FD_ELT): Likewise.
23221         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23222         __FD_MASK instead of __FDELT, __FDMASK.
23223         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23224         Likewise.
23225         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23226         Likewise.
23228         * elf/Makefile (gen-ldd): Fix pattern.
23230         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23231         (init_tls): Likewise.
23233 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
23235         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23237 2011-09-12  Andreas Schwab  <schwab@redhat.com>
23239         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23240         `struct cmsghdr *' instead of `void *'.
23241         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23242         Likewise.
23244 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
23246         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23247         if non-absolute.
23248         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23249         ldd_rewrite_script.
23251 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
23253         * configure.in: Remove --with-tls option.
23254         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23255         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23256         out in case it is missing.
23257         * sysdeps/ia64/elf/configure.in: Likewise.
23258         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23259         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23260         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23261         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23262         * sysdeps/sh/elf/configure.in: Likewise.
23263         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23264         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23265         * sysdeps/x86_64/elf/configure.in: Likewise.
23266         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23267         * sysdeps/mach/hurd/tls.h: Likewise.
23269         [BZ #13067]
23270         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23272         [BZ #13090]
23273         * configure.in: Fix use of AC_INIT.
23275         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23277 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
23279         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23280         __set_errno.
23281         * malloc/hooks.c: Likewise.
23283         [BZ #11929]
23284         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
23285         variables statically.
23286         (narenas): Initialize.
23287         (list_lock): Initialize.
23288         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
23289         initializtion of main_arena and list_lock.  Small cleanups.
23290         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23291         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
23292         Add initializers to main_arena and mp_.
23293         (malloc_state): Remove pagesize member.  Change all users to use
23294         GLRO(dl_pagesize).
23296         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23297         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
23298         is always initialized.
23300         * malloc/malloc.c: Removed unused configurations and dead code.
23301         * malloc/arena.c: Likewise.
23302         * malloc/hooks.c: Likewise.
23303         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23305         * include/tls.h: Removed.  USE___THREAD must always be defined.
23306         * bits/libc-tsd.h: Don't handle !USE___THREAD.
23307         * elf/dl-libc.c: Likewise.
23308         * elf/dl-tsd.c: Likewise.
23309         * include/errno.h: Likewise.
23310         * include/netdb.h: Likewise.
23311         * include/resolv.h: Likewise.
23312         * inet/herrno-loc.c: Likewise.
23313         * inet/herrno.c: Likewise.
23314         * malloc/arena.c: Likewise.
23315         * malloc/hooks.c: Likewise.
23316         * malloc/malloc.c: Likewise.
23317         * resolv/res-state.c: Likewise.
23318         * resolv/res_libc.c: Likewise.
23319         * sysdeps/i386/dl-machine.h: Likewise.
23320         * sysdeps/ia64/dl-machine.h: Likewise.
23321         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23322         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23323         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23324         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23325         * sysdeps/sh/dl-machine.h: Likewise.
23326         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23327         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23328         * sysdeps/unix/i386/sysdep.S: Likewise.
23329         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23330         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23331         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23332         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23333         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23334         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23335         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23336         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23337         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23338         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23339         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23340         * sysdeps/x86_64/dl-machine.h: Likewise.
23341         * tls.make.c: Likewise.
23343         * configure.in: Remove --with-__thread option.  Make tests for
23344         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23345         tls_model attribute fail if no support is available.  Remove
23346         USE_IN_LIBIO.
23347         * Makeconfig: Adjust for dropped configure option.  All features are
23348         now mandatory.
23349         * Makerules: Likewise.
23350         * Versions.def: Likewise.
23351         * argp/argp-fmtstream.c: Likewise.
23352         * argp/argp-fmtstream.h: Likewise.
23353         * argp/argp-help.c: Likewise.
23354         * assert/assert.c: Likewise.
23355         * config.h.in: Likewise.
23356         * config.make.in: Likewise.
23357         * configure: Likewise.
23358         * configure.in: Likewise.
23359         * csu/Versions: Likewise.
23360         * csu/init.c: Likewise.
23361         * elf/tst-audit2.c: Likewise.
23362         * elf/tst-tls10.c: Likewise.
23363         * elf/tst-tls10.h: Likewise.
23364         * elf/tst-tls11.c: Likewise.
23365         * elf/tst-tls12.c: Likewise.
23366         * elf/tst-tls14.c: Likewise.
23367         * elf/tst-tlsmod11.c: Likewise.
23368         * elf/tst-tlsmod12.c: Likewise.
23369         * elf/tst-tlsmod13.c: Likewise.
23370         * elf/tst-tlsmod13a.c: Likewise.
23371         * elf/tst-tlsmod14a.c: Likewise.
23372         * elf/tst-tlsmod15b.c: Likewise.
23373         * elf/tst-tlsmod16a.c: Likewise.
23374         * elf/tst-tlsmod16b.c: Likewise.
23375         * elf/tst-tlsmod7.c: Likewise.
23376         * elf/tst-tlsmod8.c: Likewise.
23377         * elf/tst-tlsmod9.c: Likewise.
23378         * gmon/gmon.c: Likewise.
23379         * grp/fgetgrent_r.c: Likewise.
23380         * grp/putgrent.c: Likewise.
23381         * hurd/fopenport.c: Likewise.
23382         * include/libc-symbols.h: Likewise.
23383         * include/tls.h: Likewise.
23384         * intl/gettextP.h: Likewise.
23385         * intl/loadinfo.h: Likewise.
23386         * locale/global-locale.c: Likewise.
23387         * locale/localeinfo.h: Likewise.
23388         * mach/devstream.c: Likewise.
23389         * malloc/arena.c: Likewise.
23390         * malloc/set-freeres.c: Likewise.
23391         * misc/err.c: Likewise.
23392         * misc/getttyent.c: Likewise.
23393         * misc/mntent_r.c: Likewise.
23394         * posix/getopt.c: Likewise.
23395         * posix/wordexp.c: Likewise.
23396         * pwd/fgetpwent_r.c: Likewise.
23397         * resolv/Versions: Likewise.
23398         * resolv/res_hconf.c: Likewise.
23399         * shadow/fgetspent_r.c: Likewise.
23400         * shadow/putspent.c: Likewise.
23401         * stdio-common/printf_fphex.c: Likewise.
23402         * stdio-common/tmpfile.c: Likewise.
23403         * stdlib/abort.c: Likewise.
23404         * stdlib/fmtmsg.c: Likewise.
23405         * sunrpc/auth_unix.c: Likewise.
23406         * sunrpc/clnt_perr.c: Likewise.
23407         * sunrpc/clnt_tcp.c: Likewise.
23408         * sunrpc/clnt_udp.c: Likewise.
23409         * sunrpc/clnt_unix.c: Likewise.
23410         * sunrpc/openchild.c: Likewise.
23411         * sunrpc/svc_simple.c: Likewise.
23412         * sunrpc/svc_tcp.c: Likewise.
23413         * sunrpc/svc_udp.c: Likewise.
23414         * sunrpc/svc_unix.c: Likewise.
23415         * sunrpc/xdr.c: Likewise.
23416         * sunrpc/xdr_array.c: Likewise.
23417         * sunrpc/xdr_rec.c: Likewise.
23418         * sunrpc/xdr_ref.c: Likewise.
23419         * sunrpc/xdr_stdio.c: Likewise.
23421 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23423         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23425 2011-07-03  Andreas Jaeger  <aj@suse.de>
23427         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23428         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23429         regenerate with gen-libm-tests.pl.
23431 2010-05-12  Petr Baudis  <pasky@suse.cz>
23433         [BZ #11589]
23434         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23435         around j0() zero points by switching to j1().
23436         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23437         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23438         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23439         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23441 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23443         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23444         instead of 0.
23445         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23446         instead of 0.
23447         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23448         Patch in part by Pavel Roskin <proski@gnu.org>.
23450         [BZ #13138]
23451         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23452         realloc.
23453         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
23454         Free memory block if necessary.
23456         [BZ #12847]
23457         * libio/genops.c (INTDEF): For string streams the _lock pointer can
23458         be NULL.  Don't lock in this case.
23460 2011-09-09  Roland McGrath  <roland@hack.frob.com>
23462         * elf/elf.h (ELFOSABI_GNU): New macro.
23463         (ELFOSABI_LINUX): Define to that.
23465 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
23467         * string/strncat.c (strncat): Undef the symbol in case it has been
23468         defined in bits/string.h.
23470 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23472         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23474         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23475         link map.
23477 2011-08-17  Andreas Jaeger  <aj@suse.de>
23479         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23481 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23482             Ian Lance Taylor  <iant@google.com>
23484         * math/libm-test.inc (lround_test): New testcase.
23485         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23487 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
23489         * Makefile: Remove support for automatic cvs check-ins.
23490         * Makerules: Likewise.
23491         * config.make.in: Likewise.
23492         * configure.in: Likewise.
23493         * intl/Makefile: Likewise.
23494         * locale/Makefile: Likewise.
23495         * po/Makefile: Likewise.
23496         * posix/Makefile: Likewise.
23497         * sysdeps/gnu/Makefile: Likewise.
23498         * sysdeps/mach/hurd/Makefile: Likewise.
23499         * sysdeps/sparc/sparc32/Makefile: Likewise.
23501         [BZ #13118]
23502         * posix/Makefile (bug-regex32-ENV): Define.
23503         Patch by John Stanley <jpsinthemix@verizon.net>.
23505         * misc/Makefile (headers): Add bits/select2.h.
23506         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23507         * misc/bits/select2.h: New file.
23508         * include/bits/select2.h: New file.
23509         * debug/Makefile (routines): Add fdelt_chk.
23510         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23511         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23512         FD_ISSET.
23513         * debug/fdelt_chk.c: New file.
23515         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
23516         * wcsmbs/test-wmemcmp.c: Likewise.
23517         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23518         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23520 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23522         * string/Makefile (strop-tests): Add memcmp.
23523         * string/test-wmemcmp.c: New file.
23524         * string/test-memcmp.c: Add wmemcmp support.
23526 2011-09-08  Roland McGrath  <roland@hack.frob.com>
23528         [BZ #13153]
23529         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23530         2011-07-19 change.
23532         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23533         garbage value in a __mach_port_mod_refs call in the cases of the
23534         task-self and thread-self ports.
23536 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23538         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23540 2011-09-08  Andreas Schwab  <schwab@redhat.com>
23542         * elf/dl-load.c (lose): Check for non-null L.
23544 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23546         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23548         * elf/dl-libc.c (dlerror_run): Pass back error code from
23549         dl_catch_error.
23551         [BZ #13123]
23552         * elf/dl-load.c (lose): Free l_origin if it is valid.
23554         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23555         names.
23556         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23557         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23558         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23559         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23560         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23561         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23563 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23565         * sysdeps/powerpc/fpu/e_hypot.c: New file.
23566         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23567         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23568         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23569         * sysdeps/powerpc/fpu/k_cosf.c: New file.
23570         * sysdeps/powerpc/fpu/k_sinf.c: New file.
23571         * sysdeps/powerpc/fpu/s_cosf.c: New file.
23572         * sysdeps/powerpc/fpu/s_sinf.c: New file.
23573         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23574         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23576 2011-08-15  Alan Modra  <amodra@gmail.com>
23578         [BZ #13092]
23579         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23580         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23581         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
23582         ppc_mcount to static-only-routines.
23583         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23584         __mcount_internal.
23585         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23586         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
23588 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
23590         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23591         for finite and infinity parameters.
23593 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23595         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23596         and add nop instructions for throughput optimization.
23597         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23599 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
23601         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23602         aligned copy for power7 with vector-scalar instructions.
23603         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23605 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
23607         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23608         AVX check.
23610 2011-09-07  Andreas Schwab  <schwab@redhat.com>
23612         [BZ #13144]
23613         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23614         last change.
23616 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23618         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23619         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23620         syscall wrapper around clock_gettime in __vdso_clock_gettime.
23621         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23622         clock_gettime.
23624 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23626         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23627         Forgot to demangle the pointer.
23629         * sysdeps/i386/sysdep.h: Define atom_text_section.
23630         * sysdeps/x86_64/sysdep.h: Likewise.
23631         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23632         section with atom_text_section.
23633         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23634         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23635         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23636         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23637         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23639         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23640         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23641         already be defined.  Change to take two parameters and don't assign
23642         result to variable.  Adjust all users.
23643         Define INTERNAL_GETTIME if not already defined.
23644         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23645         call.
23646         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23647         HAVE_CLOCK_GETTIME_VSYSCALL.
23648         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23650         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23651         gettimeofday vsyscall, just use time.
23653 2011-09-06  Andreas Schwab  <schwab@redhat.com>
23655         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23656         <errno.h>.
23658 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23660         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23661         syscall on x86-64.
23662         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23663         syscall.
23664         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23665         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23666         syscall if possible.
23668 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23670         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23671         e_ident.  Don't pass to find_mapsXX.
23672         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23674 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23676         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23677         strchr-sse2-no-bsf strrchr-sse2-no-bsf
23678         * sysdeps/x86_64/multiarch/strchr.S: Update.
23679         Check bit_slow_BSF bit.
23680         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23681         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23682         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23684 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23686         [BZ #13134]
23687         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23688         before glibc 2.15.
23689         (tryshell): Define.
23690         (__spawni): Change last parameter to be flag.  Test
23691         SPAWN_XFLAGS_USE_PATH flag to use path or not.
23692         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23693         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23694         * posix/spawni.c: Likewise.
23695         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23696         * posix/spawnp.c: Likewise.  Change normal version to use
23697         SPAWN_XFLAGS_USE_PATH.
23698         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23699         SPAWN_XFLAGS_TRY_SHELL.
23701         [BZ #13150]
23702         * posix/glob.h: Remove gcc 1.x support.
23704         [BZ #13068]
23705         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23707 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23709         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23710         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23711         strrchr-sse2-bsf
23712         * sysdeps/i386/i686/multiarch/strchr.S: New file.
23713         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23714         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23715         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23716         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23717         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23719 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23721         * sysdeps/x86_64/wcscmp.S: New file.
23723         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23724         wcscmp-c wcscmp-sse2
23725         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23726         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23727         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23728         * wcsmbs/wcscmp.c: Allow renaming.
23730 2011-09-05  David S. Miller  <davem@davemloft.net>
23732         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23733         stack slot, rather than the struct return pointer slot.
23734         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23735         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23737         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23739 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23741         * po/ja.po: Update from translation team.
23743         [BZ #13144]
23744         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23745         kernel in 64-bit binaries.
23747 2011-09-01  David S. Miller  <davem@davemloft.net>
23749         * elf/elf.h (HWCAP_SPARC_*): Move to..
23750         * sysdeps/sparc/sysdep.h: this new file and add new values.
23751         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23752         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23753         _DL_HWCAP_COUNT to 24.
23754         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23755         entries.
23756         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23757         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23758         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23759         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23760         instead of magic constants.
23761         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23763 2011-08-31  David S. Miller  <davem@davemloft.net>
23765         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23766         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23767         Reimplement to do errno handling inline.
23768         (SYSCALL_ERROR_HANDLER): New macro.
23769         (__SYSCALL_STRING): Do not do errno handling in asm.
23770         (__CLONE_SYSCALL_STRING): Delete.
23771         (__INTERNAL_SYSCALL_STRING): Delete.
23772         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23773         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23774         (PSEUDO): Reimplement to do errno handling inline.
23775         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23776         (SYSCALL_ERROR_HANDLER): New macro.
23777         (__SYSCALL_STRING): Do not do errno handling in asm.
23778         (__CLONE_SYSCALL_STRING): Delete.
23779         (__INTERNAL_SYSCALL_STRING): Delete.
23780         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23781         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23782         i386.
23783         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23784         (inline_syscall*): Add 'err' argument.
23785         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23786         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23787         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23788         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23790         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23791         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23793 2011-08-30  Andreas Schwab  <schwab@redhat.com>
23795         * elf/rtld.c (dl_main): Relocate objects in dependency order.
23797 2011-08-29  Jiri Olsa <jolsa@redhat.com>
23799         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23800         directive.
23802 2011-08-24  David S. Miller  <davem@davemloft.net>
23804         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23806 2011-08-24  Andreas Schwab  <schwab@redhat.com>
23808         * elf/Makefile: Add rules to build and run unload8 test.
23809         * elf/unload8.c: New file.
23810         * elf/unload8mod1.c: New file.
23811         * elf/unload8mod1x.c: New file.
23812         * elf/unload8mod2.c: New file.
23813         * elf/unload8mod3.c: New file.
23815         * elf/dl-close.c (_dl_close_worker): Reset private search list if
23816         it wasn't used.
23818 2011-08-23  David S. Miller  <davem@davemloft.net>
23820         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23821         subtract stack bias.
23822         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23823         %sp not %fp in calculations.
23824         (_JMPBUF_UNWINDS_ADJ): Likewise.
23826         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23827         (aio_suspend): Call it to force an exception region around the
23828         AIO_MISC_WAIT() invocation.
23830 2011-08-23  Andreas Schwab  <schwab@redhat.com>
23832         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23833         backslash.
23835 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
23837         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23838         protection macro.
23839         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23840         and <dl-machine.h>.
23841         (Elf64_FuncDesc): Remove.
23843 2011-08-22  David S. Miller  <davem@davemloft.net>
23845         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23846         sigaltstack check, add missing cfi directives.
23847         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23848         missing cfi directives, and sigaltstack handling.
23850 2011-08-16  Andreas Schwab  <schwab@redhat.com>
23852         [BZ #11724]
23853         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23854         object is seen twice.
23855         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23857         * elf/Makefile (distribute): Add tst-initorder2.c.
23858         (tests): Add tst-initorder2.
23859         (modules-names): Add tst-initorder2a tst-initorder2b
23860         tst-initorder2c tst-initorder2d.  Add rules to build them.
23861         ($(objpfx)tst-initorder2.out): New rule.
23862         * elf/tst-initorder2.c: New file.
23863         * elf/tst-initorder2.exp: New file.
23865 2011-08-22  Andreas Schwab  <schwab@redhat.com>
23867         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23869         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23870         dependencies back to end of function.
23872         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23873         $(elfobjdir)/ld.so.
23875 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
23877         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23878         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23879         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23880         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23881         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23882         of __vdso_gettimeofday.
23883         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23884         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
23885         attribute_hidden.
23886         (_libc_vdso_platform_setup): Remove initialization of
23887         __vdso_gettimeofday and __vdso_time.
23889 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23891         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23892         and fgetc_unlocked.
23893         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23894         getc_unlocked.
23896         * elf/dl-open.c (add_to_global): Report additions to the global scope
23897         for LD_DEBUG=scopes.
23898         (dl_open_worker): Also print scope of newly loaded dependencies.
23899         (_dl_show_scope): Indicate if there is no scope.
23901         [BZ #13114]
23902         * stdio-common/Makefile (tests): Add bug24.
23903         * stdio-common/bug24.c: New file.
23905 2011-08-19  Andreas Jaeger  <aj@suse.de>
23907         [BZ #13114]
23908         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23909         non-existant file when using close-on-exec mode.
23911 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23913         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23914         the very first instruction.
23916         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23917         the CFI state in the end.
23918         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23919         inclusion of dl-trampoline.h.
23920         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23922 2011-08-19  Andreas Schwab  <schwab@redhat.com>
23924         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23925         expectations for long double.
23927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23928         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23930 2011-08-14  David S. Miller  <davem@davemloft.net>
23932         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23933         artificual limit depends upon the system page size.
23935 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23937         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23938         * resolv/Makefile: Define CFLAGS-libresolv.
23940 2011-08-17  Andreas Schwab  <schwab@redhat.com>
23942         * nss/makedb.c (compute_tables): Make variables used in nested
23943         function static.
23945 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23947         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23948         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23949         if buffer was too small.
23951         * elf/pldd.c (main): Attach to all threads in the process.
23952         Rewrite /proc handling to use *at functions.
23954 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
23956         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23957         specifies first scope to show.
23958         (dl_open_worker): Update callers.  Move printing scope of new
23959         object to before the relocation.
23960         * elf/rtld.c (dl_main): Update _dl_show_scope call.
23961         * sysdeps/generic/ldsodefs.h: Update declaration.
23963         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23964         string for the scope number.
23966 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
23968         * nscd/servicescache.c (cache_addserv): Make sure written is always
23969         initialized.
23971 2011-08-14  Roland McGrath  <roland@hack.frob.com>
23973         * sysdeps/i386/i486/bits/atomic.h
23974         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23975         statement expression, so as to suppress "set but not used" warning.
23976         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23978         * string/strncat.c (STRNCAT): Use prototype definition.
23980         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23981         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23982         -Iprograms here.
23983         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23984         (localedef-modules): Add localedef.
23985         (locale-modules): Add locale.
23987         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23988         * elf/rtld.c (dl_main): Invert order of assignment in last change,
23989         to avoid a warning.
23991 2011-08-14  David S. Miller  <davem@davemloft.net>
23993         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23994         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23996 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
23998         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23999         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24000         * elf/rtld.c (dl_main): Set l_name of vDSO.
24001         Call _dl_show_scope when DL_DEBUG_SCOPES.
24002         (process_dl_debug): Recognize scopes flag and also set it for all.
24003         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24004         Declare _dl_show_scope.
24006         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24007         (do_dlopen): Pass caller_dlopen to dl_open.
24008         (__libc_dlopen_mode): Initialize caller_dlopen.
24010         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24011         of libc.  Make tolower call locale-independent.  Optimize a bit by
24012         using isdigit instead of isalnum.
24013         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24015 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
24017         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24018         was a dependency or dynamically loaded.
24020 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
24022         * intl/l10nflist.c: Allow architecture-specific pop function.
24023         * sysdeps/x86_64/l10nflist.c: New file.
24025         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24026         classification.
24028 2011-08-10  Andreas Schwab  <schwab@redhat.com>
24030         * include/dirent.h: Add libc_hidden_proto for scandirat and
24031         scandirat64.  Don't declare __scandirat64.
24032         * dirent/scandirat.c: Add libc_hidden_def.
24033         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24034         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24036 2011-08-10  David S. Miller  <davem@davemloft.net>
24038         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24039         enum.
24040         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24041         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24042         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24044 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
24046         * Versions.def [libc]: Add GLIBC_2.15.
24047         * dirent/Makefile (routines): Add scandirat and scandirat64.
24048         * dirent/Versions [libc]: Export scandirat and scandirat64 for
24049         GLIBC_2.15.
24050         * dirent/dirent.h: Declare scandirat and scandirat64.
24051         * dirent/scandirat.c: New file.
24052         * dirent/scandirat64.c: New file.
24053         * sysdeps/wordsize-64/scandirat.c: New file.
24054         * sysdeps/wordsize-64/scandirat64.c: New file.
24055         * dirent/opendir.c: Define opendirat.
24056         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
24057         using scandirat.
24058         * dirent/scandir64.c: Adjust for scandir.c change.
24059         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
24060         __scandirat64, and __scandir_cancel_handler.
24061         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
24062         additional parameter and use openat instead of open (outside of ld.so).
24063         Add new __opendir as wrapper around __opendirat.
24064         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24065         here without requiring old scandirat implementation.
24067 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
24069         * dirent/scandir.c (cancel_handler): Renamed to
24070         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
24071         defined.  Adjust users.
24072         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24073         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24075 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
24077         * string/test-string.h (IMPL): Use __STRING to expand name and then
24078         stringify it.
24080         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
24081         of cleanups.
24083 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24085         * string/Makefile: Update.
24086         (strop-tests): Append strncat.
24087         * string/test-wcscmp.c: New file.
24088         New comprehensive test for wcscmp.
24089         * string/test-strcmp.c: Update.
24090         (WIDE): New define.
24092 2011-07-22  Andreas Schwab  <schwab@redhat.com>
24094         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24095         line.
24097 2011-07-26  Andreas Schwab  <schwab@redhat.com>
24099         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24100         encoding to ACE if AI_IDN.
24102 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
24104         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24105         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24107 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24109         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24110         Fix overflow bug in strncat.
24111         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24113         * string/test-strncat.c: Update.
24114         Add new tests for checking overflow bugs.
24116 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24118         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24119         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24120         * sysdeps/i386/i686/multiarch/strcat.S: New file.
24121         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24122         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24123         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24124         * sysdeps/i386/i686/multiarch/strncat.S: New file.
24125         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24126         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24128         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24129         (USE_AS_STRCAT): Define.
24130         Add strcat and strncat support.
24131         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24133 2011-07-25  Andreas Schwab  <schwab@redhat.com>
24135         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24136         __n bigger than INT_MAX+1.
24137         (__strncmp_g): Likewise.
24139 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
24141         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24142         * libio/stido.h: Likewise.
24144         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24145         (AF_NFC): Define.
24146         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24147         (AF_NFC): Define.
24149         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24150         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24151         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24152         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24153         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24155         [BZ #13021]
24156         * scripts/test-installation.pl: Don't expect libnss_test1 to be
24157         installed.
24159         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24160         typo.
24161         (_dl_x86_64_save_sse): Likewise.
24163 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
24165         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24166         OSXSAVE.
24167         (_dl_x86_64_save_sse): Likewise.
24169         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24171         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24173 2011-07-21  Andreas Schwab  <schwab@redhat.com>
24175         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24176         change.
24177         (_dl_x86_64_save_sse): Use correct AVX check.
24179 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24181         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24182         bug in strncpy/strncat.
24183         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24185 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
24187         * string/tester.c (test_strcat): Add tests for different alignments
24188         of source and destination.
24189         (test_strncat): Likewise.
24191 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24193         [BZ #12852]
24194         * posix/glob.c (glob): Check passed in values before using them in
24195         expressions to avoid some overflows.
24196         (glob_in_dir): Likewise.
24198         [BZ #13007]
24199         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24200         check for AVX enablement so that we don't crash with old kernels and
24201         new hardware.
24202         * elf/tst-audit4.c: Add same checks here.
24203         * elf/tst-audit6.c: Likewise.
24205         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24207 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
24209         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24211 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24213         * po/cs.po: Update from translation team.
24214         * po/bg.po: Likewise.
24216 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
24218         * misc/sys/cdefs.h: Add support for const attribute.
24219         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24220         to gnu_dev_{major,minor,makedev} functions.
24222 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
24224         * intl/dcigettext.c (get_output_charset): Add missing bracket.
24226 2011-07-20  Andreas Schwab  <schwab@redhat.com>
24228         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24229         strlen results.
24231 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24233         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24234         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24235         register in order to avoid conflicts with the soft frame pointer
24236         being held in r11 when necessary.
24237         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24238         (INTERNAL_VSYSCALL_NCS): Likewise.
24240 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
24242         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24243         * elf/dl-fini.c (_dl_fini): Adjust caller.
24244         * elf/dl-close.c (_dl_close_worker): Likewise.
24245         * sysdeps/generic/ldsodefs.h: Adjust declaration.
24247 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24249         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24250         "aux_cache->nlibs < 0".
24252         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24253         in the reload-count case.
24255 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24257         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24258         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24259         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24260         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24261         * sysdeps/x86_64/multiarch/strcat.S: New file.
24262         * sysdeps/x86_64/multiarch/strncat.S: New file.
24263         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24264         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24265         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24266         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24267         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24268         (USE_AS_STRCAT): Define.
24269         Add strcat and strncat support.
24270         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24271         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24272         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24273         * string/strncat.c: Update.
24274         (USE_AS_STRNCAT): Define.
24275         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24276         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24277         and i7.
24278         * sysdeps/x86_64/multiarch/init-arch.h
24279         (bit_Prefer_PMINUB_for_stringop): New.
24280         (index_Prefer_PMINUB_for_stringop): Likewise.
24281         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24282         bit_Prefer_PMINUB_for_stringop.
24284 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24286         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24287         buffer64.
24288         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24289         of casting of buffer.
24290         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24291         buffer32 and buffer64.
24292         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24293         writes instead of casting of buffer.
24294         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24295         buffer32.
24296         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24297         casting of buffer.
24299 2011-07-19  Andreas Schwab  <schwab@redhat.com>
24301         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24303 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24305         * nscd/nscd.c (termination_handler): Don't do anything for a database
24306         if it has not yet been initialized.
24308 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24310         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24312 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24314         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24316 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24318         * po/nl.po: Update from translation team.
24319         * po/sv.po: Likewise.
24321 2011-07-16  Roland McGrath  <roland@hack.frob.com>
24323         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24324         now disallowed by GCC.
24326         * configure.in (use-default-link): Default to yes if a test -shared
24327         link meets our qualifications.
24328         * configure: Regenerated.
24330         * config.make.in (output-format): New variable.
24331         * configure.in: Check for ld --print-output-format support.
24332         * configure: Regenerated.
24333         * Makerules ($(common-objpfx)format.lds)
24334         [$(output-format) != unknown]: Just use $(output-format),
24335         instead of the linker-script munging.
24337 2011-07-14  Roland McGrath  <roland@hack.frob.com>
24339         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24340         of $(common-objpfx)shlib.lds.
24341         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24343         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24344         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24346         * configure.in (-z relro check): Adjust test code to add a large
24347         writable data section after it.
24348         * configure: Regenerated.
24350 2011-07-11  Roland McGrath  <roland@hack.frob.com>
24352         * configure.in (-z relro check): Fix test code to make the variable
24353         truly const.
24354         * configure: Regenerated.
24356 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
24358         * nscd/nscd.h (struct traced_file): Define.
24359         (struct database_dyn): Remove inotify_descr, reset_res, and filename
24360         elements.  Add traced_files.
24361         (inotify_fd): Declare.
24362         (register_traced_file): Declare.
24363         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24364         (inotify_fd): Export.
24365         (resolv_conf_descr): Remove.
24366         (nscd_init): Move inotify descriptor creation to main.
24367         Don't register files for notification here.
24368         (register_traced_file): New function.
24369         (invalidate_cache): Don't use reset_res to determine whether to call
24370         res_init, go through the list of registered files.
24371         (main_loop_poll): The inotify descriptors are now stored in the
24372         structures for the traced files.
24373         (main_loop_epoll): Likewise
24374         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
24375         to __nss_disable_nscd.
24376         * nscd/cache.c (prune_cache): There is no single inotify descriptor
24377         for a database anymore.  Check the records for all the registered
24378         files instead.
24379         * nss/Makefile (libnss_files-routines): Add files-init.
24380         (libnss_db-routines): Add db-init.
24381         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24382         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24383         * nss/nss_db/db-init.c: New file.
24384         * nss/nss_files/files-init.c: New file.
24385         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
24386         __nss_lookup_function.
24387         (__nss_lookup_function): Call nss_load_library.
24388         (nss_load_all_libraries): New function.
24389         (__nss_disable_nscd): Take parameter with callback function for files
24390         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
24391         used for the cached services.
24392         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24393         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24394         options for features to all the files in nscd.
24396         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24398 2011-07-10  Roland McGrath  <roland@hack.frob.com>
24400         * csu/elf-init.c (__libc_csu_init): Comment typo.
24402 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
24404         * po/pl.po: Update from translation team.
24405         * po/ja.po: Likewise.
24406         * po/ru.po: Likewise.
24407         * po/ko.po: Likewise.
24408         * po/fr.po: Likewise.
24410 2011-07-09  Roland McGrath  <roland@hack.frob.com>
24412         * configure.in (.ctors/.dtors header and trailer check):
24413         Use an empirical test on a built program.
24414         * configure: Regenerated.
24416         * configure.in (-z relro check): Use an empirical test on a built DSO.
24417         Detect, but do not require, on ia64.
24418         * configure: Regenerated.
24420         * configure.in (READELF): Find it with AC_CHECK_TOOL.
24421         Update tests that use readelf to use $READELF instead.
24422         * configure: Regenerated.
24424 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
24426         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24427         if the result is not used.
24429 2011-07-05  Andreas Jaeger  <aj@suse.de>
24431         [BZ#9696]
24432         * stdlib/tst-strtod.c: Add testcase.
24434 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
24436         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24437         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24438         The latter has a higher limit.  Take additional parameter to pass to
24439         the new function.
24440         (__pathconf): Pass file to __statfs_link_max.
24441         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24442         __statfs_link_max.
24443         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24444         __statfs_link_max.
24446         [BZ #12868]
24447         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24448         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24449         Handle Lustre.
24450         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24451         (__statfs_filesize_max): Likewise.
24452         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24454 2011-07-05  Andreas Jaeger  <aj@suse.de>
24456         * resolv/res_comp.c (dn_skipname): Remove unused variable.
24458 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
24460         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24461         `status' variable.
24462         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24463         Likewise.
24465 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
24467         * Makefile (strop-tests): Add strncat.
24468         * string/test-strncat.c: New file.
24470 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
24472         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24474 2011-06-21  Andreas Jaeger  <aj@suse.de>
24476         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24477         Copy rule from iconvdata/Makefile.
24479 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24481         [BZ #12922]
24482         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24483         but no long options are defined, just return 'W'.
24485 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
24487         [BZ #9696]
24488         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24490 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24492         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24493         netgroups to read.
24494         (innetgr): Likewise.
24496 2011-07-05  Roland McGrath  <roland@hack.frob.com>
24498         * config.make.in (install_root): Default to $(DESTDIR).
24500 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
24502         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24504 2011-07-02  Roland McGrath  <roland@hack.frob.com>
24506         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24508         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24509         containing directory rather than embedding absolute directory names.
24511         * scripts/check-local-headers.sh: Rewritten using awk.
24512         Match by word, not by line.  Print error messages for matches.
24513         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24515         * Makerules [shlib-lds-flags empty]:
24516         ($(common-objpfx)libc_pic.opts): New target.
24517         ($(common-objpfx)libc_pic.os.clean): New target.
24518         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24520         * config.make.in (OBJCOPY): New variable.
24521         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24522         * configure: Regenerated.
24524         * config.make.in (use-default-link): New variable.
24525         * configure.in (use_default_link): Grok --with-default-link to set it.
24526         * configure: Regenerated.
24527         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24528         (shlib-lds, shlib-lds-flags): Define to empty.
24530         * Makerules (shlib-lds): New variable.
24531         (shlib-lds-flags): New variable.
24532         (build-shlib, build-moduile, build-module-asneeded): Use it.
24533         ($(common-objpfx)libc.so): Use $(shlib-lds).
24534         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24535         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24537         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24538         DT_FLAGS/DT_FLAGS_1 with zero flags.
24540         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24541         linker script munging.
24543 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
24545         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24546         as 128-bit value.
24547         * crypt/sha512.c (sha512_process_block): Perform total addition using
24548         128-bit if possible.
24549         (__sha512_finish_ctx): Likewise.
24550         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24551         as 64-bit value.
24552         * crypt/sha256.c (SWAP64): Define.
24553         (sha256_process_block): Perform total addition using 64-bit if
24554         possible.
24555         (__sha256_finish_ctx): Likewise.
24557 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
24559         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
24560         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24561         * nscd/hstcache.c (cache_addhst): Likewise.
24562         * nscd/grpcache.c (cache_addgr): Likewise.
24563         * nscd/aicache.c (addhstaiX): Likewise
24564         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24566 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
24568         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24569         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24570         * nscd/hstcache.c (cache_addhst): Likewise.
24571         * nscd/grpcache.c (cache_addgr): Likewise.
24572         * nscd/aicache.c (addhstaiX): Likewise
24574 2011-07-01  Andreas Schwab  <schwab@redhat.com>
24576         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24577         domain only when needed.
24579 2011-06-30  Andreas Schwab  <schwab@redhat.com>
24581         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24582         is always restored.
24584 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
24586         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24587         are re-adding the entry.
24588         * nscd/servicescache.c (cache_addserv): Likewise.
24590 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
24592         * sysdeps/generic/dl-irel.h: fix protection against multiple
24593         inclusions.
24594         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24596 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
24598         [BZ #12935]
24599         * malloc/memusage.sh: Fix quoting in message.
24600         * debug/xtrace.sh: Likewise.
24602         * configure.in: Remove support for --experimental-malloc option, make
24603         it the default.
24604         * config.make.in: Likewise.
24605         * malloc/Makefile: Likewise.
24607 2011-06-27  Andreas Schwab  <schwab@redhat.com>
24609         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24610         two-byte characters.
24612 2011-06-27  Roland McGrath  <roland@hack.frob.com>
24614         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24615         AC_CACHE_CHECK invocation.
24616         * configure: Regenerated.
24618         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24620 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
24622         [BZ #12350]
24623         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
24624         bit from old_res_options.
24626         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24628         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24629         value type for setfct.
24631 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
24633         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24634         __gettimeofday instead of gettimeofday.
24636 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
24638         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24640 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24642         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24644         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24645         info.
24647 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24649         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24650         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24651         strcpy-sse2-unaligned strncpy-sse2-unaligned
24652         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24653         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24654         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24655         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24656         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24657         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24658         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24659         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24660         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24661         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24662         (STRCPY): Support SSE2 and SSSE3 versions.
24664 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
24666         [BZ #12874]
24667         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24668         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24669         kernels which artificially limit size of requests.
24671 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24673         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24674         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24675         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24676         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24677         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24678         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24679         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24680         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24681         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24682         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24683         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24684         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24685         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24686         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24687         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24688         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24689         Enable unaligned load optimization for Intel Core i3, i5 and i7
24690         processors.
24691         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24692         Define.
24693         (index_Fast_Unaligned_Load): Define.
24694         (HAS_FAST_UNALIGNED_LOAD): Define.
24696 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
24698         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24700 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24702         [BZ #12907]
24703         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24704         until it is clear that the information is realy needed.
24705         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24707 2011-06-22  Andreas Schwab  <schwab@redhat.com>
24709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24711 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24713         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24714         /sys/devices/system/cpu/online if it is usable.
24716         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24717         reading the information from the /proc filesystem to once a second.
24719 2011-06-21  Andreas Jaeger  <aj@suse.de>
24721         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24722         NULL after inclusion of kernel headers.
24724 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
24726         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24727         calls to internal_setent.
24729         [BZ #12885]
24730         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24731         addresses using gethostbyname4_r ignore IPv4 addresses.
24733         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24734         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
24736         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24738 2011-06-20  David S. Miller  <davem@davemloft.net>
24740         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24741         inclusions.
24742         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24744         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24745         (elf_irel): Use it.
24746         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24747         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24748         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24749         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24750         * sysdeps/x86_64/dl-irel.h: Likewise.
24752         * elf/dl-runtime.c: Use elf_ifunc_invoke.
24753         * elf/dl-sym.c: Likewise.
24755 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24757         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
24758         need to dereference resplen2.
24760 2011-06-14  Andreas Schwab  <schwab@redhat.com>
24762         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24764 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24766         * Makeconfig: Define vardbdir and inst_vardbdir.
24767         * nss/Makefile: Add rules to install db-Makefile.
24769         * nss/nss_db/db-XXX.c: Cleanup.
24771         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24772         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24773         GLIBC_PRIVATE.
24774         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24775         * nss/makedb.c: Implement -g option to specify that value strings
24776         are generated and should not be added to table iterated over for
24777         get*ent calls.
24778         * nss/nss_db/db-initgroups.c: New file.
24780         * nss/getent.c: Add support for initgroups lookups through getgrouplist
24781         interface.
24783         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24784         (internal_getgrouplist): Adjust to name change.
24785         Update use_initgroups_entry if this is not the first call.
24786         * nss/databases.def: Add initgroups entry.
24788         * nss/makedb.c (compute_tables): Check result of multiple hash table
24789         sizes to minimize maximum chain length.
24791 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
24793         * Versions.def: Add entry for libnss_db.
24794         * shlib-versions: Likewise.
24795         * nss/Makefile: Add rules to build libnss_db.
24796         * nss/Versions: Add libnss_db information.  Organize libnss_files
24797         entries better.
24798         * nss/db-Makefile: Add gshadow support.  Change rules for the new
24799         makedb progra.  Some minor improvements to generate smaller files.
24800         * nss/nss_db/nss_db.h: Move NSS database header data structures to
24801         here from...
24802         * nss/makedb.c: ...here.
24803         Improve database format to be smaller and require less memory at
24804         runtime.
24805         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
24806         db anymore.
24807         * nss/nss_db/db-netgrp.c: Likewise.
24808         * nss/nss_db/db-open.c: Likewise.
24809         * nss/nss_files/flies-XXX.x: Adjust comments.
24810         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24811         * nss/nss_files/files-grp.c: Likewise.
24812         * nss/nss_files/files-hosts.c: Likewise.
24813         * nss/nss_files/files-network.c: Likewise.
24814         * nss/nss_files/files-proto.c: Likewise.
24815         * nss/nss_files/files-pwd.c: Likewise.
24816         * nss/nss_files/files-rpc.c: Likewise.
24817         * nss/nss_files/files-service.c: Likewise.
24818         * nss/nss_files/files-sgrp.c: Likewise.
24819         * nss/nss_files/files-spwd.c: Likewise.
24820         * nss/nss_db/db-alias.c: Removed.
24821         * nss/nss_db/dummy-db.h: Removed.
24823 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
24825         * nss/makedb.c: Rewritten to not use database library.
24826         * nss/Makefile: Update to build new makedb program.
24828 2011-06-14  Andreas Jaeger  <aj@suse.de>
24830         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24831         memset declaration.
24833 2011-06-10  Andreas Schwab  <schwab@redhat.com>
24835         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24836         tmpbuf.
24838 2011-06-10  Roland McGrath  <roland@hack.frob.com>
24840         * Makerules (shlib.lds): Fail if the linker script comes out empty.
24841         * elf/Makefile ($(objpfx)ld.so): Likewise.
24843         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24844         Don't list ld.so twice in dependencies.
24846         * posix/bug-regex31.c: Include <stdlib.h>.
24848         * nscd/hstcache.c (cache_addhst): Remove unused variable.
24850         * nis/nss_compat/compat-spwd.c
24851         (getspent_next_nss_netgr): Remove unused variable.
24852         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24854         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24855         nonmembers" output to use the right array.
24857         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24859         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24861         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24862         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24863         * catgets/gencat.c (read_input_file): Likewise.
24864         * locale/programs/locarchive.c (enlarge_archive): Likewise.
24866         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24867         variable definition inside #if's controlling its use.
24869         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24871         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24873         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24875         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24876         unreachable code.
24878         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24880         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24881         * configure: Regenerated.
24883         * Makerules: Revert last change.
24884         * elf/Makefile: Likewise.
24886 2011-06-09  Roland McGrath  <roland@hack.frob.com>
24888         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24889         * elf/Makefile ($(objpfx)librtld.os): Likewise.
24890         (reloc-link): Likewise.
24892 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
24894         * elf/Makefile: Add rules to build pldd.
24895         * elf/pldd.c: New file.
24896         * elf/pldd-xx.c: New file.
24898 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
24900         * version.h: Update for 2.15 development version.
24902 2011-06-07  David S. Miller  <davem@davemloft.net>
24904         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24905         ifuncs.
24906         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24907         elf_machine_lazy_rel): Likewise.
24908         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24909         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24910         elf_machine_lazy_rel): Likewise.
24911         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24912         dl_hwcap via passed in argument.
24913         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24914         Likewise.
24916 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24918         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
24920 2011-06-06  Roland McGrath  <roland@hack.frob.com>
24922         [BZ #12849]
24923         * manual/fdl-1.1.texi: New file, verbatim from:
24924         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24925         * manual/lgpl-2.1.texi: New file, verbatim from:
24926         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24927         * manual/Makefile (licenses): New variable, list those new file names.
24928         (texis): Use it.
24929         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24931         * manual/fdl.texi: File removed.
24932         * manual/lesser.texi: File removed.
24933         * manual/libc.texinfo (Copying, Documentation License):
24934         Use new @include file names, put @appendix directive before @include.
24936 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
24938         [BZ #12841]
24939         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24940         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24941         (mq_open): Add __NTH.
24943 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
24945         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24946         Assume Intel Core i3/i5/i7 processor if AVX is available.
24948 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24950         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24951         typo.
24953 2011-05-31  Andreas Schwab  <schwab@redhat.com>
24955         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24956         memory.  Use alloca_account.  Fix memory leak when retrying.
24958 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24960         * version.h (RELEASE): Bump for 2.14 release.
24961         * include/features.h (__GLIBC_MINOR__): Bump to 14.
24963         * config.make.in (RANLIB): Remove entry.
24965 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
24967         * po/Makefile (po-sed-cmd): Add ksh to extensions.
24968         (libc.pot): Work around missing support for .ksh extension in xgettext.
24970         [BZ #12684]
24971         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24972         if both request failed.
24973         (send_dg): In case of server errors clear resplen or *resplen2.
24975         [BZ #12454]
24976         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24977         when there are multiple maps.
24978         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24979         (_dl_fini): Remove test here.
24981         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24983 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
24985         [BZ #12350]
24986         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24987         bit from old_res_options.
24988         (gaih_inet): Likewise.
24990         [BZ #11099]
24991         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24992         as signed.
24994         * resolv/res_init.c (res_setoptions): Make the code more compact.
24996         [BZ #11558]
24997         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24998         set RES_USEVC.
25000         [BZ #11634]
25001         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25003         * malloc/malloc.h: Mark malloc hook variables as deprecated.
25005         [BZ #11781]
25006         * malloc/malloc.h: Declare malloc hook variables as volatile.
25008         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25009         in last patch.
25011         [BZ #11799]
25012         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25013         raise in the comment.
25014         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25015         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25016         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25018 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
25020         [BZ #12811]
25021         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25022         grow the buffers more if it already has to be sufficient.
25023         (build_wcs_upper_buffer): Likewise.
25024         * posix/regexec.c (check_matching): Likewise.
25025         (clean_state_log_if_needed): Likewise.
25026         (extend_buffers): Don't enlarge buffers beyond size of the input
25027         buffer.
25028         Patches mostly by Emil Wojak <emil@wojak.eu>.
25029         * posix/bug-regex32.c: New file.
25030         * posix/Makefile (tests): Add bug-regex32.
25032         * locale/findlocale.c (_nl_find_locale): Return right away if
25033         _nl_explode_name failed.
25034         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25036         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25038         * debug/xtrace.sh: Unify messages.
25039         * malloc/memusage.sh: Likewise.
25041         [BZ #12813]
25042         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25043         time symbol from vDSO.  Substitute with vsyscall if not available.
25044         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25045         __vdso_time.
25047         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25048         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25049         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25050         Add sendmmsg and internal_sendmmsg.
25051         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25052         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25053         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25055         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25056         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25057         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25059 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
25061         [BZ #12813]
25062         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25063         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
25064         available.
25065         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25066         __vdso_getcpu.
25068         [BZ #12814]
25069         * iconvdata/Makefile (tests): Add bug-iconv9.
25070         * iconvdata/bug-iconv9.c: New file.
25072 2011-05-27  Andreas Schwab  <schwab@redhat.com>
25074         [BZ #12814]
25075         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25077 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
25079         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25080         (struct user_regs_struct): Change intcs field back to cs.
25082 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
25084         * po/ja.po: Update from translation team.
25086 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
25088         [BZ #12795]
25089         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25090         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25092 2011-05-20  Andreas Schwab  <schwab@redhat.com>
25094         * stdlib/longlong.h: Update from GCC.
25096 2011-05-23  Andreas Schwab  <schwab@redhat.com>
25098         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25099         parameter name.
25100         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25101         Add parameter name.
25102         (__sysconf): Pass it down.
25104 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
25106         [BZ #12671]
25107         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25108         some situations.
25109         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25110         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25111         add in in __libc_use_alloca calls.  Adjust callers.
25112         (glob): Use malloc in some situations.
25114         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25115         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25116         pltexit.
25118 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
25120         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25121         and CLOCK_BOOTTIME_ALARM.
25123         [BZ #12782]
25124         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25125         is returned.
25127         * string/_strerror.c (__strerror_r): Print negative errors as signed
25128         numbers.
25130         [BZ #12777]
25131         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25132         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25133         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25135         * configure.in: Fix typo in redirection and correct removal of test
25136         files in two cases.
25138         [BZ #12788]
25139         * locale/setlocale.c (new_composite_name): Fix test to check for
25140         identical name of all categories.
25142         [BZ #12792]
25143         * libio/filedoalloc.c (local_isatty): New function.
25144         (_IO_file_doallocate): Use local_isatty.
25145         * stdio-common/perror.c (perror): In case a new stream is used
25146         forward the stream error.
25147         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25148         error flag.
25150 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
25152         [BZ #11869]
25153         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25154         alloca.
25155         * include/alloca.h (extend_alloca_account): Define.
25157         [BZ #11857]
25158         * posix/regex.h: Fix comments with documentation of user-accessible
25159         fields after compilation and describe correct free'ing of pattern
25160         after re_compile_pattern.
25161         Patch by Reuben Thomas <rrt@sc3d.org>.
25163 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
25165         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25166         and -mno-altivec to prevent the compiler from using Altivec and/or
25167         VSX instructions when the corresponding registers are not available.
25169 2011-05-19  Andreas Schwab  <schwab@redhat.com>
25171         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25173 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
25175         * libio/freopen.c (freopen): Use __dup2, not dup2.
25176         * libio/freopen64.c (freopen64): Likewise.
25178 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25180         [BZ #12775]
25181         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25182         * math/Makefile (tests): Add test-powl.
25183         (CFLAGS-test-powl.c): Define.
25184         * math/test-powl.c: New file.
25186 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25188         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25190 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
25192         [BZ #11837]
25193         * iconvdata/gb18030.c: Update to GB18020-2005.
25195 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
25197         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25198         RE_SYNTAX_POSIX_AWK): Update to match recent development.
25199         Patch by Aharon Robbins <arnold@skeeve.com>.
25201         [BZ #11892]
25202         * stdlib/putenv.c (putenv): Don't always create copy of the variable
25203         on the stack.
25205         [BZ #11895]
25206         * misc/pselect.c (__pselect): Handle timeout value errors hidden
25207         through underflows.
25209         [BZ #12766]
25210         * misc/error.c (error_at_line): Ensure file_name and old_file_name
25211         point to strings before performing equality test for error_one_per_line
25212         mode.
25214         [BZ #11697]
25215         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25217         [BZ #11820]
25218         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25219         (struct user_fpregs_struct): Avoid __uint*_t types.
25221         [BZ #6420]
25222         * malloc/mtrace.c (tr_where): Add additional parameter to point to
25223         symbol info.  Use it instead of calling _dl_addr locally.
25224         (lock_and_info): New function.
25225         (tr_freehook): Call lock_and_info and pass symbol info as additional
25226         parameter to tr_where.
25227         (tr_mallochook): Likewise.
25228         (tr_reallochook): Likewise.
25229         (tr_memalignhook): Likewise.
25231         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
25232         used and couldn't be at all thread-safe.
25234 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
25236         * libio/freopen.c (freopen): Don't close old file descriptor
25237         before the new one is opened.  Instead dup the new file descriptor
25238         to the old one after the new stream is created.
25239         * libio/freopen64.c (freopen64): Likewise.
25240         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25241         * libio/fileops.c (_IO_new_file_close_it): Handle new
25242         _IO_FLAGS2_NOCLOSE flag.
25243         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25244         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25245         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25246         _IO_FLAGS2_NOCLOSE flag.
25247         * include/unistd.h: Add hidden_proto for dup3.
25248         Define __have_dup3.
25249         * io/dup3.c: Define hidden symbol.
25250         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25252         [BZ #7101]
25253         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25254         when an incomplete long option is used.
25255         * posix/tst-getopt_long1.c: New file.
25256         * posix/Makefile (tests): Add tst-getopt_long1.
25258         [BZ #10138]
25259         * scripts/config.guess: Update from autoconf-2.68.
25260         * scripts/config.sub: Likewise.
25262         [BZ #10157]
25263         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25264         tests into ...
25265         (has_cpuclock): ...this.  New function.
25266         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25267         macro here based on has_cpuclock code.
25269         [BZ #10149]
25270         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25271         First byte (not low byte) is now always NUL.
25272         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25274         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25275         Use non-cancelable interfaces.
25277         [BZ #9809]
25278         * locale/iso-639.def: Add entry for Sorani.
25280         [BZ #11901]
25281         * include/stdlib.h: Move include protection to the right place.
25282         Define abort_msg_s.  Declare __abort_msg with it.
25283         * stdlib/abort.c (__abort_msg): Adjust type.
25284         * assert/assert.c (__assert_fail_base): New function.  Majority
25285         of code from __assert_fail.  Allocate memory for __abort_msg with
25286         mmap.
25287         (__assert_fail): Now call __assert_fail_base.
25288         * assert/assert-perr.c: Remove bulk of implementation.  Use
25289         __assert_fail_base.
25290         * include/assert.hL Declare __assert_fail_base.
25291         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25292         mmap.
25293         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25295 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
25297         [BZ #11952]
25298         [BZ #12453]
25299         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25300         until all modules are registered in the DTV.
25301         * elf/Makefile: Add rules to build and run tst-tls19.
25302         * elf/tst-tls19.c: New file.
25303         * elf/tst-tls19mod1.c: New file.
25304         * elf/tst-tls19mod2.c: New file.
25305         * elf/tst-tls19mod3.c: New file.
25306         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25308         [BZ #12083]
25309         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25310         correctly.
25312         [BZ #12601]
25313         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25314         two-byte sequence errors.
25315         * iconvdata/Makefile (tests): Add bug-iconv8.
25316         * iconvdata/bug-iconv8.c: New file.
25318         [BZ #12626]
25319         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25320         buf2 definition.
25322         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25324         [BZ #12432]
25325         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25326         (dummy_getcfa): New function.
25327         (init): Get _Unwind_GetCFA address, use dummy if not found.
25328         (backtrace_helper): In recursion check, also check whether CFA changes.
25329         (__backtrace): Completely initialize arg.
25331         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25332         storing incomplete byte sequence in state object.  Avoid testing for
25333         guaranteed too small input if we know there is enough data available.
25335 2011-05-11  Andreas Schwab  <schwab@redhat.com>
25337         * Makeconfig (+link-pie): Indent.
25338         * Rules (binaries-pie): Define if $(have-fpie) and
25339         $(build-shared).
25340         (binaries-shared): Also filter out $(binaries-pie).
25341         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25342         * nscd/Makefile (others-pie): Add nscd.
25343         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25344         ($(objpfx)nscd): Remove command override.
25345         * login/Makefile (others-pie): Add pt_chown.
25346         ($(objpfx)pt_chown): Remove command override.
25347         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25348         remove command overrides.
25350 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
25352         * libio/tst_putwc.c: Fix error messages.
25354         [BZ #12724]
25355         * libio/fileops.c (_IO_new_file_close_it): Always flush when
25356         currently writing and seek to current position when not.
25357         * libio/Makefile (tests): Add bug-fclose1.
25358         * libio/bug-fclose1.c: New file.
25360 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
25362         [BZ #12511]
25363         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25364         don't set DF_1_NODELETE here.
25365         (do_lookup_x): When entering new entry test for copy relocation
25366         and if necessary set DF_1_NODELETE flag.
25367         * elf/tst-unique4.cc: New file.
25368         * elf/tst-unique4.h: New file.
25369         * elf/tst-unique4lib.cc: New file.
25370         * elf/Makefile: Add rules to build and run tst-unique4.
25371         Patch by Piotr Bury <pbury@goahead.com>.
25373 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
25375         [BZ #12052]
25376         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25378         [BZ #12625]
25379         * misc/mntent_r.c (addmntent): Flush the stream after the output
25381         [BZ #12393]
25382         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25383         (is_trusted_path_normalize): Skip initial colon.  Append slash
25384         to empty buffer.  Duplicate is_trusted_path code but allow
25385         constructed patch to be prefix.
25386         (is_dst): Allow $ORIGIN followed by /.
25387         (_dl_dst_substitute): Correct clearing of check_for_trusted.
25388         Correct testing of result of is_trusted_path_normalize
25389         (decompose_rpath): Fix warning.
25391 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
25393         [BZ #11257]
25394         * grp/initgroups.c (internal_getgrouplist): When we found the service
25395         list through the initgroups entry in nsswitch.conf do not always
25396         continue on a successful lookup.  Don't always use the
25397         __nss_group_database value if it is set.
25398         * nss/nsswitch.conf (initgroups): Change action for successful db
25399         lookup to continue for compatibility.
25401 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
25403         [BZ #11532]
25404         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25405         and CP774 modules.
25406         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25407         and CP774 modules.
25408         * iconvdata/tst-tables.sh: Likewise.
25409         * iconvdata/cp770.c: New file.
25410         * iconvdata/cp771.c: New file.
25411         * iconvdata/cp772.c: New file.
25412         * iconvdata/cp773.c: New file.
25413         * iconvdata/cp774.c: New file.
25414         * iconvdata/testdata/CP770: New file.
25415         * iconvdata/testdata/CP770..UTF8: New file.
25416         * iconvdata/testdata/CP771: New file.
25417         * iconvdata/testdata/CP771..UTF8: New file.
25418         * iconvdata/testdata/CP772: New file.
25419         * iconvdata/testdata/CP772..UTF8: New file.
25420         * iconvdata/testdata/CP773: New file.
25421         * iconvdata/testdata/CP773..UTF8: New file.
25422         * iconvdata/testdata/CP774: New file.
25423         * iconvdata/testdata/CP774..UTF8: New file.
25425         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25426         END CHARMAP line.
25427         * iconvdata/gen-8bit-gap.sh: Likewise.
25428         * iconvdata/gen-8bit.sh: Likewise.
25430         * locale/iso-639.def: Add ary entry.
25432         [BZ #11258]
25433         * locale/C-translit.h.in: Add U20A1 transliteration.
25435         [BZ #12178]
25436         * locale/iso-639.def: Add wae entry.
25437         Patch by Kevin Bortis <bortis@translate-wae.ch>.
25439         [BZ #12545]
25440         * locale/programs/localedef.c (construct_output_path): Use ssize_t
25441         for n.
25443         [BZ #12711]
25444         * locale/C-translit.h.in: Add entry for U20B9.
25445         Patch by pravin.d.s@gmail.com.
25447 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
25449         [BZ #12713]
25450         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25451         ENAMETOOLONG use generic getcwd.
25452         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
25453         in rtld.  Use *stat64.
25454         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25455         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25456         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25457         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25458         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25459         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25460         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25461         __fstatat64 macros.
25462         * include/dirent.h: Add libc_hidden_proto for rewinddir.
25463         * dirent/rewinddir.c: Add libc_hidden_def.
25464         * sysdeps/mach/hurd/rewinddir.c: Likewise.
25465         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
25467         * include/dirent.h (__alloc_dir): Add flags parameter.
25468         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25469         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25470         __alloc_dir.
25471         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
25472         from fdopendir if O_CLOEXEC is already set.
25474 2011-03-15  Alan Modra  <amodra@gmail.com>
25476         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25477         l_tls_firstbyte_offset non-zero.  Save padding offset in
25478         l_tls_firstbyte_offset for later use.
25479         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25480         freeing static tls block.
25482 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
25484         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25485         where #ifdef was intended.  The intent is to prevent ARG_MAX from
25486         being defined by the kernel headers.
25488 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
25490         [BZ #12734]
25491         * resolv/resolv.h: Define RES_NOTLDQUERY.
25492         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25493         no-tld-query and set RES_NOTLDQUERY.
25494         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25495         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25496         modern BIND to search name as TLD unless forbidden.
25498 2011-05-07  Petr Baudis  <pasky@suse.cz>
25499             Ulrich Drepper  <drepper@gmail.com>
25501         [BZ #12393]
25502         * elf/dl-load.c (fillin_rpath): Move trusted path check...
25503         (is_trusted_path): ...to here.
25504         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25505         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25506         using is_trusted_path_normalize() in setuid scripts.
25508 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25510         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25511         __BEGIN/__END_DECLS.
25513 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
25515         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25516         NSS_STATUS_NOTFOUND if no record was found.
25518 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25520         * sunrpc/Makefile (headers): Add rpc/netdb.h.
25521         (headers-not-in-tirpc): Remove rpc/netdb.h
25522         * resolv/netdb.h: Revert last change.
25524 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25526         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25527         circular dependency between libgcc.a and libc.a.
25529 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25531         * resolv/netdb.h: Don't include <rpc/netdb.h>.
25532         * nis/Makefile: Don't install rpcsvc/*.
25533         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25534         instead of <rpc/types.h>.
25535         (MAXHOSTNAMELEN): Define.
25537 2011-05-03  Andreas Schwab  <schwab@redhat.com>
25539         * elf/ldconfig.c (add_dir): Don't crash on empty path.
25541 2011-04-28  Maciej Babinski  <mbabinski@google.com>
25543         [BZ #12714]
25544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25545         gethostbyname4_r when IPv6 results are possible.
25547 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
25549         [BZ #12723]
25550         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25551         _PC_PIPE_BUF handling.
25553 2011-04-30  Bruno Haible  <bruno@clisp.org>
25555         [BZ #12717]
25556         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25557         * resolv/netdb.h (getnameinfo): Change type of flags parameter
25558         to 'int'.
25559         * inet/getnameinfo.c (getnameinfo): Likewise.
25561 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
25563         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25564         to groups setting in database lookup.
25565         * nss/nsswitch.conf: Add initgroups entry.
25567 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
25569         [BZ #12685]
25570         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25571         mode string.
25572         Patch by Eric Blake <eblake@redhat.com>.
25574 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
25576         * sunrpc/Makefile (need-export-routines): Add svc_run.
25577         (routines): Remove svc_run.
25578         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25579         * sunrpc/clnt_perr.c (clnt_perrno): Export.
25580         * sunrpc/svc_run.c (svc_run): Likewise.
25581         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25583 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
25585         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25586         problem in reallocation in last patch.
25588 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
25590         * sunrpc/Makefile: Move inclusion of Rules.
25592 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25594         * nss/nss_files/files-initgroups.c: New file.
25595         * nss/Makefile (libnss_files-routines): Add files-initgroups.
25596         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25597         _nss_files_initgroups_dyn.
25599 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
25601         * elf/elf.h (R_ARM_IRELATIVE): Define.
25603 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25605         * po/ru.po: Update from translation team.
25607 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25609         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25610         dependencies.
25612 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
25614         [BZ #12653]
25615         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25616         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25617         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25618         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25619         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25621 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
25623         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25624         differing bytes.
25625         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25626         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25627         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25629 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25631         [BZ #12420]
25632         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25633         storing it.
25634         * stdlib/bug-getcontext.c: New file.
25635         * stdlib/Makefile: Add rules to build and run bug-getcontext.
25637 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25639         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25640         instructions into .machine "z9-109".
25641         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25642         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25644 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25646         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25647         between environment variables and auxiliary vector.
25649 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
25651         * Makefile: Add rules to build linkobj/libc.so.
25652         * include/libc-symbols.h: Define libc_hidden_nolink.
25653         * include/rpc/auth.h: Mark functions which are to be hidden.
25654         * include/rpc/auth_des.h: Likewise.
25655         * include/rpc/auth_unix.h: Likewise.
25656         * include/rpc/clnt.h: Likewise.
25657         * include/rpc/des_crypt.h: Likewise.
25658         * include/rpc/key_prot.h: Likewise.
25659         * include/rpc/pmap_clnt.h: Likewise.
25660         * include/rpc/pmap_prot.h: Likewise.
25661         * include/rpc/pmap_rmt.h: Likewise.
25662         * include/rpc/rpc_msg.h: Likewise.
25663         * include/rpc/svc.h: Likewise.
25664         * include/rpc/svc_auth.h: Likewise.
25665         * include/rpc/xdr.h: Likewise.
25666         * nis/Makefile: Link all DSOs against linkobj/libc.so.
25667         * nss/Makefile: Likewise.
25668         * sunrpc/Makefile: Don't install headers.  Build library with normal
25669         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
25670         * sunrpc/auth_des.c: Hide exported symbols by default, export some
25671         for the compat linking library.  Remove use of INTDEF/INTUSE.
25672         * sunrpc/auth_none.c: Likewise.
25673         * sunrpc/auth_unix.c: Likewise.
25674         * sunrpc/authdes_prot.c: Likewise.
25675         * sunrpc/authuxprot.c: Likewise.
25676         * sunrpc/clnt_gen.c: Likewise.
25677         * sunrpc/clnt_perr.c: Likewise.
25678         * sunrpc/clnt_raw.c: Likewise.
25679         * sunrpc/clnt_simp.c: Likewise.
25680         * sunrpc/clnt_tcp.c: Likewise.
25681         * sunrpc/clnt_udp.c: Likewise.
25682         * sunrpc/clnt_unix.c: Likewise.
25683         * sunrpc/des_crypt.c: Likewise.
25684         * sunrpc/des_soft.c: Likewise.
25685         * sunrpc/get_myaddr.c: Likewise.
25686         * sunrpc/key_call.c: Likewise.
25687         * sunrpc/key_prot.c: Likewise.
25688         * sunrpc/netname.c: Likewise.
25689         * sunrpc/pm_getmaps.c: Likewise.
25690         * sunrpc/pm_getport.c: Likewise.
25691         * sunrpc/pmap_clnt.c: Likewise.
25692         * sunrpc/pmap_prot.c: Likewise.
25693         * sunrpc/pmap_prot2.c: Likewise.
25694         * sunrpc/pmap_rmt.c: Likewise.
25695         * sunrpc/publickey.c: Likewise.
25696         * sunrpc/rpc_cmsg.c: Likewise.
25697         * sunrpc/rpc_common.c: Likewise.
25698         * sunrpc/rpc_dtable.c: Likewise.
25699         * sunrpc/rpc_prot.c: Likewise.
25700         * sunrpc/rpc_thread.c: Likewise.
25701         * sunrpc/rtime.c: Likewise.
25702         * sunrpc/svc.c: Likewise.
25703         * sunrpc/svc_auth.c: Likewise.
25704         * sunrpc/svc_authux.c: Likewise.
25705         * sunrpc/svc_raw.c: Likewise.
25706         * sunrpc/svc_run.c: Likewise.
25707         * sunrpc/svc_simple.c: Likewise.
25708         * sunrpc/svc_tcp.c: Likewise.
25709         * sunrpc/svc_udp.c: Likewise.
25710         * sunrpc/svc_unix.c: Likewise.
25711         * sunrpc/svcauth_des.c: Likewise.
25712         * sunrpc/xcrypt.c: Likewise.
25713         * sunrpc/xdr.c: Likewise.
25714         * sunrpc/xdr_array.c: Likewise.
25715         * sunrpc/xdr_float.c: Likewise.
25716         * sunrpc/xdr_intXX_t.c: Likewise.
25717         * sunrpc/xdr_mem.c: Likewise.
25718         * sunrpc/xdr_rec.c: Likewise.
25719         * sunrpc/xdr_ref.c: Likewise.
25720         * sunrpc/xdr_sizeof.c: Likewise.
25721         * sunrpc/xdr_stdio.c: Likewise.
25723 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
25725         [BZ #12650]
25726         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25727         * sysdeps/ia64/dl-tls.h: Likewise.
25728         * sysdeps/powerpc/dl-tls.h: Likewise.
25729         * sysdeps/s390/dl-tls.h: Likewise.
25730         * sysdeps/sh/dl-tls.h: Likewise.
25731         * sysdeps/sparc/dl-tls.h: Likewise.
25732         * sysdeps/x86_64/dl-tls.h: Likewise.
25733         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25735 2011-03-14  Andreas Schwab  <schwab@redhat.com>
25737         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25738         rpath element also skip the following colon.
25739         (expand_dynamic_string_token): Add is_path parameter and pass
25740         down to DL_DST_REQUIRED and _dl_dst_substitute.
25741         (decompose_rpath): Call expand_dynamic_string_token with
25742         non-zero is_path.  Ignore empty rpaths.
25743         (_dl_map_object_from_fd): Call expand_dynamic_string_token
25744         with zero is_path.
25746 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
25748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25749         Make cancelable.
25751 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
25753         [BZ #12655]
25754         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25755         Patch by Filipe David Manana <fdmanana@apache.org>.
25757 2011-04-07  Andreas Schwab  <schwab@redhat.com>
25759         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25760         Maintain aligned stack.
25761         (CHECK_RSP): Remove unused macro.
25763 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
25765         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25766         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25768 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
25770         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25772         * include/features.h: Mention __USE_XOPEN2K8 in comment.
25774 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
25776         [BZ #12518]
25777         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25778         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25779         * sysdeps/x86_64/memmove.c: New file.
25780         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25781         (memcpy): Renamed to ...
25782         (__new_memcpy): This.
25783         (memcpy): Provide GLIBC_2_14 memcpy.
25784         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25785         (memcpy): Provide GLIBC_2_2_5 memcpy.
25787 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25789         [BZ #12631]
25790         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25792 2011-03-30  Andreas Schwab  <schwab@redhat.com>
25794         * misc/syncfs.c: New file.
25795         * misc/Makefile (routines): Add syncfs.
25796         * posix/unistd.h: Declare syncfs.
25797         * sysdeps/unix/syscalls.list: Add syncfs.
25799 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25801         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25802         open_by_handle_at.
25803         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25804         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25805         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25806         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25807         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25808         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25809         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25811 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25813         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25814         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25815         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25816         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25817         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25818         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25819         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25821         * io/Makefile: Compile fallocate.c, fallocate64.c, and
25822         sync_file_range.c with -fexceptions.
25823         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25824         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25825         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25826         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25827         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25828         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25829         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25830         sync_file_range as cancellation point
25831         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
25832         now a wrapper around __call_sync_file_range with cancellation handling.
25833         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25834         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
25835         function name to __call_sync_file_range.
25836         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25837         Add call_sync_file_range.
25839 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25841         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25842         bits/timex.h.
25844 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25846         * iconv/iconv.h: Fix typo in comment.
25847         * io/fcntl.h: Likewise.
25848         * libio/stdio.h: Likewise.
25849         * posix/spawn.h: Likewise.
25850         * posix/unistd.h: Likewise.
25851         * stdlib/stdlib.h: Likewise.
25852         * time/time.h: Likewise.
25853         * wcsmbs/wchar.h: Likewise.
25855         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25856         open_by_handle): Add.
25857         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25858         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
25859         Augment a few comments.
25860         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25861         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25862         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25863         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25864         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25865         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25866         open_by_handle.
25868         * io/fcntl.h (AT_EMPTY_PATH): Define.
25870 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
25872         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25873         * sysdeps/unix/sysv/linux/bits/time.h: New file.
25874         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25875         to...
25876         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
25877         * Versions.def: Add GLIBC_2.14.
25878         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25879         Export.
25881 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
25883         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25884         round counter.
25885         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25887 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25889         [BZ #12597]
25890         * string/test-strncmp.c (do_page_test): New function.
25891         (check2): Likewise.
25892         (test_main): Call check2.
25893         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25895 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
25897         [BZ #12587]
25898         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25899         Handle cache information in CPU leaf 4.
25900         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25902 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
25904         [BZ #12583]
25905         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25906         character representation.
25907         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25909 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
25911         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25912         END(__isnan) to END(__isnanf) to match function entry point/label
25913         EALIGN(__isnanf,...).
25915 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
25917         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25919 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
25921         [BZ #12510]
25922         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25923         copy from the symbol referenced in the relocation to initialize the
25924         used variable.
25925         Patch by Piotr Bury <pbury@goahead.com>.
25926         * elf/Makefile: Add rules to build and tst-unique3.
25927         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25928         * elf/tst-unique3.cc: New file.
25929         * elf/tst-unique3.h: New file.
25930         * elf/tst-unique3lib.cc: New file.
25931         * elf/tst-unique3lib2.cc: New file.
25933         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25935 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
25937         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25938         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
25939         to _start.
25941 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
25943         * elf/dl-load.c (_dl_map_object): If we are looking for the first
25944         to-be-loaded object along a path to loader is ld.so.
25946 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25947             Ulrich Drepper  <drepper@gmail.com>
25949         * sysdeps/x86_64/memset.S: After aligning destination, code
25950         branches to different locations depending on the value of
25951         misalignment, when multiarch is enabled. Fix this.
25953 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25955         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25956         Set _x86_64_preferred_memory_instruction for AMD processsors.
25957         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25958         Set bit_Prefer_SSE_for_memop for AMD processors.
25960 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
25962         * libio/fmemopen.c (fmemopen): Optimize a bit.
25964 2011-03-03  Andreas Schwab  <schwab@redhat.com>
25966         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25968 2011-03-03  Roland McGrath  <roland@redhat.com>
25970         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25972 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
25974         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25975         __bzero_ultra1 instead of __memset_ultra1.
25977 2011-02-23  Andreas Schwab  <schwab@redhat.com>
25978             Ulrich Drepper  <drepper@gmail.com>
25980         [BZ #12509]
25981         * include/link.h (struct link_map): Add l_orig_initfini.
25982         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25983         returning unsuccessfully.
25984         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25985         close of a file loaded at startup, restore the original l_initfini
25986         list.
25987         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25988         list, store the pointer.
25989         * elf/Makefile ($(objpfx)noload-mem): New rule.
25990         (noload-ENV): Define.
25991         (tests): Add $(objpfx)noload-mem.
25992         * elf/noload.c: Include <memcheck.h>.
25993         (main): Call mtrace.  Close all opened handles.
25995 2011-02-17  Andreas Schwab  <schwab@redhat.com>
25997         [BZ #12454]
25998         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25999         dependencies are missing.
26001 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26003         Fix __if_freereq crash: Unlike the generic version which uses free,
26004         Hurd needs munmap.
26005         * sysdeps/mach/hurd/ifreq.h: New file.
26007 2011-01-27  Petr Baudis  <pasky@suse.cz>
26008             Ulrich Drepper  <drepper@gmail.com>
26010         [BZ 12445]#
26011         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26012         to extend_alloca().
26013         * stdio-common/bug23.c: New file.
26014         * stdio-common/Makefile (tests): Add bug23.
26016 2010-09-28  Andreas Schwab  <schwab@redhat.com>
26017             Ulrich Drepper  <drepper@gmail.com>
26019         [BZ #12489]
26020         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26021         before performing relro protection.  At old place add assertion
26022         to make sure nothing changed.
26024 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
26025             Glauber de Oliveira Costa  <glommer@gmail.com>
26027         * elf/elf.h: Add new ARM TLS relocs.
26029 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
26031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26032         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26033         cast from r3.
26034         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
26035         'tests' variable.
26036         * sysdeps/wordsize-64/tst-writev.c: New file.
26038 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
26040         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26041         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26042         insns in _dl_start to prevent a TOC reference before relocs are
26043         resolved.
26045 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
26047         [BZ #12469]
26048         * Makeconfig: Remove RANLIB definition.
26049         * Makerules: Don't use RANLIB.
26050         * aclocal.m4: Remove ranlib test.
26051         * configure.in: No need to check for ranlib.
26052         * elf/rtld-Rules: Don't use RANLIB.
26054 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26056         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26057         protection macro.
26058         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26059         inclusion protection macro.
26061         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26062         SIGRTMIN and SIGRTMAX and print information in that case only when
26063         SIGRTMIN is defined.
26065 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
26067         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26068         arginfo fn returning -1.
26070         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26071         and thousands string is zero terminated.
26073 2011-02-03  Andreas Schwab  <schwab@redhat.com>
26075         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26076         sysdeps/unix/sysv/linux/bits/socket.h.
26078 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26080         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26081         (__CPU_COUNT): Remove old macros.
26082         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26083         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26084         (__CPU_ALLOC, __CPU_FREE): Add macros.
26085         (__sched_cpualloc, __sched_cpufree): Add declarations.
26087 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
26089         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26090         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26091         * nscd/aicache.c (addhstaiX): Return timeout of added value.
26092         (readdhstai): Return value of addhstaiX call.
26093         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26094         (addgrbyX): Return value returned by cache_addgr.
26095         (readdgrbyname): Return value returned by addgrbyX.
26096         (readdgrbygid): Likewise.
26097         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26098         (addpwbyX): Return value returned by cache_addpw.
26099         (readdpwbyname): Return value returned by addhstbyX.
26100         (readdpwbyuid): Likewise.
26101         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26102         (addservbyX): Return value returned by cache_addserv.
26103         (readdservbyname): Return value returned by addservbyX:
26104         (readdservbyport): Likewise.
26105         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26106         (addhstbyX): Return value returned by cache_addhst.
26107         (readdhstbyname): Return value returned by addhstbyX.
26108         (readdhstbyaddr): Likewise.
26109         (readdhstbynamev6): Likewise.
26110         (readdhstbyaddrv6): Likewise.
26111         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26112         (readdinitgroups): Return value returned by addinitgroupsX.
26113         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26114         (prune_cache): Keep track of timeout value of re-added entries.
26115         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26116         * nscd/nscd.h: Adjust prototypes of readd* functions.
26118 2011-02-04  Roland McGrath  <roland@redhat.com>
26120         * nis/nis_server.c (nis_servstate): Use the right name for 0.
26121         (nis_stats): Likewise.
26122         * nis/nis_modify.c (nis_modify): Likewise.
26123         * nis/nis_remove.c (nis_remove): Likewise.
26124         * nis/nis_add.c (nis_add): Likewise.
26126         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26128         * posix/fnmatch_loop.c: Add some consts.
26130         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26132 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
26134         [BZ #12460]
26135         * config.make.in (config-cflags-novzeroupper): Define.
26136         * configure.in: Substitute libc_cv_cc_novzeroupper.
26137         * elf/Makefile (AVX-CFLAGS): Define.
26138         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26139         (CFLAGS-tst-auditmod4a.c): Likewise.
26140         (CFLAGS-tst-auditmod4b.c): Likewise.
26141         (CFLAGS-tst-auditmod6b.c): Likewise.
26142         (CFLAGS-tst-auditmod6c.c): Likewise.
26143         (CFLAGS-tst-auditmod7b.c): Likewise.
26144         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26146 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
26148         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26149         function to the callback.
26150         Patch partly by Jiri Olsa <jolsa@redhat.com>.
26152 2011-02-02  Andreas Schwab  <schwab@redhat.com>
26154         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26155         of errno.
26157 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
26159         [BZ #11724]
26160         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26161         of constructors.
26162         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26163         of destructors.
26164         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26166         [BZ #11724]
26167         * elf/Makefile: Add rules to build and run new test.
26168         * elf/tst-initorder.c: New file.
26169         * elf/tst-initorder.exp: New file.
26170         * elf/tst-initordera1.c: New file.
26171         * elf/tst-initordera2.c: New file.
26172         * elf/tst-initordera3.c: New file.
26173         * elf/tst-initordera4.c: New file.
26174         * elf/tst-initorderb1.c: New file.
26175         * elf/tst-initorderb2.c: New file.
26176         * elf/tst-order-a1.c: New file.
26177         * elf/tst-order-a2.c: New file.
26178         * elf/tst-order-a3.c: New file.
26179         * elf/tst-order-a4.c: New file.
26180         * elf/tst-order-b1.c: New file.
26181         * elf/tst-order-b2.c: New file.
26182         * elf/tst-order-main.c: New file.
26183         New test case by George Gensure <werkt0@gmail.com>.
26185 2010-10-01  Andreas Schwab  <schwab@redhat.com>
26187         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26188         decoding ACE if AI_CANONIDN.
26190 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
26192         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26194 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
26196         * version.h (RELEASE): Bump for 2.13 release.
26197         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26199         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26201         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26202         MADV_NOHUGEPAGE.
26203         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26204         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26205         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26206         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26207         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26208         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26210         * posix/getconf.c: Update copyright year.
26211         * catgets/gencat.c: Likewise.
26212         * csu/version.c: Likewise.
26213         * debug/catchsegv.sh: Likewise.
26214         * debug/xtrace.sh: Likewise.
26215         * elf/ldconfig.c: Likewise.
26216         * elf/ldd.bash.in: Likewise.
26217         * elf/sprof.c (print_version): Likewise.
26218         * iconv/iconv_prog.c: Likewise.
26219         * iconv/iconvconfig.c: Likewise.
26220         * locale/programs/locale.c: Likewise.
26221         * locale/programs/localedef.c: Likewise.
26222         * malloc/memusage.sh: Likewise.
26223         * malloc/mtrace.pl: Likewise.
26224         * nscd/nscd.c (print_version): Likewise.
26225         * nss/getent.c: Likewise.
26227         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26228         PF_CAIF, and PF_ALG.
26229         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26231 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
26233         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26234         (modules-names): Use them.
26235         (ifunc-test-modules, ifunc-pie-tests): Define.
26236         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26237         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26238         (test-extras): Likewise.
26239         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26240         $(compile-command.c).
26241         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26242         (all-built-dso): Define.
26243         (check-textrel.out, check-execstack.out): Depend on it.
26245         * configure.in: Don't override --enable-multi-arch.
26247 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
26249         [BZ #6812]
26250         * nscd/hstcache.c (tryagain): Define.
26251         (cache_addhst): Return tryagain not notfound for temporary errors.
26252         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26253         failed.
26255 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
26257         [BZ #10563]
26258         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26259         to make the syscall.
26260         * sysdeps/unix/sysv/linux/setgroups.c: New file.
26262         [BZ #12378]
26263         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26264         and fall back to matching as normal character if the string ends before
26265         the matching ']' is found.  This is what POSIX requires.
26266         * posix/testfnm.c: Adjust test result.
26267         * posix/globtest.sh: Adjust test result.  Add new test.
26268         * posix/tst-fnmatch.input: Likewise.
26269         * posix/tst-fnmatch2.c: Add new test.
26271 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
26273         * elf/Makefile (check-execstack): Revert last change.  Depend on
26274         check-execstack.h.
26275         (check-execstack.h): New target.
26276         (generated): Add check-execstack.h.
26277         * elf/check-execstack.c: Include "check-execstack.h".
26278         (main): Revert last change.
26279         (handle_file): Return zero if GNU_STACK is absent and
26280         DEFAULT_STACK_PERMS doesn't include PF_X.
26282 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
26284         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26285         in child fails because the descriptor is already closed.
26286         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26287         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26288         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26290         [BZ #12397]
26291         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26292         syscall.
26294         [BZ #10484]
26295         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26296         temporary buffer used to handle multi lookups locally.
26297         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26299 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26301         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26302         loader is ld.so.
26304 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
26306         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26307         alignment for SSE2.
26309 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26311         [BZ #12394]
26312         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26313         characters.  When rounding increased number of integer digits recompute
26314         number of groups.
26315         * stdio-common/tst-grouping.c: New file.
26316         * stdio-common/Makefile: Add rules to build and run tst-grouping.
26318 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
26320         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26321         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
26323         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26324         void.
26325         * bits/select.h: Likewise.
26327 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
26329         * po/ja.po: Update from translation team.
26331 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
26333         [BZ #11155]
26334         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26335         implementation just like for lxstat, fxstatat, et al.
26337 2010-12-27  Jim Meyering  <meyering@redhat.com>
26339         [BZ #12348]
26340         * posix/regexec.c (build_trtable): Return failure indication upon
26341         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
26343 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
26345         [BZ #12201]
26346         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26347         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26348         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26349         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26351         [BZ #12207]
26352         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26354         [BZ #12204]
26355         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26356         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26358 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
26360         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26361         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26362         script has SORT_BY_INIT_PRIORITY.
26363         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26364         NO_CTORS_DTORS_SECTIONS is defined.
26365         * elf/soinit.c: Likewise.
26366         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26367         NO_CTORS_DTORS_SECTIONS is defined.
26368         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26369         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26370         * sysdeps/sh/init-first.c: Likewise.
26371         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26373 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
26375         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26376         always use the slow path.
26378 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
26380         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26381         similar rule which adds the sysdep directories to the header search in
26382         order to pick up the correct platform stackinfo.h.
26383         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26384         perform test if it is, otherwise return successfully without testing.
26385         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26386         DEFAULT_STACK_PERMS define in stackinfo.h.
26387         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26388         defined in stackinfo.h.
26389         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26390         DEFAULT_STACK_PERMS defined in stackinfo.h.
26391         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26392         * sysdeps/ia64/stackinfo.h: Likewise.
26393         * sysdeps/s390/stackinfo.h: Likewise.
26394         * sysdeps/sh/stackinfo.h: Likewise.
26395         * sysdeps/sparc/stackinfo.h: Likewise.
26396         * sysdeps/x86_64/stackinfo.h: Likewise.
26397         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26398         PF_X for powerpc64.  Retain PF_X for powerpc32.
26400 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
26402         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26403         accurately.
26404         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26405         GETDENTS_64BIT_ALIGNED.
26407 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
26409         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26411 2010-12-10  Andreas Schwab  <schwab@redhat.com>
26413         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26414         _GNU_SOURCE.
26416         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26417         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26418         Remove __restrict.
26419         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26420         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26422 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
26424         [BZ #11655]
26425         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26426         are initialized.
26428 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
26430         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26432 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
26434         * po/it.po: Update from translation team.
26436 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26438         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26439         unused codes.
26441 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
26443         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26445 2010-11-24  Andreas Schwab  <schwab@redhat.com>
26447         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26448         specially.
26449         (gaih_getanswer_slice): Likewise.
26451 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
26453         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26455 2010-05-31  Petr Baudis  <pasky@suse.cz>
26457         [BZ #11149]
26458         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26459         silently even in the chroot mode.
26461 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
26463         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26464         last patch a bit.  Pretty printing
26466 2010-05-31  Petr Baudis <pasky@suse.cz>
26468         [BZ #10085]
26469         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26470         initialization of skip_initgroups_dyn.
26472 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
26474         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26475         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26477 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
26479         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26481 2010-11-11  Andreas Schwab  <schwab@redhat.com>
26483         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26484         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26485         (tst-fnmatch-ENV): Set MALLOC_TRACE.
26486         ($(objpfx)tst-fnmatch-mem): New rule.
26487         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26488         * posix/tst-fnmatch.c (main): Call mtrace.
26490 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
26492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26493         Support Intel processor model 6 and model 0x2c.
26495 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
26497         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26498           signed comparison.
26500 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
26502         [BZ #12205]
26503         * string/test-strncasecmp.c (check_result): New function.
26504         (do_one_test): Use it.
26505         (check1): New function.
26506         (test_main): Use it.
26507         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26508         Support strcasecmp and strncasecmp.
26510 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
26512         [BZ #12194]
26513         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26514         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26516 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26518         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26519         IFUNC support.
26520         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26521         memset-x86-64.
26522         * sysdeps/x86_64/multiarch/bzero.S: New file.
26523         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26524         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26525         * sysdeps/x86_64/multiarch/memset.S: New file.
26526         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26527         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26528         Set bit_Prefer_SSE_for_memop for Intel processors.
26529         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26530         Define.
26531         (index_Prefer_SSE_for_memop): Define.
26532         (HAS_PREFER_SSE_FOR_MEMOP): Define.
26534 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
26536         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26537         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26539 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
26541         [BZ #12191]
26542         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26543         (__x86_64_raw_data_cache_size_half): Likewise.
26544         (__x86_64_raw_shared_cache_size): Likewise.
26545         (__x86_64_raw_shared_cache_size_half): Likewise.
26547         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26548         (__x86_64_raw_data_cache_size_half): Likewise.
26549         (__x86_64_raw_shared_cache_size): Likewise.
26550         (__x86_64_raw_shared_cache_size_half): Likewise.
26551         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26552         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26553         and __x86_64_raw_shared_cache_size_half.  Round
26554         __x86_64_data_cache_size_half, __x86_64_data_cache_size
26555         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26556         to multiple of 256 bytes.
26558 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
26560         [BZ #12167]
26561         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26562         of inacessible symlinks.  Verify result of symlink before returning it.
26563         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26564         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26566 2010-10-28  Erich Ritz  <erichritz@gmail.com>
26568         * math/math.h (isinf): Fix typo in comment.
26570 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
26572         * po/da.po: Update from translation team.
26574 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
26576         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26577         is added to the list.
26579 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26580             Ulrich Drepper  <drepper@gmail.com>
26582         * elf/dl-object.c (_dl_new_object): Don't append the new object to
26583         the global list here.  Move code to...
26584         (_dl_add_to_namespace_list): ...here.  New function.
26585         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26586         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26587         * elf/dl-load.c (lose): Don't remove the element from the list.
26588         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26589         (_dl_map_object): Likewise.
26591 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
26593         [BZ #12159]
26594         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26595         into all bytes of SSE register.
26596         Patch by Richard Li <richardpku@gmail.com>.
26598 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
26600         [BZ #12140]
26601         * malloc/malloc.c (_int_free): Fill correct number of bytes when
26602         perturbing.
26604 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
26606         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26607         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26608         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26609         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26611         submachine.
26612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26614 2010-10-22  Andreas Schwab  <schwab@redhat.com>
26616         * include/dlfcn.h (__RTLD_SECURE): Define.
26617         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
26618         mode & __RTLD_SECURE instead.
26619         (open_path): Rename preloaded parameter to secure.
26620         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26621         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26622         * elf/dl-deps.c (openaux): Likewise.
26623         * elf/rtld.c (struct map_args): Remove is_preloaded.
26624         (map_doit): Don't use it.
26625         (dl_main): Likewise.
26626         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26627         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26629 2010-09-09  Andreas Schwab  <schwab@redhat.com>
26631         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26632         (sysd-rules-targets): Remove duplicates.
26633         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26634         rtld-%.$o dependency.
26636 2010-10-18  Andreas Schwab  <schwab@redhat.com>
26638         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26639         _dl_map_object do it.
26641 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
26643         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26644         fast fma builtins, define the macros in the C99 standard.
26645         (FP_FAST_FMAF): Likewise.
26646         (FP_FAST_FMAL): Likewise.
26647         * sysdeps/x86_64/bits/mathdef.h: Likewise.
26649         * bits/mathdef.h: Update copyright year.
26650         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26652 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
26654         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26655         builtins, define the macros in the C99 standard.
26656         (FP_FAST_FMAF): Likewise.
26657         (FP_FAST_FMAL): Likewise.
26658         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26659         multiply/add.
26660         (FP_FAST_FMAF): Likewise.
26662 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
26664         [BZ #3268]
26665         * math/libm-test.inc (fma_test): Some new testcases.
26666         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26667         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26668         y and infinite z.  Do multiplication by C already in long double.
26669         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26670         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26671         y and infinite z.  Do bitwise or of inexact bit into u.d.
26672         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26673         * sysdeps/i386/fpu/s_fmaf.S: Removed.
26674         * sysdeps/i386/fpu/s_fma.S: Removed.
26675         * sysdeps/i386/fpu/s_fmal.S: Removed.
26677 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
26679         [BZ #3268]
26680         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26681         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26682         computation is not scheduled after fetestexcept.  Fix value
26683         of minimum denormal long double.
26685 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
26687         [BZ #3268]
26688         * math/libm-test.inc (fma_test): Add some more tests.
26689         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26690         correctly.
26692 2010-10-15  Andreas Schwab  <schwab@redhat.com>
26694         * scripts/data/localplt-s390-linux-gnu.data: New file.
26695         * scripts/data/localplt-s390x-linux-gnu.data: New file.
26697 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
26699         [BZ #3268]
26700         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26701         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26702         instead of dbl-64.
26703         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26704         inlines.
26705         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26707         if one of x and y is very large and the other is subnormal.
26708         * sysdeps/s390/fpu/s_fmaf.c: New file.
26709         * sysdeps/s390/fpu/s_fma.c: New file.
26710         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26711         * sysdeps/powerpc/fpu/s_fma.S: New file.
26712         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26713         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26714         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26716 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
26718         [BZ #3268]
26719         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26720         fma tests.
26721         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26722         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26723         * sysdeps/i386/i686/multiarch/s_fma.c: Include
26724         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26725         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26726         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26727         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26729 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
26731         [BZ #12078]
26732         * posix/regcomp.c (parse_branch): One more memory leak plugged.
26733         * posix/bug-regex31.input: Add test case.
26735 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26737         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26738         * posix/bug-regex31.input: New file.
26740         [BZ #12078]
26741         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26742         (parse_sub_exp): Fix last change, use postorder.
26744         * posix/bug-regex31.c: New file.
26745         * posix/Makefile: Add rules to build and run bug-regex31.
26747         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26749         [BZ #12078]
26750         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26752         [BZ #12108]
26753         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26754         to have entries in sys_siglist.
26756         [BZ #12093]
26757         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26758         be NULL.
26760 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
26762         [BZ #3268]
26763         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26764         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26765         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26766         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26767         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26768         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26769         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26770         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26771         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26772         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26773         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26774         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26775         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26776         * math/ftestexcept.c (fetestexcept): Likewise.
26777         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26778         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26779         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26780         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26781         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26782         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26783         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26785 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26787         [BZ #12107]
26788         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26789         newline.
26791 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
26793         * string/bug-strstr1.c: New file.
26794         * string/Makefile: Add rules to build and run bug-strstr1.
26796 2010-10-05  Eric Blake  <eblake@redhat.com>
26798         [BZ #12092]
26799         * string/str-two-way.h (two_way_long_needle): Always clear memory
26800         when skipping input due to the shift table.
26802 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
26804         [BZ #12005]
26805         * malloc/mcheck.c: Handle large requests.
26807         [BZ #12077]
26808         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26809         for strncmp and strncasecmp.
26810         * string/stratcliff.c: Add tests for strcmp and strncmp.
26811         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26813 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26815         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26816         __set_fpscr.
26818 2010-09-30  Andreas Jaeger  <aj@suse.de>
26820         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26821         (CGROUP_SUPER_MAGIC): Define.
26822         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26823         Handle btrfs and cgroup file systems.
26824         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26825         Likewise.
26827 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
26829         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26830         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26832 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26834         [BZ #12067]
26835         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26836         trying to locate the ELF header.
26838 2010-09-27  Andreas Schwab  <schwab@redhat.com>
26840         [BZ #11611]
26841         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26842         Mask out sign-bit copies when constructing f_fsid.
26844 2010-09-24  Petr Baudis <pasky@suse.cz>
26846         * debug/stack_chk_fail_local.c: Add missing licence exception.
26847         * debug/warning-nop.c: Likewise.
26849 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
26851         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26852         implementing getdents64 using getdents syscall, set d_type if
26853         __ASSUME_GETDENTS32_D_TYPE.
26855 2010-09-16  Andreas Schwab  <schwab@redhat.com>
26857         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26858         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26860 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
26862         [BZ #12037]
26863         * posix/unistd.h: Undo change of feature selection for ftruncate from
26864         2010-01-11.
26866 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
26868         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26869         detection.
26871 2010-09-20  Andreas Schwab  <schwab@redhat.com>
26873         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26874         fanotify_mark.
26875         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26877 2010-09-14  Andreas Schwab  <schwab@redhat.com>
26879         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26880         variables after CHECK_SP call.
26881         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26883 2010-09-13  Andreas Schwab  <schwab@redhat.com>
26884             Ulrich Drepper  <drepper@redhat.com>
26886         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26887         re-relocationg ld.so.
26888         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26889         _dl_init_paths call.
26890         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
26891         here anymore.
26893 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
26895         * resolv/res_init.c (__res_vinit): Count the default server we added.
26897 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
26898             Ulrich Drepper  <drepper@redhat.com>
26900         [BZ #11968]
26901         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26902         (____longjmp_chk): Use %ebx for saving value across system call.
26903         Add unwind info.
26905 2010-09-06  Andreas Schwab  <schwab@redhat.com>
26907         * manual/Makefile: Don't mix pattern rules with normal rules.
26909 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26911         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26912         operation.
26913         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26914         * libio/iofopncook.c (_IO_cookie_init): Likewise.
26915         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26916         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26917         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26918         Likewise.
26920 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
26922         [BZ #11979]
26923         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26924         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26926 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
26928         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26929         * sysdeps/x86_64/addmul_1.S: Likewise.
26930         * sysdeps/x86_64/lshift.S: Likewise.
26931         * sysdeps/x86_64/mul_1.S: Likewise.
26932         * sysdeps/x86_64/rshift.S: Likewise.
26933         * sysdeps/x86_64/sub_n.S: Likewise.
26934         * sysdeps/x86_64/submul_1.S: Likewise.
26936 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26938         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26939         Define __sched_param instead of SCHED_* and sched_param when
26940         <bits/sched.h> is included with __need_schedparam defined.
26941         * bits/sched.h [__need_schedparam]
26942         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26943         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26944         (__defined_schedparam): Define to 1.
26945         (__sched_param): New structure, identical to sched_param.
26946         (__need_schedparam): Undefine.
26948 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
26950         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26951         (epoll_create1): Declare.
26953         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26955 2010-08-31  Andreas Schwab  <schwab@redhat.com>
26957         [BZ #7066]
26958         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26959         shifting retval into place.
26961 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
26963         * nis/rpcsvc/nis.h: Update copyright notice.
26964         * nis/rpcsvc/nis.x: Likewise.
26965         * nis/rpcsvc/nis_callback.h: Likewise.
26966         * nis/rpcsvc/nis_callback.x: Likewise.
26967         * nis/rpcsvc/nis_object.x: Likewise.
26968         * nis/rpcsvc/nis_tags.h: Likewise.
26969         * nis/rpcsvc/yp.h: Likewise.
26970         * nis/rpcsvc/yp.x: Likewise.
26971         * nis/rpcsvc/ypupd.h: Likewise.
26972         * nis/yp_xdr.c: Likewise.
26973         * nis/ypupdate_xdr.c: Likewise.
26975         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
26976         mainly the body of pmap_getport.  Add parameters to specify timeouts.
26977         (pmap_getport): Use __libc_rpc_getport.
26978         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26979         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26980         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26982 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
26984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26985         fanotify_mark.
26987 2010-08-27  Roland McGrath  <roland@redhat.com>
26989         * sysdeps/i386/i686/multiarch/Makefile
26990         (CFLAGS-varshift.c): New variable.
26992 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
26994         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26995         * sysdeps/i386/i686/multiarch/varshift.c: New file.
26997         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26999         * sysdeps/x86_64/strlen.S: Minimal code improvement.
27001 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27003         * sysdeps/x86_64/strlen.S: Unroll the loop.
27004         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27005         strlen-sse2 strlen-sse2-bsf.
27006         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27007         __strlen_no_bsf if bit_Slow_BSF is set.
27008         (__strlen_sse42): Removed.
27009         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27010         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27012 2010-08-25  Roland McGrath  <roland@redhat.com>
27014         * sysdeps/x86_64/multiarch/varshift.S: File removed.
27015         * sysdeps/x86_64/multiarch/varshift.c: New file.
27016         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27017         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27018         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27019         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27021 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27023         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27024         strlen-sse2 strlen-sse2-bsf.
27025         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27026         __strlen_sse2_bsf if bit_Slow_BSF is unset.
27027         (__strlen_sse2): Removed.
27028         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27029         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27030         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27031         bit_Slow_BSF for Atom.
27032         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27033         (index_Slow_BSF): Define.
27034         (HAS_SLOW_BSF): Define.
27036 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
27038         [BZ #10851]
27039         * resolv/res_init.c (__res_vinit): When no server address at all
27040         is given default to loopback.
27042 2010-08-24  Roland McGrath  <roland@redhat.com>
27044         * configure.in: Remove config-name.h generation.
27045         * configure: Regenerated.
27046         * config-name.in: File removed.
27047         * scripts/config-uname.sh: New file.
27048         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27049         ($(objdir)config-name.h): New target.
27051         * sunrpc/rpc_parse.h: Avoid nested comment.
27053 2010-08-24  Richard Henderson  <rth@redhat.com>
27054             Ulrich Drepper  <drepper@redhat.com>
27055             H.J. Lu  <hongjiu.lu@intel.com>
27057         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27059         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27060         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
27061         _mm_alignr_epi8 with _mm_loadu_si128.
27062         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27063         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27064         (__m128i_shift_right): Removed.
27065         * sysdeps/i386/i686/multiarch/varshift.h: New file.
27066         * sysdeps/i386/i686/multiarch/varshift.S: New file.
27067         * sysdeps/x86_64/multiarch/varshift.h: New file.
27068         * sysdeps/x86_64/multiarch/varshift.S: New file.
27070 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
27072         * configure.in: Move assembler checks to before sysdep dir checking.
27074 2010-08-20  Petr Baudis  <pasky@suse.cz>
27076         * LICENSES: Sync the sunrpc license.
27078 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
27080         * sunrpc/auth_des.c: Update copyright notice once again.
27081         * sunrpc/auth_none.c: Likewise.
27082         * sunrpc/auth_unix.c: Likewise.
27083         * sunrpc/authdes_prot.c: Likewise.
27084         * sunrpc/authuxprot.c: Likewise.
27085         * sunrpc/bindrsvprt.c: Likewise.
27086         * sunrpc/clnt_gen.c: Likewise.
27087         * sunrpc/clnt_perr.c: Likewise.
27088         * sunrpc/clnt_raw.c: Likewise.
27089         * sunrpc/clnt_simp.c: Likewise.
27090         * sunrpc/clnt_tcp.c: Likewise.
27091         * sunrpc/clnt_udp.c: Likewise.
27092         * sunrpc/clnt_unix.c: Likewise.
27093         * sunrpc/des_crypt.c: Likewise.
27094         * sunrpc/des_soft.c: Likewise.
27095         * sunrpc/get_myaddr.c: Likewise.
27096         * sunrpc/getrpcport.c: Likewise.
27097         * sunrpc/key_call.c: Likewise.
27098         * sunrpc/key_prot.c: Likewise.
27099         * sunrpc/openchild.c: Likewise.
27100         * sunrpc/pm_getmaps.c: Likewise.
27101         * sunrpc/pm_getport.c: Likewise.
27102         * sunrpc/pmap_clnt.c: Likewise.
27103         * sunrpc/pmap_prot.c: Likewise.
27104         * sunrpc/pmap_prot2.c: Likewise.
27105         * sunrpc/pmap_rmt.c: Likewise.
27106         * sunrpc/rpc/auth.h: Likewise.
27107         * sunrpc/rpc/auth_unix.h: Likewise.
27108         * sunrpc/rpc/clnt.h: Likewise.
27109         * sunrpc/rpc/des_crypt.h: Likewise.
27110         * sunrpc/rpc/key_prot.h: Likewise.
27111         * sunrpc/rpc/netdb.h: Likewise.
27112         * sunrpc/rpc/pmap_clnt.h: Likewise.
27113         * sunrpc/rpc/pmap_prot.h: Likewise.
27114         * sunrpc/rpc/pmap_rmt.h: Likewise.
27115         * sunrpc/rpc/rpc.h: Likewise.
27116         * sunrpc/rpc/rpc_des.h: Likewise.
27117         * sunrpc/rpc/rpc_msg.h: Likewise.
27118         * sunrpc/rpc/svc.h: Likewise.
27119         * sunrpc/rpc/svc_auth.h: Likewise.
27120         * sunrpc/rpc/types.h: Likewise.
27121         * sunrpc/rpc/xdr.h: Likewise.
27122         * sunrpc/rpc_clntout.c: Likewise.
27123         * sunrpc/rpc_cmsg.c: Likewise.
27124         * sunrpc/rpc_common.c: Likewise.
27125         * sunrpc/rpc_cout.c: Likewise.
27126         * sunrpc/rpc_dtable.c: Likewise.
27127         * sunrpc/rpc_hout.c: Likewise.
27128         * sunrpc/rpc_main.c: Likewise.
27129         * sunrpc/rpc_parse.c: Likewise.
27130         * sunrpc/rpc_parse.h: Likewise.
27131         * sunrpc/rpc_prot.c: Likewise.
27132         * sunrpc/rpc_sample.c: Likewise.
27133         * sunrpc/rpc_scan.c: Likewise.
27134         * sunrpc/rpc_scan.h: Likewise.
27135         * sunrpc/rpc_svcout.c: Likewise.
27136         * sunrpc/rpc_tblout.c: Likewise.
27137         * sunrpc/rpc_util.c: Likewise.
27138         * sunrpc/rpc_util.h: Likewise.
27139         * sunrpc/rpcinfo.c: Likewise.
27140         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27141         * sunrpc/rpcsvc/key_prot.x: Likewise.
27142         * sunrpc/rpcsvc/klm_prot.x: Likewise.
27143         * sunrpc/rpcsvc/mount.x: Likewise.
27144         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27145         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27146         * sunrpc/rpcsvc/rex.x: Likewise.
27147         * sunrpc/rpcsvc/rstat.x: Likewise.
27148         * sunrpc/rpcsvc/rusers.x: Likewise.
27149         * sunrpc/rpcsvc/sm_inter.x: Likewise.
27150         * sunrpc/rpcsvc/spray.x: Likewise.
27151         * sunrpc/rpcsvc/yppasswd.x: Likewise.
27152         * sunrpc/rtime.c: Likewise.
27153         * sunrpc/svc.c: Likewise.
27154         * sunrpc/svc_auth.c: Likewise.
27155         * sunrpc/svc_authux.c: Likewise.
27156         * sunrpc/svc_raw.c: Likewise.
27157         * sunrpc/svc_run.c: Likewise.
27158         * sunrpc/svc_simple.c: Likewise.
27159         * sunrpc/svc_tcp.c: Likewise.
27160         * sunrpc/svc_udp.c: Likewise.
27161         * sunrpc/svc_unix.c: Likewise.
27162         * sunrpc/svcauth_des.c: Likewise.
27163         * sunrpc/xcrypt.c: Likewise.
27164         * sunrpc/xdr.c: Likewise.
27165         * sunrpc/xdr_array.c: Likewise.
27166         * sunrpc/xdr_float.c: Likewise.
27167         * sunrpc/xdr_mem.c: Likewise.
27168         * sunrpc/xdr_rec.c: Likewise.
27169         * sunrpc/xdr_ref.c: Likewise.
27170         * sunrpc/xdr_sizeof.c: Likewise.
27171         * sunrpc/xdr_stdio.c: Likewise.
27173         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27174         handling.
27176 2010-08-19  Andreas Schwab  <schwab@redhat.com>
27178         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27180 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
27182         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27183         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27184         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27185         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27186         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27187         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27188         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27189         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27190         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27191         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27192         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27193         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27194         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27195         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27197 2010-07-26  Anton Blanchard  <anton@samba.org>
27199         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27200         * malloc/arena.c (heap_trim): Likewise.
27202 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
27204         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27205         here.  Not...
27206         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27207         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27209 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27211         * sysdeps/i386/elf/Makefile: New file.
27213 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27215         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27216         from fanotify_init.
27217         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27218         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27220 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
27222         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27223         of strncasecmp_l.
27224         * sysdeps/multiarch/strcmp.S: Likewise.
27226 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
27228         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27229         strncase_l-nonascii.
27230         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27231         Add strncase_l-ssse3.
27232         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27233         * sysdeps/x86_64/strcmp.S: Likewise.
27234         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27235         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27236         * sysdeps/x86_64/strncase.S: New file.
27237         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27238         * sysdeps/x86_64/strncase_l.S: New file.
27239         * string/Makefile (strop-tests): Add strncasecmp.
27240         * string/test-strncasecmp.c: New file.
27242         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27243         warning.
27245         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27246         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27248 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27250         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27252 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
27254         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27255         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27256         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27258 2010-05-01  Alan Modra  <amodra@gmail.com>
27260         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27261         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27262         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27263         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27264         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27265         tidying.  Don't tail-call __sigjmp_save for static lib.
27266         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27267         save location.
27268         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27269         (CALL_MCOUNT): Add eh info, and nop after bl.
27270         (TAIL_CALL_SYSCALL_ERROR): New macro.
27271         (PSEUDO_RET): Use it.
27272         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27273         Correct save location of integer regs and cr.
27274         (_dl_profile_resolve): Correct cr save location.  Delete nops
27275         after bl when SHARED.  Reduce cfi size a little by better
27276         placement of cfi directives.
27277         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27278         make a stack frame.  Instead use parm save area as a temp.
27279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27280         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
27281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27282         Don't make a stack frame for parent, use parm save area.
27283         Increase child stack frame to 112 bytes.  Don't save unused reg,
27284         and adjust reg usage.  Set up cfi on error recovery and
27285         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27287         (__makecontext): Add dummy nop after jump to exit.
27288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27289         Use correct parm save area and cr save, reduce stack frame.
27290         Correct cfi for possible PSEUDO_RET frame setup.
27291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27292         Branch to local label emitted by PSEUDO_RET rather than
27293         __syscall_error.
27295 2010-08-12  Andreas Schwab  <schwab@redhat.com>
27297         [BZ #11904]
27298         * locale/programs/locale.c (print_assignment): New function.
27299         (show_locale_vars): Use it.
27301 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
27303         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27304         field.
27305         (struct statfs64): Likewise.
27306         (_STATFS_F_FLAGS): Define.
27307         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27308         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27309         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27310         (ST_VALID): Define locally.
27311         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27312         __statvfs_getflags, use the provided value.
27313         * sysdeps/unix/sysv/linux/kernel-features.h: Define
27314         __ASSUME_STATFS_F_FLAGS.
27316         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27318         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27319         Add sys/fanotify.h.
27320         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27321         fanotify_mask for GLIBC_2.13.
27322         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27323         fanotify_init and fanotify_mark.
27324         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27325         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27327         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27328         Add prlimit.
27329         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27330         prlimit64 for GLIBC_2.13.
27331         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27332         prlimit64.
27333         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27334         syscall.
27335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27336         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27337         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27338         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27339         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
27340         add prlimit alias.
27341         * sysdeps/unix/sysv/linux/prlimit.c: New file.
27343         [BZ #11903]
27344         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27345         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27347         * nss/Makefile: Add rules to build and run tst-nss-test1.
27348         * shlib-versions: Add entry for libnss_test1.
27349         * nss/nss_test1.c: New file.
27350         * nss/tst-nss-test1.c: New file.
27352         * nss/nsswitch.c (__nss_database_custom): Define new variable.
27353         (__nss_configure_lookup): Set appropriate entry in
27354         __nss_configure_lookup to true.
27355         * nss/nsswitch.h: Define enum with indeces of databases in
27356         databases and __nss_database_custom arrays.  Declare
27357         __nss_database_custom.
27358         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27359         to avoid using nscd when custom rules are installed.
27360         * nss/getXXbyYY_r.c: Likewise.
27361         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27363         * nss/nss_files/files-parse.c: Whitespace fixes.
27365 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
27367         [BZ #11883]
27368         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27369         * posix/fnmatch_loop.c: Likewise.
27371 2010-07-17  Andi Kleen  <ak@linux.intel.com>
27373         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27374         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27375         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27376         * Versions.def [GLIBC_2.13]: Add.
27378 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
27380         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27381         Also fail if tpwd after pwuid call is NULL.
27383 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27385         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27386         when converting to ms.
27388 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27390         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27391         EOPNOTSUPP errors with ENOTTY.
27392         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27393         EOPNOTSUPP errors with ENOTTY.
27395 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
27397         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27398         Add strcasecmp_l-ssse3.
27399         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27400         strcasecmp.
27401         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27402         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27403         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27405 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
27407         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27409         * string/Makefile (strop-tests): Add strcasecmp.
27410         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27411         strcasecmp_l-nonascii.
27412         (gen-as-const-headers): Add locale-defines.sym.
27413         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27414         * sysdeps/x86_64/strcasecmp.S: New file.
27415         * sysdeps/x86_64/strcasecmp_l.S: New file.
27416         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27417         * sysdeps/x86_64/locale-defines.sym: New file.
27418         * string/test-strcasecmp.c: New file.
27420         * string/test-strcasestr.c: Test both ends of the range of characters.
27421         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27423 2010-07-29  Roland McGrath  <roland@redhat.com>
27425         [BZ #11856]
27426         * manual/locale.texi (Yes-or-No Questions): Fix example code.
27428 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
27430         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27431         for ld.so.
27433 2010-07-27  Andreas Schwab  <schwab@redhat.com>
27435         * manual/memory.texi (Malloc Tunable Parameters): Document
27436         M_PERTURB.
27438 2010-07-26  Roland McGrath  <roland@redhat.com>
27440         [BZ #11840]
27441         * configure.in (-fgnu89-inline check): Set and substitute
27442         gnu89_inline, not libc_cv_gnu89_inline.
27443         * configure: Regenerated.
27444         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27446 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
27448         * string/test-strnlen.c: New file.
27449         * string/Makefile (strop-tests): Add strnlen.
27450         * string/tester.c (test_strnlen): Add a few more test cases.
27451         * string/tst-strlen.c: Better error reporting.
27453         * sysdeps/x86_64/strnlen.S: New file.
27455 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
27457         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27458         lower-latency instructions.
27460 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
27462         * string/test-strcasestr.c: New file.
27463         * string/test-strstr.c: New file.
27464         * string/Makefile (strop-tests): Add strstr and strcasestr.
27465         * string/str-two-way.h: Don't undefine MAX.
27466         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27468 2010-07-21  Andreas Schwab  <schwab@redhat.com>
27470         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27471         strcasestr-nonascii.
27472         (CFLAGS-strcasestr-nonascii.c): Define.
27473         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27474         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27475         Remove unused attribute.
27477 2010-07-20  Roland McGrath  <roland@redhat.com>
27479         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27480         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
27481         ld.so.cache was broken.  With it, there is no way to disable dsocaps
27482         like LD_HWCAP_MASK can disable hwcaps.
27484 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27486         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27488 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
27490         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27491         call in strcasestr.
27492         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27493         __strcasestr_sse42_nonascii.
27494         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27495         strcasestr-nonascii.c.
27496         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27498 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
27500         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27501         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27502         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27503         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27505 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
27507         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27508         fcntl.
27510 2010-07-06  Andreas Schwab  <schwab@redhat.com>
27512         [BZ #11577]
27513         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27514         dl_signal_cerror.
27516 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
27518         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27519         _PC_PIPE_BUF using F_GETPIPE_SZ.
27521 2010-07-05  Roland McGrath  <roland@redhat.com>
27523         * manual/arith.texi (Rounding Functions): Fix rint description
27524         implicit in round description.
27526 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
27528         * elf/Makefile: Fix linking for a few tests to make recent linker
27529         happy.
27531 2010-06-30  Andreas Schwab  <schwab@redhat.com>
27533         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27534         $(common-objpfx)libc_nonshared.a.
27536 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
27538         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27539         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27540         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27541         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27542         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27543         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27544         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27545         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27560         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27561         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27562         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27563         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27564         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27565         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27566         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27567         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27568         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27569         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27570         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27571         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27587 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27589         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27590         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
27591         * string/memmove.c (memmove): Renamed to ...
27592         (MEMMOVE): ...this.  Default to memmove.
27593         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27594         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27595         (END_CHK): Define.
27596         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27597         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27598         mempcpy-ssse3-back memmove-ssse3-back.
27599         * sysdeps/x86_64/multiarch/bcopy.S: New file .
27600         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27601         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27602         * sysdeps/x86_64/multiarch/memcpy.S: New file.
27603         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27604         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27605         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27606         * sysdeps/x86_64/multiarch/memmove.c: New file.
27607         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27608         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27609         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27610         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27611         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27612         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27613         Define.
27614         (index_Fast_Copy_Backward): Define.
27615         (HAS_ARCH_FEATURE): Define.
27616         (HAS_FAST_REP_STRING): Define.
27617         (HAS_FAST_COPY_BACKWARD): Define.
27619 2010-06-21  Andreas Schwab  <schwab@redhat.com>
27621         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27622         Restore proper fallback handling.
27624 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
27626         [BZ #11701]
27627         * posix/group_member.c (__group_member): Correct checking loop.
27629         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27630         OOM in getpwuid_r correctly.  Return error number when the caller
27631         should return, otherwise -1.
27632         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27633         call returning > 0 value.
27634         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27636 2010-06-07  Andreas Schwab  <schwab@redhat.com>
27638         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27639         libc_nonshared.a from targets in modules-names.
27641 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
27643         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27644         requires it.
27646 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
27648         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27649         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27650         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27651         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27653 2010-06-02  Andreas Schwab  <schwab@redhat.com>
27655         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27657 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
27659         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27660         and F_GETPIPE_SZ.
27661         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27662         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27663         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27664         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27665         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27666         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27668 2010-06-14  Roland McGrath  <roland@redhat.com>
27670         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27672 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
27674         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27675         __REDIRECT followed by __THROW.
27676         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27677         * posix/getopt.h (getopt): Likewise.
27679 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27681         * hurd/lookup-at.c (__file_name_lookup_at): Accept
27682         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
27683         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27684         in AT_FLAGS.
27685         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27686         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27688 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
27690         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27692 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
27694         [BZ #11640]
27695         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27696         Properly check family and model.
27698 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
27700         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27702 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
27704         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27706 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
27708         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27709         symbol reference.
27711 2010-05-19  Andreas Schwab  <schwab@redhat.com>
27713         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27714         symbol reference.
27716 2010-05-21  Andreas Schwab  <schwab@redhat.com>
27718         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27719         and internal_recvmmsg.
27720         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27721         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27722         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27723         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27725         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27726         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27727         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27729 2010-05-20  Andreas Schwab  <schwab@redhat.com>
27731         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27733 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
27735         POWER7 optimizations.
27736         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27737         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27739 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
27741         * version.h: Update for 2.13 development version.
27743 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
27745         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27746         exceptions.  Return 0.
27748 2010-05-07  Roland McGrath  <roland@redhat.com>
27750         * elf/ldconfig.c (main): Add a const.
27752 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
27754         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27755         (args_options): Add no-idn option.
27756         (ahosts_keys_int): Add idn_flags to ai_flags.
27757         (parse_option): Handle 'i' option to clear idn_flags.
27759         * malloc/malloc.c (_int_free): Possible race in the most recently
27760         added check.  Only act on the data if no current modification
27761         happened.
27763 See ChangeLog.17 for earlier changes.