Add benchmark tests for slowpow and slowexp
[glibc.git] / ChangeLog
blobe4b7af4263841c7a99fabf4043e19843445400e3
1 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4         (bench): Add slowexp and slowpow.
5         (exp-ITER): Increase iterations.
6         (pow-ITER): Likewise.
7         * benchtests/exp-inputs: Change input.
8         * benchtests/pow-inputs: Likewise.
9         * benchtests/slowexp-inputs: New file.
10         * benchtests/slowexp.c: New file.
11         * benchtests/slowpow-inputs: New file.
12         * benchtests/slowpow.c: New file.
14 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17         instructions.
18         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21         * benchtests/Makefile: Add rint benchtest.
22         * benchtests/rint-inputs: Input for rint benchtest.
24 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26         * Versions.def (libm): Add GLIBC_2.18.
27         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28         hidden libm prototypes.
29         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30         * math/Makefile (libm-calls): Add s_issignaling.
31         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
33         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34         declaration.
35         * math/math.h [__USE_GNU] (issignaling): New macro.
36         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
38         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
39         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
40         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
41         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
42         * manual/arith.texi (issignaling): New section.
43         * manual/libm-err-tab.pl (@all_functions): Update comment.
44         * math/gen-libm-test.pl (parse_args): Apply special handling for
45         issignaling.
46         * math/libm-test.inc (print_float, issignaling_test): New
47         functions.
48         (check_float_internal): Add issignaling checks.
49         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50         default definition.
51         * sysdeps/powerpc/math-tests.h: New file.
52         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53         tests.
54         * math/test-snan.c (TEST_FUNC): Likewise.
56 2013-03-30  David S. Miller  <davem@davemloft.net>
58         * po/de.po: Update from translation team.
60 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
62         [BZ #10357]
63         * math/k_casinh.c (__kernel_casinh): Handle arguments with
64         imaginary part less than 1.0 and real part less than 0.5
65         specially.
66         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
69         (cacos_test): Add more tests.
70         (casin_test): Likewise.
71         (casinh_test): Likewise.
72         * sysdeps/i386/fpu/libm-test-ulps: Update.
73         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
77         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
78         ONE with its value.
80         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
81         (__pow_mp): Replace ONE and MONE with their values.
82         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
83         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
84         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
85         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
86         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
87         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
89         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
91         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
92         (__pow_mp): Replace ZERO and MZERO with their values.
93         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
94         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
95         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
96         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
97         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
98         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
99         (__sqr): Likewise.
101         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
103         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
105 2013-03-28  Roland McGrath  <roland@hack.frob.com>
107         * include/stdlib.h [!SHARED] (__call_tls_dtors):
108         Declare with __attribute__ ((weak)).
109         * stdlib/exit.c (__libc_atexit) [!SHARED]:
110         Call __call_tls_dtors only if it's not NULL.
112 2013-03-28  Roland McGrath  <roland@hack.frob.com>
114         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
115         didn't do it already, then set _dl_phdr and _dl_phnum based on the
116         magic __ehdr_start linker symbol if it's defined.
117         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
118         them up here if it was already done.
120         * elf/dl-support.c (_dl_phdr): Make pointer to const.
121         (_dl_aux_init): Use const in cast when setting it.
122         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
123         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
124         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
126         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
127         Declare them here.
128         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
129         * csu/libc-tls.c: Nor here.
130         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
132         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
133         (__libc_message): Never call vsyslog.
135 2013-03-28  Alan Modra  <amodra@gmail.com>
137         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
138         Define as empty.
139         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
140         Likewise.
142 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
144         [BZ #15214]
145         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
146         underflow.
147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
149 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
151         [BZ #15304]
152         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
153         Don't add gid passed as argument.
155         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
157 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
159         [BZ #15307]
160         * math/k_casinh.c (__kernel_casinh): Handle arguments with
161         imaginary part between 1.0 and 1.5 and real part less than 0.5
162         specially.
163         * math/k_casinhf.c (__kernel_casinhf): Likewise.
164         * math/k_casinhl.c (__kernel_casinhl): Likewise.
165         * math/libm-test.inc (cacos_test): Add more tests.
166         (casin_test): Likewise.
167         (casinh_test): Likewise.
168         * sysdeps/i386/fpu/libm-test-ulps: Update.
169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
171 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
173         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
174         constants.
175         (norm): Likewise.
176         (denorm): Likewise.
177         (__dbl_mp): Likewise.
178         (add_magnitudes): Likewise.
179         (sub_magnitudes): Likewise.
180         (__add): Likewise.
181         (__sub): Likewise.
182         (__mul): Likewise.
183         (__sqr): Likewise.
184         (__inv): Likewise.
185         (__dvd): Likewise.
187         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
188         commented code.
189         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
190         (__dubcos): Likewise.
191         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
192         (__ieee754_acos): Likewise.
193         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
194         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
195         (__exp1): Likewise.
196         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
197         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
198         (log1): Likewise.
199         (my_log2): Likewise.
200         (checkint): Likewise.
201         * sysdeps/ieee754/dbl-64/e_remainder.c
202         (__ieee754_remainder): Likewise.
203         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
204         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
205         (bsloww): Likewise.
206         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
208         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
209         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
210         MANTISSA_STORE_T to store computations on mantissa.  Use
211         macros for rounding and division.
212         (denorm): Likewise.
213         (__dbl_mp): Likewise.
214         (add_magnitudes): Likewise.
215         (sub_magnitudes): Likewise.
216         (__mul): Likewise.
217         (__sqr): Likewise.
218         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
219         powers of two in terms of TWOPOW macro.
220         (mp_no): Make type of mantissa as MANTISSA_T.
221         [!RADIXI]: Define RADIXI.
222         [!TWO52]: Define TWO52.
223         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
225 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
227         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
228         llroundl symbol when building for PPC32.
230 2013-03-24  Mark H Weaver  <mhw@netris.org>
232         * manual/arith.texi (Normalization Functions): Fix prototypes for
233         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
235 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
237         [BZ #13889]
238         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
239         high value to check if expl overflow.
240         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
241         to check for underflow and overflow.
242         * math/libm-test.inc: Add exp test.
244 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
246         [BZ #11120]
247         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
248         with NOT_IN_libc.
250 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
252         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
253         symbol.
255 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
257         * math/gen-libm-test.pl (parse_args, special_functions): Properly
258         wrap blocks consisting of several statements.
260         * sysdeps/generic/math-tests.h: New file.
261         * sysdeps/i386/fpu/math-tests.h: Likewise.
262         * math/test-snan.c: Include it.
263         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
265 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
267         [BZ #15285]
268         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
269         (__ieee754_j0l): Do not improve calculations using cos of twice
270         input for inputs above LDBL_MAX / 2.0L.
271         (__ieee754_y0l): Likewise.
272         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
273         (__ieee754_j1l): Do not improve calculations using cos of twice
274         input for inputs above LDBL_MAX / 2.0L.
275         (__ieee754_y1l): Likewise.
276         * math/libm-test.inc (j0_test): Add another test.
277         (j1_test): Likewise.
278         (y0_test): Likewise.
279         (y1_test): Likewise.
280         * sysdeps/i386/fpu/libm-test-ulps: Update.
282 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
284         * Rules ($(objpfx)bench-%.c): Include code from a C source
285         file.
287 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
289         [BZ #15287]
290         * math/k_casinh.c (__kernel_casinh): Handle arguments with
291         imaginary part 1.0 and real part less than 0.5 specially.
292         * math/k_casinhf.c (__kernel_casinhf): Likewise.
293         * math/k_casinhl.c (__kernel_casinhl): Likewise.
294         * math/libm-test.inc (cacos_test): Add more tests.
295         (casin_test): Likewise.
296         (casinh_test): Likewise.
297         * sysdeps/i386/fpu/libm-test-ulps: Update.
298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
300 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
302         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
303         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
305 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
307         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
308         * config.make.in (config-cflags-sse4): Remove variable.
309         (config-cflags-avx): Likewise.
310         (config-cflags-sse2avx): Likewise.
311         (config-cflags-novzeroupper): Likewise.
312         (config-asflags-i686): Likewise.
313         (have-mfma4): Likewise.
314         (have-as-vis3): Likewise.
315         (MIG): Likewise.
316         * configure.in (MIG): Do not AC_SUBST.
317         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
318         (libc_cv_cc_sse4): Do not AC_SUBST.
319         (libc_cv_cc_avx): Likewise.
320         (libc_cv_cc_sse2avx): Likewise.
321         (libc_cv_cc_novzeroupper): Likewise.
322         (libc_cv_cc_fma4): Likewise.
323         (libc_cv_as_i686): Likewise.
324         (libc_cv_sparc_as_vis3): Likewise.
325         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
326         LIBC_CONFIG_VAR.
327         (config-asflags-i686): Likewise.
328         (config-cflags-avx): Likewise.
329         (config-cflags-sse2avx): Likewise.
330         (have-mfma4): Likewise.
331         (config-cflags-novzeroupper): Likewise.
332         * sysdeps/mach/configure.in (MIG): Likewise.
333         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
334         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
335         LIBC_CONFIG_VAR.
336         (config-cflags-avx): Likewise.
337         (config-cflags-sse2avx): Likewise.
338         (have-mfma4): Likewise.
339         (config-cflags-novzeroupper): Likewise.
340         * configure: Regenerated.
341         * sysdeps/i386/configure: Likewise.
342         * sysdeps/mach/configure: Likewise.
343         * sysdeps/sparc/configure: Likewise.
344         * sysdeps/x86_64/configure: Likewise.
346 2013-03-20  Roland McGrath  <roland@hack.frob.com>
348         [BZ #14812]
349         * locale/programs/localedef.c (options): Put N_ translation marker
350         on argument names, not just descriptions.
352 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
354         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
356 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
358         [BZ #14176]
359         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
361 2013-03-19  Roland McGrath  <roland@hack.frob.com>
363         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
364         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
365         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
366         [!BEFORE_ABORT] (before_abort): New function.
367         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
368         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
369         (writev_for_fatal): New function.
370         (WRITEV_FOR_FATAL): New macro; call that.
371         (backtrace_and_maps): New function.
372         (BEFORE_ABORT): New macro; call that.
373         (struct str_list): Type removed.
374         (__libc_message, __libc_fatal): Functions removed.
375         Include <sysdeps/posix/libc_fatal.c> instead.
377 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
379         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
380         constants.
381         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
382         double constants.
384 2013-03-19  Andreas Schwab  <schwab@suse.de>
386         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
387         * sysdeps/gnu/configure: Regenerate.
389         * configure.in: Substitute libc_cv_rtlddir.
390         * configure: Regenerate.
391         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
392         * Makeconfig (rtlddir, inst_rtlddir): New variables.
393         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
394         * elf/Makefile (install-others, CFLAGS-interp.c)
395         (ldso_install, common-ldd-rewrite): Likewise.
396         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
397         $(inst_slibdir)/$(rtld-installed-name).
398         * scripts/rellns-sh: Add -p option.
399         * Makerules (make-shlib-link): Use rellns-sh to get relative name
400         for source.
402 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
404         * manual/nptl.texi: Renamed to ...
405         * manual/threads.texi: ... this.
406         * manual/Makefile (chapters): Update.
408 2013-03-18  Roland McGrath  <roland@hack.frob.com>
410         [BZ #14812]
411         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
412         on argument names, not just descriptions.
413         * malloc/memusagestat.c (options): Likewise.
414         * nss/getent.c (options): Likewise.
416 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
418         [BZ #14812]
419         * iconv/iconv_prog.c (options): Put N_ translation marker
420         on argument names, not just descriptions.
421         * iconv/iconvconfig.c (options): Likewise.
423 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
425         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
426         implementation which is faster on all x86_64 architectures.
427         Tested on AMD, Intel Nehalem, SNB, IVB.
428         * sysdeps/x86_64/strnlen.S: Likewise.
430         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
431         Remove all multiarch strlen and strnlen versions.
432         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
433         Remove strlen and strnlen related parts.
435         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
436         Inline strlen part.
437         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
439         * sysdeps/x86_64/multiarch/strlen.S: Remove.
440         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
441         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
442         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
443         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
444         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
446 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
448         * manual/memory.texi (Malloc Tunable Parameters):
449         Sort parameters alphabetically. Add comments for missing entries.
451 2013-03-17  David S. Miller  <davem@davemloft.net>
453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
455 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
457         [BZ #15283]
458         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
459         for arguments at most half maximum finite value.
460         * math/libm-test.inc (j0_test): Add more tests.
461         (j1_test): Likewise.
462         (y0_test): Likewise.
463         (y1_test): Likewise.
464         * sysdeps/i386/fpu/libm-test-ulps: Update.
465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
467         [BZ #14155]
468         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
469         1 / x and functions P and Q for arguments above 0x1p256L.
470         (__ieee754_y0l): Likewise.
471         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
472         (__ieee754_y1l): Likewise.
473         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
474         (j1_test): Likewise.
475         (y0_test): Likewise.
476         (y1_test): Likewise.
478 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
480         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
481         variable.
483 2013-03-15  Roland McGrath  <roland@hack.frob.com>
485         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
486         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
487         zero since it's initialized to EXEC_PAGESIZE.
489         * sysdeps/unix/sysv/linux/ldsodefs.h
490         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
491         * sysdeps/generic/ldsodefs.h: ... here.
493 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
495         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
497         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
498         math/test-snan.c.
499         * math/test-snan.c: Renamed from
500         sysdeps/powerpc/fpu/test-powerpc-snan.c.
501         * math/Makefile (tests): Add test-snan.
502         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
503         test-powerpc-snan.
505         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
506         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
507         functions.
508         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
509         __builtin_nan family of functions.
510         * math/libm-test.inc (initialize): Initialize qnan_value with
511         __builtin_nan family of functions.
512         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
513         Remove variables.
514         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
515         Remove functions.
516         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
517         storage class.  Initialize qNaN_var and sNaN_var with
518         __builtin_nan and __builtin_nans families of functions,
519         respectively.
521         * math/libm-test.inc (acosh_test): Also test with qNaN input.
522         (sqrt_test): Remove duplicate test with qNaN input.
523         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
524         (round_test, signbit_test, significand_test): Note missing +/-Inf
525         as well as qNaN tests.
527         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
528         qNaN_var.  Fix a few strings, too.
529         * math/libm-test.inc (nan_value): Rename to qnan_value.
530         * math/gen-libm-test.pl (%beautify): Adjust to that.
531         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
532         * math/test-misc.c (main): Likewise.
533         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
534         to __qnan_bytes, and __qnan_union, respectively.
535         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
536         Likewise.
537         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
538         and lqnanval, respectively.
539         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
540         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
541         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
542         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
544         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
545         * math/test-misc.c (main) [__x86_64__]: Enable test for long
546         doubles.
548         * math/test-misc.c (main): Fix copy'n'pastos.
549         * misc/tst-efgcvt.c (special): Likewise.
551         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
552         Remove declarations.
554 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
556         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
557         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
558         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
559         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
561 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
563         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
564         macro to return vdso values correctly in IFUNC implementations.
565         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
566         Optimization by using IFUNC.
568 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
569             Richard Henderson  <rth@redhat.com>
570             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
572         * Makefile.in (bench): New target.
573         * NEWS: Mention the benchmark framework.
574         * Rules (bench): Likewise.
575         (binaries-bench): Generate binaries for functions to
576         benchmark.
577         * benchtests/Makefile: New makefile for benchmark tests.
578         * benchtests/bench-skeleton.c: New skeleton file for benchmark
579         programs.
580         * benchtests/exp-inputs: New input file for EXP function.
581         * benchtests/pow-inputs: New input file for POW function.
582         * scripts/bench.pl: New script to generate source files for
583         benchmark programs.
585 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
587         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
588         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
589         computations on mantissa.  Use macros for rounding and
590         division.
591         (denorm): Likewise.
592         (__dbl_mp): Likewise.
593         (add_magnitudes): Likewise.
594         (sub_magnitudes): Likewise.
595         (__mul): Likewise.
596         (__sqr): Likewise.
597         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
598         powers of two in terms of TWOPOW macro.
599         (mp_no): Make type of mantissa as MANTISSA_T.
600         [!RADIXI]: Define RADIXI.
601         [!TWO52]: Define TWO52.
602         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
604         * manual/nptl.texi (cindex): Modify threads to pthreads.
606 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
608         * sysdeps/x86_64/preconfigure: Regenerated.
610 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
612         [BZ #14155]
613         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
614         0x1p28 and above.
615         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
616         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
617         0x1p28 and above.
618         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
619         * math/libm-test.inc (j0_test): Do not allow one spurious
620         underflow exception.
621         (y1_test): Likewise.
623 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
625         * manual/Makefile (chapters): Add nptl.
626         * manual/debug.texi (Debugging Support): Add link to Threads
627         chapter.
628         * manual/nptl.texi: New file.
630         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
632 2013-03-14  Petr Baudis  <pasky@ucw.cz>
634         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
635         for non-NULL pointer before the memory validity test. Pointed
636         out by Holger Brunck <holger.brunck@keymile.com>.
638 2013-03-13  Andreas Schwab  <schwab@suse.de>
640         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
641         instead of .os.
643 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
645         * timezone/zic.c: Update from tzcode 2013b.
647 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
649         * manual/install.texi (Configuring and compiling):
650         Mention i686 and i586.
651         * INSTALL: Regenerate.
653 2013-03-12  Roland McGrath  <roland@hack.frob.com>
655         * sysdeps/init_array/elf-init.c: New file.
656         * csu/elf-init.c
657         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
658         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
660         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
661         __gmon_start__ as global, but as static with a .preinit_array pointer.
662         * sysdeps/init_array/gmon-start.c: New file.  Use that.
663         * sysdeps/init_array/crti.S: New file, empty except for comments.
664         * sysdeps/init_array/crtn.S: Likewise.
666 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
668         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
669         definining bcopy.
670         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
671         Remove Prefer_SSE_for_memop.
672         * sysdeps/x86_64/multiarch/init-arch.h: Remove
673         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
674         HAS_PREFER_SSE_FOR_MEMOP.
675         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
676         memset-x86-64.
677         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
678         Remove bzero, memset ifunc support.
679         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
680         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
681         * sysdeps/x86_64/multiarch/memset.S: Likewise.
682         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
684 2013-03-11  Andreas Schwab  <schwab@suse.de>
686         [BZ #15234]
687         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
688         by SHLIB_COMPAT.
689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
690         (GLIBC_2.16): Remove pthread_atfork.
692 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
694         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
695         (ptestcases.h): Likewise.
697 2013-03-08  Roland McGrath  <roland@hack.frob.com>
699         * Makeconfig ($(common-objpfx)config.status): Depend on
700         sysdeps/*/preconfigure{,.in} too.
702 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
704         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
705         (__free_hook): Use void * instead of __malloc_ptr_t.
706         (__malloc_hook): Likewise.
707         (__realloc_hook): Likewise.
708         (__memalign_hook): Likewise.
709         (__after_morecore_hook): Likewise.
710         * malloc/arena.c (save_malloc_hook): Likewise.
711         (save_free_hook): Likewise.
712         * malloc/hooks.c (malloc_hook_ini): Likewise.
713         (realloc_hook_ini): Likewise.
714         (memalign_hook_ini): Likewise.
715         * malloc/malloc.c (malloc_hook_ini): Likewise.
716         (realloc_hook_ini): Likewise.
717         (memalign_hook_ini): Likewise.
718         (__free_hook): Likewise.
719         (__malloc_hook): Likewise.
720         (__realloc_hook): Likewise.
721         (__memalign_hook): Likewise.
722         (__libc_malloc): Likewise.
723         (__libc_free): Likewise.
724         (__libc_realloc): Likewise.
725         (__libc_memalign): Likewise.
726         (__libc_valloc): Likewise.
727         (__libc_pvalloc): Likewise.
728         (__libc_calloc): Likewise.
729         (__posix_memalign): Likewise.
730         * malloc/morecore.c (__sbrk): Likewise.
731         (__default_morecore): Likewise.
733         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
735         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
736         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
737         __malloc_ptrdiff_t.
739         * malloc/malloc.h (__malloc_size_t): Remove macro.
740         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
741         __malloc_size_t.
742         (old_memalign_hook): Likewise.
743         (old_realloc_hook): Likewise.
744         (struct hdr): Likewise.
745         (flood): Likewise.
746         (mallochook): Likewise.
747         (memalignhook): Likewise.
748         (reallochook): Likewise.
749         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
750         (tr_old_realloc_hook): Likewise.
751         (tr_old_memalign_hook): Likewise.
752         (tr_mallochook): Likewise.
753         (tr_reallochook): Likewise.
754         (tr_memalignhook): Likewise.
756 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
758         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
759         default_ldbl_pack and using as default implementation.
760         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
761         implementation.
762         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
763         redundant definition.
764         (ldbl_insert_mantissa): Likewise.
765         (ldbl_canonicalize): Likewise.
766         (ldbl_nearbyint): Likewise.
767         (ldbl_pack): Rename to ldbl_pack_ppc.
768         (ldbl_unpack): Rename to ldbl_unpack_ppc.
769         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
770         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
772 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
774         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
775         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
776         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
777         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
779         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
780         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
781         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
783 2013-03-07  Andreas Jaeger  <aj@suse.de>
785         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
786         bits/mman-linux.h.
788 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
790         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
791         Include mpa.h and declare __MPEXP.
792         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
793         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
794         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
795         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
796         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
797         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
798         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
800         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
801         (__slowpow): Use long double EXPL and LOGL functions to
802         compute POW.
803         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
804         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
805         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
806         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
807         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
808         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
810         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
811         intermediate variable to calculate exponent.
812         (__sqr): Likewise.
813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
814         Likewise.
815         (__sqr): Likewise.
817         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
818         [!NO__SQR]: Define __sqr.
819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
820         and NO__SQR.  Remove all code except __mul and __sqr.  Include
821         sysdeps/ieee754/dbl-64/mpa.c.
822         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
824         [BZ #12723]
825         * posix/Makefile (tests): Add tst-pathconf.
826         * posix/tst-pathconf.c: New test case.
827         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
828         _PC_PIPE_BUF.
829         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
831 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
833         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
835 2013-03-06  Andreas Jaeger  <aj@suse.de>
837         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
838         definition via __MAP_ANONYMOUS.
840         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
841         it's not part of Linux headers.
843         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
844         (MAP_HUGE_MASK): Define.
846         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
847         Define.
848         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
849         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
850         Define.
851         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
852         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
853         Define.
854         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
855         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
856         Define.
857         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
859         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
860         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
861         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
862         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
863         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
864         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
866         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
867         Handle f2fs.
869         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
870         Handle f2fs and efivarfs.
872         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
873         f2fs.
875         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
876         (EFIVARFS_MAGIC): Add.
877         (F2FS_LINK_MAX): Add.
879 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
881         * stdio-common/vfprintf.c: Replace __builtin_expect with
882         __glibc_unlikely.
884 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
886         [BZ #13550]
887         * sysdeps/generic/bp-sym.h: Remove file.
888         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
889         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
890         <bp-sym.h> and <bp-asm.h>.
891         (__longjmp): Don't use BP_SYM.
892         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
893         and <bp-asm.h>.
894         (memcpy): Don't use BP_SYM.
895         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
896         <bp-sym.h> and <bp-asm.h>.
897         (memcpy): Don't use BP_SYM.
898         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
899         <bp-asm.h>.
900         (memcpy): Don't use BP_SYM.
901         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
902         <bp-asm.h>.
903         (memset): Don't use BP_SYM.
904         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
905         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
906         (__bzero): Don't use BP_SYM.
907         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
908         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
909         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
910         <bp-sym.h> and <bp-asm.h>.
911         (memcmp): Don't use BP_SYM.  Remove comment about bounded
912         pointers.
913         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
914         <bp-sym.h> and <bp-asm.h>.
915         (memcpy): Don't use BP_SYM.
916         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
917         <bp-sym.h> and <bp-asm.h>.
918         (memset): Don't use BP_SYM.
919         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
920         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
921         (__bzero): Don't use BP_SYM.
922         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
923         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
924         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
925         <bp-sym.h> and <bp-asm.h>.
926         (strncmp): Don't use BP_SYM.  Remove comment about bounded
927         pointers.
928         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
929         <bp-sym.h> and <bp-asm.h>.
930         (memcpy): Don't use BP_SYM.
931         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
932         <bp-sym.h> and <bp-asm.h>.
933         (memset): Don't use BP_SYM.
934         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
935         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
936         (__bzero): Don't use BP_SYM.
937         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
938         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
939         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
940         <bp-sym.h> and <bp-asm.h>.
941         (__memchr): Don't use BP_SYM.
942         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
943         <bp-sym.h> and <bp-asm.h>.
944         (memcmp): Don't use BP_SYM.  Remove comment about bounded
945         pointers.
946         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
947         <bp-sym.h> and <bp-asm.h>.
948         (memcpy): Don't use BP_SYM.
949         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
950         <bp-sym.h> and <bp-asm.h>.
951         (__mempcpy): Don't use BP_SYM.
952         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
953         <bp-sym.h> and <bp-asm.h>.
954         (__memrchr): Don't use BP_SYM.
955         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
956         <bp-sym.h> and <bp-asm.h>.
957         (memset): Don't use BP_SYM.
958         (__bzero): Likewise.
959         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
960         <bp-sym.h> and <bp-asm.h>.
961         (__rawmemchr): Don't use BP_SYM.
962         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
963         <bp-sym.h> and <bp-asm.h>.
964         (__STRCMP): Don't use BP_SYM.
965         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
966         <bp-sym.h> and <bp-asm.h>.
967         (strchr): Don't use BP_SYM.
968         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
969         <bp-sym.h> and <bp-asm.h>.
970         (__strchrnul): Don't use BP_SYM.
971         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
972         <bp-sym.h> and <bp-asm.h>.
973         (strlen): Don't use BP_SYM.
974         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
975         <bp-sym.h> and <bp-asm.h>.
976         (strncmp): Don't use BP_SYM.  Remove comment about bounded
977         pointers.
978         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
979         <bp-sym.h> and <bp-asm.h>.
980         (__strnlen): Don't use BP_SYM.
981         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
982         <bp-sym.h> and <bp-asm.h>.
983         (__GI__setjmp): Don't use BP_SYM.
984         (_setjmp): Likewise.
985         (__sigsetjmp): Likewise.
986         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
987         (L(start_addresses)): Don't use BP_SYM.
988         (_start): Likewise.
989         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
990         <bp-asm.h>.
991         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
992         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
993         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
994         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
995         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
996         <bp-asm.h>.
997         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
998         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
999         about bounded pointers.
1000         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1001         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1002         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1003         <bp-asm.h>.
1004         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1005         about bounded pointers.  Remove GKM FIXME comments.
1006         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1007         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1008         <bp-asm.h>.
1009         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1010         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
1011         Remove GKM FIXME comments.
1012         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1013         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1014         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1015         <bp-asm.h>.
1016         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1017         about bounded pointers.  Remove GKM FIXME comment.
1018         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1019         and <bp-asm.h>.
1020         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1021         pointers.
1022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1023         <bp-sym.h> and <bp-asm.h>.
1024         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1026         <bp-sym.h> and <bp-asm.h>.
1027         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1028         comment.
1030 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1032         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1033         call free(NULL).
1035 2013-03-05  David S. Miller  <davem@davemloft.net>
1037         * po/es.po: Update from translation team.
1039 2013-03-05  Andreas Jaeger  <aj@suse.de>
1041         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1042         <bits/mman-linux.h>.
1043         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1044         is fine.
1045         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1046         <bits/mman-linux.h> to end of file.
1047         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1048         is fine.
1049         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1050         <bits/mman-linux.h> to end of file.
1051         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1052         is fine.
1053         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1054         <bits/mman-linux.h> to end of file.
1056         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1057         (MCL_CURRENT, MCL_FUTURE): Define here.
1059 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1061         [BZ #15232]
1062         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1063         attribute_hidden.
1064         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1066 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1068         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1069         fourth parameter needed for rt_sigprocmask syscall.
1070         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1071         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1072         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1073         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1074         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1075         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1077 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
1079         [BZ #13550]
1080         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1081         comment about bounded pointers.
1082         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1083         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1085 2013-03-04  Andreas Jaeger  <aj@suse.de>
1087         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1088         common definitions.
1090         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1091         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1092         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1093         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1094         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1095         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1097 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1099         [BZ #15055]
1100         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1101         __ieee754_sqrl instead of __sqrl.
1103 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
1105         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1106         * sysdeps/powerpc/fpu_control.h: ... here.
1107         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1108         * sysdeps/powerpc/bits/fenvinline.h: ... here.
1109         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1110         * sysdeps/powerpc/bits/mathinline.h: ... here.
1112 2013-03-01  Roland McGrath  <roland@hack.frob.com>
1114         * elf/dl-hwcaps.c (_dl_important_hwcaps):
1115         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1116         to just [NEED_DL_SYSINFO_DSO].
1117         * elf/dl-support.c: Likewise.
1118         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1119         * elf/rtld.c (dl_main): Likewise.
1120         * elf/setup-vdso.h (setup_vdso): Likewise.
1121         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1122         * sysdeps/unix/sysv/linux/dl-sysdep.c
1123         (_dl_discover_osversion): Likewise.
1125 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
1127         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1128         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1130 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1132         * NEWS: Mention libm performance improvements and non-x86 PI
1133         futex support.
1135         * csu/libc-start.c (__pthread_initialize_minimal): Change
1136         function arguments.
1137         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1139 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
1141         [BZ #13550]
1142         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1143         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1144         <bp-sym.h> and <bp-asm.h>.
1145         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1146         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1147         and <bp-asm.h>.
1148         (memcpy): Don't use BP_SYM.
1149         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1150         <bp-asm.h>.
1151         (__mpn_add_n): Don't use BP_SYM.
1152         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1153         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1154         and <bp-asm.h>.
1155         (__mpn_addmul_1): Don't use BP_SYM.
1156         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1157         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1158         <bp-sym.h>.
1159         (_setjmp): Don't use BP_SYM.
1160         (__novmx_setjmp): Likewise.
1161         (__GI__setjmp): Likewise.
1162         (__vmx_setjmp): Likewise.
1163         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1164         <bp-sym.h>.
1165         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1166         (__bzero): Don't use BP_SYM.
1167         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1168         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1169         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1170         <bp-sym.h> and <bp-asm.h>.
1171         (memcpy): Don't use BP_SYM.
1172         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1173         <bp-sym.h> and <bp-asm.h>.
1174         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1175         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1176         <bp-sym.h> and <bp-asm.h>.
1177         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1178         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1179         <bp-asm.h>.
1180         (__mpn_lshift): Don't use BP_SYM.
1181         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1182         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1183         <bp-asm.h>.
1184         (memset): Don't use BP_SYM.
1185         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1186         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1187         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1188         <bp-asm.h>.
1189         (__mpn_mul_1): Don't use BP_SYM.
1190         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1191         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1192         <bp-sym.h> and <bp-asm.h>.
1193         (memcmp): Don't use BP_SYM.
1194         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1195         <bp-sym.h> and <bp-asm.h>.
1196         (memcpy): Don't use BP_SYM.
1197         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1198         <bp-sym.h> and <bp-asm.h>.
1199         (memset): Don't use BP_SYM.
1200         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1201         <bp-sym.h> and <bp-asm.h>.
1202         (strncmp): Don't use BP_SYM.
1203         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1204         <bp-sym.h> and <bp-asm.h>.
1205         (memcpy): Don't use BP_SYM.
1206         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1207         <bp-sym.h> and <bp-asm.h>.
1208         (memset): Don't use BP_SYM.
1209         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1210         <bp-sym.h> and <bp-asm.h>.
1211         (__memchr): Don't use BP_SYM.
1212         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1213         <bp-sym.h> and <bp-asm.h>.
1214         (memcmp): Don't use BP_SYM.
1215         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1216         <bp-sym.h> and <bp-asm.h>.
1217         (memcpy): Don't use BP_SYM.
1218         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1219         <bp-sym.h> and <bp-asm.h>.
1220         (__mempcpy): Don't use BP_SYM.
1221         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1222         <bp-sym.h> and <bp-asm.h>.
1223         (__memrchr): Don't use BP_SYM.
1224         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1225         <bp-sym.h> and <bp-asm.h>.
1226         (memset): Don't use BP_SYM.
1227         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1228         <bp-sym.h> and <bp-asm.h>.
1229         (__rawmemchr): Don't use BP_SYM.
1230         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1231         <bp-sym.h> and <bp-asm.h>.
1232         (__STRCMP): Don't use BP_SYM.
1233         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1234         <bp-sym.h> and <bp-asm.h>.
1235         (strchr): Don't use BP_SYM.
1236         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1237         <bp-sym.h> and <bp-asm.h>.
1238         (__strchrnul): Don't use BP_SYM.
1239         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1240         <bp-sym.h> and <bp-asm.h>.
1241         (strlen): Don't use BP_SYM.
1242         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1243         <bp-sym.h> and <bp-asm.h>.
1244         (strncmp): Don't use BP_SYM.
1245         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1246         <bp-sym.h> and <bp-asm.h>.
1247         (__strnlen): Don't use BP_SYM.
1248         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1249         <bp-asm.h>.
1250         (__mpn_rshift): Don't use BP_SYM.
1251         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1252         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1253         <bp-sym.h> and <bp-asm.h>.
1254         (__sigsetjmp): Don't use BP_SYM.
1255         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1256         (L(start_addresses)): Don't use BP_SYM.
1257         (_start): Likewise.
1258         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1259         <bp-asm.h>.
1260         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1261         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1262         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1263         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1264         <bp-asm.h>.
1265         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1266         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1267         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1268         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1269         <bp-asm.h>.
1270         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1271         comments.
1272         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1273         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1274         <bp-asm.h>.
1275         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
1276         FIXME comments.
1277         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1278         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1279         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1280         <bp-asm.h>.
1281         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1282         comment.
1283         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1284         and <bp-asm.h>.
1285         (strncmp): Don't use BP_SYM,
1286         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1287         <bp-asm.h>.
1288         (__mpn_sub_n): Don't use BP_SYM.
1289         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1290         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1291         and <bp-asm.h>.
1292         (__mpn_submul_1): Don't use BP_SYM.
1293         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1295         <bp-sym.h> and <bp-asm.h>.
1296         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1298         <bp-sym.h> and <bp-asm.h>.
1299         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1300         comment.
1302 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1304         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1305         Use ZK to minimize writes to Z.
1306         (sub_magnitudes): Simplify code a bit.
1307         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1308         Use ZK to minimize writes to Z.
1309         (sub_magnitudes): Simplify code a bit.
1311 2013-02-27  Roland McGrath  <roland@hack.frob.com>
1313         * csu/gmon-start.c: Add special exception to license text.
1315 2013-02-27  Richard Henderson  <rth@redhat.com>
1317         * scripts/config.guess: Update from config.git.
1318         * scripts/config.sub: Likewise.
1320 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1322         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1324         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1326         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1328         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1330         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1332 2013-02-26  Roland McGrath  <roland@hack.frob.com>
1334         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1335         [$(build-shared = yes].
1337 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1339         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1340         (__mul): Reduce iterations for calculating mantissa.
1342         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1343         MPTWO.
1344         (__mpranred): Likewise.
1346         [BZ #15160]
1347         * malloc/memusagestat.c (main): Draw graphs for heap and stack
1348         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1350 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
1352         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1353         Define __attribute__.
1355 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1357         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1358         unused.
1359         * posix/regex_internal.h (__attribute): Remove.
1360         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1361         (re_string_context_at): Likewise.
1362         (bitset_not): Use __attribute__ and mark function as possibly
1363         unused.
1364         (bitset_merge): Likewise.
1365         (bitset_mask): Likewise.
1366         (re_string_char_size_at): Likewise.
1367         (re_string_wchar_at): Likewise.
1368         (re_string_elem_size_at): Likewise.
1370 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1372         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1373         code.
1374         (cc32): Likewise.
1376         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1377         (__acr): Likewise.
1378         (__cpy): Likewise.
1379         (norm): Likewise.
1380         (denorm): Likewise.
1381         (__dbl_mp): Likewise.
1382         (add_magnitudes): Likewise.
1383         (sub_magnitudes): Likewise.
1384         (__mul): Likewise.
1385         (__inv): Likewise.
1387         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1388         style.
1390         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1391         style.
1393         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1394         code.
1396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1397         up changes with default code.
1398         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1399         Likewise.
1401 2013-02-24  Allan McRae  <allan@archlinux.org>
1403         * manual/socket.texi (The Internet Namespace): Order menu items
1404         to match that in the file.
1406         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1407         node listing of the info page menu.
1409 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
1411         [BZ #13550]
1412         * sysdeps/i386/bp-asm.h: Remove file.
1413         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1414         (PARMS): Do not use macros from bp-asm.h.
1415         (S1): Likewise.
1416         (S2): Likewise.
1417         (SIZE): Likewise.
1418         (__mpn_add_n): Do not use BP_SYM
1419         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1420         "bp-asm.h".
1421         (PARMS): Do not use macros from bp-asm.h.
1422         (S1): Likewise.
1423         (SIZE): Likewise.
1424         (__mpn_addmul_1): Do not use BP_SYM
1425         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1426         "bp-asm.h".
1427         (PARMS): Do not use macros from bp-asm.h.
1428         (SIGMSK): Likewise.
1429         (_setjmp): Likewise.  Do not use BP_SYM.
1430         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1431         "bp-asm.h".
1432         (PARMS): Do not use macros from bp-asm.h.
1433         (SIGMSK): Likewise.
1434         (setjmp): Likewise.  Do not use BP_SYM.
1435         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1436         "bp-asm.h".
1437         (PARMS): Do not use macros from bp-asm.h.
1438         (__frexp): Do not use BP_SYM.
1439         (frexp): Likewise.
1440         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1441         "bp-asm.h".
1442         (PARMS): Do not use macros from bp-asm.h.
1443         (__frexpf): Do not use BP_SYM.
1444         (frexpf): Likewise.
1445         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1446         "bp-asm.h".
1447         (PARMS): Do not use macros from bp-asm.h.
1448         (__frexpl): Do not use BP_SYM.
1449         (frexpl): Likewise.
1450         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1451         "bp-asm.h".
1452         (PARMS): Do not use macros from bp-asm.h.
1453         (__remquo): Do not use BP_SYM.
1454         (remquo): Likewise.
1455         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1456         "bp-asm.h".
1457         (PARMS): Do not use macros from bp-asm.h.
1458         (__remquof): Do not use BP_SYM.
1459         (remquof): Likewise.
1460         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1461         "bp-asm.h".
1462         (PARMS): Do not use macros from bp-asm.h.
1463         (__remquol): Do not use BP_SYM.
1464         (remquol): Likewise.
1465         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1466         "bp-asm.h".
1467         (PARMS): Do not use macros from bp-asm.h.
1468         (DEST): Likewise.
1469         (SRC): Likewise.
1470         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
1471         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1472         "bp-asm.h".
1473         (PARMS): Do not use macros from bp-asm.h.
1474         (strlen): Do not use BP_SYM.
1475         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1476         "bp-asm.h".
1477         (PARMS): Do not use macros from bp-asm.h.
1478         (S1): Likewise.
1479         (S2): Likewise.
1480         (SIZE): Likewise.
1481         (__mpn_add_n): Do not use BP_SYM.
1482         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1483         "bp-asm.h".
1484         (PARMS): Do not use macros from bp-asm.h.
1485         (S1): Likewise.
1486         (SIZE): Likewise.
1487         (__mpn_addmul_1): Do not use BP_SYM.
1488         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1489         weak_alias.
1490         (bzero): Likewise.
1491         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1492         "bp-asm.h".
1493         (PARMS): Do not use macros from bp-asm.h.
1494         (S): Likewise.
1495         (SIZE): Likewise.
1496         (__mpn_lshift): Do not use BP_SYM.
1497         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1498         "bp-asm.h".
1499         (PARMS): Do not use macros from bp-asm.h.
1500         (DEST): Likewise.
1501         (SRC): Likewise.
1502         (LEN): Likewise.
1503         (memcpy): Likewise.  Do not use BP_SYM.
1504         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1505         libc_hidden_def and weak_alias.
1506         (mempcpy): Do not use BP_SYM in weak_alias.
1507         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1508         "bp-asm.h".
1509         (PARMS): Do not use macros from bp-asm.h.
1510         (DEST): Likewise.
1511         (LEN): Likewise.
1512         [!BZERO_P] (CHR): Likewise.
1513         (memset): Likewise.  Do not use BP_SYM.
1514         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1515         "bp-asm.h".
1516         (PARMS): Do not use macros from bp-asm.h.
1517         (S1): Likewise.
1518         (SIZE): Likewise.
1519         (__mpn_mul_1): Do not use BP_SYM.
1520         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1521         "bp-asm.h".
1522         (PARMS): Do not use macros from bp-asm.h.
1523         (S): Likewise.
1524         (SIZE): Likewise.
1525         (__mpn_rshift): Do not use BP_SYM.
1526         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1527         "bp-asm.h".
1528         (PARMS): Do not use macros from bp-asm.h.
1529         (STR): Likewise.
1530         (CHR): Likewise.
1531         (strchr): Likewise.  Do not use BP_SYM.
1532         (index): Do not use BP_SYM in weak_alias.
1533         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1534         "bp-asm.h".
1535         (PARMS): Do not use macros from bp-asm.h.
1536         (DEST): Likewise.
1537         (SRC): Likewise.
1538         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
1539         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1540         "bp-asm.h".
1541         (PARMS): Do not use macros from bp-asm.h.
1542         (strlen): Do not use BP_SYM.
1543         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1544         "bp-asm.h".
1545         (PARMS): Do not use macros from bp-asm.h.
1546         (S1): Likewise.
1547         (S2): Likewise.
1548         (SIZE): Likewise.
1549         (__mpn_sub_n): Do not use BP_SYM.
1550         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1551         "bp-asm.h".
1552         (PARMS): Do not use macros from bp-asm.h.
1553         (S1): Likewise.
1554         (SIZE): Likewise.
1555         (__mpn_submul_1): Do not use BP_SYM.
1556         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1557         "bp-asm.h".
1558         (PARMS): Do not use macros from bp-asm.h.
1559         (S1): Likewise.
1560         (S2): Likewise.
1561         (SIZE): Likewise.
1562         (__mpn_add_n): Do not use BP_SYM.
1563         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1564         weak_alias.
1565         (bzero): Likewise.
1566         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1567         "bp-asm.h".
1568         (PARMS): Do not use macros from bp-asm.h.
1569         (BLK2): Likewise.
1570         (LEN): Likewise.
1571         (memcmp): Do not use BP_SYM.
1572         (bcmp): Do not use BP_SYM in weak_alias.
1573         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1574         "bp-asm.h".
1575         (PARMS): Do not use macros from bp-asm.h.
1576         (DEST): Likewise.
1577         (SRC): Likewise.
1578         (LEN): Likewise.
1579         (memcpy): Likewise.  Do not use BP_SYM.
1580         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1581         "bp-asm.h".
1582         (PARMS): Do not use macros from bp-asm.h.
1583         (DEST): Likewise.
1584         (SRC): Likewise.
1585         (LEN): Likewise.
1586         (memmove): Likewise.  Do not use BP_SYM.
1587         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1588         "bp-asm.h".
1589         (PARMS): Do not use macros from bp-asm.h.
1590         (DEST): Likewise.
1591         (SRC): Likewise.
1592         (LEN): Likewise.
1593         (__mempcpy): Likewise.  Do not use BP_SYM.
1594         (mempcpy): Do not use BP_SYM in weak_alias.
1595         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1596         "bp-asm.h".
1597         (PARMS): Do not use macros from bp-asm.h.
1598         (DEST): Likewise.
1599         (LEN): Likewise.
1600         [!BZERO_P] (CHR): Likewise.
1601         (memset): Likewise.  Do not use BP_SYM.
1602         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1603         "bp-asm.h".
1604         (PARMS): Do not use macros from bp-asm.h.
1605         (STR2): Likewise.
1606         (strcmp): Do not use BP_SYM.
1607         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1608         "bp-asm.h".
1609         (PARMS): Do not use macros from bp-asm.h.
1610         (STR): Likewise.
1611         (DELIM): Likewise.
1612         [USE_AS_STRTOK_R] (SAVE): Likewise.
1613         (FUNCTION): Likewise.  Do not use BP_SYM.
1614         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1615         aliases.
1616         (strtok_r): Likewise.
1617         (__GI___strtok_r): Likewise.
1618         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1619         (PARMS): Do not use macros from bp-asm.h.
1620         (S): Likewise.
1621         (SIZE): Likewise.
1622         (__mpn_lshift): Do not use BP_SYM.
1623         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1624         (PARMS): Do not use macros from bp-asm.h.
1625         (STR): Likewise.
1626         (CHR): Likewise.
1627         (__memchr): Do not use BP_SYM.
1628         (memchr): Do not use BP_SYM in weak_alias.
1629         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1630         (PARMS): Do not use macros from bp-asm.h.
1631         (BLK2): Likewise.
1632         (LEN): Likewise.
1633         (memcmp): Do not use BP_SYM.
1634         (bcmp): Do not use BP_SYM in weak_alias.
1635         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1636         (PARMS): Do not use macros from bp-asm.h.
1637         (S1): Likewise.
1638         (SIZE): Likewise.
1639         (__mpn_mul_1): Do not use BP_SYM.
1640         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1641         "bp-asm.h".
1642         (PARMS): Do not use macros from bp-asm.h.
1643         (STR): Likewise.
1644         (CHR): Likewise.
1645         (__rawmemchr): Do not use BP_SYM.
1646         (rawmemchr): Do not use BP_SYM in weak_alias.
1647         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1648         (PARMS): Do not use macros from bp-asm.h.
1649         (S): Likewise.
1650         (SIZE): Likewise.
1651         (__mpn_rshift): Do not use BP_SYM.
1652         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1653         (PARMS): Do not use macros from bp-asm.h.
1654         (SIGMSK): Likewise.
1655         (__sigsetjmp): Likewise.  Do not use BP_SYM.
1656         * sysdeps/i386/start.S: Do not include "bp-sym.h".
1657         (_start): Do not use BP_SYM.
1658         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1659         (PARMS): Do not use macros from bp-asm.h.
1660         (DEST): Likewise.
1661         (SRC): Likewise.
1662         (__stpcpy): Likewise.  Do not use BP_SYM.
1663         (stpcpy): Do not use BP_SYM in weak_alias.
1664         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1665         "bp-asm.h".
1666         (PARMS): Do not use macros from bp-asm.h.
1667         (DEST): Likewise.
1668         (SRC): Likewise.
1669         (LEN): Likewise.
1670         (__stpncpy): Likewise.  Do not use BP_SYM.
1671         (stpncpy): Do not use BP_SYM in weak_alias.
1672         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1673         (PARMS): Do not use macros from bp-asm.h.
1674         (STR): Likewise.
1675         (CHR): Likewise.
1676         (strchr): Likewise.  Do not use BP_SYM.
1677         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1678         "bp-asm.h".
1679         (PARMS): Do not use macros from bp-asm.h.
1680         (STR): Likewise.
1681         (CHR): Likewise.
1682         (__strchrnul): Likewise.  Do not use BP_SYM.
1683         (strchrnul): Do not use BP_SYM in weak_alias.
1684         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1685         "bp-asm.h".
1686         (PARMS): Do not use macros from bp-asm.h.
1687         (STOP): Likewise.
1688         (strcspn): Do not use BP_SYM.
1689         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1690         "bp-asm.h".
1691         (PARMS): Do not use macros from bp-asm.h.
1692         (STR): Likewise.
1693         (STOP): Likewise.
1694         (strpbrk): Likewise.  Do not use BP_SYM.
1695         * sysdeps/i386/strrchr.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         (strrchr): Likewise.  Do not use BP_SYM.
1701         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1702         (PARMS): Do not use macros from bp-asm.h.
1703         (SKIP): Likewise.
1704         (strspn): Do not use BP_SYM.
1705         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1706         (PARMS): Do not use macros from bp-asm.h.
1707         (STR): Likewise.
1708         (DELIM): Likewise.
1709         (SAVE): Likewise.
1710         (FUNCTION): Likewise.  Do not use BP_SYM.
1711         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1712         aliases.
1713         (strtok_r): Likewise.
1714         (__GI___strtok_r): Likewise.
1715         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1716         (PARMS): Do not use macros from bp-asm.h.
1717         (S1): Likewise.
1718         (S2): Likewise.
1719         (SIZE): Likewise.
1720         (__mpn_sub_n): Do not use BP_SYM.
1721         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1722         "bp-asm.h".
1723         (PARMS): Do not use macros from bp-asm.h.
1724         (S1): Likewise.
1725         (SIZE): Likewise.
1726         (__mpn_submul_1): Do not use BP_SYM.
1727         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1728         <bp-sym.h>.
1729         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1730         and <bp-asm.h>.
1731         (PARMS): Do not use macros from bp-asm.h.
1732         (FLAGS): Likewise.
1733         (PTID): Likewise.
1734         (TLS): Likewise.
1735         (CTID): Likewise.
1736         (__clone): Do not use BP_SYM.
1737         (clone): Do not use BP_SYM in weak_alias.
1738         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1739         and <bp-asm.h>.
1740         (PARMS): Do not use macros from bp-asm.h.
1741         (LEN): Likewise.
1742         (__mmap64): Do not use BP_SYM.
1743         (mmap64): Do not use BP_SYM in weak_alias.
1744         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1745         <bp-sym.h> and <bp-asm.h>.
1746         (PARMS): Do not use macros from bp-asm.h.
1747         (__posix_fadvise64_l64): Do not use BP_SYM.
1748         * sysdeps/unix/sysv/linux/i386/semtimedop.S
1749         (PARMS): Do not use macros from bp-asm.h.
1750         (NSOPS): Likewise.
1751         (semtimedop): Do not use BP_SYM.
1752         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1753         and <bp-asm.h>.
1755 2013-02-21  Allan McRae  <allan@archlinux.org>
1757         * manual/message.texi (Charset conversion in gettext):
1758         Move @end statement to beginning of line.
1760 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1763         static.
1764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1765         Likewise.
1767         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1768         (denorm): Likewise.
1769         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1770         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1772 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1774         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1775         tail-call to the resolved function if pltexit isn't needed.
1777 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1779         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1780         or Y being zero as being unlikely.
1781         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1782         Likewise.
1784 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
1786         * manual/nss.texi (System Databases and Name Service Switch):
1787         Remove frobnicate @pxref.
1789 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1791         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1792         __attribute__ ((unused)) to __attribute__ ((__unused__)).
1794 2013-02-20  Petr Machata  <pmachata@redhat.com>
1796         * elf/elf.h (R_ARM_TARGET1): New macro.
1797         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1798         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1799         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1800         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1801         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1802         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1803         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1804         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1805         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1806         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1807         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1808         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1809         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1810         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1811         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1812         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1813         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1814         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1815         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1816         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1817         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1818         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1819         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1820         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1821         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1822         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1823         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1824         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1825         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1826         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1827         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1828         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1829         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1830         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1831         (R_ARM_THM_GOT_BREL12): Likewise.
1832         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1833         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1834         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1835         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1836         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1837         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1838         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1839         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1840         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1842 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1844         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1845         __attribute_used__ to __attribute__ ((unused)).
1847 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1849         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1850         powerpc mpa.c.
1851         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1852         comment formatting.
1853         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1855 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
1857         [BZ #13550]
1858         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1859         Remove macro.
1860         (ENTER): Remove both macro definitions.
1861         (LEAVE): Likewise.
1862         (CHECK_BOUNDS_LOW): Likewise.
1863         (CHECK_BOUNDS_HIGH): Likewise.
1864         (CHECK_BOUNDS_BOTH): Likewise.
1865         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1866         (RETURN_BOUNDED_POINTER): Likewise.
1867         (RETURN_NULL_BOUNDED_POINTER): Likewise.
1868         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1869         (POP_ERRNO_LOCATION_RETURN): Likewise.
1870         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1871         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1872         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1873         macros.
1874         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1875         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1876         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1877         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1878         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1879         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1880         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1881         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1882         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1883         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1884         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1885         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1886         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1887         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1888         removed macros.
1889         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1890         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1891         macros.
1892         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1893         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1894         * sysdeps/i386/i586/memset.S (memset): Likewise.
1895         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1896         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1897         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1898         macros.
1899         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1900         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1901         Change uses of L(2) to L(out).
1902         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1903         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1904         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1905         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1906         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1907         removed macros.
1908         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1909         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1910         macros.
1911         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1912         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1913         (RETURN): Do not use macro LEAVE.
1914         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1915         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1916         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1917         * sysdeps/i386/i686/memset.S (memset): Likewise.
1918         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1919         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1920         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1921         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1922         Likewise.
1923         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1924         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
1925         L(1_2) and L(1_3) into L(1).
1926         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1927         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1928         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1929         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1930         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1931         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1932         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1933         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1934         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1935         macros.
1936         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1937         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1938         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1939         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1940         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1941         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1942         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1943         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1944         * sysdeps/i386/strcspn.S (strcspn): Likewise.
1945         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1946         * sysdeps/i386/strrchr.S (strrchr): Likewise.
1947         * sysdeps/i386/strspn.S (strspn): Likewise.
1948         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1949         conditional code.
1950         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1951         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1952         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1953         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
1954         L(1_3) into L(1_1).
1955         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1956         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1957         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1958         macros.
1959         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1961 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
1963         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1964         macro.
1966 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1968         * math/atest-exp.c (exp_mpn): Remove ROUND.
1969         * math/atest-exp2.c (exp_mpn): Likewise.
1970         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1972         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1973         * stdlib/tst-tls-atexit-lib.c: Likewise.
1974         * stdlib/tst-tls-atexit.c: Likewise.
1976 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1978         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1979         and __attribute_alloc_size__.
1981 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1983         * include/programs/xmalloc.h: Change __attribute_alloc_size to
1984         __attribute_alloc_size__.
1985         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1986         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1988 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1990         * include/programs/xmalloc.h: New file.
1991         * catgets/gencat.c: Include it.
1992         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1993         * elf/pldd.c: Likewise.
1994         * iconv/iconv_charmap.c: Likewise.
1995         * iconv/iconvconfig.c: Likewise.
1996         * iconv/strtab.c: Likewise.
1997         * locale/programs/locale.c: Likewise.
1998         * locale/programs/localedef.h: Likewise.
1999         * locale/programs/simple-hash.c: Likewise.
2000         * nscd/nscd.h: Likewise.
2001         * nss/makedb.c: Likewise.
2002         * sysdeps/generic/ldconfig.h: Likewise.
2004 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2006         * Versions.def: Add GLIBC_2.18.
2007         * include/link.h (struct link_map): New member l_tls_dtor_count.
2008         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2009         (__call_tls_dtors): Likewise.
2010         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2011         __cxa_thread_atexit_impl.
2012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2013         Likewise.
2014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2015         Likewise.
2016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2017         Likewise.
2018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2019         Likewise.
2020         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2022         Likewise.
2023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2024         Likewise.
2025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2027         Likewise.
2028         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2029         (tests): Add test case tst-tls-atexit.
2030         (modules-names): Add shared library for tst-tls-atexit.
2031         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2032         (GLIBC_PRIVATE): Add __call_tls_dtors.
2033         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2034         for libstdc++.
2035         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2036         * stdlib/tst-tls-atexit.c: New test case.
2037         * stdlib/tst-tls-atexit-lib.c: New test case.
2039         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2041         * elf/Versions (ld): Add _dl_find_dso_for_object.
2042         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2043         * elf/dl-open.c (_dl_find_dso_for_object): New function.
2044         (dl_open_worker): Use _dl_find_dso_for_object.
2045         * elf/dl-sym.c (do_sym): Likewise.
2046         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2048 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2050         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2051         Syntactic changes only.
2052         (_dl_runtime_profile): Do a tail-call to the resolved function.
2054 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
2056         [BZ #13550]
2057         * sysdeps/x86_64/bp-asm.h: Remove file.
2058         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2059         <bp-sym.h> and <bp-asm.h>.
2060         (__clone): Do not use BP_SYM.
2061         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2062         <bp-sym.h> and <bp-asm.h>.
2063         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2064         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2065         "bp-asm.h".
2066         (_setjmp): Do not use BP_SYM.
2067         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2068         "bp-asm.h".
2069         (setjmp): Do not use BP_SYM.
2070         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2071         libc_hidden_def.
2072         (mempcpy): Do not use BP_SYM in weak_alias.
2073         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2074         "bp-asm.h".
2075         (strchr): Do not use BP_SYM.
2076         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2077         "bp-asm.h".
2078         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2079         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2080         (_start): Do not use BP_SYM.
2081         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2082         "bp-asm.h".
2083         (strcat): Do not use BP_SYM.
2084         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2085         "bp-asm.h".
2086         (STRCMP): Do not use BP_SYM.
2087         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2088         "bp-asm.h".
2089         (STRCPY): Do not use BP_SYM.
2090         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2091         "bp-asm.h".
2092         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2093         "bp-asm.h".
2094         (FUNCTION): Do not use BP_SYM.
2095         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2096         weak_alias.
2097         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2099 2013-02-17  Andreas Jaeger  <aj@suse.de>
2101         * time/Versions: Sort entries.
2102         * string/Versions: Likewise.
2103         * resolv/Versions: Likewise.
2104         * posix/Versions: Likewise.
2105         * iconv/Versions: Likewise.
2106         * elf/Versions: Likewise.
2107         * wcsmbs/Versions: Likewise.
2109 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2111         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2112         loop termination condition.
2114         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2115         variable to calculate EZ.
2116         (__sqr): Likewise.
2118         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2119         the lower precision input.
2121 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
2123         [BZ #13550]
2124         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2125         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2126         (run-via-rtld-prefix): Do not handle %-bp tests.
2127         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2128         (all-object-suffixes): Remove .ob.
2129         (bppfx): Remove variable.
2130         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2131         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2132         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2133         [$(build-bounded) = yes] (libtype.ob): Likewise.
2134         * Makerules (elide-routines.ob): Remove variable.
2135         (do-tests-clean): Do not handle *-bp.out.
2136         (common-mostlyclean): Do not handle *-bp and *-bp.out.
2137         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2138         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2139         (tests): Do not include $(tests-bp.out).
2140         (xtests): Do not include $(xtests-bp.out).
2141         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2142         [$(build-bounded) = yes] ($(addprefix
2143         $(objpfx),$(binaries-bounded))): Remove rule.
2144         ($(objpfx)%-bp.out): Remove rule.
2145         * config.make.in (build-bounded): Remove variable.
2146         * crypt/Makefile [$(build-bounded) = yes]
2147         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2148         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2149         append to variable.
2150         [$(build-bounded) = yes] (install-lib): Likewise.
2151         [$(build-bounded) = yes] (generated): Likewise.
2152         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2153         Remove rule.
2154         * intl/Makefile [$(build-bounded) = yes]
2155         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2156         * math/Makefile [$(build-bounded) = yes]
2157         ($(tests:%=$(objpfx)%-bp): Likewise.
2158         * misc/Makefile [$(build-bounded) = yes]
2159         ($(objpfx)tst-tsearch-bp): Likewise.
2160         * nptl/Makeconfig (bounded-thread-library): Remove variable.
2161         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2162         Remove dependency.
2163         * string/Makefile (o-objects.ob): Remove variable.
2164         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2165         (CFLAGS-.ob): Remove variable.
2166         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2167         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2168         both definitions of variable.
2169         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2170         (ASFLAGS-.ob): Remove variable.
2172 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
2174         [BZ #13550]
2175         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2176         Remove __BOUNDED_POINTERS__ from condition.
2177         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2178         * string/bits/string2.h [!__NO_STRING_INLINES &&
2179         !__BOUNDED_POINTERS__]: Likewise.
2180         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2181         Likewise.
2182         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2183         Remove conditional code.
2184         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2185         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2186         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2187         condition.
2189         [BZ #13550]
2190         * csu/libc-start.c: Do not include <bp-sym.h>.
2191         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2192         * elf/dl-open.c: Do not include <bp-sym.h>.
2193         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2194         * math/fegetenv.c: Do not include <bp-sym.h>.
2195         (fegetenv): Do not use BP_SYM in versioned symbols.
2196         * nptl/sysdeps/pthread/bits/libc-lockP.h
2197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2198         <bp-sym.h>.
2199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2200         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2202         (__pthread_mutex_destroy): Likewise.
2203         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2204         (__pthread_mutex_lock): Likewise.
2205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2206         (__pthread_mutex_trylock): Likewise.
2207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2208         (__pthread_mutex_unlock): Likewise.
2209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2210         (__pthread_mutexattr_init): Likewise.
2211         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2212         (__pthread_mutexattr_destroy): Likewise.
2213         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2214         (__pthread_mutexattr_settype): Likewise.
2215         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2216         (__pthread_rwlock_init): Likewise.
2217         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2218         (__pthread_rwlock_destroy): Likewise.
2219         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2220         (__pthread_rwlock_rdlock): Likewise.
2221         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2222         (__pthread_rwlock_tryrdlock): Likewise.
2223         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2224         (__pthread_rwlock_wrlock): Likewise.
2225         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2226         (__pthread_rwlock_trywrlock): Likewise.
2227         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2228         (__pthread_rwlock_unlock): Likewise.
2229         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2230         (__pthread_key_create): Likewise.
2231         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2232         (__pthread_setspecific): Likewise.
2233         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2234         (__pthread_getspecific): Likewise.
2235         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2236         Likewise.
2237         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2238         (_pthread_cleanup_push_defer): Likewise.
2239         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2240         (_pthread_cleanup_pop_restore): Likewise.
2241         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2242         (pthread_setcancelstate): Likewise.
2243         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2244         <bp-sym.h>.
2245         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2246         (memchr): Do not use BP_SYM in weak_alias.
2247         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2248         (fegetenv): Do not use BP_SYM in versioned symbols.
2249         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2250         (fesetenv): Do not use BP_SYM in versioned symbols.
2251         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2252         (feupdateenv): Do not use BP_SYM in versioned symbols.
2253         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2254         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2255         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2256         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2257         (open64): Do not use BP_SYM in weak_alias.
2258         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2259         (fegetenv): Do not use BP_SYM in versioned symbols.
2260         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2261         (fesetenv): Do not use BP_SYM in versioned symbols.
2262         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2263         (feupdateenv): Do not use BP_SYM in versioned symbols.
2264         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2265         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2266         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2267         (feraiseexcept): Do not use BP_SYM in versioned symbols.
2268         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2269         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2270         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2271         <bp-sym.h>.
2272         (__libc_start_main): Do not use BP_SYM.
2274 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2276         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2277         redundant return line.
2278         (norm): Likewise.
2279         (denorm): Likewise.
2280         (dbl_mp): Likewise.
2281         (sub_magnitudes): Likewise.
2282         (__add): Likewise.
2283         (__sub): Likewise.
2284         (__mul): Likewise.
2285         (__inv): Likewise.
2286         (__dvd): Likewise.
2287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2288         (norm): Likewise.
2289         (denorm): Likewise.
2290         (dbl_mp): Likewise.
2291         (sub_magnitudes): Likewise.
2292         (__add): Likewise.
2293         (__sub): Likewise.
2294         (__mul): Likewise.
2295         (__inv): Likewise.
2296         (__dvd): Likewise.
2298         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2299         instead of __mul.
2300         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2301         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2302         (cc32): Likewise.
2304         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2305         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2306         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2307         of __mul for squares.
2308         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2309         function
2310         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2311         Likewise.
2312         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2313         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2315 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
2317         [BZ #13550]
2318         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2319         code.
2320         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2321         prototype or function definition.  Rename ubp_* variables and
2322         parameters.  Remove argv definitions conditional on
2323         [__BOUNDED_POINTERS__].
2324         * debug/backtrace.c (__backtrace): Do not use __unbounded.
2325         * elf/dl-runtime.c (_dl_fixup): Likewise.
2326         * include/set-hooks.h (RUN_HOOK): Likewise.
2327         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2328         definition.
2329         * string/strcpy.c (strcpy): Do not use __unbounded.
2330         * sysdeps/generic/frame.h (struct layout): Likewise.
2331         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2332         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2333         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2334         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2335         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2336         (__backtrace): Likewise.
2337         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2338         use __ptrvalue.
2339         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2340         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2341         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2342         Likewise.
2343         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2344         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2345         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2346         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2347         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2348         Do not use __unbounded.
2349         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2350         Rename __unboundedrlimits parameter to rlimits in prototype.
2351         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2352         Do not use __unbounded.
2353         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2354         not use __ptrvalue.
2355         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2356         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2357         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2358         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2359         __ptrvalue or __unbounded.
2360         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2361         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2362         use __unbounded.
2363         (__new_msgctl): Do not use __ptrvalue.
2364         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2365         __unbounded.
2366         (__libc_msgrcv): Do not use __ptrvalue.
2367         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2368         startup_info): Do not use __unbounded.
2369         (__libc_start_main): Likewise.  Rename ubp_* variables and
2370         parameters.  Remove argv definitions conditional on
2371         [__BOUNDED_POINTERS__].
2372         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2373         __ptrvalue.
2374         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2375         use __unbounded.
2376         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2377         or __ptrvalue.
2378         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2379         use __unbounded.
2380         (__new_shmctl): Do not use __ptrvalue.
2381         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2382         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2383         Likewise.
2384         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2385         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2386         (__libc_sigaction): Likewise.
2387         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2388         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2389         Likewise.
2390         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2392 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
2394         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2396         * string/mempcpy.c: Implement by calling memcpy.
2398 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2400         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2402         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2403         evaluation.
2405         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2406         values in the mantissa.
2408         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2409         minimize writes to Z.
2410         (sub_magnitudes): Simplify code a bit.
2412 2013-02-12  Roland McGrath  <roland@hack.frob.com>
2414         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2415         from the message.  The linker prefixes all warnings with that already.
2417 2013-02-12  Andreas Schwab  <schwab@suse.de>
2419         [BZ #15078]
2420         * posix/regexec.c (extend_buffers): Add parameter min_len.
2421         (check_matching): Pass minimum needed length.
2422         (clean_state_log_if_needed): Likewise.
2423         (get_subexp): Likewise.
2424         * posix/Makefile (tests): Add bug-regex34.
2425         (bug-regex34-ENV): Define.
2426         * posix/bug-regex34.c: New file.
2428         [BZ #11561]
2429         * posix/regcomp.c (parse_bracket_exp): When looking up collating
2430         elements compare against the byte sequence of it, not its name.
2431         * posix/Makefile (tests): Add bug-regex35.
2432         (bug-regex35-ENV): Define.
2433         * posix/bug-regex35.c: New file.
2435 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2437         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
2438         comment.
2439         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2440         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2441         (CHECK_EOL): Add undef.
2443 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
2445         * bits/stdlib-bsearch.h: New file.
2446         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2447         * stdlib/stdlib.h: Likewise.
2449 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2451         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2452         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2453         declaration.
2454         * manual/search.texi (Array Search Function): Add missing const in
2455         lfind prototype.
2456         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2457         declaration to use rlim_t.
2458         (Basic Scheduling Functions): Remove erroneous const from
2459         sched_getparam prototype.  Remove erroneous * from
2460         sched_get_priority_max and sched_get_priority_min prototypes.
2461         (Resource Usage): Fix summary @comment on vtimes to refer to
2462         sys/vtimes.h rather than vtimes.h.
2463         Add missing *s in vtimes prototype.
2464         (Limits on Resources): Fix ulimit prototype to return long int.
2465         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2466         prototypes to use long int rather than double.
2467         (BSD Random): Fix initstate and setstate to use char *, not void *.
2468         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2469         prototype to make second argument 'struct aiocb64 *const[]'.
2470         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2471         (Status of AIO Operations): Remove erroneous const in aio_return and
2472         aio_return64 prototypes.
2473         (Synchronizing I/O): Fix sync prototype to return void.
2474         * manual/startup.texi (Suboptions): Remove an erroneous const in
2475         getsubopt prototype.
2476         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2477         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2478         use size_t rather than int.
2479         (Scanning All Users): Likewise for getpwent_r.
2480         (Setting Groups): Add missing const to setgroups prototype.
2481         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2482         * manual/socket.texi (Host Names): Fix gethostbyaddr and
2483         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2484         'const void *' rather than 'const char *'.
2485         (Host Address Functions): Likewise for inet_ntop.
2486         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2487         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2488         ssize_t for return value.
2489         (Sending Data): Likewise for send, sendto, sendmsg.
2490         (Socket Option Functions): Add a missing const in setsockopt prototype.
2491         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2492         use wchar_t for the argument.
2493         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2494         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2495         take no arguments.
2496         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2497         double/float/long double for second argument.
2498         Fix return types of significand, significandf, significandl.
2499         * manual/filesys.texi (Setting Permissions): Use mode_t for second
2500         argument in fchmod prototype.
2501         (File Owner): Use uid_t and gid_t in fchown prototype.
2502         (File Times): Add const to utimes, futimes, and lutimes prototypes.
2503         (Making Special Files): Use mode_t and dev_t in mknod prototype.
2504         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2505         use 'const struct dirent **' as argument types to CMP function pointer
2506         argument.
2507         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2508         (File Times): Fix summary magic @comment for struct utimbuf and utime
2509         to refer to utime.h, not time.h.
2510         * manual/string.texi (Argz Functions): Add missing const in
2511         argz_extract and argz_next prototypes.
2512         (Finding Tokens in a String): Likewise for basename.
2513         (String/Array Comparison): Fix typo in wcscasecmp prototype.
2514         (Copying and Concatenation): Fix typo in wmemmove prototype.
2515         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2516         (Signal Stack): Remove erroneous const in sigstack prototype.
2517         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2518         prototype.
2519         (Simple Calendar Time): Likewise for stime.
2520         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2521         prototype.
2522         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2523         say sys/sysctl.h instead.
2524         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2525         and vsyslog prototypes.
2527 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2529         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2530         Remove.
2532 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2534         * misc/sys/mman.h: Fix typo in mremap comment.
2536 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2538         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2539         the '\0' terminator.
2541 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2543         [BZ #13550]
2544         * debug/segfault.c: Don't include <bp-checks.h>.
2545         * sysdeps/generic/bp-checks.h: Remove file.
2546         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2547         (__GETDENTS): Don't use CHECK_N.
2548         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2549         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2550         (__getgroups): Don't use CHECK_N.
2551         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2552         (setgroups): Don't use CHECK_N.
2553         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2554         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2555         (__libc_msgrcv): Don't use CHECK_N.
2556         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2557         (__libc_msgsnd): Don't use CHECK_N.
2558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2559         <bp-checks.h>.
2560         (__libc_pread): Don't use CHECK_N.
2561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2562         include <bp-checks.h>.
2563         (__libc_pread64): Don't use CHECK_N.
2564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2565         include <bp-checks.h>.
2566         (__libc_pwrite): Don't use CHECK_N.
2567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2568         include <bp-checks.h>.
2569         (__libc_pwrite64): Don't use CHECK_N.
2570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2571         <bp-checks.h>.
2572         (__libc_pread): Don't use CHECK_N.
2573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2574         include <bp-checks.h>.
2575         (__libc_pread64): Don't use CHECK_N.
2576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2577         include <bp-checks.h>.
2578         (__libc_pwrite): Don't use CHECK_N.
2579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2580         include <bp-checks.h>.
2581         (__libc_pwrite64): Don't use CHECK_N.
2582         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2583         (do_pread): Don't use CHECK_N.
2584         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2585         (do_pread64): Don't use CHECK_N.
2586         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2587         (do_pwrite): Don't use CHECK_N.
2588         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2589         (do_pwrite64): Don't use CHECK_N.
2590         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2591         (__libc_readv): Don't use CHECK_N.
2592         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2593         (semop): Don't use CHECK_N.
2594         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2595         <bp-checks.h>.
2596         (semtimedop): Don't use CHECK_N.
2597         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2598         (__libc_pread): Don't use CHECK_N.
2599         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2600         <bp-checks.h>.
2601         (__libc_pread64): Don't use CHECK_N.
2602         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2603         <bp-checks.h>.
2604         (__libc_pwrite): Don't use CHECK_N.
2605         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2606         <bp-checks.h>.
2607         (__libc_pwrite64): Don't use CHECK_N.
2608         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2609         <bp-checks.h>.
2610         (__libc_msgrcv): Don't use CHECK_N.
2611         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2612         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
2613         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2614         (__libc_writev): Don't use CHECK_N.
2616 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2618         * string/strcpy.c: Removed unused variable.
2620         * Makeconfig (+sysdep-includes): Define with := rather than =.
2621         Use an existing include/ subdir of each sysdeps dir before it.
2623 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2625         * nscd/connection.c (register_traced_file): Comment function.
2626         [HAVE_INOTIFY] (union __inev): Define.
2627         [HAVE_INOTIFY] (inotify_check_files): New function.
2628         [HAVE_INOTIFY] (clear_db_cache): Likewise.
2629         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2630         clear_db_cache.
2631         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2633 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2635         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2636         loaded if not already and that a failure is permanent.
2638 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2640         [BZ #15006]
2641         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2642         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2644 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2646         [BZ #13550]
2647         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2648         (CHECK_1_NULL_OK): Likewise.
2649         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2650         (__fxstat): Do not use CHECK_1.
2651         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2652         <bp-checks.h>.
2653         (___fxstat64): Do not use CHECK_1.
2654         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2655         <bp-checks.h>.
2656         (__fxstatat): Do not use CHECK_1.
2657         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2658         <bp-checks.h>.
2659         (__fxstatat64): Do not use CHECK_1.
2660         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2661         <bp-checks.h>.
2662         (__fxstat): Do not use CHECK_1.
2663         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2664         <bp-checks.h>.
2665         (__fxstatat): Do not use CHECK_1.
2666         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2667         <bp-checks.h>.
2668         (__getresgid): Do not use CHECK_1.
2669         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2670         <bp-checks.h>.
2671         (__getresuid): Do not use CHECK_1.
2672         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2673         <bp-checks.h>.
2674         (__lxstat): Do not use CHECK_1.
2675         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2676         <bp-checks.h>.
2677         (__old_msgctl): Do not use CHECK_1.
2678         (__new_msgctl): Likewise.
2679         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2680         <bp-checks.h>.
2681         (__new_setrlimit): Do not use CHECK_1.
2682         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2683         <bp-checks.h>.
2684         (__old_shmctl): Do not use CHECK_1.
2685         (__new_shmctl): Likewise.
2686         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2687         <bp-checks.h>.
2688         (__xstat): Do not use CHECK_1.
2689         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2690         (__lxstat): Do not use CHECK_1.
2691         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2692         <bp-checks.h>.
2693         (___lxstat64): Do not use CHECK_1.
2694         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2695         (__old_msgctl): Do not use CHECK_1.
2696         (__new_msgctl): Likewise.
2697         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2698         <bp-checks.h>.
2699         (__gettimeofday): Do not use CHECK_1.
2700         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2701         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2702         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2703         <bp-checks.h>.
2704         (__gettimeofday): Do not use CHECK_1.
2705         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2706         (__old_shmctl): Do not use CHECK_1_NULL_OK.
2707         (__new_shmctl): Do not use CHECK_1.
2708         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2709         <bp-checks.h>.
2710         (do_sigtimedwait): Do not use CHECK_1.
2711         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2712         <bp-checks.h>.
2713         (do_sigwaitinfo): Do not use CHECK_1.
2714         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2715         <bp-checks.h>.
2716         (msgctl): Do not use CHECK_1.
2717         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2718         <bp-checks.h>.
2719         (shmctl): Do not use CHECK_1.
2720         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2721         (ustat): Do not use CHECK_1.
2722         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2723         <bp-checks.h>.
2724         (__fxstat): Do not use CHECK_1.
2725         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2726         <bp-checks.h>.
2727         (__fxstatat): Do not use CHECK_1.
2728         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2729         <bp-checks.h>.
2730         (__lxstat): Do not use CHECK_1.
2731         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2732         <bp-checks.h>.
2733         (__xstat): Do not use CHECK_1.
2734         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2735         (__xstat): Do not use CHECK_1.
2736         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2737         (___xstat64): Do not use CHECK_1.
2739         [BZ #13550]
2740         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2741         definitions.
2742         (CHECK_BOUNDS_HIGH): Likewise.
2743         * string/strcpy.c: Do not include <bp-checks.h>.
2744         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2746 2013-02-07  Roland McGrath  <roland@hack.frob.com>
2748         * nscd/nscd-client.h (__nscd_drop_map_ref):
2749         Add __attribute__ ((unused)).
2750         * nis/nss-nisplus.h (niserr2nss): Likewise.
2752         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2753         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2755         * csu/libc-tls.c (init_static_tls, init_slotinfo):
2756         Remove inline keyword.
2757         * include/rounding-mode.h (round_away): Likewise.
2758         * libio/wfileops.c (adjust_wide_data): Likewise.
2759         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2760         (__m128i_strloadu_tolower): Likewise.
2761         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2762         (__m128i_strloadu_tolower): Likewise.
2763         * time/mktime.c (ydhms_diff): Likewise.
2764         * locale/elem-hash.h (elem_hash): Likewise.
2765         * locale/setlocale.c (setdata): Likewise.
2766         * posix/regex_internal.h (re_string_char_size_at): Likewise.
2767         (re_string_wchar_at): Likewise.
2768         (bitset_not, bitset_merge, bitset_mask): Likewise.
2769         [!(__GNUC__ > 3)] (inline): Remove macro.
2770         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2771         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2772         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2773         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2774         * string/memcmp.c (memcmp_bytes): Likewise.
2775         * locale/programs/locarchive.c (compute_hashval): Likewise.
2776         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2777         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2778         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2779         * nss/getent.c (print_rpc, print_protocols): Likewise.
2780         (print_passwd, print_group, print_aliases): Likewise.
2781         * nis/nss-nisplus.h (niserr2nss): Likewise.
2782         * nscd/connections.c (restart_p): Likewise.
2783         Change return type to bool.
2785 2013-02-05  Roland McGrath  <roland@hack.frob.com>
2787         * Makeconfig (all-Depend-files): Add existing
2788         $(sorted-subdirs:=/Depend) files.
2789         (all-subdirs): Remove nss.
2790         * sysdeps/unix/inet/Subdirs: Add it here instead.
2791         * hesiod/Depend: New file.
2793         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2794         instead of calling alloca.
2796         * io/lseek.c (__lseek): Rename to __libc_lseek.
2797         Define __lseek as an alias.
2799         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2801 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
2803         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2804         else clause and remove check for non-standard endianness.
2806 2013-02-04  David S. Miller  <davem@davemloft.net>
2808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2810 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
2812         [BZ #13550]
2813         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2814         (__ubp_memchr): Remove prototype.
2815         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2816         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2817         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2818         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2819         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2820         Remove alias.
2821         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2822         (__ubp_memchr): Likewise.
2823         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2824         (__ubp_memchr): Likewise.
2825         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2826         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2827         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2828         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2829         CHECK_STRING.
2830         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2831         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2832         (__getcwd): Do not use CHECK_STRING.
2833         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2834         <bp-checks.h>.
2835         (__real_chown): Do not use CHECK_STRING.
2836         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2837         <bp-checks.h>.
2838         (fchownat): Do not use CHECK_STRING.
2839         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2840         CHECK_STRING.
2841         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2842         <bp-checks.h>.
2843         (__lchown): Do not use CHECK_STRING.
2844         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2845         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2846         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2847         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2849         include <bp-checks.h>.
2850         (truncate64): Do not use CHECK_STRING.
2851         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2852         <bp-checks.h>.
2853         (__real_chown): Do not use CHECK_STRING.
2854         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2855         <bp-checks.h>.
2856         (__lchown): Do not use CHECK_STRING.
2857         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2858         <bp-checks.h>.
2859         (__chown): Do not use CHECK_STRING.
2860         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2861         <bp-checks.h>.
2862         (truncate64): Do not use CHECK_STRING.
2863         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2864         Likewise.
2865         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2866         (__xmknod): Do not use CHECK_STRING.
2867         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2868         <bp-checks.h>.
2869         (__xmknodat): Do not use CHECK_STRING.
2870         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2871         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2873 2013-02-04  Andreas Schwab  <schwab@suse.de>
2875         [BZ #14142]
2876         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2877         * include/netdb.h: Likewise for h_errno.
2878         * elf/tst-stackguard1.c: Include <tls.h>.
2880 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2882         * elf/link.h (struct link_map): Extend the l_addr comment.
2883         * include/link.h (struct link_map): Likewise.
2885 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
2887         [BZ #13550]
2888         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2889         (BOUNDED_1): Remove macro.
2890         * debug/backtrace.c: Don't include <bp-checks.h>.
2891         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2892         (__backtrace): Likewise.
2893         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2894         <bp-checks.h>.
2895         (__backtrace): Don't use BOUNDED_1.
2896         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2897         <bp-checks.h>.
2898         (__backtrace): Don't use BOUNDED_1.
2899         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2900         (__backtrace): Don't use BOUNDED_1.
2901         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2902         (shmat): Don't use BOUNDED_N.
2904 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
2906         [BZ #13550]
2907         * sysdeps/generic/bp-start.h: Remove file.
2908         * csu/libc-start.c: Don't include <bp-start.h>.
2909         (LIBC_START_MAIN): Set up __environ directly instead of using
2910         INIT_ARGV_and_ENVIRON.
2911         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2912         <bp-start.h>.
2914         [BZ #13550]
2915         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2916         definitions.
2917         (CHECK_FCNTL): Likewise.
2918         (CHECK_N_PAGES): Likewise.
2920         [BZ #13550]
2921         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2922         definitions.
2923         (CHECK_SIGSET_NULL_OK): Likewise.
2924         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2925         <bp-checks.h>.
2926         (sigpending): Don't use CHECK_SIGSET.
2927         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2928         <bp-checks.h>.
2929         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2930         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2931         <bp-checks.h>.
2932         (do_sigsuspend): Don't use CHECK_SIGSET.
2933         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2934         use CHECK_SIGSET.
2935         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2936         (do_sigwait): Don't use CHECK_SIGSET.
2937         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2938         use CHECK_SIGSET.
2939         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2940         include <bp-checks.h>.
2941         (sigpending): Don't use CHECK_SIGSET.
2942         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2943         include <bp-checks.h>.
2944         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2945         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2946         <bp-checks.h>.
2947         (sigpending): Don't use CHECK_SIGSET.
2948         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2949         <bp-checks.h>.
2950         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2952         [BZ #13550]
2953         * sysdeps/generic/bp-semctl.h: Remove file.
2954         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2955         <bp-checks.h> and <bp-semctl.h>.
2956         (__old_semctl): Don't use CHECK_SEMCTL.
2957         (__new_semctl): Likewise.
2958         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2959         and <bp-semctl.h>.
2960         (__old_semctl): Don't use CHECK_SEMCTL.
2961         (__new_semctl): Likewise.
2962         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2963         <bp-checks.h> and <bp-semctl.h>.
2964         (__old_semctl): Don't use CHECK_SEMCTL.
2965         (__new_semctl): Likewise.
2966         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2967         <bp-checks.h> and <bp-semctl.h>.
2968         (semctl): Don't use CHECK_SEMCTL.
2970         [BZ #13550]
2971         * Makerules (elide-bp-thunks): Remove variable.
2972         (elide-routines.oS): Don't use $(elide-bp-thunks).
2973         (elide-routines.os): Likewise.
2974         (elide-routines.o): Likewise.
2975         (elide-routines.op): Likewise.
2976         (elide-routines.og): Likewise.
2977         (objects): Don't use $(bp-thunks).
2978         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2979         include.
2980         (common-generated): Do not add s-proto-bp.d.
2981         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2982         (int): Likewise.
2983         (typ): Likewise.
2984         Do not generate makefile rules for bounded-pointer thunks.
2985         * sysdeps/generic/bp-thunks.h: Remove file.
2986         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2987         * sysdeps/unix/s-proto-bp.S: Likewise.
2989         [BZ #15062]
2990         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2991         parts of result separately when argument is not close to line from
2992         -i to i and one part of argument is small.
2993         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2994         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2995         * math/libm-test.inc (cacos_test): Add more tests.
2996         (casin_test): Likewise.
2997         (casinh_test): Likewise.
2998         * sysdeps/i386/fpu/libm-test-ulps: Update.
2999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3001 2013-01-31  David S. Miller  <davem@davemloft.net>
3003         * po/de.po: Update from translation team.
3005 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
3007         * time/tzfile.c: Include stdint.h for SIZE_MAX.
3009 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
3011         * configure.in (_AC_PROG_CC_C89): New definition.
3012         * configure: Regenerate.
3014         * configure.in (AC_PROG_CPP): New definition.
3015         * configure: Regenerate.
3017 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3019         * debug/tst-backtrace.h: New file.
3020         * debug/tst-backtrace2.c: Include tst-backtrace.h.
3021         (ret): Remove variable.
3022         (x): Likewise.
3023         (FAIL): Remove macro.
3024         (NO_INLINE): Likewise.
3025         (fn1): Use match function instead of strstr.
3026         * debug/tst-backtrace3.c: Include tst-backtrace.h.
3027         (ret): Remove variable.
3028         (x): Likewise.
3029         (FAIL): Remove macro.
3030         (NO_INLINE): Likewise.
3031         (fn): Use match function instead of strstr.
3032         * debug/tst-backtrace4.c: Include tst-backtrace.h.
3033         (ret): Remove variable.
3034         (x): Likewise.
3035         (FAIL): Remove macro.
3036         (NO_INLINE): Likewise.
3037         (handle_signal): Use match function instead of strstr.
3038         * debug/tst-backtrace5.c: Include tst-backtrace.h.
3039         (ret): Remove variable.
3040         (x): Likewise.
3041         (FAIL): Remove macro.
3042         (NO_INLINE): Likewise.
3043         (handle_signal): Use match function instead of strstr.
3045 2013-01-23  Roland McGrath  <roland@hack.frob.com>
3047         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3049 2013-01-23  David S. Miller  <davem@davemloft.net>
3051         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3052         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3053         argument of CAS if possible.
3054         * sysdeps/sparc/sparc64/bits/atomic.h
3055         (__arch_compare_and_exchange_val_32_acq): Likewise.
3056         (__arch_compare_and_exchange_val_64_acq): Likewise.
3058 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
3060         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3061         * sysdeps/posix/ulimit.c: ... this.
3062         Include <limits.h>.
3063         * sysdeps/unix/bsd/ulimit.c: Remove file.
3065 2013-01-23  Adam Conrad  <adconrad@0c3.net>
3067         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3068         (LDFLAGS-tst-array5): Likewise.
3070 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3072         [BZ #15036]
3073         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3074         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3075         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3076         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3078 2013-01-21  David S. Miller  <davem@davemloft.net>
3080         * sysdeps/sparc/backtrace.c: New file.
3081         * sysdeps/sparc/sparc32/backtrace.h: New file.
3082         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3083         * sysdeps/sparc/sparc64/backtrace.h: New file.
3084         * sysdeps/sparc/sparc64/backtrace.c: Delete.
3085         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3086         -funwind-tables.
3088 2013-01-21  Andreas Schwab  <schwab@suse.de>
3090         [BZ #15020]
3091         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3092         closed its stdout.
3094 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
3096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3097         "mpa2.h".
3098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3100 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
3101             Mark Mitchell  <mark@codesourcery.com>
3102             Tom de Vries  <tom@codesourcery.com>
3103             Paul Pluzhnikov  <ppluzhnikov@google.com>
3105         * debug/tst-backtrace2.c: New file.
3106         * debug/tst-backtrace3.c: Likewise.
3107         * debug/tst-backtrace4.c: Likewise.
3108         * debug/tst-backtrace5.c: Likewise.
3109         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3110         (CFLAGS-tst-backtrace3.c): Likewise.
3111         (CFLAGS-tst-backtrace4.c): Likewise.
3112         (CFLAGS-tst-backtrace5.c): Likewise.
3113         (LDFLAGS-tst-backtrace2): Likewise.
3114         (LDFLAGS-tst-backtrace3): Likewise.
3115         (LDFLAGS-tst-backtrace4): Likewise.
3116         (LDFLAGS-tst-backtrace5): Likewise.
3117         (tests): Add new tests tst-backtrace2, tst-backtrace3,
3118         tst-backtrace4 and tst-backtrace5.
3120 2013-01-18  Anton Blanchard  <anton@samba.org>
3121             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3123         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3124         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3125         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3126         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3128         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3129         "+r" and remove output regs list as redundant.  Add explicit inline
3130         asm to specify register of return val to work around compiler codegen
3131         bug.  Remove (int) cast on return value.  Add return type parameter to
3132         use in macro so that this macro does not truncate return value for
3133         64-bit values.
3134         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3135         pass to INTERNAL_VSYSCALL_NCS.
3136         (INLINE_VSYSCALL): Add 'long int' as return type to
3137         INTERNAL_VSYSCALL_NCS macro invocation.
3138         (INTERNAL_VSYSCALL): Add 'long int' as return type to
3139         INTERNAL_VSYSCALL_NCS macro invocation.
3140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3142 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3144         [BZ #14496]
3145         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3146         Fix application of SIMD FP exception mask.
3148         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3149         mp_no from a power of two.
3150         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3151         __mpexp_twomm1.  Use __pow_mp.
3153         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3154         multiplication.
3156 2013-01-17  David S. Miller  <davem@davemloft.net>
3158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3160 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3162         [BZ #15023]
3163         * include/complex.h: Condition contents on [!_COMPLEX_H].
3164         (__kernel_casinhf): New prototype.
3165         (__kernel_casinh): Likewise.
3166         (__kernel_casinhl): Likewise.
3167         * math/Makefile (libm_calls): Add k_casinh.
3168         * math/k_casinh.c: New file.
3169         * math/k_casinhf.c: Likewise.
3170         * math/k_casinhl.c: Likewise.
3171         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3172         finite nonzero arguments.
3173         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3174         finite nonzero arguments.
3175         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3176         finite nonzero arguments.
3177         * math/s_casinh.c: Do not include <float.h>.
3178         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3179         * math/s_casinhf.c: Do not include <float.h>.
3180         (__casinhf): Move code for finite nonzero arguments to
3181         k_casinhf.c.
3182         * math/s_casinhl.c: Do not include <float.h>.
3183         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3184         redefine.
3185         (__casinhl): Move code for finite nonzero arguments to
3186         k_casinhl.c.
3187         * math/libm-test.inc (cacos_test): Add more tests.
3188         * sysdeps/i386/fpu/libm-test-ulps: Update.
3189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3191 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
3193         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3194         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3195         [!HAVE_MREMAP]: Remove [defined linux] case.
3196         * malloc/arena.c: Do not include <malloc-sysdep.h>.
3198 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3200         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3202 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
3204         * elf/elf.h (R_386_SIZE32): New relocation.
3205         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3206         R_386_SIZE32.
3207         (elf_machine_rela): Likewise.
3208         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3209         R_X86_64_SIZE64 and R_X86_64_SIZE32.
3211 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3213         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3214         (FP_FAST_FMA): Do not define.
3215         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3216         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3217         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3218         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3219         !_SOFT_FLOAT]: Likewise.
3220         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3221         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3222         value.
3223         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3224         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3225         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3226         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3227         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3228         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3229         file.
3231 2013-01-16  Andreas Schwab  <schwab@suse.de>
3233         [BZ #14327]
3234         * include/stdlib.h (__mktemp): Add declaration.
3235         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3236         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3238 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3240         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3241         definitions.
3242         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3243         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3244         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3245         definitions here.
3246         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3247         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3248         definitions.
3249         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3250         and ONE.
3251         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3252         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3253         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3254         definitions.
3255         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3256         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3257         definitions.
3258         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3260         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3262 2013-01-15  David S. Miller  <davem@davemloft.net>
3264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3265         trunc{,f} to libm-sysdep_routes.
3266         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3268         file.
3269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3271         file.
3272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3273         file.
3274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3276         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3277         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3278         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3279         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3280         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3281         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3284         nearbyint{,f} to libm-sysdep_routes.
3285         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3287         New file.
3288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3289         file.
3290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3291         New file.
3292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3293         file.
3294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3296         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3297         file.
3298         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3299         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3300         file.
3301         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3302         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3303         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3305         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3306         libc_feholdexcept and libc_fesetenv.
3308 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
3310         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3312 2013-01-14  David S. Miller  <davem@davemloft.net>
3314         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3315         (SPARC_ASM_VIS2_IFUNC): Likewise.
3316         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3318         use of 'siam' instruction.
3319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3320         Likewise.
3321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3322         Likewise.
3323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3324         Likewise.
3325         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3326         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3327         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3328         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3330         file.
3331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3332         file.
3333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3334         file.
3335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3336         file.
3337         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3338         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3339         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3340         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3342         new VIS2 routines.
3343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3346         Likewise.
3347         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3348         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3349         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3350         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3352         routines to libm-sysdep_routines.
3353         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3356         fdim/fdimf to libm-sysdep_routines.
3357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3358         file.
3359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3361         file.
3362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3365         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3366         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3367         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3368         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3370 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3372         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3373         to optimize copies.
3375         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3377         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3380         local variable MPTWO.
3381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3382         Likewise.
3384 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3386         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3387         GLOB_NOESCAPE.
3389 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3391         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3393 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3395         * manual/pattern.texi (glob_t): Document gl_flags.
3396         (glob64_t): Likewise.
3398 2013-01-11  David S. Miller  <davem@davemloft.net>
3400         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3401         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3402         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
3403         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3404         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3405         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3406         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3407         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3408         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3409         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3410         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3411         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3412         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3414         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3415         sparc V9 rather than using V8 code.
3416         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3417         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3419         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3420         Move to...
3421         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3422         Here.
3424 2013-01-11  Roland McGrath  <roland@hack.frob.com>
3426         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3427         not in the main loop.
3428         * configure: Regenerated.
3430 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
3432         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3433         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3434         to just #else.
3435         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
3436         [!__GLIBC_HAVE_LONG_LONG] case.
3437         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3438         condition to just #else.
3439         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3440         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3441         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3442         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3443         unconditional.
3444         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3445         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3446         #elif condition to just #else.
3447         * sysdeps/unix/sysv/linux/sys/sysmacros.h
3448         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3449         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3450         #elif condition to just #else.
3452 2013-01-11  Steve Ellcey  <sellcey@mips.com>
3454         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3455         (EF_MIPS_ARCH_64): Fix value.
3456         (EF_MIPS_ARCH_32R2): New.
3457         (EF_MIPS_ARCH_64R2): New.
3459 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
3461         * Makeconfig (+link-pie-before-libc): New.
3462         (+link-pie-after-libc): Likewise.
3463         (+link-pie-tests): Likewise.
3464         (+link-pie): Rewritten.
3465         (link-before-libc): Remove $(config-LDFLAGS).
3466         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3467         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3468         (config-LDFLAGS): Renamed to ...
3469         (rtld-LDFLAGS): This.
3470         (rtld-tests-LDFLAGS): New macro.
3471         (link-libc-rpath-link): Likewise.
3472         (link-libc-tests-rpath-link): Likewise.
3473         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3474         (link-libc): Prepand $(link-libc-rpath-link).
3475         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3476         (test-program-prefix): New macro.
3477         (test-via-rtld-prefix): Likewise.
3478         (test-program-cmd): Likewise.
3479         (host-test-program-cmd): Likewise.
3480         * Makefile ($(common-objpfx)testrun.sh): Replace
3481         $(run-program-prefix) with $(test-program-prefix).
3482         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3483         $(rtld-LDFLAGS).
3484         ($(common-objpfx)shlib.lds): Likewise.
3485         (build-module-helper): Likewise.
3486         ($(common-objpfx)format.lds): Likewise.
3487         * Rules (binaries-pie-tests): New.
3488         (binaries-pie-notests): Likewise.
3489         (binaries-pie): Rewritten.
3490         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3491         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3492         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3493         (make-test-out): Replace $(host-built-program-cmd) with
3494         $(host-test-program-cmd).
3495         * config.make.in (build-hardcoded-path-in-tests): New variable.
3496         * configure.in (--enable-hardcoded-path-in-tests): New configure
3497         option.
3498         (hardcoded_path_in_tests): New AC_SUBST.
3499         * configure: Regenerated.
3500         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3501         $(built-program-cmd) with $(test-program-cmd).
3502         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3503         (test_program_cmd): This.
3504         * elf/Makefile ($(objpfx)order.out): Run test with
3505         $(test-program-prefix).
3506         ($(objpfx)order2.out): Likewise.
3507         ($(objpfx)tst-initorder.out): Likewise.
3508         ($(objpfx)tst-initorder2.out): Likewise.
3509         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3510         $(test-program-cmd).
3511         ($(objpfx)tst-array1-static.out): Likewise.
3512         ($(objpfx)tst-array2.out): Likewise.
3513         ($(objpfx)tst-array3.out): Likewise.
3514         ($(objpfx)tst-array4.out): Likewise.
3515         ($(objpfx)tst-array5.out): Likewise.
3516         ($(objpfx)tst-array5-static.out): Likewise.
3517         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3518         $(test-program-cmd).
3519         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3520         $(run-program-prefix) with $(test-program-prefix).
3521         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3522         (test_program_prefix): This.
3523         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3524         $(run-program-prefix) with $(test-program-prefix).
3525         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3526         (test_program_prefix): This.
3527         * iconvdata/tst-tables.sh: Likewise.
3528         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3529         $(run-program-prefix) with $(test-program-prefix).
3530         ($(objpfx)tst-translit.out): Likewise.
3531         ($(objpfx)tst-gettext2.out): Likewise.
3532         ($(objpfx)tst-gettext4.out): Likewise.
3533         ($(objpfx)tst-gettext6.out): Likewise.
3534         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3535         (test_program_prefix): This.
3536         * intl/tst-gettext2.sh: Likewise.
3537         * intl/tst-gettext4.sh  Likewise.
3538         * intl/tst-gettext6.sh: Likewise.
3539         * intl/tst-translit.sh: Likewise.
3540         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3541         with $(test-program-cmd).
3542         * libio/Makefile ($(objpfx)test-freopen.out): Replace
3543         $(run-program-prefix) with $(test-program-prefix).
3544         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3545         (test_program_prefix): This.
3546         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3547         $(run-program-prefix) with $(test-program-prefix).
3548         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3549         (test_program_prefix): This.
3550         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3551         * posix/Makefile ($(objpfx)globtest.out): Replace
3552         $(run-via-rtld-prefix) and $(test-wrapper) with
3553         $(test-program-prefix) and $(test-via-rtld-prefix).
3554         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3555         $(test-program-prefix).
3556         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3557         $(host-test-program-cmd).
3558         (tst-spawn-ARGS): Likewise.
3559         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3560         $(test-program-prefix).
3561         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3562         (test_via_rtld_prefix): This.
3563         (test_wrapper): Renamed to ...
3564         (test_program_prefix): This.
3565         (run_program_prefix): Replaced by test_program_prefix.
3566         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3567         (test_program_prefix): This.
3568         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3569         with $(host-test-program-cmd).
3570         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3571         $(run-program-prefix) with $(test-program-prefix).
3572         ($(objpfx)tst-printf.out): Likewise.
3573         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3574         $(test-program-cmd).
3575         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3576         (test_program_prefix): This.
3577         * stdio-common/tst-unbputc.sh: Likewise.
3578         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3579         $(run-program-prefix) with $(test-program-prefix).
3580         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3581         (test_program_prefix): This.
3582         * string/Makefile ($(objpfx)tst-svc.out):  Replace
3583         $(built-program-cmd) with $(test-program-cmd).
3585 2013-01-11  Andreas Jaeger  <aj@suse.de>
3587         [BZ #15003]
3588         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3589         value. Sync with Linux 3.7.
3591 2013-01-10  David S. Miller  <davem@davemloft.net>
3593         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3594         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3595         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3597 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3599         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3600         never set.
3601         * configure: Regenerated.
3603 2013-01-10  David S. Miller  <davem@davemloft.net>
3605         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3606         sparc V9 rather than using V8 code.
3607         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3608         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3610 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3612         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3613         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3614         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3615         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3616         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3617         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3618         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3619         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3620         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3621         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3622         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3623         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3624         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3625         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3626         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3627         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3628         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3629         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3630         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3631         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3632         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3633         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3634         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3635         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3636         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3637         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3638         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3640 2013-01-10  David S. Miller  <davem@davemloft.net>
3642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3644 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3646         * posix/Makefile (tests-static): New variable.
3647         (tests): Add $(tests-static).
3648         (tst-exec-static-ARGS): New variable.
3649         (tst-spawn-static-ARGS): Likewise.
3650         * posix/tst-exec-static.c: New file.
3651         * posix/tst-spawn-static.c: Likewise.
3652         * posix/tst-exec.c: Support run directly.
3653         * posix/tst-spawn.c: Likewise.
3655 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
3657         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3658         long.
3659         * math/bits/mathcalls.h (llrint): Likewise.
3660         (llround): Likewise.
3661         * stdlib/stdlib.h (struct drand48_data): Likewise.
3662         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3663         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3664         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3665         Likewise.
3666         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3667         Likewise.
3668         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3669         (elf_greg_t): Likewise.
3670         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3671         (__jmp_buf): Likewise.
3672         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3673         definitions.
3674         (llrint): Likewise, for all definitions.
3675         (llrintl): Likewise.
3677         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3678         Remove [__GNUC__] condition.
3679         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3680         condition to just [__USE_ISOC99].
3681         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3683 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3685         [BZ #14200]
3686         * sysdeps/unix/sysv/linux/x86/bits/environments.h
3687         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3688         defined.
3689         (_POSIX_V6_ILP32_OFF32): Likewise.
3690         (_XBS5_ILP32_OFF32): Likewise.
3691         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3692         (__ILP32_OFFBIG_LDFLAGS): Likewise.
3694 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3696         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3698         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3699         doubles __mpexp_twomm1.  Adjust usage.
3700         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3701         Remove.
3703 2013-01-10  Andreas Schwab  <schwab@suse.de>
3705         [BZ #14964]
3706         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3707         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3709 2013-01-09  David S. Miller  <davem@davemloft.net>
3711         [BZ #15003]
3712         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3713         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3714         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3715         TCP_FASTOPEN): Define.
3716         (tcp_repair_opt): New structure.
3717         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3718         enum values.
3719         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3720         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3721         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3722         (tcp_cookie_transactions): New structure.
3724 2013-01-09  Anton Blanchard  <anton@samba.org>
3726         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3727         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3728         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3729         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3731 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
3733         * include/features.h (__USE_ANSI): Remove.
3735 2013-01-09  Roland McGrath  <roland@hack.frob.com>
3737         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3739         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3741 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3743         * sysdeps/s390/fpu/libm-test-ulps: Update.
3745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3747         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3748         (__acr): Likewise.
3749         (__cpy): Likewise.
3750         (norm): Likewise.
3751         (denorm): Likewise.
3752         (__mp_dbl): Likewise.
3753         (__dbl_mp): Likewise.
3754         (add_magnitudes): Likewise.
3755         (sub_magnitudes): Likewise.
3756         (__add): Likewise.
3757         (__sub): Likewise.
3758         (__mul): Likewise.
3759         (__inv): Likewise.
3760         (__dvd): Likewise.
3761         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3762         (__acr): Likewise.
3763         (__cpy): Likewise.
3764         (norm): Likewise.
3765         (denorm): Likewise.
3766         (__mp_dbl): Likewise.
3767         (__dbl_mp): Likewise.
3768         (add_magnitudes): Likewise.
3769         (sub_magnitudes): Likewise.
3770         (__add): Likewise.
3771         (__sub): Likewise.
3772         (__mul): Likewise.
3773         (__inv): Likewise.
3774         (__dvd): Likewise.
3775         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3776         (__acr): Likewise.
3777         (__cpy): Likewise.
3778         (norm): Likewise.
3779         (denorm): Likewise.
3780         (__mp_dbl): Likewise.
3781         (__dbl_mp): Likewise.
3782         (add_magnitudes): Likewise.
3783         (sub_magnitudes): Likewise.
3784         (__add): Likewise.
3785         (__sub): Likewise.
3786         (__mul): Likewise.
3787         (__inv): Likewise.
3788         (__dvd): Likewise.
3790 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
3792         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3793         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3794         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3795         2 && __USE_EXTERN_INLINES]: Likewise.
3797 2013-01-08  Andreas Jaeger  <aj@suse.de>
3799         [BZ# 14985]
3800         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3801         Remove.
3802         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3803         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3805 2013-01-07  Anton Blanchard  <anton@samba.org>
3807         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3808         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3809         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3810         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3811         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3812         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3813         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3814         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3815         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3816         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3817         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3818         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3819         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3820         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3821         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3822         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3823         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3824         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3825         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3826         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3827         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3828         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3829         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3830         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3831         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3832         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3833         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3834         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3835         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3836         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3837         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3838         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3839         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3840         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3841         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3842         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3843         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3844         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3845         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3846         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3847         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3848         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3849         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3851 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
3853         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3854         (__MALLOC_PMT): Likewise.
3855         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3856         [__GNUC__], only on [_LIBC].
3857         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3858         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3859         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3860         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3861         forward declaration.
3862         (realloc_hook_ini): Likewise.
3863         (memalign_hook_ini): Likewise.
3864         (__libc_memalign): Do not use __MALLOC_PMT in variable
3865         declaration.
3866         (__libc_valloc): Likewise.
3867         (__libc_pvalloc): Likewise.
3868         (__libc_calloc): Likewise.
3869         (__posix_memalign): Likewise.
3871         [BZ #14996]
3872         * math/s_casinh.c: Include <float.h>.
3873         (__casinh): Do not do computation with squaring and square root
3874         for large arguments.
3875         * math/s_casinhf.c: Include <float.h>.
3876         (__casinhf): Do not do computation with squaring and square root
3877         for large arguments.
3878         * math/s_casinhl.c: Include <float.h>.
3879         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3880         (__casinhl): Do not do computation with squaring and square root
3881         for large arguments.
3882         * math/libm-test.inc (casin_test): Add more tests.
3883         (casinh_test): Likewise.
3884         * sysdeps/i386/fpu/libm-test-ulps: Update.
3885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3887 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
3889         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3890         (__x86_64_raw_data_cache_size): Likewise.
3891         (__x86_64_data_cache_size_half): Likewise.
3892         (__x86_64_raw_data_cache_size_half): Likewise.
3893         (__x86_64_shared_cache_size): Likewise.
3894         (__x86_64_raw_shared_cache_size): Likewise.
3895         (__x86_64_shared_cache_size_half): Likewise.
3896         (__x86_64_raw_shared_cache_size_half): Likewise.
3897         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3898         to ...
3899         (__x86_data_cache_size): This.
3900         (__x86_64_raw_data_cache_size): Renamed to ...
3901         (__x86_raw_data_cache_size): This.
3902         (__x86_64_data_cache_size_half): Renamed to ...
3903         (__x86_data_cache_size_half): This.
3904         (__x86_64_raw_data_cache_size_half): Renamed to ...
3905         (__x86_raw_data_cache_size_half): This.
3906         (__x86_64_shared_cache_size): Renamed to ...
3907         (__x86_shared_cache_size): This.
3908         (__x86_64_raw_shared_cache_size): Renamed to ...
3909         (__x86_raw_shared_cache_size): This.
3910         (__x86_64_shared_cache_size_half): Renamed to ...
3911         (__x86_shared_cache_size_half): This.
3912         (__x86_64_raw_shared_cache_size_half): Renamed to ...
3913         (__x86_raw_shared_cache_size_half): This.
3914         * sysdeps/x86_64/memcpy.S: Updated.
3915         * sysdeps/x86_64/memset.S: Likewise.
3916         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3917         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3918         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3920 2013-01-04  David S. Miller  <davem@davemloft.net>
3922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3924 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
3926         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3927         1 to avoid redefinition warning.
3928         (__USE_GNU): Don't define.
3929         (init_signaling_nan): Protoize.
3931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3933 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3935         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3936         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3937         (__cpymn): Likewise.
3938         (norm): Remove commented code.
3939         (denorm): Likewise.
3940         (__mp_dbl): Likewise.
3941         (__inv): Likewise.
3942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3943         (__cpymn): Likewise.
3944         (norm): Remove commented code.
3945         (denorm): Likewise.
3946         (__mp_dbl): Likewise.
3947         (__inv): Likewise.
3949         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3950         mp_no value for 1.0 and 2.0.
3951         (norm): Use RADIXI instead of radixi.d.
3952         (denorm): Likewise.
3953         (__mul): Use 0.0 instead of zero.d.
3954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3955         mp_no value for 1.0 and 2.0.
3956         (norm): Use RADIXI instead of radixi.d.
3957         (denorm): Likewise.
3958         (__mul): Use 0.0 instead of zero.d.
3960 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
3962         [BZ #14994]
3963         * math/s_casinh.c (__casinh): Reduce finite argument to first
3964         quadrant then set signs of results at the end.
3965         * math/s_casinhf.c (__casinhf): Likewise.
3966         * math/s_casinhl.c (__casinhl): Likewise.
3967         * math/libm-test.inc (casin_test): Add more tests.
3968         (casinh_test): Likewise.
3969         * sysdeps/i386/fpu/libm-test-ulps: Update.
3970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3972 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3974         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3976         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3978         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3979         declarations.
3980         (denorm): Likewise.
3981         (__mp_dbl): Likewise.
3982         (__inv): Likewise.
3984         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3985         and adjust the header comment.
3987         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3988         variable name from declaration.
3990 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
3992         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3993         Initialize COMMON_CPUID_INDEX_7 element.
3994         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3995         (CPUID_RTM): Likewise.
3996         (HAS_RTM): Likewise.
3997         (COMMON_CPUID_INDEX_7): New enum.
3999 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
4001         [BZ #14981]
4002         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4003         size is zero, record memory as freed.
4005 2013-01-03  Andreas Jaeger  <aj@suse.de>
4007         * po/ia.po: Add new Interlingua translation.
4009 2012-01-03  Allan McRae  <allan@archlinux.org>
4011         * locale/programs/localedef.c: Fix description of '--posix' flag.
4013 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
4015         * NEWS: Update dates in second copyright notice.
4016         * README: Update copyright dates in example.
4017         * manual/libc.texinfo: Update copyright dates.
4018         * scripts/test-installation.pl: Update copyright date in --version
4019         output.
4021         * hurd/ctty-input.c: Fix copyright notice formatting.
4022         * hurd/ctty-output.c: Likewise.
4023         * hurd/dtable.c: Likewise.
4024         * hurd/hurd-raise.c: Likewise.
4025         * hurd/hurdprio.c: Likewise.
4026         * hurd/msgportdemux.c: Likewise.
4027         * misc/sys/file.h: Likewise.
4028         * misc/sys/ioctl.h: Likewise.
4029         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4030         * sysdeps/mach/hurd/chdir.c: Likewise.
4031         * sysdeps/mach/hurd/fchdir.c: Likewise.
4032         * sysdeps/mach/hurd/rename.c: Likewise.
4033         * sysdeps/mach/hurd/rmdir.c: Likewise.
4034         * sysdeps/mach/hurd/seekdir.c: Likewise.
4035         * sysdeps/mach/hurd/setsid.c: Likewise.
4036         * sysdeps/posix/wait3.c: Likewise.
4038         * All files with FSF copyright notices: Update copyright dates
4039         using scripts/update-copyrights.
4040         * intl/plural.c: Regenerated.
4041         * locale/programs/charmap-kw.h: Likewise.
4042         * locale/programs/locfile-kw.h: Likewise.
4044 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4046         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4047         four values.
4049         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4050         calculation loop and add branch prediction.
4052         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4053         check access beyond bounds of m1np.
4055         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4056         MPTWO.
4057         (__inv): Remove local variable MPTWO to use the global
4058         constant.
4059         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4060         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4061         variable MPTWO.
4062         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4063         MP3HALFS static const.
4065 2013-01-01  David S. Miller  <davem@davemloft.net>
4067         * po/ca.po: Update from translation team.
4069 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
4071         * scripts/update-copyrights: New file.
4072         * Makeconfig: Reformat copyright notice.
4073         * ctype/ctype.h: Likewise.
4074         * debug/swprintf_chk.c: Likewise.
4075         * elf/dl-cache.c: Likewise.
4076         * elf/dl-debug.c: Likewise.
4077         * elf/dl-object.c: Likewise.
4078         * grp/initgroups.c: Likewise.
4079         * hurd/Makefile: Likewise.
4080         * hurd/hurd/signal.h: Likewise.
4081         * hurd/hurdfault.c: Likewise.
4082         * hurd/hurdioctl.c: Likewise.
4083         * hurd/hurdlookup.c: Likewise.
4084         * hurd/intr-msg.c: Likewise.
4085         * iconv/gconv_open.c: Likewise.
4086         * libio/swprintf.c: Likewise.
4087         * locale/lc-ctype.c: Likewise.
4088         * locale/nl_langinfo.c: Likewise.
4089         * mach/Machrules: Likewise.
4090         * mach/Makefile: Likewise.
4091         * malloc/obstack.h: Likewise.
4092         * manual/Makefile: Likewise.
4093         * manual/tsort.awk: Likewise.
4094         * misc/bits/stab.def: Likewise.
4095         * nis/nis_print_group_entry.c: Likewise.
4096         * nis/nis_table.c: Likewise.
4097         * nis/nss_compat/compat-pwd.c: Likewise.
4098         * nis/nss_compat/compat-spwd.c: Likewise.
4099         * po/Makefile: Likewise.
4100         * posix/fnmatch.c: Likewise.
4101         * posix/regex.h: Likewise.
4102         * resolv/Makefile: Likewise.
4103         * resolv/nss_dns/dns-network.c: Likewise.
4104         * resolv/res_hconf.c: Likewise.
4105         * scripts/gen-sorted.awk: Likewise.
4106         * soft-fp/soft-fp.h: Likewise.
4107         * stdio-common/printf.h: Likewise.
4108         * stdlib/monetary.h: Likewise.
4109         * stdlib/random.c: Likewise.
4110         * stdlib/random_r.c: Likewise.
4111         * sysdeps/generic/Makefile: Likewise.
4112         * sysdeps/gnu/Makefile: Likewise.
4113         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4114         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4115         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4116         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4117         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4118         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4119         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4120         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4121         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4122         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4123         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4124         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4125         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4126         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4127         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4128         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4129         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4130         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4131         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4132         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4133         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4134         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4135         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4136         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4137         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4138         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4139         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4140         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4141         * sysdeps/mach/hurd/errnos.awk: Likewise.
4142         * sysdeps/mach/hurd/fork.c: Likewise.
4143         * sysdeps/mach/hurd/getcwd.c: Likewise.
4144         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4145         * sysdeps/mach/hurd/mmap.c: Likewise.
4146         * sysdeps/mach/hurd/utimes.c: Likewise.
4147         * sysdeps/mach/hurd/xmknod.c: Likewise.
4148         * sysdeps/posix/profil.c: Likewise.
4149         * sysdeps/posix/readdir_r.c: Likewise.
4150         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4151         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4152         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4153         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4154         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4155         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4156         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4157         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4159         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4160         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4161         * sysdeps/pthread/lio_listio.c: Likewise.
4162         * sysdeps/sparc/dl-procinfo.h: Likewise.
4163         * sysdeps/unix/i386/sysdep.S: Likewise.
4164         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4165         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4166         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4167         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4169         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4170         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4171         * sysdeps/unix/sysv/linux/speed.c: Likewise.
4172         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4173         * sysdeps/wordsize-32/divdi3.c: Likewise.
4174         * time/sys/time.h: Likewise.
4175         * wcsmbs/Makefile: Likewise.
4177 2013-01-01  David S. Miller  <davem@davemloft.net>
4179         * po/fr.po: Update from translation team.
4181         * catgets/gencat.c: Update copyright year.
4182         * csu/version.c: Likewise.
4183         * debug/catchsegv.sh: Likewise.
4184         * debug/pcprofiledump.c: Likewise.
4185         * debug/xtrace.sh: Likewise.
4186         * elf/ldconfig.c: Likewise.
4187         * elf/ldd.bash.in: Likewise.
4188         * elf/pldd.c: Likewise.
4189         * elf/sotruss.ksh: Likewise.
4190         * elf/sprof.c: Likewise.
4191         * iconv/iconv_prog.c: Likewise.
4192         * iconv/iconvconfig.c: Likewise.
4193         * locale/programs/locale.c: Likewise.
4194         * locale/programs/localedef.c: Likewise.
4195         * login/programs/pt_chown.c: Likewise.
4196         * malloc/memusage.sh: Likewise.
4197         * malloc/memusagestat.c: Likewise.
4198         * malloc/mtrace.pl: Likewise.
4199         * nscd/nscd.c: Likewise.
4200         * nss/getent.c: Likewise.
4201         * nss/makedb.c: Likewise.
4202         * posix/getconf.c: Likewise.
4204 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4206         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4207         numbers.
4209 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
4211         * math/bits/mathcalls.h (modf): Use __nonnull.
4213 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4215         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4216         (split): Use macro CN instead of the bare value.
4217         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4218         could be used.
4219         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4220         instead of the bare value.
4221         (power1): Likewise.
4223 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4225         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4226         __ATAN_TWOM.
4227         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4229         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4230         their values.
4231         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4232         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4233         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4234         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4236 2012-12-28  Andreas Jaeger  <aj@suse.de>
4238         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
4239         values are from Linux 3.7.
4241         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4242         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
4244 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4246         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4247         TRUE case.
4249         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4250         (norm): Likewise.
4251         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4252         variables with preprocessor constants.
4253         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4254         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4255         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4257 2012-12-27  Bruno Haible  <bruno@clisp.org>
4259         [BZ #14317]
4260         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4261         only if needed.
4263 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4265         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4266         and use variable directly.
4267         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4269         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4270         MPONE.
4271         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4272         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4273         variable MPONE.
4274         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4275         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4276         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4277         include directive.  Remove local variable MPONE.
4278         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4279         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4280         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4282 2012-12-25  David S. Miller  <davem@davemloft.net>
4284         * version.h (RELEASE): Set to "development".
4285         (VERSION): Set to "2.17.90".
4286         * NEWS: Add 2.18 section.
4288 2012-12-21  David S. Miller  <davem@davemloft.net>
4290         * po/hr.po: Update from translation team.
4292 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4294         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4296 2012-12-19  Steve Ellcey  <sellcey@mips.com>
4298         * NEWS:  Mention new memcpy for MIPS.
4300 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4302         * manual/contrib.texi (Contributors): Spelling correction.
4304 2012-12-15  David S. Miller  <davem@davemloft.net>
4306         * po/ru.po: Update from translation team.
4308 2012-12-13  David S. Miller  <davem@davemloft.net>
4310         * NEWS: Mention IFUNC testsuite enhancements.
4312         * po/pl.po: Update from translation team.
4313         * po/bg.po: Likewise.
4315         * manual/contrib.texi (Contributors): Update entries for Hongjiu
4316         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
4318 2012-12-11  David S. Miller  <davem@davemloft.net>
4320         * po/sv.po: Update from translation team.
4322         * po/vi.po: Update from translation team.
4324         * po/cs.po: Update from translation team.
4326         * po/de.po: Update from translation team.
4327         * po/eo.po: Likewise.
4328         * po/nl.po: Likewise.
4330 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4332         [BZ #14246]
4333         * manual/argp.texi (Argp Helper Functions): Move node to follow
4334         Argp Parsing State.
4336         [BZ #14872]
4337         * manual/conf.texi (Limits on File System Capacity): Mention if
4338         terminating null is included in the max size.
4340 2012-12-10  Andreas Jaeger  <aj@suse.de>
4342         * po/cs.po: Update from translation team.
4344 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4346         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4347         void pointer and cast to uintptr_t.
4348         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4349         path.
4350         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4351         * sysdeps/s390/s390-64/memset.S: Likewise.
4353 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
4355         [BZ #14833]
4356         * menual/message.texi (Message Translation): Fix typos.
4357         (Helper programs for gettext): Likewise.
4359 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
4361         [BZ #14898]
4362         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4363         Change to -1.
4365 2012-12-07  David S. Miller  <davem@davemloft.net>
4367         * po/libc.pot: Update.
4369 2012-12-07  Richard Henderson  <rth@redhat.com>
4371         [BZ #10114]
4372         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4373         normal/normal case to before the switch.
4374         (_FP_DIV): Likewise.
4376 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
4377             Mike Frysinger  <vapier@gentoo.org>
4379         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4380         check for __NR_fadvise64_64.
4382 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
4384         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4385         0, not just to plain "0" as a statement.
4386         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4387         with cw.
4389 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
4391         * NEWS: Use sourceware.org in Bugzilla URL.
4393 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4396         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4398         * stdio-common/tst-put-error.c (do_test): Add newline to the
4399         padded test to ensure flush.
4401 2012-12-05  Jeff Law  <law@redhat.com>
4403         * sunrpc/etc.rpc (fedfs_admin): Add entry.
4405 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
4407         * README: Don't refer to ports add-on as distributed separately.
4408         Mention AArch64 in list of systems supported in the ports add-on.
4410         * LICENSES: Add more non-FSF copyright and license notices.
4412         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4413         ((unused)).
4415         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4417         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4418         10000 as width of padded output.
4420 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4422         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4424         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4425         variable LX with __attribute__ ((unused)).
4426         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4427         Likewise.
4428         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4429         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4430         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4431         with __attribute__ ((unused)).
4433 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
4435         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4437 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4439         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4440         (CFLAGS-nldbl-acos.c): New variable.
4441         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4442         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4443         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4444         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4445         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4446         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4447         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4448         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4449         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4450         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4451         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4452         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4453         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4454         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4455         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4456         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4457         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4458         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4459         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4460         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4461         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4462         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4463         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4464         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4465         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4466         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4467         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4468         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4469         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4470         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4471         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4472         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4473         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4474         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4475         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4476         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4477         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4478         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4479         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4480         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4481         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4482         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4483         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4484         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4485         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4486         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4487         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4488         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4489         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4490         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4491         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4492         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4493         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4494         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4495         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4496         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4497         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4498         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4499         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4500         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4501         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4502         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4503         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4504         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4505         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4506         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4507         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4508         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4509         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4510         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4511         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4512         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4513         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4514         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4515         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4516         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4517         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4518         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4519         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4520         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4521         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4522         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4523         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4524         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4525         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4526         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4527         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4528         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4529         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4530         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4531         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4532         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4533         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4534         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4535         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4536         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4537         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4540         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4542         [BZ #14914]
4543         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4544         whole low double instead of just low 47 bits when splitting values
4545         into two parts.
4547 2012-12-03  Allan McRae  <allan@archlinux.org>
4549         * manual/stdio.texi (Predefined Printf Handlers): Remove
4550         @hsep and @vsep usage.
4552 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
4554         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4555         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4557 2012-12-03  Jeff Law  <law@redhat.com>
4559         * time/sys/time.h (settimeofday): Do not mark TV argument
4560         as __nonnull.
4562 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
4564         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4565         when currently writing and seek to current position when not.
4566         * libio/Makefile (tests): Remove bug-fclose1.
4567         * libio/bug-fclose1.c: Delete.
4569 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
4571         * manual/arith.texi (feenableexcept): Fix typo.
4572         (fedisableexcept): Likewise.
4574 2012-11-30  Roland McGrath  <roland@hack.frob.com>
4576         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4577         second, differently-typed declaration, rather than a cast.
4579 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4581         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4582         * include/rpc/svc.h: ... here.
4584 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
4586         [BZ #13013]
4587         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4588         depending n and resplen2 to catch cases where answer
4589         equals answerp2.
4591 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
4593         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4594         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4596 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
4598         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4600 2012-11-29  Roland McGrath  <roland@hack.frob.com>
4602         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4604 2012-11-28  Jeff Law  <law@redhat.com>
4606         [BZ #13761]
4607         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4608         dataset_temporary.  Track alloca usage into alloca_used.
4609         If dataset is large allocate and release it via malloc/free.
4611 2012-06-04  Florian Weimer  <fweimer@redhat.com>
4613         [BZ #14197]
4614         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4616 2012-11-28  David S. Miller  <davem@davemloft.net>
4618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4620 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4622         [BZ #14803]
4623         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4624         of pi/2 rounded to nearest to 64 bits.
4625         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4626         nearest to 64 bits.
4627         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4628         bits.
4630 2012-11-28  Jeff Law <law@redhat.com>
4631             Martin Osvald <mosvald@redhat.com>
4633         [BZ #14889]
4634         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4635         * sunrpc/svc.c: Include time.h.
4636         (__svc_accept_failed): New function.
4637         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4638         any reason other than EINTR, call __svc_accept_failed.
4639         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4640         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4642 2012-11-28  Andreas Schwab  <schwab@suse.de>
4644         * scripts/abilist.awk: Also handle indirect functions in .opd
4645         section.
4647 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4649         [BZ #13881]
4650         * sysdeps/x86/fpu/powl_helper.c: New file.
4651         * sysdeps/x86/fpu/Makefile: Likewise.
4652         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4653         (p3): New object.
4654         (__ieee754_powl): Use __powl_helper for finite arguments except
4655         integer exponents below 8.
4656         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4657         (p3): New object.
4658         (__ieee754_powl): Use __powl_helper for finite arguments except
4659         integer exponents below 8.
4660         * math/libm-test.inc (pow_test): Add more tests and enable some
4661         previously disabled tests.
4662         * sysdeps/i386/fpu/libm-test-ulps: Update.
4663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4665 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4666             Carlos O'Donell  <carlos_odonell@mentor.com>
4668         * nss/makedb.c (is_prime): Assert that input is odd and greater
4669         than 4.  Note that fact in a comment too.
4670         (next_prime): Add 4 to input.
4672 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4674         [BZ #11741]
4675         * libio/Makefile (tests): Add test case tst-fwrite-error.
4676         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4677         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4678         * libio/tst-fwrite-error.c: New test case.
4680 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
4682         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4683         before casting to void *.
4684         * include/libc-internal.h (__pointer_type): New macro.
4685         (__integer_if_pointer_type_sub): Likewise.
4686         (__integer_if_pointer_type): Likewise.
4687         (cast_to_integer): Likewise.
4688         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4689         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4690         before casting to atomic64_t.
4691         (atomic_exchange_acq): Likewise.
4692         (__arch_exchange_and_add_body): Likewise.
4693         (__arch_add_body): Likewise.
4694         (atomic_add_negative): Likewise.
4695         (atomic_add_zero): Likewise.
4697 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
4699         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4700         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4701         (add_fdes): Likewise.
4702         (linear_search_fdes): Likewise.
4703         (binary_search_unencoded_fdes): Likewise.
4705 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
4707         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4709 2012-11-24  Adam Conrad  <adconrad@0c3.net>
4711         * configure.in: Autodetect C++ header directories.
4712         * configure: Regenerated.
4714 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
4716         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4718 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
4720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4722 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
4724         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4725         LDBL_MANT_DIG == 106]: Disable some tests.
4726         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4727         Likewise.
4728         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4729         Likewise.
4731         [BZ #14871]
4732         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4733         input for small inputs.  Return +/- pi/2 for large inputs.
4734         * math/libm-test.inc (atan_test): Add more tests.
4736         * sysdeps/generic/unwind-dw2-fde-glibc.c
4737         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4738         __attribute__ ((unused)).
4740         [BZ #14645]
4741         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4742         x * y if x and y are nonzero and z is zero.
4744         [BZ #14811]
4745         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4746         nonzero exponents with absolute value below 0x1p-117 to +/-
4747         0x1p-117.
4749         [BZ #14869]
4750         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4751         up arguments below 2**-450, not just those below 2**-500.
4752         * math/libm-test.inc (hypot_test): Add another test.
4754         [BZ #14868]
4755         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4756         Return a+b for ratio over 2**120, not 2**60.
4757         * math/libm-test.inc (hypot_test): Add another test.
4759         * math/libm-test.inc (clog_test): Use
4760         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4761         (clog10_test): Likewise.
4763         [BZ #6778]
4764         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4766 2012-11-22  Andreas Schwab  <schwab@suse.de>
4768         * sysdeps/i386/fpu/libm-test-ulps: Update.
4770 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
4772         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4773         printf output with newline.
4775 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
4777         [BZ #14865]
4778         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4779         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4780         -z nodlopen, -z initfirst and -z execstack support.
4781         * configure: Regenerated.
4783         * elf/elf.h (DF_1_NODIRECT): New macro.
4784         (DF_1_IGNMULDEF): Likewise.
4785         (DF_1_NOKSYMS): Likewise.
4786         (DF_1_NOHDR): Likewise.
4787         (DF_1_EDITED): Likewise.
4788         (DF_1_NORELOC): Likewise.
4789         (DF_1_SYMINTPOSE): Likewise.
4790         (DF_1_GLOBAUDIT): Likewise.
4791         (DF_1_SINGLETON): Likewise.
4792         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4793         DT_1_SUPPORTED_MASK bits.
4794         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4796 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
4798         * sysdeps/unix/make-syscalls.sh: Document prefixes.
4800 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
4802         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4803         macro.
4805         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4806         (sendmmsg): Move declarations...
4807         * socket/sys/socket.h: ... here.
4808         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4809         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4810         include it from...
4811         * socket/recvmmsg.c: ... this new file.
4812         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4813         (sendmmsg): Rename to __sendmmsg, create weak alias and make
4814         definition of __sendmmsg hidden.
4815         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4816         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4817         Move ENOSYS stub into and include it from...
4818         * socket/sendmmsg.c: ... this new file.
4819         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4820         (sysdep_routines): Move recvmmsg and sendmmsg...
4821         * socket/Makefile (routines): ... here.
4822         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4823         (GLIBC_PRIVATE): Add __sendmmsg.
4824         * include/sys/socket.h (__sendmmsg): Add declarations.
4825         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4826         sendmmsg.
4828 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
4830         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4831         variable I1 with __attribute__ ((unused)).
4832         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4834 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4836         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4837         DUMMY variables with __attribute__ ((unused)).
4839         * bits/byteswap.h: Include <bits/types.h>.
4840         (__bswap_64): Use __uint64_t instead of unsigned long long int.
4842 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4844         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4845         string_t.  Do not manually set errno.
4846         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4847         length with __strnlen.  Make sure to both set errno and return it on
4848         failure.
4850 2012-11-19  David S. Miller  <davem@davemloft.net>
4852         With help from Joseph Myers.
4853         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4854         very large arguments properly.
4855         * math/libm-test.inc (atan_test): New tests.
4856         (atan2_test): New tests.
4857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4858         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4860 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4862         [BZ #14856]
4863         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4864         Define to 3.
4866         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4867         [POSIX] (EADDRNOTAVAIL): Likewise.
4868         [POSIX] (EAFNOSUPPORT): Likewise.
4869         [POSIX] (EALREADY): Likewise.
4870         [POSIX] (ECONNABORTED): Likewise.
4871         [POSIX] (ECONNREFUSED): Likewise.
4872         [POSIX] (ECONNRESET): Likewise.
4873         [POSIX] (EDESTADDRREQ): Likewise.
4874         [POSIX] (EDQUOT): Likewise.
4875         [POSIX] (EHOSTUNREACH): Likewise.
4876         [POSIX] (EIDRM): Likewise.
4877         [POSIX] (EISCONN): Likewise.
4878         [POSIX] (ELOOP): Likewise.
4879         [POSIX] (EMULTIHOP): Likewise.
4880         [POSIX] (ENETDOWN): Likewise.
4881         [POSIX] (ENETUNREACH): Likewise.
4882         [POSIX] (ENOBUFS): Likewise.
4883         [POSIX] (ENODATA): Likewise.
4884         [POSIX] (ENOLINK): Likewise.
4885         [POSIX] (ENOMSG): Likewise.
4886         [POSIX] (ENOPROTOOPT): Likewise.
4887         [POSIX] (ENOSR): Likewise.
4888         [POSIX] (ENOSTR): Likewise.
4889         [POSIX] (ENOTCONN): Likewise.
4890         [POSIX] (ENOTSOCK): Likewise.
4891         [POSIX] (EOPNOTSUPP): Likewise.
4892         [POSIX] (EOVERFLOW): Likewise.
4893         [POSIX] (EPROTO): Likewise.
4894         [POSIX] (EPROTONOSUPPORT): Likewise.
4895         [POSIX] (EPROTOTYPE): Likewise.
4896         [POSIX] (ESTALE): Likewise.
4897         [POSIX] (ETIME): Likewise.
4898         [POSIX] (ETXTBSY): Likewise.
4899         [POSIX] (EWOULDBLOCK): Likewise.
4900         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4901         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4902         [POSIX] (SEEK_CUR): Likewise.
4903         [POSIX] (SEEK_END): Likewise.
4904         [POSIX || UNIX98] (mode_t): Do not require.
4905         [POSIX] (off_t): Likewise.
4906         [POSIX] (pid_t): Likewise.
4907         [POSIX] (sys/stat.h): Do not allow header.
4908         [POSIX] (unistd.h): Likewise.
4909         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4910         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4911         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4912         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4913         require.
4914         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4915         sigevent): Specify elements.
4916         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4917         entry.
4918         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4919         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4921         * conform/data/cpio.h-data [POSIX]: Disable whole file.
4922         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4923         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4924         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4925         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4926         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4927         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4928         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4929         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4930         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4931         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4932         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4933         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4934         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4935         Likewise.
4936         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4937         Likewise.
4938         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4939         Likewise.
4940         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4941         Likewise.
4942         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4943         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4944         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4945         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4946         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4947         Specify lower bound on value.
4948         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4949         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4950         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4951         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4952         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4953         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4954         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4955         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4956         value.
4957         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4958         as optional.
4959         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4960         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4961         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4962         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4963         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4964         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4965         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4966         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4967         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4968         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4969         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4970         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4971         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4972         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4973         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4974         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4975         entry.
4976         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4977         optional.
4978         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4979         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4980         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4981         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4982         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4983         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4984         Likewise.
4985         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4986         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4987         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4988         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4989         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
4990         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4991         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4992         as optional.
4993         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4994         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4995         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4996         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4997         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4998         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4999         specify as optional.
5000         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5001         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5002         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5003         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5004         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5005         [XPG3] (NL_LANGMAX): Likewise.
5006         [POSIX || XPG3] (NL_MSGMAX): Likewise.
5007         [POSIX || XPG3] (NL_NMAX): Likewise.
5008         [POSIX || XPG3] (NL_SETMAX): Likewise.
5009         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5010         [XPG3] (NZERO): Likewise.
5011         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5012         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5013         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5014         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5015         (REG_ERANGE): Expect.
5016         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5017         optional-constant.
5018         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5019         Use (void) in prototype.
5020         [POSIX] (*_t): Allow.
5021         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5022         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5023         (WRDE_BADVAL): Expect.
5025         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5026         expect.
5027         [XPG3 || XPG4] (O_RSYNC): Likewise.
5028         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5029         Likewise.
5030         [XPG3 || XPG4] (pthread_sigmask): Likewise.
5031         [XPG3 || XPG4] (sigqueue): Likewise.
5032         [XPG3 || XPG4] (sigtimedwait): Likewise.
5033         [XPG3 || XPG4] (sigwaitinfo): Likewise.
5034         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5035         [XPG3 || XPG4] (vsnprintf): Likewise.
5036         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5037         Likewise.
5038         [XPG3 || XPG4] (blksize_t): Likewise.
5039         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5040         Likewise.
5041         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5042         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5043         [XPG3 || XPG4] (struct itimerspec): Likewise.
5044         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5045         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5046         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5047         [XPG3 || XPG4] (clockid_t): Likewise.
5048         [XPG3 || XPG4] (timer_t): Likewise.
5049         [XPG3 || XPG4] (clock_getres): Likewise.
5050         [XPG3 || XPG4] (clock_gettime): Likewise.
5051         [XPG3 || XPG4] (clock_settime): Likewise.
5052         [XPG3 || XPG4] (nanosleep): Likewise.
5053         [XPG3 || XPG4] (timer_create): Likewise.
5054         [XPG3 || XPG4] (timer_delete): Likewise.
5055         [XPG3 || XPG4] (timer_gettime): Likewise.
5056         [XPG3 || XPG4] (timer_getoverrun): Likewise.
5057         [XPG3 || XPG4] (timer_settime): Likewise.
5058         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5059         [XPG3 || XPG4] (getlogin_r): Likewise.
5060         [XPG3 || XPG4] (pread): Likewise.
5061         [XPG3 || XPG4] (pthread_atfork): Likewise.
5062         [XPG3 || XPG4] (pwrite): Likewise.
5064         [BZ #14835]
5065         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5066         <bits/siginfo.h>.
5068 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5070         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5071         finalizing MALLSTREAM.
5073         * sysdeps/mach/hurd/syncfs.c: New file.
5075 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5077         [BZ #14719]
5078         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5079         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5080         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5081         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5082         (_nss_dns_gethostbyname4_r): Likewise.
5083         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5084         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5086 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
5088         [BZ #13763]
5089         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5091 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
5093         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5094         * elf/cache.c (print_entry): Print ",AArch64" for
5095         FLAG_AARCH64_LIB64
5097         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5098         * elf/cache.c (print_entry): Print ",hard-float" for
5099         FLAG_ARM_LIBHF.
5101 2012-11-18  David S. Miller  <davem@davemloft.net>
5103         With help from Joseph Myers.
5104         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5105         cutoff to 2**-13.
5106         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5107         cutoff to 2**-25.
5108         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5109         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5110         small.
5111         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5112         * math/libm-test.inc (y0_test): New tests.
5113         (y1_test): New tests.
5114         * sysdeps/i386/fpu/libm-test-ulps: Update.
5115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5118 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
5120         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5121         64-bit targets.
5122         * configure: Regenerated.
5124 2012-11-17  David S. Miller  <davem@davemloft.net>
5126         [BZ #14811]
5127         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5128         nonzero exponents with absolute value below 0x1p-128 to +/-
5129         0x1p-128.
5131 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
5133         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5135         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5137         * posix/getconf-speclist.c: New file.
5138         * posix/posix-envs.def: Likewise.
5139         * posix/confstr.c (START_ENV_GROUP): New macro.
5140         (END_ENV_GROUP): Likewise.
5141         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5142         (KNOWN_PRESENT_ENV_STRING): Likewise.
5143         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5144         (UNKNOWN_ENVIRONMENT): Likewise.
5145         (confstr): Include posix-envs.def instead of handling
5146         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5147         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5148         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5149         (END_ENV_GROUP): Likewise.
5150         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5151         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5152         (UNKNOWN_ENVIRONMENT): Likewise.
5153         (__sysconf): Include posix-envs.def instead of handling associated
5154         cases directly here.
5155         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5156         preprocessing getconf-speclist.c rather than running getconf or
5157         generating empty file.
5159 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
5161         * scripts/check-local-headers.sh: Ignore 'mach' headers.
5163 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
5165         [BZ #14672]
5166         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5168 2012-11-16  David S. Miller  <davem@davemloft.net>
5170         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5171         smaller than LDBL_EPSILON/2.0L, just return xm1.
5173 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
5175         * elf/tst-array1.c (init): Set constructor priority to 1000.
5176         (fini): Set destructor priority to 1000.
5177         * elf/tst-array2dep.c: Likewise.
5179 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5181         [BZ #11741]
5182         * libio/fileops.c (_IO_new_file_write): Correctly return error.
5183         (_IO_new_file_xsputn): Also return EOF if none of the input
5184         data was written when overflow failed.
5185         * libio/iopadn.c (_IO_padn): Likewise.
5186         * libio/iowpadn.c (_IO_wpadn): Likewise.
5187         * stdio-common/tst-put-error.c: Add copyright notice.
5188         (do_test): Add case for printing padded string.
5189         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5190         _IO_padn returned error.
5191         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5192         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5193         return EOF.
5195 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5197         * libio/libioP.h: Add comment note that the references to C++
5198         bits are now obsolete.
5200 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5202         * math/libm-test.inc (check_complex): Use asprintf.
5204 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
5206         * debug/pcprofiledump.c (print_version): Update copyright year.
5207         * malloc/memusagestat.c (print_version): Likewise.
5209 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5211         [BZ #14831]
5212         * elf/Makefile (tests): Add tst-audit8.
5213         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5214         ($(objpfx)tst-audit8.out): New target.
5215         (tst-audit8-ENV): New variable.
5216         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5217         audit if l_reloc_result is NULL.
5218         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5219         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5220         * elf/tst-audit8.c: New file.
5222 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5224         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5225         * misc/Makefile (CFLAGS-select.c): Define.
5226         * posix/Makefile (CFLAGS-pause.c): Define.
5228 2012-11-13  David S. Miller  <davem@davemloft.net>
5230         * crypt/Makefile: Move test targets after toplevel Rules
5231         inclusion.  Grab any necessary sysdep routines when linking.
5232         * crypt/md5.c (md5_process_block): Remove define, we will always
5233         name it __md5_process_block.
5234         (md5_finish_ctx): Update md5_process_block call.
5235         (md5_stream): Likewise.
5236         (md5_process_bytes): Likewise.
5237         (md5_process_block): Rename to __md5_process_block and move to ...
5238         * crypt/md5-block.c: ... here.
5239         * crypt/sha256.c (sha256_process_block): Move to ...
5240         * crypt/sha256-block.c: ... here.
5241         * crypt/sha512.c (sha512_process_block): Move to ...
5242         * crypt/sha512-block.c: ... here.
5243         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5244         path.
5245         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5246         * sysdeps/sparc/sparc64/multiarch/Makefile
5247         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5248         crypt subdir.
5249         (localedef-aux): Add md5 crypto assembler when in locale subdir.
5250         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5251         multiarch changes.
5252         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5253         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5254         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5255         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5256         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5257         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5258         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5259         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5260         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5261         file.
5262         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5263         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5264         file.
5265         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5267 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
5269         * timezone/tzselect.ksh: Update from tzcode git revision
5270         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5271         * timezone/zdump.c: Likewise.
5272         * timezone/zic.c: Likewise.
5273         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5274         in TZVERSION setting, not $(PKGVERSION).
5275         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
5276         REPORT_BUGS_TO settings.
5278         [BZ #14838]
5279         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5280         macro.
5282 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5284         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5285         detection to immediately after _FP_ROUND().
5286         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5287         bits are 0.
5289 2012-11-11  David S. Miller  <davem@davemloft.net>
5291         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5292         inttypes.h
5293         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5294         __close rather than their public counterparts.
5296 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
5298         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5299         file.
5300         [UNIX98] (sem_timedwait): Do not expect.
5301         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5302         [XPG4 || UNIX98] (sockatmark): Do not expect.
5303         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5304         (clock_getcpuclockid): Do not expect.
5305         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5306         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5307         Do not expect.
5308         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5309         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5310         [UNIX98] (vwscanf): Likewise.
5311         [UNIX98] (vswscanf): Likewise.
5313 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
5315         * timezone/version.h: Remove file.
5316         * timezone/README: Do not refer to version.h.
5317         * timezone/Makefile ($(objpfx)zic.o): New dependency on
5318         $(objpfx)version.h.
5319         ($(objpfx)zdump.o): Likewise.
5320         ($(objpfx)version.h): New target.
5322         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5323         2012i.
5324         * timezone/README: Don't mention modification to tzselect.ksh.
5325         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5326         work on unmodified tzselect.ksh.  Substitute version numbers in
5327         tzselect.ksh.
5329         * Makefile (format-me): Remove.
5330         (INSTALL): Adjust indentation.  Use commands directly instead of
5331         using $(format-me).
5333         * aclocal.m4 (ACX_PKGVERSION): New macro.
5334         (ACX_BUGURL): Likewise.
5335         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5336         (PKGVERSION): New AC_DEFINE_UNQUOTED.
5337         (REPORT_BUGS_TO): Likewise.
5338         * configure: Regenerated.
5339         * config.h.in (PKGVERSION): New macro.
5340         (REPORT_BUGS_TO): Likewise.
5341         * config.make.in (PKGVERSION): New variable.
5342         (PKGVERSION_TEXI): Likewise.
5343         (REPORT_BUGS_TO): Likewise.
5344         (REPORT_BUGS_TEXI): Likewise.
5345         * Makefile (format-me): Use -I$(common-objpfx)manual.
5346         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5347         ($(common-objpfx)manual/%): New target.
5348         (manual/%): Remove target.
5349         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5350         (print_version): Use PKGVERSION.
5351         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5352         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5353         and REPORT_BUGS_TO.
5354         ($(objpfx)xtrace): Likewise.
5355         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5356         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5357         (print_version): Use PKGVERSION.
5358         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5359         (do_version): Use PKGVERSION.
5360         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5361         REPORT_BUGS_TO.
5362         (common-ldd-rewrite): Likewise.
5363         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5364         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5365         (print_version): Use PKGVERSION.
5366         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5367         * elf/pldd.c (argp_program_bug_address): Remove variable.
5368         (more_help): New function.
5369         (argp): Use more_help.
5370         (print_version): Use PKGVERSION.
5371         * elf/sln.c (main): Use PKGVERSION.
5372         (usage): Use REPORT_BUGS_TO.
5373         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5374         (top level): Use PKGVERSION.
5375         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5376         (print_version): Use PKGVERSION.
5377         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5378         (print_version): Use PKGVERSION.
5379         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5380         (print_version): Use PKGVERSION.
5381         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5382         (print_version): Use PKGVERSION.
5383         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5384         (print_version): Use PKGVERSION.
5385         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5386         (print_version): Use PKGVERSION.
5387         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5388         and BUGURL.
5389         ($(objpfx)memusage): Likewise.
5390         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5391         (do_version): Use PKGVERSION.
5392         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5393         (print_version): Use PKGVERSION.
5394         * malloc/mtrace.pl ($PACKAGE): Remove variable.
5395         ($PKGVERSION): New variable.
5396         ($REPORT_BUGS_TO): Likewise.
5397         (usage): Use $REPORT_BUGS_TO.
5398         (top level): Use $PKGVERSION.
5399         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5400         ($(objpfx)pkgvers.texi): New rule.
5401         ($(objpfx)stamp-pkgvers): Likewise.
5402         * manual/install.texi: Include pkgvers.texi.
5403         (--with-pkgversion): Document new configure option.
5404         (--with-bugurl): Likewise.
5405         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5406         than necessarily for this particular distribution.  Use
5407         REPORT_BUGS_TO for where to report bugs.
5408         * INSTALL: Regenerated.
5409         * manual/libc.texinfo: Include pkgvers.texi.
5410         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5411         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5412         (print_version): Use PKGVERSION.
5413         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5414         (print_version): Use PKGVERSION.
5415         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5416         (print_version): Use PKGVERSION.
5417         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5418         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5419         macro.
5420         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5421         (print_version): Use PKGVERSION.
5422         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5423         (print_version): Use PKGVERSION.
5424         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5425         and PKGVERSION.
5427         * timezone/checktab.awk: Update from tzcode 2012i.
5428         * timezone/ialloc.c: Likewise.
5429         * timezone/private.h: Likewise.
5430         * timezone/scheck.c: Likewise.
5431         * timezone/tzfile.h: Likewise.
5432         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5433         (TZVERSION): Hardcode tzcode version number.
5434         * timezone/zdump.c: Update from tzcode 2012i.
5435         * timezone/zic.c: Likewise.
5436         * timezone/version.h: New file.
5437         * timezone/README: Describe version.h.  Update upstream location.
5439         [BZ #14824]
5440         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5441         (mktemp): Enable declaration.
5442         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5443         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5444         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5445         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5446         Likewise.
5447         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5448         Likewise.
5449         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5450         Likewise.
5451         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5452         Likewise.
5453         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5454         Likewise.
5455         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5456         Likewise.
5458         [BZ #14821]
5459         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5460         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
5461         for copies of such integer values.
5462         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5463         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5465 2012-11-09  Andreas Jaeger  <aj@suse.de>
5467         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5468         definitions and declarations that are provided by
5469         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5471 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5473         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5474         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5475         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5476         definition.
5478 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5480         * elf/elf.h: Update comment before AArch64 relocations.
5482 2012-11-07  David S. Miller  <davem@davemloft.net>
5484         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5485         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5486         (__start_context): Declare.
5487         (__makecontext_ret): Delete.
5488         (__makecontext): Hook up __start_context instead of
5489         __makecontext_ret.
5490         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5491         (sysdep_routines): Add __start_context when in stdlib.
5493 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5495         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5496         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5497         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
5498         hardcoded "nm".
5499         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
5500         (READELF): New variable.  Use it instead of hardcoded "readelf".
5502 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5504         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5505         * sysdeps/x86/Makefile: Here.
5506         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5507         * sysdeps/x86/tst-xmmymm.sh: This.
5509 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5511         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5512         expectations.
5513         [UNIX98] (pthread_barrier_t): Do not expect.
5514         [UNIX98] (pthread_barrierattr_t): Likewise.
5515         [UNIX98] (pthread_spinlock_t): Likewise.
5516         [UNIX98] (pthread_barrier_destroy): Likewise.
5517         [UNIX98] (pthread_barrier_init): Likewise.
5518         [UNIX98] (pthread_barrier_wait): Likewise.
5519         [UNIX98] (pthread_barrierattr_destroy): Likewise.
5520         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5521         [UNIX98] (pthread_barrierattr_init): Likewise.
5522         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5523         [UNIX98] (pthread_getcpuclockid): Likewise.
5524         [UNIX98] (pthread_mutex_timedlock): Likewise.
5525         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5526         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5527         [UNIX98] (pthread_sigmask): Likewise.
5528         [UNIX98] (pthread_spin_destroy): Likewise.
5529         [UNIX98] (pthread_spin_init): Likewise.
5530         [UNIX98] (pthread_spin_lock): Likewise.
5531         [UNIX98] (pthread_spin_trylock): Likewise.
5532         [UNIX98] (pthread_spin_unlock): Likewise.
5533         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5534         Do not expect.
5535         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5536         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5537         [XPG3 || XPG4] (pthread_cond_t): Likewise.
5538         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5539         [XPG3 || XPG4] (pthread_key_t): Likewise.
5540         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5541         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5542         [XPG3 || XPG4] (pthread_once_t): Likewise.
5543         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5544         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5545         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5546         [XPG3 || XPG4] (pthread_t): Likewise.
5548         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5549         not expect.
5550         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5552         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5553         Change function return type to int.
5555         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5556         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5557         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5558         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5559         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5560         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5561         [!POSIX] (posix_madvise): Likewise.
5562         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5563         && !UNIX98].
5564         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5565         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5566         (mode_t): Likewise.
5567         (posix_mem_offset): Likewise.
5568         (posix_typed_mem_get_info): Likewise.
5569         (posix_typed_mem_open): Likewise.
5571         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5572         Change condition to [XOPEN2K8].
5574         * conform/conformtest.pl: Preprocess allow-header data with -x c
5575         instead of from stdin.
5576         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5577         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5578         [C99-based standards] (cerfc): Likewise.
5579         [C99-based standards] (cexp2): Likewise.
5580         [C99-based standards] (cexpm1): Likewise.
5581         [C99-based standards] (clog10): Likewise.
5582         [C99-based standards] (clog1p): Likewise.
5583         [C99-based standards] (clog2): Likewise.
5584         [C99-based standards] (clgamma): Likewise.
5585         [C99-based standards] (ctgamma): Likewise.
5586         [C99-based standards] (cerff): Likewise.
5587         [C99-based standards] (cerfcf): Likewise.
5588         [C99-based standards] (cexp2f): Likewise.
5589         [C99-based standards] (cexpm1f): Likewise.
5590         [C99-based standards] (clog10f): Likewise.
5591         [C99-based standards] (clog1pf): Likewise.
5592         [C99-based standards] (clog2f): Likewise.
5593         [C99-based standards] (clgammaf): Likewise.
5594         [C99-based standards] (ctgammaf): Likewise.
5595         [C99-based standards] (cerfl): Likewise.
5596         [C99-based standards] (cerfcl): Likewise.
5597         [C99-based standards] (cexp2l): Likewise.
5598         [C99-based standards] (cexpm1l): Likewise.
5599         [C99-based standards] (clog10l): Likewise.
5600         [C99-based standards] (clog1pl): Likewise.
5601         [C99-based standards] (clog2l): Likewise.
5602         [C99-based standards] (clgammal): Likewise.
5603         [C99-based standards] (ctgammal): Likewise.
5604         * conform/data/inttypes.h-data [C99-based standards]: Include
5605         stdint.h-data.  Remove all expectations for stdint.h contents.
5606         [C99-based standards] (PRI*): Do not allow.
5607         [C99-based standards] (SCN*): Likewise.
5608         [C99-based standards] (*_t): Likewise.
5609         [C99-based-standards] (PRId8): Expect macro.
5610         [C99-based-standards] (PRIi8): Likewise.
5611         [C99-based-standards] (PRIo8): Likewise.
5612         [C99-based-standards] (PRIu8): Likewise.
5613         [C99-based-standards] (PRIx8): Likewise.
5614         [C99-based-standards] (PRIX8): Likewise.
5615         [C99-based-standards] (SCNd8): Likewise.
5616         [C99-based-standards] (SCNi8): Likewise.
5617         [C99-based-standards] (SCNo8): Likewise.
5618         [C99-based-standards] (SCNu8): Likewise.
5619         [C99-based-standards] (SCNx8): Likewise.
5620         [C99-based-standards] (PRIdLEAST8): Likewise.
5621         [C99-based-standards] (PRIiLEAST8): Likewise.
5622         [C99-based-standards] (PRIoLEAST8): Likewise.
5623         [C99-based-standards] (PRIuLEAST8): Likewise.
5624         [C99-based-standards] (PRIxLEAST8): Likewise.
5625         [C99-based-standards] (PRIXLEAST8): Likewise.
5626         [C99-based-standards] (SCNdLEAST8): Likewise.
5627         [C99-based-standards] (SCNiLEAST8): Likewise.
5628         [C99-based-standards] (SCNoLEAST8): Likewise.
5629         [C99-based-standards] (SCNuLEAST8): Likewise.
5630         [C99-based-standards] (SCNxLEAST8): Likewise.
5631         [C99-based-standards] (PRIdFAST8): Likewise.
5632         [C99-based-standards] (PRIiFAST8): Likewise.
5633         [C99-based-standards] (PRIoFAST8): Likewise.
5634         [C99-based-standards] (PRIuFAST8): Likewise.
5635         [C99-based-standards] (PRIxFAST8): Likewise.
5636         [C99-based-standards] (PRIXFAST8): Likewise.
5637         [C99-based-standards] (SCNdFAST8): Likewise.
5638         [C99-based-standards] (SCNiFAST8): Likewise.
5639         [C99-based-standards] (SCNoFAST8): Likewise.
5640         [C99-based-standards] (SCNuFAST8): Likewise.
5641         [C99-based-standards] (SCNxFAST8): Likewise.
5642         [C99-based-standards] (PRId16): Likewise.
5643         [C99-based-standards] (PRIi16): Likewise.
5644         [C99-based-standards] (PRIo16): Likewise.
5645         [C99-based-standards] (PRIu16): Likewise.
5646         [C99-based-standards] (PRIx16): Likewise.
5647         [C99-based-standards] (PRIX16): Likewise.
5648         [C99-based-standards] (SCNd16): Likewise.
5649         [C99-based-standards] (SCNi16): Likewise.
5650         [C99-based-standards] (SCNo16): Likewise.
5651         [C99-based-standards] (SCNu16): Likewise.
5652         [C99-based-standards] (SCNx16): Likewise.
5653         [C99-based-standards] (PRIdLEAST16): Likewise.
5654         [C99-based-standards] (PRIiLEAST16): Likewise.
5655         [C99-based-standards] (PRIoLEAST16): Likewise.
5656         [C99-based-standards] (PRIuLEAST16): Likewise.
5657         [C99-based-standards] (PRIxLEAST16): Likewise.
5658         [C99-based-standards] (PRIXLEAST16): Likewise.
5659         [C99-based-standards] (SCNdLEAST16): Likewise.
5660         [C99-based-standards] (SCNiLEAST16): Likewise.
5661         [C99-based-standards] (SCNoLEAST16): Likewise.
5662         [C99-based-standards] (SCNuLEAST16): Likewise.
5663         [C99-based-standards] (SCNxLEAST16): Likewise.
5664         [C99-based-standards] (PRIdFAST16): Likewise.
5665         [C99-based-standards] (PRIiFAST16): Likewise.
5666         [C99-based-standards] (PRIoFAST16): Likewise.
5667         [C99-based-standards] (PRIuFAST16): Likewise.
5668         [C99-based-standards] (PRIxFAST16): Likewise.
5669         [C99-based-standards] (PRIXFAST16): Likewise.
5670         [C99-based-standards] (SCNdFAST16): Likewise.
5671         [C99-based-standards] (SCNiFAST16): Likewise.
5672         [C99-based-standards] (SCNoFAST16): Likewise.
5673         [C99-based-standards] (SCNuFAST16): Likewise.
5674         [C99-based-standards] (SCNxFAST16): Likewise.
5675         [C99-based-standards] (PRId32): Likewise.
5676         [C99-based-standards] (PRIi32): Likewise.
5677         [C99-based-standards] (PRIo32): Likewise.
5678         [C99-based-standards] (PRIu32): Likewise.
5679         [C99-based-standards] (PRIx32): Likewise.
5680         [C99-based-standards] (PRIX32): Likewise.
5681         [C99-based-standards] (SCNd32): Likewise.
5682         [C99-based-standards] (SCNi32): Likewise.
5683         [C99-based-standards] (SCNo32): Likewise.
5684         [C99-based-standards] (SCNu32): Likewise.
5685         [C99-based-standards] (SCNx32): Likewise.
5686         [C99-based-standards] (PRIdLEAST32): Likewise.
5687         [C99-based-standards] (PRIiLEAST32): Likewise.
5688         [C99-based-standards] (PRIoLEAST32): Likewise.
5689         [C99-based-standards] (PRIuLEAST32): Likewise.
5690         [C99-based-standards] (PRIxLEAST32): Likewise.
5691         [C99-based-standards] (PRIXLEAST32): Likewise.
5692         [C99-based-standards] (SCNdLEAST32): Likewise.
5693         [C99-based-standards] (SCNiLEAST32): Likewise.
5694         [C99-based-standards] (SCNoLEAST32): Likewise.
5695         [C99-based-standards] (SCNuLEAST32): Likewise.
5696         [C99-based-standards] (SCNxLEAST32): Likewise.
5697         [C99-based-standards] (PRIdFAST32): Likewise.
5698         [C99-based-standards] (PRIiFAST32): Likewise.
5699         [C99-based-standards] (PRIoFAST32): Likewise.
5700         [C99-based-standards] (PRIuFAST32): Likewise.
5701         [C99-based-standards] (PRIxFAST32): Likewise.
5702         [C99-based-standards] (PRIXFAST32): Likewise.
5703         [C99-based-standards] (SCNdFAST32): Likewise.
5704         [C99-based-standards] (SCNiFAST32): Likewise.
5705         [C99-based-standards] (SCNoFAST32): Likewise.
5706         [C99-based-standards] (SCNuFAST32): Likewise.
5707         [C99-based-standards] (SCNxFAST32): Likewise.
5708         [C99-based-standards] (PRId64): Likewise.
5709         [C99-based-standards] (PRIi64): Likewise.
5710         [C99-based-standards] (PRIo64): Likewise.
5711         [C99-based-standards] (PRIu64): Likewise.
5712         [C99-based-standards] (PRIx64): Likewise.
5713         [C99-based-standards] (PRIX64): Likewise.
5714         [C99-based-standards] (SCNd64): Likewise.
5715         [C99-based-standards] (SCNi64): Likewise.
5716         [C99-based-standards] (SCNo64): Likewise.
5717         [C99-based-standards] (SCNu64): Likewise.
5718         [C99-based-standards] (SCNx64): Likewise.
5719         [C99-based-standards] (PRIdLEAST64): Likewise.
5720         [C99-based-standards] (PRIiLEAST64): Likewise.
5721         [C99-based-standards] (PRIoLEAST64): Likewise.
5722         [C99-based-standards] (PRIuLEAST64): Likewise.
5723         [C99-based-standards] (PRIxLEAST64): Likewise.
5724         [C99-based-standards] (PRIXLEAST64): Likewise.
5725         [C99-based-standards] (SCNdLEAST64): Likewise.
5726         [C99-based-standards] (SCNiLEAST64): Likewise.
5727         [C99-based-standards] (SCNoLEAST64): Likewise.
5728         [C99-based-standards] (SCNuLEAST64): Likewise.
5729         [C99-based-standards] (SCNxLEAST64): Likewise.
5730         [C99-based-standards] (PRIdFAST64): Likewise.
5731         [C99-based-standards] (PRIiFAST64): Likewise.
5732         [C99-based-standards] (PRIoFAST64): Likewise.
5733         [C99-based-standards] (PRIuFAST64): Likewise.
5734         [C99-based-standards] (PRIxFAST64): Likewise.
5735         [C99-based-standards] (PRIXFAST64): Likewise.
5736         [C99-based-standards] (SCNdFAST64): Likewise.
5737         [C99-based-standards] (SCNiFAST64): Likewise.
5738         [C99-based-standards] (SCNoFAST64): Likewise.
5739         [C99-based-standards] (SCNuFAST64): Likewise.
5740         [C99-based-standards] (SCNxFAST64): Likewise.
5741         [C99-based-standards] (PRIdMAX): Likewise.
5742         [C99-based-standards] (PRIiMAX): Likewise.
5743         [C99-based-standards] (PRIoMAX): Likewise.
5744         [C99-based-standards] (PRIuMAX): Likewise.
5745         [C99-based-standards] (PRIxMAX): Likewise.
5746         [C99-based-standards] (PRIXMAX): Likewise.
5747         [C99-based-standards] (SCNdMAX): Likewise.
5748         [C99-based-standards] (SCNiMAX): Likewise.
5749         [C99-based-standards] (SCNoMAX): Likewise.
5750         [C99-based-standards] (SCNuMAX): Likewise.
5751         [C99-based-standards] (SCNxMAX): Likewise.
5752         [C99-based-standards] (PRIdPTR): Likewise.
5753         [C99-based-standards] (PRIiPTR): Likewise.
5754         [C99-based-standards] (PRIoPTR): Likewise.
5755         [C99-based-standards] (PRIuPTR): Likewise.
5756         [C99-based-standards] (PRIxPTR): Likewise.
5757         [C99-based-standards] (PRIXPTR): Likewise.
5758         [C99-based-standards] (SCNdPTR): Likewise.
5759         [C99-based-standards] (SCNiPTR): Likewise.
5760         [C99-based-standards] (SCNoPTR): Likewise.
5761         [C99-based-standards] (SCNuPTR): Likewise.
5762         [C99-based-standards] (SCNxPTR): Likewise.
5763         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5764         allow.
5765         * conform/data/stdint.h-data: Update comments to clarify
5766         requirements.
5767         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
5768         type.
5769         [C99-based standards] (INT8_MAX): Likewise.
5770         [C99-based standards] (INT16_MIN): Likewise.
5771         [C99-based standards] (INT16_MAX): Likewise.
5772         [C99-based standards] (INT32_MIN): Likewise.
5773         [C99-based standards] (INT32_MAX): Likewise.
5774         [C99-based standards] (INT64_MIN): Likewise.
5775         [C99-based standards] (INT64_MAX): Likewise.
5776         [C99-based standards] (UINT8_MAX): Likewise.
5777         [C99-based standards] (UINT16_MAX): Likewise.
5778         [C99-based standards] (UINT32_MAX): Likewise.
5779         [C99-based standards] (UINT64_MAX): Likewise.
5780         [C99-based standards] (INT_LEAST8_MIN): Likewise.
5781         [C99-based standards] (INT_LEAST8_MAX): Likewise.
5782         [C99-based standards] (INT_LEAST16_MIN): Likewise.
5783         [C99-based standards] (INT_LEAST16_MAX): Likewise.
5784         [C99-based standards] (INT_LEAST32_MIN): Likewise.
5785         [C99-based standards] (INT_LEAST32_MAX): Likewise.
5786         [C99-based standards] (INT_LEAST64_MIN): Likewise.
5787         [C99-based standards] (INT_LEAST64_MAX): Likewise.
5788         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5789         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5790         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5791         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5792         [C99-based standards] (INT_FAST8_MIN): Likewise.
5793         [C99-based standards] (INT_FAST8_MAX): Likewise.
5794         [C99-based standards] (INT_FAST16_MIN): Likewise.
5795         [C99-based standards] (INT_FAST16_MAX): Likewise.
5796         [C99-based standards] (INT_FAST32_MIN): Likewise.
5797         [C99-based standards] (INT_FAST32_MAX): Likewise.
5798         [C99-based standards] (INT_FAST64_MIN): Likewise.
5799         [C99-based standards] (INT_FAST64_MAX): Likewise.
5800         [C99-based standards] (UINT_FAST8_MAX): Likewise.
5801         [C99-based standards] (UINT_FAST16_MAX): Likewise.
5802         [C99-based standards] (UINT_FAST32_MAX): Likewise.
5803         [C99-based standards] (UINT_FAST64_MAX): Likewise.
5804         [C99-based standards] (INTPTR_MIN): Likewise.
5805         [C99-based standards] (INTPTR_MAX): Likewise.
5806         [C99-based standards] (UINTPTR_MAX): Likewise.
5807         [C99-based standards] (INTMAX_MIN): Likewise.
5808         [C99-based standards] (INTMAX_MAX): Likewise.
5809         [C99-based standards] (UINTMAX_MAX): Likewise.
5810         [C99-based standards] (PTRDIFF_MIN): Likewise.
5811         [C99-based standards] (PTRDIFF_MAX): Likewise.
5812         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5813         [C99-based standards] (SIZE_MAX): Likewise.
5814         [C99-based standards] (WCHAR_MAX): Likewise.
5815         [C99-based standards] (WINT_MAX): Likewise.
5816         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
5817         constraint on value.
5818         [C99-based standards] (WCHAR_MIN): Likewise.
5819         [C99-based standards] (WINT_MIN): Likewise.
5820         [C99-based standards] (*_t): Allow.
5821         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5822         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5823         Include math.h-data and complex.h-data.  Remove all expectations
5824         of math.h and complex.h contents.
5825         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5826         at end of line.
5827         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5828         (struct tm): Expect tag.
5829         [C99-based-standards] (wcstof): Expect function.
5830         [C99-based-standards] (wcstold): Likewise.
5831         [C99-based-standards] (wcstoll): Likewise.
5832         [C99-based-standards] (wcstoull): Likewise.
5833         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5834         macro-int-constant.  Specify type.
5835         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
5836         constraint on value.
5837         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5838         Specify type.
5839         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5840         Specify value.
5841         [ISO C standards]: Do not allow headers.
5842         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5843         wcs[abcdefghijklmnopqrstuvwxyz]*.
5844         [ISO C standards] (*_t): Do not allow.
5845         * conform/data/wctype.h-data [C99-based standards] (iswblank):
5846         Expect function.
5847         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5848         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5849         Specify type.
5850         [ISO C standards]: Do not allow headers.
5851         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5852         is[abcdefghijklmnopqrstuvwxyz]*.
5853         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5854         to[abcdefghijklmnopqrstuvwxyz]*.
5855         [ISO C standards] (*_t): Do not allow.
5856         * conform/data/stdalign.h-data: New file.
5857         * conform/data/stdbool.h-data: Likewise.
5858         * conform/data/stdnoreturn.h-data: Likewise.
5860 2012-11-07  Roland McGrath  <roland@hack.frob.com>
5862         [BZ #14815]
5863         * manual/filesys.texi (Directory Entries): Typo fix.
5864         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5866 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5868         * elf/elf.h (EM_AARCH64): New macro.
5869         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5870         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5871         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5872         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5873         (R_AARCH64_TLSDESC): Likewise.
5874         (NT_ARM_TLS): Likewise.
5875         (NT_ARM_HW_BREAK): Likewise.
5876         (NT_ARM_HW_WATCH): Likewise.
5878 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5880         [BZ #14811]
5881         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5882         (__ieee754_powl): Saturate nonzero exponents with absolute value
5883         below 0x1p-79 to +/- 0x1p-79.
5884         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5885         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5886         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5887         nonzero exponents with absolute value below 0x1p-32 to +/-
5888         0x1p-32.
5889         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5890         (__ieee754_powl): Saturate nonzero exponents with absolute value
5891         below 0x1p-79 to +/- 0x1p-79.
5892         * math/libm-test.inc (pow_test): Add more tests.
5894 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5896         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5897         _dl_s390_cap_flags with kernel. Increase string length.
5898         (_dl_s390_platforms): Add z196 and zEC12.
5900 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5902         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5903         Change XOPEN21K to XOPEN2K.
5905 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
5907         * string/memmove.c: Use memcpy when possible.
5909 2012-11-06  Andreas Jaeger  <aj@suse.de>
5911         * po/eo.po: Update from translation team.
5913 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
5915         [BZ #14793]
5916         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5917         exponent and small x and y exponents, scale x or y up.  Increase
5918         by 2 the exponent used in scaling up.
5919         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5920         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5921         * math/libm-test.inc (fma_test): Add more tests.
5922         (fma_test_towardzero): Likewise.
5923         (fma_test_downward): Likewise.
5924         (fma_test_upward): Likewise.
5926 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
5928         [BZ #14805]
5929         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5930         fenv_t *.
5932         [BZ #14801]
5933         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5934         namespace for names of struct fields.
5935         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5936         fenv_t fields.
5937         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5938         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5940 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5942         [BZ #3665]
5943         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5945 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5947         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5948         PTR_DEMANGLE.
5950         [BZ #5246]
5951         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5952         PTR_DEMANGLE.
5954 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
5956         [BZ #14797]
5957         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5958         definitely overflow as x * y not x * y + z.
5959         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5960         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5961         * math/libm-test.inc (fma_test): Add more tests.
5962         (fma_test_towardzero): Likewise.
5963         (fma_test_downward): Likewise.
5964         (fma_test_upward): Likewise.
5966 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5968         [BZ #157]
5970         * include/stub-tag.h: Remove file.
5971         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5972         '#include' of it.
5973         * manual/maint.texi (Porting): Don't reference it.
5974         * Makerules ($(objpfx)stubs): Likewise.
5975         * dirent/closedir.c: Don't include <stub-tag.h>.
5976         * dirent/dirfd.c: Likewise.
5977         * dirent/fdopendir.c: Likewise.
5978         * dirent/getdents.c: Likewise.
5979         * dirent/getdents64.c: Likewise.
5980         * dirent/opendir.c: Likewise.
5981         * dirent/readdir.c: Likewise.
5982         * dirent/readdir64.c: Likewise.
5983         * dirent/readdir64_r.c: Likewise.
5984         * dirent/readdir_r.c: Likewise.
5985         * dirent/rewinddir.c: Likewise.
5986         * dirent/seekdir.c: Likewise.
5987         * dirent/telldir.c: Likewise.
5988         * gmon/profil.c: Likewise.
5989         * grp/setgroups.c: Likewise.
5990         * inet/if_index.c: Likewise.
5991         * io/access.c: Likewise.
5992         * io/chdir.c: Likewise.
5993         * io/chmod.c: Likewise.
5994         * io/chown.c: Likewise.
5995         * io/close.c: Likewise.
5996         * io/dup.c: Likewise.
5997         * io/dup2.c: Likewise.
5998         * io/dup3.c: Likewise.
5999         * io/euidaccess.c: Likewise.
6000         * io/faccessat.c: Likewise.
6001         * io/fchdir.c: Likewise.
6002         * io/fchmod.c: Likewise.
6003         * io/fchmodat.c: Likewise.
6004         * io/fchown.c: Likewise.
6005         * io/fchownat.c: Likewise.
6006         * io/fcntl.c: Likewise.
6007         * io/flock.c: Likewise.
6008         * io/fstatfs.c: Likewise.
6009         * io/fstatfs64.c: Likewise.
6010         * io/fstatvfs.c: Likewise.
6011         * io/fstatvfs64.c: Likewise.
6012         * io/futimens.c: Likewise.
6013         * io/fxstat.c: Likewise.
6014         * io/fxstat64.c: Likewise.
6015         * io/fxstatat.c: Likewise.
6016         * io/fxstatat64.c: Likewise.
6017         * io/getcwd.c: Likewise.
6018         * io/isatty.c: Likewise.
6019         * io/lchmod.c: Likewise.
6020         * io/lchown.c: Likewise.
6021         * io/link.c: Likewise.
6022         * io/linkat.c: Likewise.
6023         * io/lseek.c: Likewise.
6024         * io/lseek64.c: Likewise.
6025         * io/lxstat64.c: Likewise.
6026         * io/mkdir.c: Likewise.
6027         * io/mkdirat.c: Likewise.
6028         * io/mkfifo.c: Likewise.
6029         * io/mkfifoat.c: Likewise.
6030         * io/open.c: Likewise.
6031         * io/open64.c: Likewise.
6032         * io/openat.c: Likewise.
6033         * io/openat64.c: Likewise.
6034         * io/pipe.c: Likewise.
6035         * io/pipe2.c: Likewise.
6036         * io/poll.c: Likewise.
6037         * io/posix_fadvise.c: Likewise.
6038         * io/posix_fadvise64.c: Likewise.
6039         * io/posix_fallocate.c: Likewise.
6040         * io/posix_fallocate64.c: Likewise.
6041         * io/read.c: Likewise.
6042         * io/readlink.c: Likewise.
6043         * io/readlinkat.c: Likewise.
6044         * io/rmdir.c: Likewise.
6045         * io/sendfile.c: Likewise.
6046         * io/sendfile64.c: Likewise.
6047         * io/statfs.c: Likewise.
6048         * io/statfs64.c: Likewise.
6049         * io/statvfs.c: Likewise.
6050         * io/statvfs64.c: Likewise.
6051         * io/symlink.c: Likewise.
6052         * io/symlinkat.c: Likewise.
6053         * io/ttyname.c: Likewise.
6054         * io/ttyname_r.c: Likewise.
6055         * io/umask.c: Likewise.
6056         * io/unlink.c: Likewise.
6057         * io/unlinkat.c: Likewise.
6058         * io/utime.c: Likewise.
6059         * io/utimensat.c: Likewise.
6060         * io/write.c: Likewise.
6061         * io/xmknod.c: Likewise.
6062         * io/xmknodat.c: Likewise.
6063         * io/xstat.c: Likewise.
6064         * io/xstat64.c: Likewise.
6065         * login/getpt.c: Likewise.
6066         * login/grantpt.c: Likewise.
6067         * login/unlockpt.c: Likewise.
6068         * math/e_acoshl.c: Likewise.
6069         * math/e_acosl.c: Likewise.
6070         * math/e_asinl.c: Likewise.
6071         * math/e_atan2l.c: Likewise.
6072         * math/e_atanhl.c: Likewise.
6073         * math/e_coshl.c: Likewise.
6074         * math/e_expl.c: Likewise.
6075         * math/e_fmodl.c: Likewise.
6076         * math/e_gammal_r.c: Likewise.
6077         * math/e_hypotl.c: Likewise.
6078         * math/e_j0l.c: Likewise.
6079         * math/e_j1l.c: Likewise.
6080         * math/e_jnl.c: Likewise.
6081         * math/e_lgammal_r.c: Likewise.
6082         * math/e_log10l.c: Likewise.
6083         * math/e_log2l.c: Likewise.
6084         * math/e_logl.c: Likewise.
6085         * math/e_powl.c: Likewise.
6086         * math/e_rem_pio2l.c: Likewise.
6087         * math/e_sinhl.c: Likewise.
6088         * math/e_sqrtl.c: Likewise.
6089         * math/fclrexcpt.c: Likewise.
6090         * math/fedisblxcpt.c: Likewise.
6091         * math/feenablxcpt.c: Likewise.
6092         * math/fegetenv.c: Likewise.
6093         * math/fegetexcept.c: Likewise.
6094         * math/fegetround.c: Likewise.
6095         * math/feholdexcpt.c: Likewise.
6096         * math/fesetenv.c: Likewise.
6097         * math/fesetround.c: Likewise.
6098         * math/feupdateenv.c: Likewise.
6099         * math/fgetexcptflg.c: Likewise.
6100         * math/fraiseexcpt.c: Likewise.
6101         * math/fsetexcptflg.c: Likewise.
6102         * math/ftestexcept.c: Likewise.
6103         * math/k_cosl.c: Likewise.
6104         * math/k_rem_pio2l.c: Likewise.
6105         * math/k_sinl.c: Likewise.
6106         * math/k_tanl.c: Likewise.
6107         * math/s_asinhl.c: Likewise.
6108         * math/s_atanl.c: Likewise.
6109         * math/s_cbrtl.c: Likewise.
6110         * math/s_erfl.c: Likewise.
6111         * math/s_expm1l.c: Likewise.
6112         * math/s_log1pl.c: Likewise.
6113         * math/s_tanhl.c: Likewise.
6114         * misc/acct.c: Likewise.
6115         * misc/brk.c: Likewise.
6116         * misc/chflags.c: Likewise.
6117         * misc/chroot.c: Likewise.
6118         * misc/fchflags.c: Likewise.
6119         * misc/fgetxattr.c: Likewise.
6120         * misc/flistxattr.c: Likewise.
6121         * misc/fremovexattr.c: Likewise.
6122         * misc/fsetxattr.c: Likewise.
6123         * misc/fsync.c: Likewise.
6124         * misc/ftruncate.c: Likewise.
6125         * misc/futimes.c: Likewise.
6126         * misc/futimesat.c: Likewise.
6127         * misc/getdomain.c: Likewise.
6128         * misc/getdtsz.c: Likewise.
6129         * misc/gethostid.c: Likewise.
6130         * misc/gethostname.c: Likewise.
6131         * misc/getloadavg.c: Likewise.
6132         * misc/getpagesize.c: Likewise.
6133         * misc/getsysstats.c: Likewise.
6134         * misc/getxattr.c: Likewise.
6135         * misc/gtty.c: Likewise.
6136         * misc/ioctl.c: Likewise.
6137         * misc/lgetxattr.c: Likewise.
6138         * misc/listxattr.c: Likewise.
6139         * misc/llistxattr.c: Likewise.
6140         * misc/lremovexattr.c: Likewise.
6141         * misc/lsetxattr.c: Likewise.
6142         * misc/lutimes.c: Likewise.
6143         * misc/madvise.c: Likewise.
6144         * misc/mincore.c: Likewise.
6145         * misc/mlock.c: Likewise.
6146         * misc/mlockall.c: Likewise.
6147         * misc/mmap.c: Likewise.
6148         * misc/mprotect.c: Likewise.
6149         * misc/msync.c: Likewise.
6150         * misc/munlock.c: Likewise.
6151         * misc/munlockall.c: Likewise.
6152         * misc/munmap.c: Likewise.
6153         * misc/preadv.c: Likewise.
6154         * misc/preadv64.c: Likewise.
6155         * misc/ptrace.c: Likewise.
6156         * misc/pwritev.c: Likewise.
6157         * misc/pwritev64.c: Likewise.
6158         * misc/readv.c: Likewise.
6159         * misc/reboot.c: Likewise.
6160         * misc/remap_file_pages.c: Likewise.
6161         * misc/removexattr.c: Likewise.
6162         * misc/revoke.c: Likewise.
6163         * misc/select.c: Likewise.
6164         * misc/setdomain.c: Likewise.
6165         * misc/setegid.c: Likewise.
6166         * misc/seteuid.c: Likewise.
6167         * misc/sethostid.c: Likewise.
6168         * misc/sethostname.c: Likewise.
6169         * misc/setregid.c: Likewise.
6170         * misc/setreuid.c: Likewise.
6171         * misc/setxattr.c: Likewise.
6172         * misc/sstk.c: Likewise.
6173         * misc/stty.c: Likewise.
6174         * misc/swapoff.c: Likewise.
6175         * misc/swapon.c: Likewise.
6176         * misc/sync.c: Likewise.
6177         * misc/syncfs.c: Likewise.
6178         * misc/syscall.c: Likewise.
6179         * misc/truncate.c: Likewise.
6180         * misc/ualarm.c: Likewise.
6181         * misc/usleep.c: Likewise.
6182         * misc/ustat.c: Likewise.
6183         * misc/utimes.c: Likewise.
6184         * misc/vhangup.c: Likewise.
6185         * misc/writev.c: Likewise.
6186         * posix/_exit.c: Likewise.
6187         * posix/alarm.c: Likewise.
6188         * posix/execve.c: Likewise.
6189         * posix/fexecve.c: Likewise.
6190         * posix/fork.c: Likewise.
6191         * posix/fpathconf.c: Likewise.
6192         * posix/getaddrinfo.c: Likewise.
6193         * posix/getegid.c: Likewise.
6194         * posix/geteuid.c: Likewise.
6195         * posix/getgid.c: Likewise.
6196         * posix/getgroups.c: Likewise.
6197         * posix/getlogin.c: Likewise.
6198         * posix/getlogin_r.c: Likewise.
6199         * posix/getpgid.c: Likewise.
6200         * posix/getpid.c: Likewise.
6201         * posix/getppid.c: Likewise.
6202         * posix/getresgid.c: Likewise.
6203         * posix/getresuid.c: Likewise.
6204         * posix/getsid.c: Likewise.
6205         * posix/getuid.c: Likewise.
6206         * posix/glob64.c: Likewise.
6207         * posix/nanosleep.c: Likewise.
6208         * posix/pathconf.c: Likewise.
6209         * posix/pause.c: Likewise.
6210         * posix/posix_madvise.c: Likewise.
6211         * posix/pread.c: Likewise.
6212         * posix/pread64.c: Likewise.
6213         * posix/pwrite.c: Likewise.
6214         * posix/pwrite64.c: Likewise.
6215         * posix/sched_getaffinity.c: Likewise.
6216         * posix/sched_getp.c: Likewise.
6217         * posix/sched_gets.c: Likewise.
6218         * posix/sched_primax.c: Likewise.
6219         * posix/sched_primin.c: Likewise.
6220         * posix/sched_rr_gi.c: Likewise.
6221         * posix/sched_setaffinity.c: Likewise.
6222         * posix/sched_setp.c: Likewise.
6223         * posix/sched_sets.c: Likewise.
6224         * posix/sched_yield.c: Likewise.
6225         * posix/setgid.c: Likewise.
6226         * posix/setlogin.c: Likewise.
6227         * posix/setpgid.c: Likewise.
6228         * posix/setresgid.c: Likewise.
6229         * posix/setresuid.c: Likewise.
6230         * posix/setsid.c: Likewise.
6231         * posix/setuid.c: Likewise.
6232         * posix/sleep.c: Likewise.
6233         * posix/spawni.c: Likewise.
6234         * posix/sysconf.c: Likewise.
6235         * posix/times.c: Likewise.
6236         * posix/wait.c: Likewise.
6237         * posix/wait3.c: Likewise.
6238         * posix/wait4.c: Likewise.
6239         * posix/waitpid.c: Likewise.
6240         * resolv/gai_sigqueue.c: Likewise.
6241         * resource/getpriority.c: Likewise.
6242         * resource/getrlimit.c: Likewise.
6243         * resource/getrusage.c: Likewise.
6244         * resource/nice.c: Likewise.
6245         * resource/setpriority.c: Likewise.
6246         * resource/setrlimit.c: Likewise.
6247         * resource/ulimit.c: Likewise.
6248         * rt/aio_cancel.c: Likewise.
6249         * rt/aio_fsync.c: Likewise.
6250         * rt/aio_read.c: Likewise.
6251         * rt/aio_sigqueue.c: Likewise.
6252         * rt/aio_suspend.c: Likewise.
6253         * rt/aio_write.c: Likewise.
6254         * rt/clock_getres.c: Likewise.
6255         * rt/clock_gettime.c: Likewise.
6256         * rt/clock_nanosleep.c: Likewise.
6257         * rt/clock_settime.c: Likewise.
6258         * rt/lio_listio.c: Likewise.
6259         * rt/mq_close.c: Likewise.
6260         * rt/mq_getattr.c: Likewise.
6261         * rt/mq_notify.c: Likewise.
6262         * rt/mq_open.c: Likewise.
6263         * rt/mq_receive.c: Likewise.
6264         * rt/mq_send.c: Likewise.
6265         * rt/mq_setattr.c: Likewise.
6266         * rt/mq_timedreceive.c: Likewise.
6267         * rt/mq_timedsend.c: Likewise.
6268         * rt/mq_unlink.c: Likewise.
6269         * rt/shm_open.c: Likewise.
6270         * rt/shm_unlink.c: Likewise.
6271         * rt/timer_create.c: Likewise.
6272         * rt/timer_delete.c: Likewise.
6273         * rt/timer_getoverr.c: Likewise.
6274         * rt/timer_gettime.c: Likewise.
6275         * rt/timer_settime.c: Likewise.
6276         * setjmp/__longjmp.c: Likewise.
6277         * setjmp/setjmp.c: Likewise.
6278         * signal/kill.c: Likewise.
6279         * signal/killpg.c: Likewise.
6280         * signal/raise.c: Likewise.
6281         * signal/sigaction.c: Likewise.
6282         * signal/sigaltstack.c: Likewise.
6283         * signal/sigblock.c: Likewise.
6284         * signal/sigignore.c: Likewise.
6285         * signal/sigintr.c: Likewise.
6286         * signal/signal.c: Likewise.
6287         * signal/sigpause.c: Likewise.
6288         * signal/sigpending.c: Likewise.
6289         * signal/sigqueue.c: Likewise.
6290         * signal/sigreturn.c: Likewise.
6291         * signal/sigset.c: Likewise.
6292         * signal/sigsetmask.c: Likewise.
6293         * signal/sigstack.c: Likewise.
6294         * signal/sigsuspend.c: Likewise.
6295         * signal/sigtimedwait.c: Likewise.
6296         * signal/sigvec.c: Likewise.
6297         * signal/sigwait.c: Likewise.
6298         * signal/sigwaitinfo.c: Likewise.
6299         * signal/sysv_signal.c: Likewise.
6300         * socket/accept.c: Likewise.
6301         * socket/accept4.c: Likewise.
6302         * socket/bind.c: Likewise.
6303         * socket/connect.c: Likewise.
6304         * socket/getpeername.c: Likewise.
6305         * socket/getsockname.c: Likewise.
6306         * socket/getsockopt.c: Likewise.
6307         * socket/isfdtype.c: Likewise.
6308         * socket/listen.c: Likewise.
6309         * socket/recv.c: Likewise.
6310         * socket/recvfrom.c: Likewise.
6311         * socket/recvmsg.c: Likewise.
6312         * socket/send.c: Likewise.
6313         * socket/sendmsg.c: Likewise.
6314         * socket/sendto.c: Likewise.
6315         * socket/setsockopt.c: Likewise.
6316         * socket/shutdown.c: Likewise.
6317         * socket/sockatmark.c: Likewise.
6318         * socket/socket.c: Likewise.
6319         * socket/socketpair.c: Likewise.
6320         * stdio-common/ctermid.c: Likewise.
6321         * stdio-common/cuserid.c: Likewise.
6322         * stdio-common/remove.c: Likewise.
6323         * stdio-common/rename.c: Likewise.
6324         * stdio-common/renameat.c: Likewise.
6325         * stdio-common/tempname.c: Likewise.
6326         * stdlib/getcontext.c: Likewise.
6327         * stdlib/makecontext.c: Likewise.
6328         * stdlib/setcontext.c: Likewise.
6329         * stdlib/swapcontext.c: Likewise.
6330         * stdlib/system.c: Likewise.
6331         * streams/fattach.c: Likewise.
6332         * streams/fdetach.c: Likewise.
6333         * streams/getmsg.c: Likewise.
6334         * streams/getpmsg.c: Likewise.
6335         * streams/putmsg.c: Likewise.
6336         * streams/putpmsg.c: Likewise.
6337         * sysdeps/unix/bsd/getpt.c: Likewise.
6338         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6339         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6340         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6342         Likewise.
6343         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6344         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6345         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6346         * sysvipc/msgctl.c: Likewise.
6347         * sysvipc/msgget.c: Likewise.
6348         * sysvipc/msgrcv.c: Likewise.
6349         * sysvipc/msgsnd.c: Likewise.
6350         * sysvipc/semctl.c: Likewise.
6351         * sysvipc/semget.c: Likewise.
6352         * sysvipc/semop.c: Likewise.
6353         * sysvipc/semtimedop.c: Likewise.
6354         * sysvipc/shmat.c: Likewise.
6355         * sysvipc/shmctl.c: Likewise.
6356         * sysvipc/shmdt.c: Likewise.
6357         * sysvipc/shmget.c: Likewise.
6358         * termios/tcdrain.c: Likewise.
6359         * termios/tcflow.c: Likewise.
6360         * termios/tcflush.c: Likewise.
6361         * termios/tcgetattr.c: Likewise.
6362         * termios/tcgetpgrp.c: Likewise.
6363         * termios/tcsendbrk.c: Likewise.
6364         * termios/tcsetattr.c: Likewise.
6365         * termios/tcsetpgrp.c: Likewise.
6366         * time/adjtime.c: Likewise.
6367         * time/clock.c: Likewise.
6368         * time/getitimer.c: Likewise.
6369         * time/gettimeofday.c: Likewise.
6370         * time/setitimer.c: Likewise.
6371         * time/settimeofday.c: Likewise.
6372         * time/stime.c: Likewise.
6373         * time/time.c: Likewise.
6375 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
6377         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6378         /usr/old/bin.
6380         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6381         instead of spaces.
6382         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6384 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
6386         [BZ #14796]
6387         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6388         FE_TONEAREST before applying Dekker multiplication and Knuth
6389         addition.  Clear inexact exceptions and check for exact zero
6390         results afterwards.
6391         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6392         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6393         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6394         * math/libm-test.inc (fma_test): Add more tests.
6395         (fma_test_towardzero): Likewise.
6396         (fma_test_downward): Likewise.
6397         (fma_test_upward): Likewise.
6398         * sysdeps/generic/math_private.h (default_libc_fesetround): New
6399         function.
6400         (libc_fesetround): New macro.
6401         (libc_fesetroundf): Likewise.
6402         (libc_fesetroundl): Likewise.
6403         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6404         function.
6405         (libc_fesetround_387): Likewise.
6406         (libc_fesetroundf): New macro.
6407         (libc_fesetround): Likewise.
6408         (libc_fesetroundl): Likewise.
6409         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6410         function.
6411         (libc_fesetroundf): New macro.
6412         (libc_fesetround): Likewise.
6413         (libc_fesetroundl): Likewise.
6414         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6415         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6416         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6417         libm_hidden_ver.
6418         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6419         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6420         libm_hidden_def.
6421         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6422         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6423         libm_hidden_ver.
6424         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6425         libm_hidden_def.
6427         [BZ #3439]
6428         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6429         integer constant usable in #if and use that to give value to enum
6430         constant.
6431         (FE_DIVBYZERO): Likewise.
6432         (FE_UNDERFLOW): Likewise.
6433         (FE_OVERFLOW): Likewise.
6434         (FE_INVALID): Likewise.
6435         (FE_INVALID_SNAN): Likewise.
6436         (FE_INVALID_ISI): Likewise.
6437         (FE_INVALID_IDI): Likewise.
6438         (FE_INVALID_ZDZ): Likewise.
6439         (FE_INVALID_IMZ): Likewise.
6440         (FE_INVALID_COMPARE): Likewise.
6441         (FE_INVALID_SOFTWARE): Likewise.
6442         (FE_INVALID_SQRT): Likewise.
6443         (FE_INVALID_INTEGER_CONVERSION): Likewise.
6444         (FE_TONEAREST): Likewise.
6445         (FE_TOWARDZERO): Likewise.
6446         (FE_UPWARD): Likewise.
6447         (FE_DOWNWARD): Likewise.
6448         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6449         (FE_DIVBYZERO): Likewise.
6450         (FE_OVERFLOW): Likewise.
6451         (FE_UNDERFLOW): Likewise.
6452         (FE_INEXACT): Likewise.
6453         (FE_TONEAREST): Likewise.
6454         (FE_DOWNWARD): Likewise.
6455         (FE_UPWARD): Likewise.
6456         (FE_TOWARDZERO): Likewise.
6457         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6458         (FE_UNDERFLOW): Likewise.
6459         (FE_OVERFLOW): Likewise.
6460         (FE_DIVBYZERO): Likewise.
6461         (FE_INVALID): Likewise.
6462         (FE_TONEAREST): Likewise.
6463         (FE_TOWARDZERO): Likewise.
6464         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6465         (FE_OVERFLOW): Likewise.
6466         (FE_UNDERFLOW): Likewise.
6467         (FE_DIVBYZERO): Likewise.
6468         (FE_INEXACT): Likewise.
6469         (FE_TONEAREST): Likewise.
6470         (FE_TOWARDZERO): Likewise.
6471         (FE_UPWARD): Likewise.
6472         (FE_DOWNWARD): Likewise.
6473         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6474         (FE_DIVBYZERO): Likewise.
6475         (FE_OVERFLOW): Likewise.
6476         (FE_UNDERFLOW): Likewise.
6477         (FE_INEXACT): Likewise.
6478         (FE_TONEAREST): Likewise.
6479         (FE_DOWNWARD): Likewise.
6480         (FE_UPWARD): Likewise.
6481         (FE_TOWARDZERO): Likewise.
6483 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
6485         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6487 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
6489         * scripts/cross-test-ssh.sh (command): Use newlines to separate
6490         commands.  Quote $PWD.
6491         (blacklist_exports): Don't use remove_newlines.  Replace "declare
6492         -x" by "export".
6493         (remove_newlines): Remove.
6495 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
6497         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6498         * stdlib/stdlib.h (atof): Moved to ...
6499         * include/bits/stdlib-float.h: Here.  New file.
6500         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6501         * stdlib/bits/stdlib-float.h: New file.
6502         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6503         -mno-sse -mno-mmx.
6504         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6505         <xmmintrin.h>.
6507 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6509         * conform/conformtest.pl (@headers): Add fenv.h.
6510         * conform/data/fenv.h-data: New file.
6511         * include/fenv.h [_ISOMAC]: Disable all contents of file except
6512         include of <math/fenv.h>.
6514         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6515         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6516         && !UNIX98].  Enables tests for XOPEN2K8.
6517         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6518         POSIX2008]: Likewise.
6520         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6521         (struct rusage): Do not expect type or its members.
6523         [BZ #3439]
6524         * math/math.h (FP_NAN): Define macro to integer constant usable in
6525         #if and use that to give value to enum constant.
6526         (FP_INFINITE): Likewise.
6527         (FP_ZERO): Likewise.
6528         (FP_SUBNORMAL): Likewise.
6529         (FP_NORMAL): Likewise.
6531 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
6533         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6534         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6535         arguments.
6537 2012-11-02  Roland McGrath  <roland@hack.frob.com>
6539         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6540         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6541         autoconf-time if not.
6542         * configure.in: Remove AC_PREREQ.
6544 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6546         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6547         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6548         of the internal implementation.
6550 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6552         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6553         except include of <misc/sys/syslog.h>.
6555 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6558         function returns with a NULL context exit with zero.
6560 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6562         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6564 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
6566         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6567         (run_program_cmd): This.
6568         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6569         (tst_langinfo): New variable.  Use it.
6571 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
6573         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6574         floating point opcodes.
6576 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6578         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6579         variable.
6581         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6583         * sysdeps/mach/hurd/powerpc: Remove directory.
6584         * sysdeps/mach/powerpc: Likewise.
6586 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6588         * scripts/check-local-headers.sh: Ignore c++ headers.
6590 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6592         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6593         __libc_cleanup_region_start argument.
6595 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
6597         [BZ #14784]
6598         [BZ #14785]
6599         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6600         x * y using scaling, not as x * y + z.
6601         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6602         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6603         * math/libm-test.inc (fma_test): Add more tests.
6604         (fma_test_towardzero): Likewise.
6605         (fma_test_downward): Likewise.
6606         (fma_test_upward): Likewise.
6608 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6610         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6612 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6614         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6615         New variable.
6617 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
6619         * rt/tst-shm.c (worker): Correct checking for mmap failure.
6621 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6624         Fix sort order.
6625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6626         Likewise.
6628 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6631         Fix the order of the list for glibc 2.17.
6632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6633         Likewise.
6635 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6639 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6641         [BZ #14610]
6642         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6643         for low part of x being zero before using __atanl (y).
6644         * math/libm-test.inc (atan2_test): Add another test.
6646         * manual/install.texi (Configuring and compiling): Document
6647         general use of test-wrapper and test-wrapper-env.
6648         * INSTALL: Regenerated.
6650         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6651         (__fma): Do not extract and scale down low bits on after-rounding
6652         systems when result rounded to normal precision would have normal
6653         exponent.
6654         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6655         (__fmal): Do not extract and scale down low bits on after-rounding
6656         systems when result rounded to normal precision would have normal
6657         exponent.
6658         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6659         (__fmal): Do not extract and scale down low bits on after-rounding
6660         systems when result rounded to normal precision would have normal
6661         exponent.
6662         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6663         macro.
6664         (fma_test): Add more tests.
6665         (fma_test_towardzero): Likewise.
6666         (fma_test_downward): Likewise.
6667         (fma_test_upward): Likewise.
6669 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
6671         * sysdeps/i386/tininess.h: Renamed to ...
6672         * sysdeps/x86/tininess.h: This.
6673         * sysdeps/x86_64/tininess.h: Removed.
6675 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6677         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6678         input.  Use $(build-program-cmd).
6679         ($(objpfx)tst-array1-static.out): Likewise.
6680         ($(objpfx)tst-array2.out): Likewise.
6681         ($(objpfx)tst-array3.out): Likewise.
6682         ($(objpfx)tst-array4.out): Likewise.
6683         ($(objpfx)tst-array5.out): Likewise.
6684         ($(objpfx)tst-array5-static.out): Likewise.
6686 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
6688         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6689         if defined.
6691         * nss/nsswitch.h (nss_interface_function): Provide new
6692         macro for use with NSS functions.
6693         * grp/initgroups.c: Use new macro.
6694         * nss/getXXbyYY.c: Likewise.
6695         * nss/getXXbyYY_r.c: Likewise.
6696         * nss/getXXent.c: Likewise.
6697         * nss/getXXent_r.c: Likewise.
6698         * sysdeps/posix/getaddrinfo.c: Likewise.
6700 2012-10-30  Andreas Jaeger  <aj@suse.de>
6702         * po/ru.po: Update Russion translation from translation project.
6704 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6706         [BZ #14152]
6707         [BZ #14783]
6708         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6709         result and shift together with sticky bit instead of replicating
6710         round-to-nearest rounding.
6711         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6712         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6713         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
6714         missing underflow exceptions.
6715         (fma_test_towardzero): Add more tests.
6716         (fma_test_downward): Likewise.
6717         (fma_test_upward): Likewise.
6719         [BZ #14047]
6720         * sysdeps/generic/tininess.h: New file.
6721         * sysdeps/i386/tininess.h: Likewise.
6722         * sysdeps/sh/tininess.h: Likewise.
6723         * sysdeps/x86_64/tininess.h: Likewise.
6724         * stdlib/tst-strtod-underflow.c: Likewise.
6725         * stdlib/tst-tininess.c: Likewise.
6726         * stdlib/strtod_l.c: Include <tininess.h>.
6727         (round_and_return): Do not set errno for exact underflow cases.
6728         Force an underflow exception when setting errno for underflow.
6729         Determine underflow based on rounding to normal precision if
6730         TININESS_AFTER_ROUNDING.
6731         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6732         ERANGE for exact underflow cases.
6733         * stdlib/Makefile (tests): Add tst-tininess and
6734         tst-strtod-underflow.
6735         ($(objpfx)tst-tininess): Use $(link-libm).
6736         ($(objpfx)tst-strtod-underflow): Likewise.
6738 2012-10-30  Andreas Jaeger  <aj@suse.de>
6740         [BZ#14767]
6741         * elf/Makefile (tests): Remove conditional for have-initfini-array
6742         since this is now always required and the variable does not exist
6743         anymore.
6744         (tests-static): Likewise.
6745         (modules-names): Likewise.
6747         * po/eo.po: Add Esperanto translation from translation project.
6749         * elf/tst-array1.c (fini_array): Make writeable so that it can be
6750         merged with constructor/destructor.
6751         (init_array): Likewise.
6752         * elf/tst-array2dep.c (fini_array): Likewise.
6753         (init_array): Likewise.
6755 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
6757         * manual/message.texi: Delete @cartouche tags.
6759 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
6761         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6762         EOPNOTSUPP.
6763         * sysdeps/mach/hurd/fsync.c: Likewise.
6765         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6766         [_POSIX_REALTIME_SIGNALS]: Change condition to
6767         [_POSIX_REALTIME_SIGNALS > 0].
6769 2012-10-27  Andreas Jaeger  <aj@suse.de>
6771         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6772         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6773         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6774         [__WORDSIZE != 64]: Likewise.
6776 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
6778         *  iconvdata/tst-table.sh: Remove ${SHELL}.
6779         *  iconvdata/tst-tables.sh: Likewise.
6781 2012-10-25  David S. Miller  <davem@davemloft.net>
6783         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6784         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6785         of strtoull.
6787         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6788         ifunc-impl-list.c
6789         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6790         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6791         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6792         file.
6794 2012-10-25  Roland McGrath  <roland@hack.frob.com>
6796         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6797         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6798         __getdirentries.
6800 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6801             Jim Blandy  <jimb@codesourcery.com>
6803         * scripts/cross-test-ssh.sh: New file.
6804         * manual/install.texi (Configuring and compiling): Document use of
6805         cross-test-ssh.sh.
6806         * INSTALL: Regenerated.
6808 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
6810         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6811         EOPNOTSUPP.
6813 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6815         * Makeconfig (run-program-prefix): Fix comment.
6817 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6818             Jim Blandy  <jimb@codesourcery.com>
6820         * Makeconfig (test-wrapper): New variable,
6821         (test-wrapper-env): Likewise.
6822         [$(cross-compiling) = yes && $(test-wrapper) != ""]
6823         (run-built-tests): Define to yes.
6824         (run-program-prefix): Use $(test-wrapper).
6825         (built-program-cmd): Likewise.
6826         * Rules (make-test-out): Use $(test-wrapper-env) and
6827         $(host-built-program-cmd).
6828         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6829         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6830         tst-pathopt.sh.
6831         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6832         $(test-wrapper-env) to tst-rtld-load-self.sh.
6833         ($(objpfx)order2.out): Use $(test-wrapper).
6834         ($(objpfx)tst-initorder.out): Likewise.
6835         ($(objpfx)tst-initorder2.out): Likewise.
6836         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6837         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6838         (test_wrapper_env): New variable.  Use it to run ld.so.
6839         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6840         Use it to run ld.so.
6841         (test_wrapper_env): Likewise.
6842         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6843         $(test-wrapper) to run-iconv-test.sh.
6844         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6845         (ICONV): Use $test_wrapper.
6846         * posix/Makefile ($(objpfx)globtest.out): Pass
6847         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6848         globtest.sh, not $(run-program-prefix).
6849         * posix/globtest.sh (run_via_rtld_prefix): New variable.
6850         (test_wrapper): Likewise.
6851         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
6852         set together with run_via_rtld_prefix.
6853         (run_program_prefix): Define in terms of test_wrapper and
6854         run_via_rtld_prefix.
6856 2012-10-24  Roland McGrath  <roland@hack.frob.com>
6858         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6859         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6860         Targets removed.
6862         [BZ #14743]
6863         * include/time.h: Remove librt_hidden_proto (clock_gettime).
6864         Declare __clock_getres, __clock_gettime, __clock_settime,
6865         __clock_nanosleep, and __clock_getcpuclockid.
6866         * rt/clock_gettime.c: Define __clock_gettime as an alias.
6867         Remove librt_hidden_def (clock_gettime).
6868         * sysdeps/unix/clock_gettime.c: Likewise.
6869         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6870         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6871         * rt/clock_getres.c: Define __clock_getres as an alias.
6872         * sysdeps/posix/clock_getres.c: Likewise.
6873         * rt/clock_settime.c: Define __clock_settime as an alias.
6874         * sysdeps/unix/clock_settime.c: Likewise.
6875         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6876         * sysdeps/unix/clock_nanosleep.c: Likewise.
6877         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6878         * rt/clock-compat.c: New file.
6879         * rt/Makefile (librt-routines): Add clock-compat and move
6880         $(clock-routines) to ...
6881         (routines): ... here, new variable.
6882         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6883         Don't add get_clockfreq here.
6884         * rt/Versions (libc: GLIBC_2.17): New version set.
6885         Add clock_* symbols here.
6886         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
6887         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6888         (GLIBC_2.17): Add clock_* symbols.
6889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6891         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6893         Likewise.
6894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6895         Likewise.
6896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6900         * NEWS: Mention the move.
6902         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6903         Use __open, __read, __close rather than their public counterparts.
6904         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6905         (__get_clockfreq_via_cpuinfo): Likewise.
6906         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6907         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6909         * config.h.in (HAVE_IFUNC): New #undef.
6910         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6911         was successful.
6912         * configure: Regenerated.
6914 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6916         * configure.in: Move READELF check to start of file.
6917         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6918         libc_cv_asm_gnu_indirect_function in the process.
6919         * configure: Regenerated.
6921 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6923         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6924         send the output to /dev/null.
6925         (libc_cv_cc_with_libunwind): Likewise.
6926         (libc_cv_as_noexecstack): Likewise.
6927         * configure: Regenerate.
6929 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6931         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6933         * posix/globtest.sh (TMPDIR): Do not set.
6934         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6935         (testout): Likewise.
6937 2012-10-24  Andreas Jaeger  <aj@suse.de>
6939         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6940         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6941         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6942         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6943         posix_fadvise64, posix_fallocate64.
6945         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6946         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6947         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6948         Likewise.
6949         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6950         Likewise.
6951         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6953         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6954         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6955         <bits/fcntl-linux.h>.
6956         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6958         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6959         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6960         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6961         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6962         [__WORDSIZE != 64]: Likewise.
6964 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6966         * Makeconfig (run-built-tests): New variable.
6967         * Rules [$(cross-compiling) = yes]: Change condition to
6968         [$(run-built-tests) = no].
6969         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6970         to [$(run-built-tests) = yes].
6971         * elf/Makefile [$(cross-compiling) = no]: Likewise
6972         * grp/Makefile [$(cross-compiling) = no]: Likewise.
6973         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6974         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6975         * intl/Makefile [$(cross-compiling) = no]: Likewise.
6976         * io/Makefile [$(cross-compiling) = no]: Likewise.
6977         * libio/Makefile [$(cross-compiling) = no]: Likewise.
6978         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6979         * misc/Makefile [$(cross-compiling) = no]: Likewise.
6980         * posix/Makefile [$(cross-compiling) = no]: Likewise.
6981         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6982         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6983         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6984         * string/Makefile [$(cross-compiling) = no]: Likewise.
6986         * posix/Makefile ($(objpfx)globtest.out): Pass
6987         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6988         $(rtld-installed-name).
6989         * posix/globtest.sh (elf_objpfx): Remove variable.
6990         (rtld_installed_name): Likewise.
6991         (library_path): Likewise.
6992         (run_program_prefix): New variable.  Use for running globtest
6993         binary.
6995 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
6996             Joseph Myers  <joseph@codesourcery.com>
6998         * Makeconfig (host-built-program-cmd): New variable.
6999         * elf/Makefile (tst-stackguard1-ARGS): Use
7000         $(host-built-program-cmd).
7001         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7002         (tst-spawn-ARGS): Likewise.
7003         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7005 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7006             Jim Blandy  <jimb@codesourcery.com>
7008         * Makeconfig (run-via-rtld-prefix): New variable.
7009         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7010         (built-program-cmd): Likewise.
7012 2012-10-22  Andreas Jaeger  <aj@suse.de>
7014         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7015         __O_RSYNC if it exists, otherwise to O_SYNC.
7017 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
7018             Joseph Myers  <joseph@codesourcery.com>
7020         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7021         /dev/null.
7022         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7023         from /dev/null
7024         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7025         /dev/null.
7027 2012-10-22  Andreas Jaeger  <aj@suse.de>
7029         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7030         Define always.
7031         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7033         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7034         bits/fcntl-linux.h.
7036         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7037         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7039         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7040         to __O_LARGEFILE.
7041         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7042         to __O_LARGEFILE.
7044 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
7045             Joseph Myers  <joseph@codesourcery.com>
7047         * config.make.in (NM): New variable.
7049 2012-10-21  Andreas Jaeger  <aj@suse.de>
7051         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7052         definitions and declarations that are provided by
7053         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7055 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7057         [BZ #14683]
7058         * elf/Makefile (tests-static): Add tst-leaks1-static.
7059         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7060         ($(objpfx)tst-leaks1-static): New rule.
7061         ($(objpfx)tst-leaks1-static-mem): Likewise.
7062         (tst-leaks1-static-ENV): New macro.
7063         * elf/dl-open.c (dl_open_worker): Check the main application
7064         only if SHARED is defined.
7065         * elf/tst-leaks1-static.c: New file.
7067 2012-10-20  Andreas Jaeger  <aj@suse.de>
7069         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7070         generic values for Linux.
7071         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7072         and declarations that are provided by <bits/fcntl-linux.h> and
7073         include <bits/fcntl-linux.h>.
7074         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7075         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7077 2012-10-20  Roland McGrath  <roland@hack.frob.com>
7079         * io/fcntl.h: Move include of <bits/types.h> to the top and
7080         include it unconditionally.
7082 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7084         * wcsmbs/Makefile (tests-ifunc): New variable.
7085         (tests): Add $(tests-ifunc).
7086         * wcsmbs/test-wcschr-ifunc.c: New file.
7087         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7088         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7089         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7090         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7091         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7093         * string/Makefile (tests-ifunc): New variable.
7094         (tests): Add $(tests-ifunc).
7095         * string/test-memccpy.c (TEST_NAME): New macro.
7096         * string/test-memchr.c (TEST_NAME): Likewise.
7097         * string/test-memcmp.c (TEST_NAME): Likewise.
7098         * string/test-memcpy.c (TEST_NAME): Likewise.
7099         * string/test-memmem.c (TEST_NAME): Likewise.
7100         * string/test-memmove.c (TEST_NAME): Likewise.
7101         * string/test-memset.c (TEST_NAME): Likewise.
7102         * string/test-rawmemchr.c (TEST_NAME): Likewise.
7103         * string/test-stpcpy.c (TEST_NAME): Likewise.
7104         * string/test-stpncpy.c (TEST_NAME): Likewise.
7105         * string/test-strcasecmp.c (TEST_NAME): Likewise.
7106         * string/test-strcasestr.c (TEST_NAME): Likewise.
7107         * string/test-strcat.c (TEST_NAME): Likewise.
7108         * string/test-strchr.c (TEST_NAME): Likewise.
7109         * string/test-strcmp.c(TEST_NAME): Likewise.
7110         * string/test-strcpy.c (TEST_NAME): Likewise.
7111         * string/test-strcspn.c (TEST_NAME): Likewise.
7112         * string/test-strlen.c (TEST_NAME): Likewise.
7113         * string/test-strncasecmp.c (TEST_NAME): Likewise.
7114         * string/test-strncmp.c (TEST_NAME): Likewise.
7115         * string/test-strncpy.c (TEST_NAME): Likewise.
7116         * string/test-strnlen.c (TEST_NAME): Likewise.
7117         * string/test-strpbrk.c (TEST_NAME): Likewise.
7118         * string/test-strrchr.c (TEST_NAME): Likewise.
7119         * string/test-strspn.c (TEST_NAME): Likewise.
7120         * string/test-strstr.c (TEST_NAME): Likewise.
7121         * string/test-bcopy-ifunc.c: New file.
7122         * string/test-bzero-ifunc.c: Likewise.
7123         * string/test-memccpy-ifunc.c: Likewise.
7124         * string/test-memchr-ifunc.c: Likewise.
7125         * string/test-memcmp-ifunc.c: Likewise.
7126         * string/test-memcpy-ifunc.c: Likewise.
7127         * string/test-memmem-ifunc.c: Likewise.
7128         * string/test-memmove-ifunc.c: Likewise.
7129         * string/test-mempcpy-ifunc.c: Likewise.
7130         * string/test-memset-ifunc.c: Likewise.
7131         * string/test-rawmemchr-ifunc.c: Likewise.
7132         * string/test-stpcpy-ifunc.c: Likewise.
7133         * string/test-stpncpy-ifunc.c: Likewise.
7134         * string/test-strcasecmp-ifunc.c: Likewise.
7135         * string/test-strcasestr-ifunc.c: Likewise.
7136         * string/test-strcat-ifunc.c: Likewise.
7137         * string/test-strchr-ifunc.c: Likewise.
7138         * string/test-strchrnul-ifunc.c: Likewise.
7139         * string/test-strcmp-ifunc.c: Likewise.
7140         * string/test-strcpy-ifunc.c: Likewise.
7141         * string/test-strcspn-ifunc.c: Likewise.
7142         * string/test-strlen-ifunc.c: Likewise.
7143         * string/test-strncasecmp-ifunc.c: Likewise.
7144         * string/test-strncat-ifunc.c: Likewise.
7145         * string/test-strncmp-ifunc.c: Likewise.
7146         * string/test-strncpy-ifunc.c: Likewise.
7147         * string/test-strnlen-ifunc.c: Likewise.
7148         * string/test-strpbrk-ifunc.c: Likewise.
7149         * string/test-strrchr-ifunc.c: Likewise.
7150         * string/test-strspn-ifunc.c: Likewise.
7151         * string/test-strstr-ifunc.c: Likewise.
7153         * debug/Makefile (tests-ifunc): New variable.
7154         (tests): Add $(tests-ifunc).
7155         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7156         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7157         * debug/test-stpcpy_chk-ifunc.c: New file.
7158         * debug/test-strcpy_chk-ifunc.c: Likewise.
7160 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7162         [BZ #13601]
7163         * elf/dl-load.c (open_verify): Retry read if the entire ELF
7164         header is not read in.
7166 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
7168         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
7169         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
7170         directly.  Pass built executable to script as
7171         $(built-program-cmd).
7172         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
7173         $testprogram without using LD_LIBRARY_PATH and $ldso.
7175         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7176         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7177         $(rtld-installed-name).
7178         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7179         (rtld_installed_name): Likewise.
7180         (library_path): Likewise.
7181         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
7182         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7183         $(run-program-prefix) to tst-tables.sh.
7184         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
7185         it to run tst-table-from and tst-table-to.
7186         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7187         Pass it to tst-table.sh.
7188         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7189         $(run-program-prefix) to tst-gettext.sh.
7190         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7191         tst-translit.sh.
7192         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7193         tst-gettext2.sh.
7194         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
7195         to run tst-gettext.
7196         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
7197         to run tst-gettext2.
7198         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
7199         to run tst-translit.
7200         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7201         $(run-program-prefix) to tst-mtrace.sh.
7202         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
7203         to run tst-mtrace.
7204         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7205         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7206         $(rtld-installed-name).
7207         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7208         (rtld_installed_name): Likewise.
7209         (run_program_prefix): New variable.  Use it to run wordexp-test.
7211         * Makeconfig (ARCH): Remove all definitions.
7212         (machine): Likewise.
7213         [ARCH]: Remove conditional code.
7214         [!objdir]: Give error.
7215         [!objdir] (objpfx): Remove.
7216         [!objdir] (common-objpfx): Likewise.
7217         [!objdir] (common-objdir): Likewise.
7218         * configure.in (config_makefile): Remove.  Hardcode Makefile in
7219         AC_CONFIG_FILES call.
7220         * configure: Regenerated.
7222         [BZ #13888]
7223         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7224         or TMPDIR.
7225         (testout): Likewise.
7227         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7228         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7229         $(rtld-installed-name).
7230         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7231         (rtld_installed_name): Likwise.
7232         (runit): Remove function.
7233         (run_getconf): New variable,  Use it for running getconf binary.
7235 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
7237         [BZ #14716]
7238         * string/test-memmem.c (check_result): New function.
7239         (do_one_test): Use it.
7240         (check1): New function.
7241         (test_main): Use it.
7243 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
7245         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7247 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
7249         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7250         (_G_LSEEK64): Likewise.
7251         (_G_MMAP64): Likewise.
7252         (_G_FSTAT64): Likewise.
7253         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7254         (_G_LSEEK64): Likewise.
7255         (_G_MMAP64): Likewise.
7256         (_G_FSTAT64): Likewise.
7257         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7258         unconditional.  Call __mmap64 directly.
7259         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7260         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
7261         __lseek64 directly.
7262         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7263         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
7264         __mmap64 directly.
7265         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7266         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7267         __lseek64 directly.
7268         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7269         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7270         __lseek64 directly.
7271         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7272         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
7273         __lseek64 directly.
7274         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7275         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
7276         __fxstat64 directly.
7277         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7278         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7279         unconditional.
7280         (freopen64) [!_G_OPEN64]: Remove conditional code.
7281         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7282         unconditional.
7283         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7284         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7285         unconditional.
7286         (ftello64) [!_G_LSEEK64]: Remove conditional code.
7287         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7288         unconditional.
7289         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7290         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7291         unconditional.
7292         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7293         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7294         unconditional.
7295         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7296         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7297         unconditional.
7298         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7299         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7300         unconditional.
7301         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7303 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7305         [BZ #12140]
7306         * manual/memory.texi (Malloc Tunable Parameters): Add note
7307         about free list pointers overwriting some perturb bytes.
7308         Wording suggested by Roland McGrath.
7310 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
7312         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7313         (lgamma_test): Likewise.
7314         (tgamma_test): Likewise.
7316 2012-10-16  Florian Weimer  <fweimer@redhat.com>
7318         [BZ #14700]
7319         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7320         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7322 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
7324         * NEWS: Mention BZ #14716.
7325         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7326         when removing AVAILABLE1_USES_J macro.
7328 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7330         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7331         (__bswap_64): __uint64_t for unsigned 64-bit int.
7333 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
7335         * include/string.h (memmem): Declare libc hidden alias.
7336         * string/memmem.c (memmem): Define libc hidden alias.
7337         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7338         __read, __close instead of open, read, close.
7340 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
7342         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7343         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7344         global and hidden.
7345         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7346         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7347         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7348         Likewise.
7349         (__rawmemchr_sse2): Likewise.
7350         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7351         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7352         (__strchr_sse2): Likewise.
7353         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7354         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7355         (__strcasecmp_sse2): Likewise.
7356         (__strncasecmp_sse2): Likewise.
7357         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7358         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7359         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7360         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7361         (__strrchr_sse2): Likewise.
7362         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7363         ifunc-impl-list.c.
7364         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7365         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7366         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7367         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7368         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7369         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7370         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7371         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7372         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7373         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7374         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7375         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7376         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7377         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7378         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7379         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7380         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7381         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7382         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7383         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7384         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7385         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7386         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7387         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7388         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7389         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7390         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7391         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7392         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7393         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7395         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7396         global and hidden.
7397         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7398         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7399         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7400         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7401         Likewise.
7402         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7403         Likewise.
7404         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7405         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7406         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7407         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7408         ifunc-impl-list.c.
7409         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7410         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7411         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7412         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7413         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7414         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7415         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7416         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7417         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7418         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7419         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7420         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7421         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7422         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7423         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7424         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7425         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7426         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7427         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7428         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7429         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7430         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7431         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7432         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7433         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7434         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7435         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7436         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7437         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7438         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7439         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7440         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7441         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7442         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7443         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7444         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7445         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7446         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7447         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7448         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7449         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7451         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7452         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7453         * include/ifunc-impl-list.h: New file.
7454         * misc/ifunc-impl-list.c: Likewise.
7455         * misc/Makefile (routines): Add ifunc-impl-list.
7456         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7457         * string/test-string.h: Include <ifunc-impl-list.h>.
7458         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7459         impl_array): New variables.
7460         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7461         are defined.
7462         (test_init): Call __libc_ifunc_impl_list to initialize
7463         func_list if TEST_IFUNC and TEST_NAME are defined.
7465         * string/Makefile (strop-tests): Add bcopy and bzero.
7466         * string/test-bcopy.c: New file.
7467         * string/test-bzero.c: Likewise.
7468         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7469         defined.
7470         * string/test-memset.c: Support bzero test if TEST_BZERO is
7471         defined.
7472         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7473         __libc_memmove.
7474         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7475         __libc_memset.
7476         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7477         of memset.
7479 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
7481         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7482         * configure: Regenerated.
7484         * Makeconfig (+link-static-before-libc): Don't include
7485         $(link-static-libc).
7487         * libio/libio.h (_IO_pos_t): Remove.
7489 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7491         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
7492         McGrath.
7494 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7496         * crypt/crypt-entry.c: Include fips-private.h.
7497         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7498         * crypt/md5c-test.c (main): Tolerate disabled MD5.
7499         * sysdeps/unix/sysv/linux/fips-private.h: New file.
7500         * sysdeps/generic/fips-private.h: New file, dummy fallback.
7502 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7504         * crypt/crypt-private.h: Include stdbool.h.
7505         (_ufc_setup_salt_r): Return bool.
7506         * crypt/crypt-entry.c: Include errno.h.
7507         (__crypt_r): Return NULL with EINVAL for bad salt.
7508         * crypt/crypt_util.c (bad_for_salt): New.
7509         (_ufc_setup_salt_r): Check that salt is long enough and within
7510         the specified alphabet.
7511         * crypt/badsalttest.c: New file.
7512         * crypt/Makefile (tests): Add it.
7513         ($(objpfx)badsalttest): New.
7515 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
7517         * NEWS: Add entry for BZ #14602.
7519 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7521         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7522         type-generic.
7523         * math/libm-test.inc: Update comment listing what functions and
7524         macros are tested.
7525         (isgreater_test): New function.
7526         (isgreaterequal_test): Likewise.
7527         (isless_test): Likewise.
7528         (islessequal_test): Likewise.
7529         (islessgreater_test): Likewise.
7530         (isunordered_test): Likewise.
7531         (main): Call the new functions.
7533 2012-10-09  Roland McGrath  <roland@hack.frob.com>
7535         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7536         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7537         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7538         * sysdeps/i386/configure: Regenerated.
7539         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7540         * sysdeps/mach/configure: Regenerated.
7541         * sysdeps/mach/hurd/configure: Regenerated.
7542         * sysdeps/powerpc/configure: Regenerated.
7543         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7544         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7545         * sysdeps/s390/s390-32/configure: Regenerated.
7546         * sysdeps/s390/s390-64/configure: Regenerated.
7547         * sysdeps/sh/configure: Regenerated.
7548         * sysdeps/sparc/configure: Regenerated.
7549         * sysdeps/unix/sysv/linux/configure: Regenerated.
7550         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7551         * sysdeps/x86_64/configure: Regenerated.
7553         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7554         defined.  Don't check if MAP is NULL.
7556 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7558         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7559         (_G_stat64): Likewise.
7560         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7561         (_G_stat64): Likewise.
7562         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7563         instead of struct _G_stat64.
7564         * libio/fileops.c (mmap_remap_check): Likewise.
7565         (decide_maybe_mmap): Likewise.
7566         (_IO_new_file_seekoff): Likewise.
7567         (_IO_file_stat): Likewise.
7568         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7569         _G_off64_t.
7570         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7571         instead of struct _G_stat64.
7572         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7574 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
7576         [BZ #14602]
7577         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7578         Replace with ...
7579         (CHECK_EOL): New macro.
7580         (two_way_short_needle): Check beginning of haystack for EOL.  Use
7581         CHECK_EOL.
7582         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7583         Replace with CHECK_EOL.
7584         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7585         Replace with CHECK_EOL.
7587 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
7589         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7590         type-generic.
7591         * math/libm-test.inc: Update comment listing what functions and
7592         macros are tested.
7593         (finite_test): New function.
7594         (isinf_test): Likewise.
7595         (isnan_test): Likewise.
7596         (fpclassify_test): Test subnormal input.
7597         (isfinite_test): Likewise.
7598         (isnormal_test): Likewise.
7599         (main): Call the new functions.
7601 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
7603         [BZ #14660]
7604         * Makerules (%.dynsym): Force C locale when running
7605         $(OBJDUMP) --dynamic-syms.
7607 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
7609         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7610         <stdint.h>.
7612 2012-10-06  David S. Miller  <davem@davemloft.net>
7614         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7615         upper 32-bits of the length value in %o2 since we use branch-on-register
7616         tests which consider the entire 64-bit register.
7618 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
7620         * string/test-strstr.c (check2): Add a test for page boundary.
7622 2012-10-05  David S. Miller  <davem@davemloft.net>
7624         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7625         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7626         file.
7627         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7628         sysdep_routines.
7629         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7630         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7631         and bzero when HWCAP_SPARC_CRYPTO is present.
7633 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
7635         [BZ #14602]
7636         * string/test-strstr.c (check2): New function.
7637         (test_main): Call check2.
7639         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7640         and bug-strchr1.
7641         * string/bug-strcasestr1.c (do_test): Moved to ...
7642         * string/test-strcasestr.c (check1): Here.  New function.
7643         (do_one_test): Break out result checking code into ...
7644         (check_result): This.  New function.
7645         (do_one_test): Call check_result.
7646         (test_main): Call check1.
7647         * string/bug-strchr1.c (do_test): Moved to ...
7648         * string/test-strchr.c (check1): Here.  New function.
7649         (do_one_test): Break out result checking code into ...
7650         (check_result): This.  New function.
7651         (do_one_test): Call check_result.
7652         (test_main): Call check1.
7653         * string/bug-strstr1.c (main): Moved to ...
7654         * string/test-strstr.c (check1): Here.  New function.
7655         (do_one_test): Break out result checking code into ...
7656         (check_result): This.  New function.
7657         (do_one_test): Call check_result.
7658         (test_main): Call check1.
7659         * string/bug-strcasestr1.c: Removed.
7660         * string/bug-strchr1.c: Likewise.
7661         * string/bug-strstr1.c: Likewise.
7663         * elf/Makefile (dl-routines): Add hwcaps.
7664         * elf/dl-support.c (_dl_important_hwcaps): Removed.
7665         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7666         (_dl_important_hwcaps): Moved to ...
7667         * elf/dl-hwcaps.c: Here.  New file.
7668         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7670         [BZ #14557]
7671         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7672         if IS_IN_rtld isn't defined.
7674         * elf/dl-support.c (_dl_sysinfo_map): New.
7675         Include "get-dynamic-info.h" and "setup-vdso.h".
7676         (_dl_non_dynamic_init): Call setup_vdso.
7677         * elf/dynamic-link.h: Don't include <assert.h>.
7678         (elf_get_dynamic_info): Moved to ...
7679         * elf/get-dynamic-info.h: Here.  New file.
7680         * elf/dynamic-link.h: Include "get-dynamic-info.h".
7681         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7682         * elf/setup-vdso.h: Here.  New file.
7683         * elf/rtld.c: Include "setup-vdso.h".
7684         (dl_main): Call setup_vdso.
7686 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
7688         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7689         creal in comment listing functions tested.  List finite, isinf,
7690         isnan, isless, islessequal, isgreater, isgreaterequal,
7691         islessgreater, isunordered, lgamma_r and pow10 as functions and
7692         macros not tested.  Mention which functions not tested are aliases
7693         for other functions.  Fix typo.  Note that signs of NaNs are not
7694         tested.
7696         * scripts/config.guess: Update from config.git.
7697         * scripts/config.sub: Likewise.
7699 2012-10-04  Roland McGrath  <roland@hack.frob.com>
7701         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7702         * misc/madvise.c (madvise): Renamed to __madvise.
7703         Make madvise a weak alias.
7704         * include/sys/mman.h: Declare __madvise.
7705         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7706         * sysdeps/unix/syscalls.list
7707         (madvise): Make __madvise the strong name, and madvise a weak alias.
7708         * sysdeps/unix/sysv/linux/syscalls.list
7709         (madvise, mmap): Remove redundant entries.
7710         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7711         * malloc/malloc.c (mtrim): Likewise.
7712         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7714 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7716         * sysdeps/mach/hurd/dl-cache.c: File removed.
7717         * config.h.in (USE_LDCONFIG): New #undef.
7718         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7719         * configure: Regenerated.
7720         * elf/Makefile (dl-routines): Add dl-cache only under
7721         [$(use-ldconfig) = yes].
7722         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7723         cache on [USE_LDCONFIG].
7724         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7725         [USE_LDCONFIG].
7726         * elf/rtld.c (dl_main): Likewise.
7728 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
7730         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7731         _SC_LEVEL4_CACHE_LINESIZE.
7733 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7735         * sysdeps/unix/bsd/confstr.h: File removed.
7737 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
7739         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7740         sys/sdt-config.h.
7742 2012-10-02  Roland McGrath  <roland@hack.frob.com>
7744         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7745         Make 'mapoff' field ElfW(Off) rather than off_t.
7747 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
7749         * nscd/Makefile: Remove nscd-cflags and all its users.
7750         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7751         (CFLAGS-nonlib): Add compiler flags for nscd modules.
7753         [BZ #10631]
7754         * malloc.c (malloc_printerr): Clarify error message.
7756 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
7758         [BZ #14648]
7759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7760         Set bit_FMA_Usable if FMA is supported.
7761         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7762         macro.
7763         (bit_FMA4_Usable): Updated.
7764         (index_FMA_Usable): New macro.
7765         (CPUID_FMA): Likewise
7766         (HAS_FMA): Defined with bit_FMA_Usable.
7768 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7770         * bits/types.h (__swblk_t): Type removed.
7771         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7772         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7773         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7774         (__SWBLK_T_TYPE): Likewise.
7775         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7776         (__SWBLK_T_TYPE): Likewise.
7777         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7778         (__SWBLK_T_TYPE): Likewise.
7779         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7780         (__SWBLK_T_TYPE): Likewise.
7782 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
7783             Honza Horak <hhorak@redhat.com>
7785         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7786         (xdr_mapname): Use YPMAXMAP as maxsize.
7787         (xdr_peername): Use YPMAXPEER as maxsize.
7788         (xdr_keydat): Use YPAXRECORD as maxsize.
7789         (xdr_valdat): Use YPMAXRECORD as maxsize.
7791 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7793         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7795         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7796         * csu/init-first.c: ... here.
7797         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7798         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7799         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7800         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7801         * sysdeps/i386/init-first.c: File removed.
7802         * sysdeps/sh/init-first.c: File removed.
7804 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
7806         [BZ #14645]
7807         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7808         if x * y might underflow to zero and z is zero.
7809         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7810         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7811         * math/libm-test.inc (min_subnorm_value): New variable.
7812         (fma_test): Add more tests.
7813         (fma_test_towardzero): Likewise.
7814         (fma_test_downward): Likewise
7815         (fma_test_upward): Likewise.
7816         (initialize): Set min_subnorm_value.
7818 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
7820         [BZ #14638]
7821         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7822         0 + 0.
7823         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7824         mode for addition resulting in exact zero.
7825         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7826         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7827         exact 0 + 0.
7828         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7829         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7830         * math/libm-test.inc (fma_test): Add more tests.
7831         (fma_test_towardzero): New function.
7832         (fma_test_downward): Likewise.
7833         (fma_test_upward): Likewise.
7834         (main): Call the new functions.
7836 2012-09-28  David S. Miller  <davem@davemloft.net>
7838         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7840 2012-09-28  Roland McGrath  <roland@hack.frob.com>
7842         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7843         instead of SIGALRM.
7845         * sysdeps/gnu/_G_config.h: Moved to ...
7846         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7847         * sysdeps/mach/hurd/_G_config.h: Moved to ...
7848         * sysdeps/generic/_G_config.h: ... here.
7850         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
7852         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7854         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7855         Conditionalize target on [libnss_test1.so-version].
7857         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7859         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7860         (elfobjdir): Move out of conditionals.
7862         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7863         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7864         (__nss_lookup_function): Conditionalize label remove_from_tree on
7865         [!DO_STATIC_NSS || SHARED], matching its only use.
7867 2012-09-28  David S. Miller  <davem@davemloft.net>
7869         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7870         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7871         file.
7872         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7873         sysdep_routines.
7874         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7875         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7876         when HWCAP_SPARC_CRYPTO is present.
7878 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7880         * io/tst-mknodat.c: Create a FIFO instead of a socket.
7882 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
7884         [BZ #6530]
7885         * stdio-common/vfprintf.c (process_string_arg): Revert
7886         2000-07-22 change.
7888 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
7890         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7891         for testcase.
7892         * stdio-common/tst-sprintf.c: Include <locale.h>
7893         (main): Test sprintf's handling of incomplete multibyte
7894         characters.
7896 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
7898         * elf/dl-runtime.c (VERSYMIDX): Removed.
7899         * elf/dl-version.c (VERSYMIDX): Likewise.
7900         * elf/do-rel.h (VERSYMIDX): Likewise.
7901         (VALIDX): Likewise.
7902         * elf/dynamic-link.h (VERSYMIDX): Likewise.
7903         * elf/rtld.c (VALIDX): Likewise.
7904         (ADDRIDX): Likewise.
7905         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7906         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7907         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7908         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7909         (VALIDX): Likewise.
7910         (ADDRIDX): Likewise.
7912 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7914         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7916 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
7918         [BZ #11438]
7919         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7920         to global scope.
7921         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7922         addresses are in the same scope as 192.0.2/24.
7923         * posix/gai.conf: Document new scope table defaults.
7925 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7927         [BZ #5298]
7928         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7929         for ftell.  Compute offsets from write pointers instead.
7930         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7932 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7934         [BZ #14543]
7935         * libio/Makefile (tests): New test case tst-fseek.
7936         * libio/tst-fseek.c: New test case to verify that fseek/ftell
7937         combination works in wide mode.
7938         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7939         state when the external buffer state changes.
7941 2012-09-27  David S. Miller  <davem@davemloft.net>
7943         [BZ #14376]
7944         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7945         pass reloc->r_addend in as the 'high' argument to
7946         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7950 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7952         * rt/tst-aio2.c: Include <pthread.h>.
7953         * rt/tst-aio3.c: Likewise.
7955 2012-09-27  Steve Ellcey  <sellcey@mips.com>
7957         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7959 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
7961         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7962         contents on [SHARED].
7964 2012-09-26  Marek Polacek  <polacek@redhat.com>
7966         [BZ #14530]
7967         [BZ #13741]
7968         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7969         for C++ and GCC <4.3 as well as for non GCC compilers.
7971 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7973         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7975 2012-09-25  Roland McGrath  <roland@hack.frob.com>
7977         * Makefile.in (all, install): Declare with .PHONY.
7978         Reported by Michael Hope <michael.hope@linaro.org>.
7980 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7982         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7983         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7984         system header.
7985         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7986         Likewise.
7987         (sydep_routines): Add the new and the internal functions.
7988         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7989         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7991         (GLIBC_2.17): Add the new function.
7992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7993         (GLIBC_2.17): Likewise.
7994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7995         (GLIBC_2.17): Likewise.
7996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7997         (GLIBC_2.17): Likewise.
7998         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8000 2012-09-25  Alan Modra  <amodra@gmail.com>
8002         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8003         Add release barrier before setting once_control to say
8004         initialisation is done.  Add hints on lwarx.  Use macro in
8005         place of isync.
8006         (clear_once_control): Add release barrier.
8008 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8010         [BZ #13629]
8011         * math/s_clog.c (__clog): Handle more values close to |z| = 1
8012         specially.
8013         * math/s_clog10.c (__clog10): Likewise.
8014         * math/s_clog10f.c (__clog10f): Likewise.
8015         * math/s_clog10l.c (__clog10l): Likewise.
8016         * math/s_clogf.c (__clogf): Likewise.
8017         * math/s_clogl.c (__clogl): Likewise.
8018         * math/Makefile (libm-calls): Add x2y2m1.
8019         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8020         (__x2y2m1): Likewise.
8021         (__x2y2m1l): Likewise.
8022         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8023         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8024         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8025         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8026         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8027         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8028         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8029         * sysdeps/i386/fpu/libm-test-ulps: Update.
8030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8032         [BZ #14621]
8033         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8034         int as type of variable DEPTH.
8035         (glob): Use size_t instead of int as type of variables NEWCOUNT
8036         and OLD_PATHC.
8038 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8040         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8041         Add s_sincosf-sse2.
8042         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8043         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8044         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8045         macros for using routine as __sincosf_ia32.
8046         Use macro for function declaration and weak_alias.
8047         * sysdeps/i386/fpu/libm-test-ulps: Update.
8049         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8050         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8052         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8053         subnormal argument.
8054         * math/s_cexpf.c (__cexpf): Likewise.
8055         * math/s_csinf.c (__csinf): Likewise.
8056         * math/s_csinhf.c (__csinhf): Likewise.
8057         * math/s_ctanf.c (__ctanf): Likewise.
8058         * math/s_ctanhf.c (__ctanhf): Likewise.
8059         * math/s_ccosh.c (__ccoshf): Likewise.
8060         * math/s_cexp.c (__cexpl): Likewise.
8061         * math/s_csin.c (__csin): Likewise.
8062         * math/s_csinh.c (__csinh): Likewise.
8063         * math/s_ctan.c (__ctan): Likewise.
8064         * math/s_ctanh.c (ctanh): Likewise.
8065         * math/s_ccoshl.c (__ccoshl): Likewise.
8066         * math/s_cexpl.c (__cexpl): Likewise.
8067         * math/s_csinl.c (__csinl): Likewise.
8068         * math/s_csinhl.c (__csinhl): Likewise.
8069         * math/s_ctanl.c (__ctanl): Likewise.
8070         * math/s_ctanhl.c (__ctanhl): Likewise.
8072 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8074         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8075         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8076         (_IO_off_t): Define to __off_t, not _G_off_t.
8077         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8078         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8079         (_IO_wint_t): Define to wint_t, not _G_wint_t.
8080         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8081         type of __dummy and __dummy2 fields.
8082         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8083         (_G_ssize_t): Likewise.
8084         (_G_off_t): Likewise.
8085         (_G_pid_t): Likewise.
8086         (_G_uid_t): Likewise.
8087         (_G_wchar_t): Likewise.
8088         (_G_wint_t): Likewise.
8089         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8090         (_G_ssize_t): Likewise.
8091         (_G_off_t): Likewise.
8092         (_G_pid_t): Likewise.
8093         (_G_uid_t): Likewise.
8094         (_G_wchar_t): Likewise.
8095         (_G_wint_t): Likewise.
8096         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8097         (_G_ssize_t): Likewise.
8098         (_G_off_t): Likewise.
8099         (_G_pid_t): Likewise.
8100         (_G_uid_t): Likewise.
8101         (_G_wchar_t): Likewise.
8102         (_G_wint_t): Likewise.
8104 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8106         * malloc/arena.c: Include malloc-sysdep.h.
8107         (shrink_heap): Use check_may_shrink_heap to decide if madvise
8108         is sufficient to shrink the heap or an unmap is needed.
8109         * sysdeps/generic/malloc-sysdep.h: New file.  Define
8110         new function check_may_shrink_heap.
8111         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
8112         new function check_may_shrink_heap.
8114 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8116         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8117         comments.
8119 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
8121         * catgets/test-gencat.sh: Add "set -e".
8122         * elf/tst-pathopt.sh: Likewise.
8123         * grp/tst_fgetgrent.sh: Likewise.
8124         * iconvdata/run-iconv-test.sh: Likewise.
8125         * intl/tst-gettext.sh: Likewise.
8126         * intl/tst-gettext2.sh: Likewise.
8127         * intl/tst-gettext4.sh: Likewise.
8128         * intl/tst-gettext6.sh: Likewise.
8129         * intl/tst-translit.sh: Likewise.
8130         * io/ftwtest-sh: Likewise.
8131         * libio/test-freopen.sh: Likewise.
8132         * malloc/tst-mtrace.sh: Likewise.
8133         * posix/globtest.sh: Likewise.
8134         * posix/tst-getconf.sh: Likewise.
8135         * posix/wordexp-tst.sh: Likewise.
8136         * stdio-common/tst-printf.sh: Likewise.
8137         * stdio-common/tst-unbputc.sh: Likewise.
8138         * stdlib/tst-fmtmsg.sh: Likewise.
8139         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8140         * catgets/Makefile: Do not specify -e option when running
8141         testsuite shell scripts.
8142         * elf/Makefile: Likewise.
8143         * grp/Makefile: Likewise.
8144         * iconvdata/Makefile: Likewise.
8145         * intl/Makefile: Likewise.
8146         * io/Makefile: Likewise.
8147         * libio/Makefile: Likewise.
8148         * malloc/Makefile: Likewise.
8149         * posix/Makefile: Likewise.
8150         * stdio-common/Makefile: Likewise.
8151         * stdlib/Makefile: Likewise.
8152         * sysdeps/x86_64/Makefile: Likewise.
8154         * io/ftwtest-sh: Add copyright header.
8155         * posix/globtest.sh: Likewise.
8156         * posix/tst-getconf.sh: Likewise.
8157         * posix/wordexp-tst.sh: Likewise.
8158         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8160 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
8162         [BZ #13679]
8163         * Makeconfig (+link): Defined as $(+link-static) if
8164         $(build-shared) isn't yes.
8165         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8166         isn't yes.
8167         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8169         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8171         [BZ #14562]
8172         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8173         new chunk size with MALLOC_ALIGN_MASK.
8175 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
8177         [BZ #5044]
8178         * stdio-common/printf_fphex.c: Include <stdbool.h> and
8179         <rounding-mode.h>.
8180         (__printf_fphex): Determine rounding using get_rounding_mode and
8181         round_away.
8182         * stdio-common/tst-printf-round.c (struct hex_test): New
8183         structure.
8184         (hex_tests): New variable.
8185         (test_hex_in_one_mode): New function.
8186         (do_test): Also run tests for hex float output.
8188 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
8190         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8191         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8192         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8193         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8194         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8195         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8196         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8197         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8199 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
8201         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8202         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8203         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8204         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8206 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
8208         [BZ #14579]
8209         * elf/rtld.c (dl_main): Limit the check for self loading to normal
8210         mode only.
8211         * elf/tst-rtld-load-self.sh: New test.
8212         * elf/Makefile: Run it.
8214 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
8216         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8217         (tst-writev-ENV): Remove.
8218         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8220 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
8222         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8224 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
8226         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8227         unconditional.
8228         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8229         Likewise.
8230         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8231         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8232         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8233         Likewise.
8235 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8237         [BZ #14587]
8238         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8239         * config.make.in (have-cpp-asm-debuginfo): Removed.
8240         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8241         * configure: Regenerated.
8243 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
8245         [BZ #5044]
8246         * stdio-common/printf_fp.c: Include <stdbool.h> and
8247         <rounding-mode.h>.
8248         (___printf_fp): Determine rounding using get_rounding_mode and
8249         round_away.
8250         * stdio-common/tst-printf-round.c: New file.
8251         * stdio-common/Makefile (tests): Add tst-printf-round.
8252         (link-libm): New variable.
8253         ($(objpfx)tst-printf-round): Depend in $(link-libm).
8255 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
8257         [BZ #14576]
8258         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8259         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8260         Likewise.
8261         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8262         Likewise.
8264 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
8266         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8267         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8268         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8269         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8271 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
8273         [BZ #14518]
8274         * include/rounding-mode.h: New file.
8275         * sysdeps/generic/get-rounding-mode.h: Likewise.
8276         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8277         * stdlib/strtod_l.c: Include <rounding-mode.h>.
8278         (MAX_VALUE): New macro.
8279         (MIN_VALUE): Likewise.
8280         (overflow_value): New function.
8281         (underflow_value): Likewise.
8282         (round_and_return): Use overflow_value and underflow_value to
8283         determine return values in overflow and underflow cases.  Use
8284         round_away to determine rounding depending on rounding mode.
8285         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8286         determine return values in overflow and underflow cases.
8287         * stdlib/tst-strtod-round.c: Include <fenv.h>.
8288         (struct test_results): New structure.
8289         (struct test): Use struct test_results to store expected results
8290         for all rounding modes.
8291         (TEST): Include expected results for all rounding modes.
8292         (test_in_one_mode): New function.
8293         (do_test): Use test_in_one_mode to compute and check results.
8294         Check results for all rounding modes.
8295         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8296         $(link-libm).
8298 2012-12-09  Allan McRae  <allan@archlinux.org>
8300         * sysdeps/i386/fpu/libm-test-ulps: Update
8302 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
8304         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8305         (_G_int32_t): Likewise.
8306         (_G_uint16_t): Likewise.
8307         (_G_uint32_t): Likewise.
8308         (_G_HAVE_BOOL): Likewise.
8309         (_G_HAVE_ATEXIT): Likewise.
8310         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8311         (_G_HAVE_IO_FILE_OPEN): Likewise.
8312         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8313         (_G_int32_t): Likewise.
8314         (_G_uint16_t): Likewise.
8315         (_G_uint32_t): Likewise.
8316         (_G_HAVE_BOOL): Likewise.
8317         (_G_HAVE_ATEXIT): Likewise.
8318         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8319         (_G_HAVE_IO_FILE_OPEN): Likewise.
8320         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8321         (_G_int32_t): Likewise.
8322         (_G_uint16_t): Likewise.
8323         (_G_uint32_t): Likewise.
8324         (_G_HAVE_BOOL): Likewise.
8325         (_G_HAVE_ATEXIT): Likewise.
8326         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8327         (_G_HAVE_IO_FILE_OPEN): Likewise.
8329 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
8331         * csu/libc-tls.c: Update copyright years.
8333 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
8335         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8336         [!_G_USING_THUNKS]: Remove conditional code.
8337         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8338         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8340         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8341         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8342         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8343         (_G_VTABLE_LABEL_PREFIX): Likewise.
8344         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8345         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8346         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8347         (_G_VTABLE_LABEL_PREFIX): Likewise.
8348         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8349         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8350         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8351         (_G_VTABLE_LABEL_PREFIX): Likewise.
8352         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8354 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
8356         * libio/Makefile: Include ../Makeconfig before tests.
8357         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8358         only if $(build-shared) is yes.
8360         * iconv/gconv_db.c: Update copyright years.
8362 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8364         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8365         unwind info if defined PIC. Fix special cases description.
8366         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8368         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8369         DP_HI_MASK entry.
8370         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8372 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
8374         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8376         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8377         is NULL.
8379         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8380         (LDLIBS-tst-chk4): This.
8381         (LDFLAGS-tst-chk5): Renamed to ...
8382         (LDLIBS-tst-chk5): This.
8383         (LDFLAGS-tst-chk6): Renamed to ...
8384         (LDLIBS-tst-chk6): This.
8385         (LDFLAGS-tst-lfschk4): Renamed to ...
8386         (LDLIBS-tst-lfschk4): This.
8387         (LDFLAGS-tst-lfschk5): Renamed to ...
8388         (LDLIBS-tst-lfschk5): This.
8389         (LDFLAGS-tst-lfschk6): Renamed to ...
8390         (LDLIBS-tst-lfschk6): This.
8392         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8393         on $(common-objpfx)soversions.mk.
8395 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
8397         [BZ #10014]
8398         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8399         example host name.
8401 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8403         * malloc/arena.c (arena_get_retry): New function that gets
8404         another arena for the caller to try its request on.
8405         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8406         current arena cannot fulfill the request.
8407         (__libc_memalign): Likewise.
8408         (__libc_memalign): Likewise.
8409         (__libc_pvalloc): Likewise.
8410         (__libc_calloc): Likewise.
8412 2012-09-05  John Tobey  <john.tobey@gmail.com>
8414         [BZ #13542]
8415         * manual/arith.texi (Operations on Complex): Fix description
8416         of carg branch cut.
8418 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8420         [BZ #10014]
8421         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8422         host name.
8424         [BZ #10038]
8425         * manual/memory.texi (Memory): Make order of menu items match
8426         order of sections.
8428 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8430         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8431         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
8432         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8434 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8436         * csu/libc-tls.c (static_dtv): Renamed to ...
8437         (_dl_static_dtv): This.  Make it global.
8438         (_dl_initial_dtv): Removed.
8439         (__libc_setup_tls): Updated.
8440         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8441         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8442         DL_INITIAL_DTV.
8444 2012-09-06  Petr Machata  <pmachata@redhat.com>
8446         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8447         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8448         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8449         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8451 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8453         [BZ #14545]
8454         * csu/libc-tls.c (_dl_initial_dtv): New variable.
8455         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8456         freeing dtv[-1].
8458 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8460         [BZ #14544]
8461         * Makeconfig (link-static-before-libc): Replace $(+prector)
8462         with $(+prectorT).
8463         (link-static-after-libc): Replace $(+postctor) with
8464         $(+postctorT).
8465         (link-bounded): Replace $(+prector)/$(+postctor) with
8466         $(+prectorT)/$(+postctorT).
8467         (+prectorT): New macro.
8468         (+postctorT): Likewise.
8470 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8472         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8473         (round_str): Handle values above the maximum for IBM long double
8474         as inexact.
8475         * stdlib/tst-strtod-round.c (tests): Regenerated.
8477 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8479         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8480         assembler flag.
8481         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8482         zarch_nohighgprs around the zarch optimized routines.
8483         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8484         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8485         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8486         for zarch.
8488 2012-09-05  David S. Miller  <davem@davemloft.net>
8490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8492         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8493         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8494         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8495         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8496         entries.
8498 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8500         * malloc/arena.c: Fold copyright years.
8501         * malloc/mcheck.c, malloc/memusage.c: Likewise.
8503 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8505         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8507 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8509         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
8511 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8513         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8514         change internal state upon failure.
8516 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8518         * malloc/mcheck.c (mcheck_check_all): Fix typo.
8519         * malloc/memusage.c (mmap): Likewise.
8520         (mmap64, mremap): Likewise.  Adjust name in comment.
8522 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8524         * libio/fileops.c: Fix typos in comments.
8525         * libio/oldfileops.c: Likewise.
8526         * libio/wfileops.c: Likewise.
8528 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8530         [BZ #1349]
8531         * malloc/Makefile (tests): Add tst-malloc-usable test case.
8532         (tst-malloc-usable-ENV): Set environment for test case.
8533         * malloc/hooks.c (malloc_check_get_size): New function to get
8534         requested size.
8535         * malloc/malloc.c (musable): Use malloc_check_get_size.
8536         * malloc/tst-malloc-usable.c: New test case.
8538 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8540         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8542 2012-09-05  Allan McRae  <allan@archlinux.org>
8544         [BZ #13966]
8545         * configure.in (CXX_SYSINCLUDES): Use compiler output to
8546         determine header location.
8547         * configure: Regenerated.
8549 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8551         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8552         float format.
8553         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8554         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8555         format.
8556         (test): Regenerate.
8558 2012-09-04  David S. Miller  <davem@davemloft.net>
8560         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8561         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8562         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8564 2012-09-04  Florian Weimer  <fweimer@redhat.com>
8566         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8567         failures.
8569         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8571 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
8573         [BZ #9914]
8574         * libio/iogetdelim.c: Include <limits.h>.
8575         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8576         + len + 1 would overflow.
8578 2012-09-03  Andreas Jaeger  <aj@suse.de>
8580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8581         * sysdeps/i386/fpu/libm-test-ulps: Update.
8583 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8585         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8586         Add s_sinf-sse2, s_conf-sse2.
8588         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8589         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8590         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8591         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8593         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8594         for using routine as __sinf_ia32.
8595         Use macro for function declaration and weak_alias.
8596         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8597         for using routine as __cosf_ia32.
8598         Use macro for function declaration and weak_alias.
8600         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8601         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8603         * sysdeps/x86_64/fpu/s_sinf.S: New file.
8604         * sysdeps/x86_64/fpu/s_cosf.S: New file.
8605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8607         * math/libm-test.inc (cos_test): Add more test cases.
8608         (sin_test): Likewise.
8609         (sincos_test): Likewise.
8611 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8613         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8614         (IFUNC_RESOLVE): Make pointers to the specialized implementations
8615         hidden.
8616         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8618 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
8620         [BZ #14538]
8621         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8622         first element of the GOT.
8623         (elf_machine_load_address): Return the difference between
8624         the runtime address of _DYNAMIC and elf_machine_dynamic ().
8626 2012-09-01  Allan McRae  <allan@archlinux.org>
8628         [BZ #13412]
8629         * configure.in (AWK): Require gawk version 3.0 or later.
8630         * configure: Regenerated.
8632 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
8634         * sysdeps/unix/sysv/linux/kernel-features.h
8635         (__ASSUME_POSIX_CPU_TIMERS): Remove.
8636         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8637         [__NR_clock_getres]: Make code unconditional.
8638         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8639         (clock_getcpuclockid): Remove code left unreachable by removal of
8640         conditionals.
8641         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8642         code unconditional.
8643         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8644         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8645         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8646         Make code unconditional.
8647         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8648         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8649         * sysdeps/unix/sysv/linux/clock_settime.c
8650         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8651         conditional code.
8652         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8653         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8655 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
8657         [BZ #14476]
8658         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8659         scripts/test-installation.pl.
8661         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8662         and $ld_so_version if it is set.
8664 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8666         [BZ #14516]
8667         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8668         failure if reading from procfs failed.
8669         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8671 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8673         * sysdeps/unix/sysv/linux/kernel-features.h
8674         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8675         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8676         Remove conditional code.
8677         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8678         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8679         Remove conditional code.
8680         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8681         * sysdeps/unix/sysv/linux/i386/fxstat.c
8682         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8683         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8684         * sysdeps/unix/sysv/linux/i386/fxstatat.c
8685         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8686         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8687         * sysdeps/unix/sysv/linux/i386/lxstat.c
8688         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8689         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8690         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8691         Remove conditional code.
8692         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8693         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8694         Remove conditional code.
8695         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8696         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8697         <kernel-features.h>.
8698         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8699         Remove.
8700         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8701         Remove conditional code.
8702         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8703         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8704         Remove conditional.
8706 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
8708         [BZ #5400]
8709         * NEWS: Add fixed bug number.
8711 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8713         [BZ #14519]
8714         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8715         underflowing exponent in case of negative sign.
8716         * stdlib/tst-strtod-round-data: Add more tests.
8717         * stdlib/tst-strtod-round.c (tests): Regenerated.
8719         [BZ #3479]
8720         * stdlib/strtod_l.c (NDIG): Remove.
8721         (HEXNDIG): Likewise.
8722         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8723         smallest representable value.
8724         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8725         lie within an exact representation of 1/2 ulp of the result.
8726         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8727         unconditionally.
8728         (TENS_P9_IDX): Define unconditionally.
8729         (TENS_P9_SIZE): Likewise.
8730         (TENS_P10_IDX): Likewise.
8731         (TENS_P10_SIZE): Likewise.
8732         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8733         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8734         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8735         entries for 10^2^13 and 10^2^14.
8736         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8737         (TENS_P13_IDX): Define.
8738         (TENS_P13_SIZE): Likewise.
8739         (TENS_P14_IDX): Likewise.
8740         (TENS_P14_SIZE): Likewise.
8741         (_fpioconst_pow10): Change array size to
8742         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
8743         unconditional.
8744         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8745         1024]: Add entries for 10^2^13 and 10^2^14.
8746         [LAST_POW10 > _LAST_POW10]: Remove #error.
8747         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8748         (_fpioconst_pow10): Change array size to
8749         FPIOCONST_POW10_ARRAY_SIZE.
8750         * stdlib/gen-fpioconst.c: New file.
8751         * stdlib/gen-tst-strtod-round.c: Likewise.
8752         * stdlib/tst-strtod-round-data: Likewise.
8753         * stdlib/tst-strtod-round.c: Likewise.
8754         * stdlib/Makefile (tests): Add tst-strtod-round.
8756         [BZ #14459]
8757         * stdlib/strtod_l.c: Include <stdint.h>.
8758         (NDEBUG): Do not define.
8759         (round_and_return): Change EXPONENT parameter to type intmax_t.
8760         Rearrange calculations to avoid internal overflow possibilities.
8761         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8762         Rearrange calculations to avoid internal overflow possibilities.
8763         Assert that number fits inside MPNSIZE limbs.
8764         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8765         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
8766         calculations and add assertions to avoid internal overflow
8767         possibilities.  Add casts to avoid signed/unsigned operations.
8768         * stdlib/tst-strtod-overflow.c: New file.
8769         * stdlib/Makefile (tests): Add tst-strtod-overflow.
8771 2012-08-25  Marek Polacek  <polacek@redhat.com>
8773         * time/time.h: Fix some typos in comments.
8775 2012-08-23  Roland McGrath  <roland@hack.frob.com>
8777         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8778         * posix/tst-rfc3484-2.c: Likewise.
8779         * posix/tst-rfc3484-3.c: Likewise.
8781 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
8783         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8784         (EF_ARM_ABI_FLOAT_HARD): Likewise.
8786 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
8788         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8789         #include of fxstatat64.c.
8791 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8793         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8794         * shadow/getspent_r.c: Likewise.
8795         * shadow/getspnam.c: Likewise.
8796         * shadow/getspnam_r.c: Likewise.
8797         * gshadow/getsgent.c: Likewise.
8798         * gshadow/getsgent_r.c: Likewise.
8799         * gshadow/getsgnam.c: Likewise.
8800         * gshadow/getsgnam_r.c: Likewise.
8801         * inet/getnetbyad.c: Likewise.
8802         * inet/getnetbyad_r.c: Likewise.
8803         * inet/getnetbynm.c: Likewise.
8804         * inet/getnetbynm_r.c: Likewise.
8805         * inet/getnetent.c: Likewise.
8806         * inet/getnetent_r.c: Likewise.
8807         * inet/getproto.c: Likewise.
8808         * inet/getproto_r.c: Likewise.
8809         * inet/getprtent.c: Likewise.
8810         * inet/getprtent_r.c: Likewise.
8811         * inet/getprtname.c: Likewise.
8812         * inet/getprtname_r.c: Likewise.
8813         * inet/getrpcbyname.c: Likewise.
8814         * inet/getrpcbyname_r.c: Likewise.
8815         * inet/getrpcbynumber.c: Likewise.
8816         * inet/getrpcbynumber_r.c: Likewise.
8817         * inet/getrpcent.c: Likewise.
8818         * inet/getrpcent_r.c: Likewise.
8819         * inet/getaliasent.c: Likewise.
8820         * inet/getaliasent_r.c: Likewise.
8821         * inet/getaliasname.c: Likewise.
8822         * inet/getaliasname_r.c: Likewise.
8823         * nscd/getgrgid_r.c: Likewise.
8824         * nscd/getgrnam_r.c: Likewise.
8825         * nscd/gethstbyad_r.c: Likewise.
8826         * nscd/gethstbynm3_r.c: Likewise.
8827         * nscd/getpwnam_r.c: Likewise.
8828         * nscd/getpwuid_r.c: Likewise.
8829         * nscd/getsrvbynm_r.c: Likewise.
8830         * nscd/getsrvbypt_r.c: Likewise.
8831         * nscd/gai.c: Likewise.
8833         * configure.in (build_nscd): New substituted variable, set
8834         by --disable-build-nscd and defaults to $use_nscd.
8835         * configure: Regenerated.
8836         * config.make.in (build-nscd): New substituted variable.
8837         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8838         Change conditional to require [$(build-nscd) = yes] as well.
8839         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8841         [BZ# 13696]
8842         * configure.in (use_nscd): New substituted variable, set by
8843         --disable-nscd.  If enabled, define USE_NSCD.
8844         * configure: Regenerated.
8845         * config.h.in: Add USE_NSCD.
8846         * config.make.in (use-nscd): New substituted variable.
8847         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8848         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8849         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8850         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8851         (CFLAGS-getgrnam_r.c): Likewise.
8852         (CFLAGS-initgroups.c): Likewise.
8853         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8854         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8855         Variables removed.
8856         * inet/getnetgrent_r.c
8857         (nscd_setnetgrent): New function, broken out of ...
8858         (setnetgrent): ... here.  Call it.
8859         (innetgr): Conditionalize nscd bits on [USE_NSCD].
8860         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8861         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8862         * nscd/Makefile (routines, aux): Move definitions after include of
8863         Makeconfig.  Conditionalize on [$(use-nscd) != no].
8864         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8865         Conditionalize on [USE_NSCD].
8866         (is_nscd, nscd_init_cb): Likewise.
8867         (nss_load_library): Conditionalize init callback on [USE_NSCD].
8868         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8869         * nss/nss_db/db-init.c: Likewise.
8870         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8871         [USE_NSCD].
8872         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8873         (make_request): Use it.
8874         (cache_valid_p): New function.
8875         (__check_pf): Use it.
8876         * NEWS: Add item for --disable-nscd.
8878 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
8880         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8881         to support sed >= 4.2.1-20-ga9bf076.
8882         * configure: Regenerated.
8884 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8886         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8887         Conditionalize whole body on [IREL].
8889 2012-08-22  Jeff Law <law@redhat.com>
8891         [BZ #14505]
8892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8893         if the family is PF_UNSPEC.
8895 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
8897         * Makerules (lib-version): Rename from V.
8898         (install-lib-nosubdir): Change V to lib-version.
8900 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
8902         [BZ #14252]
8903         * powerpc32/power6/wcschr.c: New file.
8904         * powerpc32/power6/wcscpy.c: New file.
8905         * powerpc32/power6/wcsrchr.c: New file.
8906         * powerpc64/power6/wcschr.c: New file.
8907         * powerpc64/power6/wcscpy.c: New file.
8908         * powerpc64/power6/wcsrchr.c: New file.
8910 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8912         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8913         (two_way_short_needle): Use it.
8914         * string/strstr.c (AVAILABLE1_USES_J): Define.
8915         * string/strcasestr.c: Likewise.
8917         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8918         array references.
8919         * string/strcasestr.c (TOLOWER): Make side-effect safe.
8921         [BZ #11607]
8922         * NEWS: Add an entry.
8923         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8924         define their defaults.
8925         (two_way_short_needle): Detect end-of-string on-the-fly.
8926         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8927         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8928         * string/bug-strcasestr1.c: New test.
8929         * string/Makefile: Run it.
8931 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8933         [BZ #11607]
8934         * string/str-two-way.h (two_way_short_needle): Optimize matching of
8935         the first character.
8937 2012-08-21  Roland McGrath  <roland@hack.frob.com>
8939         * csu/elf-init.c (__libc_csu_irel): Function removed.
8940         * csu/libc-start.c (apply_irel): New function.
8941         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8943 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
8945         * sysdeps/unix/sysv/linux/kernel-features.h
8946         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8947         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8948         <kernel-features.h>.
8949         [__NR_fadvise64_64]: Make code unconditional.
8950         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8951         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8952         !__NR_fadvise64_64)]: Likewise.
8953         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8954         !__NR_fadvise64_64))]: Likewise.
8955         [__NR_fadvise64]: Make code unconditional.
8956         [!__NR_fadvise64]: Remove conditional code.
8957         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8958         <kernel-features.h>.
8959         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8960         unconditional.
8961         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8962         conditional code.
8963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8964         not include <kernel-features.h>.
8965         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8966         unconditional.
8967         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8968         conditional code.
8969         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8970         include <kernel-features.h>.
8971         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8972         unconditional.
8973         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8974         conditional code.
8976 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
8978         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8979         slight instruction rearrangements per scrollpipe analysis.
8980         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8982 2012-08-20  Roland McGrath  <roland@hack.frob.com>
8984         * manual/syslog.texi (syslog; vsyslog, closelog):
8985         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8986         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8988         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8989         DSOCAPS to match condition on defining it.
8991 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
8993         * sysdeps/unix/sysv/linux/kernel-features.h
8994         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8996         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8997         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8999         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9000         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9002         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9003         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9005         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9006         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9008         * sysdeps/unix/sysv/linux/kernel-features.h
9009         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9010         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9011         unconditional.
9012         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9013         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9014         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9015         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9016         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9017         Make code unconditional.
9018         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9019         (__mmap64) [!__NR_mmap2]: Likewise.
9020         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9021         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9022         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9023         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9024         [__NR_mmap2]: Make code unconditional.
9025         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9026         (__mmap64) [!__NR_mmap2]: Likewise.
9028 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9030         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9032 2012-08-18  Andreas Jaeger  <aj@suse.de>
9034         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9036 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9038         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9039         * include/unistd.h (__have_sock_cloexec): Likewise.
9040         (__have_pipe2): Likewise.
9041         (__have_dup3): Likewise.
9043 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9045         [BZ #9685]
9046         * include/unistd.h (__have_pipe2): Change define into an extern int.
9047         (__have_dup3): Likewise.
9048         * socket/have_sock_cloexec.c: Include fcntl.h.
9049         (__have_pipe2): New variable.
9050         (__have_dup3): Likewise.
9052 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
9054         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9056 2012-08-17  Marek Polacek  <polacek@redhat.com>
9058         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9059         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9061 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9063         * configure.in: Add AC_SUBST for sysheaders.
9064         * configure: Regenerated.
9065         * config.make.in (sysheaders): New substituted variable.
9067         * sysdeps/unix/mkfifo.c: Moved ...
9068         * sysdeps/posix/mkfifo.c: ... here.
9069         * sysdeps/unix/mkfifoat.c: Moved ...
9070         * sysdeps/posix/mkfifoat.c: ... here.
9072         * sysdeps/unix/utime.c: Moved ...
9073         * sysdeps/posix/utime.c: ... here.
9075         * sysdeps/unix/time.c: Moved ...
9076         * sysdeps/posix/time.c: ... here.
9077         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9078         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9080         * sysdeps/unix/nice.c: Moved ...
9081         * sysdeps/posix/nice.c: ... here.
9083         * sysdeps/unix/alarm.c: Moved ...
9084         * sysdeps/posix/alarm.c: ... here.
9086         * intl/Makefile ($(codeset_mo)): Depend on the input file.
9088 2012-08-17  Jeff Law <law@redhat.com>
9090         * intl/Makefile (codeset_mo): New variable.
9091         ($(codeset_mo)): New target.
9092         (tst-codeset.out): Depend on that.  Remove explicit rule.
9093         (tst-gettext3.out, tst-gettext5.out): Likewise.
9094         (LOCPATH-ENV, tst-codeset-ENV): New variables.
9095         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9096         * intl/tst-codeset.sh: Remove.
9097         * intl/tst-gettext3.sh: Likewise.
9098         * intl/tst-gettext5.sh: Likewise.
9100 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9102         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
9103         * sysdeps/unix/syscalls.list: ... here.
9105         * sysdeps/posix/getaddrinfo.c
9106         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9107         (gaiconf_init, gaiconf_reload): Use them.
9108         [!_STATBUF_ST_NSEC]
9109         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9110         Define using time_t rather than struct timespec.
9112         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9113         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9114         Macros removed.
9115         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9116         [!NO_THREADS].
9117         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9118         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9119         Likewise.
9121         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9122         __libc_cleanup_push argument.
9124         * bits/param.h: New file.
9125         * misc/sys/param.h: New file.
9126         * include/sys/param.h: New file.
9127         * misc/Makefile (headers): Add bits/param.h.
9128         * sysdeps/generic/sys/param.h: File removed.
9129         * sysdeps/unix/sysv/linux/bits/param.h: New file.
9130         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9131         * sysdeps/mach/hurd/bits/param.h: New file.
9132         * sysdeps/mach/hurd/sys/param.h: File removed.
9134         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9135         last change.
9137         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9138         [_IO_MTSAFE_IO].
9139         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9140         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9141         New macros.
9143         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9144         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9145         rather than -D_IO_MTSAFE_IO conditionally.
9146         * stdio-common/Makefile (CPPFLAGS): Likewise.
9147         * wcsmbs/Makefile (CPPFLAGS): Likewise.
9148         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9149         Use $(libio-mtsafe).
9150         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9151         of -D_IO_MTSAFE_IO.
9152         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9153         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9154         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9155         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9156         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9157         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9158         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9159         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9160         (CFLAGS-fread_u_chk.c): Likewise.
9161         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9162         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9163         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9164         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9165         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9166         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9167         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9168         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9169         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9171         * libio/Makefile: Test [$(libc-reentrant) = yes]
9172         instead of [$(filter %REENTRANT, $(defines)) nonempty].
9174         * Makeconfig
9175         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9176         * sysdeps/pthread/configure: File removed.
9177         * sysdeps/pthread/Makeconfig: New file.
9178         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9179         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9181 2012-08-16  Gary Benson  <gbenson@redhat.com>
9183         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9184         unmapping the first object in a namespace.
9186 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9188         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9189         (__internal_setnetgrent): ... this.  Add internal_function to
9190         definition.  Add libc_hidden_def.
9191         (setnetgrent): Update caller.
9192         (internal_endnetgrent): Renamed to ...
9193         (__internal_endnetgrent): ... this.  Add internal_function to
9194         definition.  Add libc_hidden_def.
9195         (endnetgrent): Update caller.
9196         (internal_getnetgrent_r): Renamed to ...
9197         (__internal_getnetgrent_r): ... this.  Add internal_function to
9198         definition.  Add libc_hidden_def.
9199         (__getnetgrent_r): Update caller.
9200         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
9202 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9204         * stdlib/longlong.h: Update from GCC.
9206 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9208         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9209         on _QL, which is set by umul_ppmm but never used.
9210         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9211         variables, which are set by GMP macros but never used.
9212         * stdio-common/_itowa.c (_itowa): Likewise.
9213         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9214         * stdlib/mod_1.c (mpn_mod_1): Likewise.
9216 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
9218         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9219         struct La_sh_regs is not constant.
9220         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9221         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9222         and struct La_sparc64_regs are not constant.
9224 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9226         * sysdeps/unix/sysv/linux/kernel-features.h
9227         (__ASSUME_POSIX_TIMERS): Remove.
9228         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9229         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9230         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9231         Make code unconditional.
9232         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9233         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9234         Make code unconditional.
9235         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9236         * sysdeps/unix/sysv/linux/clock_nanosleep.c
9237         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9238         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9239         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9240         Make code unconditional.
9241         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9242         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9243         (__libc_missing_posix_timers): Remove.
9245 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9247         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9248         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9250         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9252         * elf/dl-sym.c: Include <stdlib.h>.
9254         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9255         constants, which avoids warnings in 32-bit builds.
9257         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9258         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9260         * misc/lseek.c: File moved to ...
9261         * io/lseek.c: ... here.
9263         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9265         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9266         shifting LEN more than 31 bits at once.
9268 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9270         [BZ #14195]
9271         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9272         segmentation fault for a case of two empty input strings.
9273         * string/test-strncasecmp.c (check1): Renamed to...
9274         (bz12205): ...this.
9275         (bz14195): Add new testcase for two empty input strings and N > 0.
9276         (test_main): Call new testcase, adapt for renamed function.
9278 2012-08-15  Andreas Jaeger  <aj@suse.de>
9280         [BZ #14090]
9281         * crypt/md5test2.c: New test, based on test supplied by Serge
9282         Belyshev <belyshev@depni.sinp.msu.ru>.
9283         * crypt/Makefile (xtests): Add md5test-giant..
9284         * crypt/Makefile ($(objpfx)md5test-giant): Add.
9286 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
9288         [BZ #14090]
9289         * crypt/md5.c (md5_process_block): Don't assume the buffer
9290         length is less than 2**32.
9291         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9292         length is less than 2**64.
9294 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9296         * string/str-two-way.h: Include <sys/param.h>.
9297         (MAX): Macro removed.
9299         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9300         Move #define and #undef of memmove to just before and after
9301         including <string.h>.
9303         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9304         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9305         and after including <string.h>.  Move declarations of
9306         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9307         to before #include "string/memmove.c".
9309         * include/dirent.h: Declare __getdirentries.
9311         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9312         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9314 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
9316         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9317         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9318         * sysdeps/i386/configure: Regenerated.
9319         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9320         STABS_CURRENT_FILE, and STABS_FUN.
9321         (END): Remove call to STABS_FUN_END.
9322         (STABS_CURRENT_FILE1): Delete.
9323         (STABS_CURRENT_FILE): Likewise.
9324         (STABS_FUN): Likewise.
9325         (STABS_FUN_END): Likewise.
9326         (STABS_FUN2): Likewise.
9327         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9328         * sysdeps/x86_64/configure: Regenerated.
9330 2012-08-14  Roland McGrath  <roland@hack.frob.com>
9332         * elf/dl-open.c: Include <atomic.h>.
9333         * elf/dl-lookup.c: Likewise.
9335 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
9337         * sysdeps/unix/sysv/linux/kernel-features.h
9338         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9339         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9340         unconditionally.
9341         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9342         unconditionally.
9343         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9344         condition on __ASSUME_CLONE_THREAD_FLAGS.
9346 2012-08-14  Andreas Jaeger  <aj@suse.de>
9348         * sysdeps/i386/fpu/libm-test-ulps: Update.
9350 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
9352         * include/atomic.h (atomic_exchange_and_add): Split into ...
9353         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9354         New atomic macros.
9356 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
9358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9360 2012-08-13  Jeff Law <law@redhat.com>
9362         * manual/stdio.texi (snprintf): Clarify handling of the trailing
9363         null byte in the output string.
9365 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
9367         * sysdeps/unix/sysv/linux/kernel-features.h
9368         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9369         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9370         (__ASSUME_ARG_MAX_STACK_BASED): Define.
9371         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9372         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9373         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
9374         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9376 2012-08-09  Jeff Law <law@redhat.com>
9378         [BZ #13939]
9379         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9380         When avoid_arena is set, don't retry in the that arena.  Pick the
9381         next one, whatever it might be.
9382         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9383         (arena_lock): Pass in new parameter to arena_get2.
9384         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9385         arena_get2.
9386         (__libc_malloc): Unify retrying after main arena failure with
9387         __libc_memalign version.
9388         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9390 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9392         [BZ #14166]
9393         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9394         to __redirect_strstr.
9395         (__strstr_sse42): Use typeof __redirect_strstr.
9396         (__strstr_ia32): Likewise.
9397         (__libc_strstr): New prototype.
9398         (strstr): Renamed to ...
9399         (__libc_strstr): This.
9400         (strstr): New strong alias of __libc_strstr.
9401         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9402         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9403         __redirect_time.
9404         Include <time.h>.
9405         (__libc_time): New prototype.
9406         (time_ifunc): Replace time with __libc_time.
9407         (time): New strong alias and hidden definition of __libc_time.
9408         (__GI_time): Remove strong alias.
9409         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9410         Include <stddef.h>.
9411         (memmove): Redefined to __redirect_memmove.
9412         (__memmove_sse2): Use typeof __redirect_memmove.
9413         (__memmove_ssse3): Likewise.
9414         (__memmove_ssse3_back): Likewise.
9415         (__libc_memmove): New prototype.
9416         (memmove): Renamed to ...
9417         (__libc_memmove): This.
9418         (memmove): New strong alias of __libc_memmove.
9420 2012-08-08  Mark Salter  <msalter@redhat.com>
9422         * elf/elf.h
9423         (R_MN10300_TLS_GD): Define.
9424         (R_MN10300_TLS_LD): Likewise.
9425         (R_MN10300_TLS_LDO): Likewise.
9426         (R_MN10300_TLS_GOTIE): Likewise.
9427         (R_MN10300_TLS_IE): Likewise.
9428         (R_MN10300_TLS_LE): Likewise.
9429         (R_MN10300_TLS_DTPMOD): Likewise.
9430         (R_MN10300_TLS_DTPOFF): Likewise.
9431         (R_MN10300_TLS_TPOFF): Likewise.
9432         (R_MN10300_SYM_DIFF): Likewise.
9433         (R_MN10300_ALIGN): Likewise.
9434         (R_MN10300_NUM): Update.
9436 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
9438         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9439         Remove.
9441 2012-08-08  Roland McGrath  <roland@hack.frob.com>
9443         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9445         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9446         sysdeps/unix -> sysdeps/posix move.
9447         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9449 2012-08-07      Allan McRae     <allan@archlinux.org>
9451         [BZ #14303]
9452         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9453         (SUNOS_CPP): Likewise.
9454         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9455         not found.
9456         (open_input): Call CPP using execvp.
9458 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9460         * sysdeps/unix/sysv/linux/kernel-features.h
9461         (__ASSUME_PROT_GROWSUPDOWN): Remove.
9462         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9463         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9464         (__ASSUME_WAITID_SYSCALL): Likewise.
9465         * sysdeps/unix/sysv/linux/dl-execstack.c
9466         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9467         code unconditional.
9468         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9469         conditional code.
9470         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9471         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9472         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9473         code.
9474         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9475         unconditional.
9476         [__ASSUME_WAITID_SYSCALL]: Likewise.
9477         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9479 2012-08-07  Roland McGrath  <roland@hack.frob.com>
9481         * sysdeps/unix/closedir.c: Renamed to ...
9482         * sysdeps/posix/closedir.c: ... here.
9483         * sysdeps/unix/dirfd.c: Renamed to ...
9484         * sysdeps/posix/dirfd.c: ... here.
9485         * sysdeps/unix/dirstream.h: Renamed to ...
9486         * sysdeps/posix/dirstream.h: ... here.
9487         * sysdeps/unix/fdopendir.c: Renamed to ...
9488         * sysdeps/posix/fdopendir.c: ... here.
9489         * sysdeps/unix/opendir.c: Renamed to ...
9490         * sysdeps/posix/opendir.c: ... here.
9491         * sysdeps/unix/readdir.c: Renamed to ...
9492         * sysdeps/posix/readdir.c: ... here.
9493         * sysdeps/unix/readdir_r.c: Renamed to ...
9494         * sysdeps/posix/readdir_r.c: ... here.
9495         * sysdeps/unix/rewinddir.c: Renamed to ...
9496         * sysdeps/posix/rewinddir.c: ... here.
9497         * sysdeps/unix/seekdir.c: Renamed to ...
9498         * sysdeps/posix/seekdir.c: ... here.
9499         * sysdeps/unix/telldir.c: Renamed to ...
9500         * sysdeps/posix/telldir.c: ... here.
9501         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9502         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9503         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9504         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9506         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9507         * bits/fcntl.h: ... here.
9509         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9510         not 0.
9511         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9512         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9513         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9514         (struct flock): Move l_start, l_len to the beginning.
9515         Use __pid_t for l_pid.
9516         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9517         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9518         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9519         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9520         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9521         [__USE_LARGEFILE64] (struct flock64): New type.
9522         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9524         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9525         * bits/dirent.h: ... here.
9527         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9528         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9530 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9532         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9533         Change from 2.6.0 to 2.6.16.
9534         * sysdeps/unix/sysv/linux/configure: Regenerated.
9535         * sysdeps/unix/sysv/linux/kernel-features.h
9536         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9537         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9538         version.
9539         (__ASSUME_UTIMES): Likewise.
9540         (__ASSUME_CLONE_STOPPED): Remove.
9541         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9542         architectures, not kernel version.
9543         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9544         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9545         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9546         (__ASSUME_WAITID_SYSCALL): Likewise.
9547         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9548         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9549         * README: State 2.6.16 as minimum Linux kernel version.  Do not
9550         refer to older versions.
9552 2012-08-06  Roland McGrath  <roland@hack.frob.com>
9554         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9555         Define alphasort64 as an alias.
9556         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9557         Define versionsort64 as an alias.
9558         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9559         Define scandir64 as an alias.
9560         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9561         Define scandirat64 as an alias.
9562         * dirent/alphasort64.c (alphasort64):
9563         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9564         * dirent/versionsort64.c: Likewise.
9565         * dirent/scandir64.c: Likewise.
9566         * dirent/scandirat64.c: Likewise.
9567         * sysdeps/wordsize-64/alphasort.c: File removed.
9568         * sysdeps/wordsize-64/alphasort64.c: File removed.
9569         * sysdeps/wordsize-64/scandir.c: File removed.
9570         * sysdeps/wordsize-64/scandir64.c: File removed.
9571         * sysdeps/wordsize-64/scandirat.c: File removed.
9572         * sysdeps/wordsize-64/scandirat64.c: File removed.
9573         * sysdeps/wordsize-64/versionsort.c: File removed.
9574         * sysdeps/wordsize-64/versionsort64.c: File removed.
9575         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9576         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9577         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9578         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9579         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9580         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9581         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9582         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9584         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9585         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9586         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9587         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9588         [defined __arch64__ || defined __sparcv9]
9589         (__INO_T_MATCHES_INO64_T): New macro.
9590         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9591         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9592         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9593         * sysdeps/unix/sysv/linux/bits/dirent.h
9594         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9595         (_DIRENT_MATCHES_DIRENT64): New macro.
9597         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9598         Define lockf64 as an alias.
9599         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9600         Define fseeko64 as an alias.
9601         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9602         Define ftello64 as an alias.
9603         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9604         Define _IO_fgetpos64 and fgetpos64 as aliases.
9605         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9606         Define _IO_fsetpos64 and fsetpos64 as aliases.
9607         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9608         Conditionalize body on this.
9609         * libio/fseeko64.c: Likewise.
9610         * libio/ftello64.c: Likewise.
9611         * libio/iofgetpos64.c: Likewise.
9612         * libio/iofsetpos64.c: Likewise.
9613         * sysdeps/wordsize-64/lockf.c: File removed.
9614         * sysdeps/wordsize-64/lockf64.c: File removed.
9615         * sysdeps/wordsize-64/fseeko.c: File removed.
9616         * sysdeps/wordsize-64/fseeko64.c: File removed.
9617         * sysdeps/wordsize-64/ftello.c: File removed.
9618         * sysdeps/wordsize-64/ftello64.c: File removed.
9619         * sysdeps/wordsize-64/iofgetpos.c: File removed.
9620         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9621         * sysdeps/wordsize-64/iofsetpos.c: File removed.
9622         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9623         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9624         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9625         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9626         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9627         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9628         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9629         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9630         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9631         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9632         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9634         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9635         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9636         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9637         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9638         [defined __arch64__ || defined __sparcv9]
9639         (__OFF_T_MATCHES_OFF64_T): New macro.
9640         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9641         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9642         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9643         (__OFF_T_MATCHES_OFF64_T): New macro.
9645 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9647         * stdlib/secure-getenv.c (__secure_getenv): Replace
9648         GLIBC_2_16 with GLIBC_2_17.
9650 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9652         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9653         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9655 2012-08-03  David S. Miller  <davem@davemloft.net>
9657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9659 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9661         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9662         Remove.
9663         (__ASSUME_CORRECT_SI_PID): Likewise.
9664         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9665         (__ASSUME_TMPFS_NAME): Likewise.
9666         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9667         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9668         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9669         (HAVE_AUX_SECURE): Make definition unconditional.
9670         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9671         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9673 2012-08-03  Roland McGrath  <roland@hack.frob.com>
9675         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9676         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9677         * sysdeps/mach/hurd/eloop-threshold.h: New file.
9678         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9679         __eloop_threshold instead of SYMLOOP_MAX.
9681         * sysdeps/generic/eloop-threshold.h: New file.
9682         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9683         of MAXSYMLINKS.
9684         * elf/chroot_canon.c (chroot_canon): Likewise.
9686 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9688         [BZ #13717]
9689         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9690         Change to 2.6.0 everywhere.
9691         * sysdeps/unix/sysv/linux/configure: Regenerated.
9692         * sysdeps/unix/sysv/linux/kernel-features.h
9693         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9694         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9695         kernel versions.
9696         (__ASSUME_POSIX_TIMERS): Define unconditionally.
9697         (__ASSUME_FUTEX_REQUEUE): Remove.
9698         (__ASSUME_STATFS64): Define unconditionally.
9699         (__ASSUME_AT_SECURE): Likewise.
9700         (__ASSUME_CORRECT_SI_PID): Likewise.
9701         (__ASSUME_TGKILL): Define without depending on kernel version for
9702         i386.
9703         (__ASSUME_UTIMES): Likewise.
9704         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9705         kernel version.
9706         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9707         (__ASSUME_TMPFS_NAME): Likewise.
9708         * README: Update reference to Linux kernel versions.
9710 2012-08-02  Marek Polacek  <polacek@redhat.com>
9712         [BZ# 14150]
9713         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
9714         libc_cv_asm_type_prefix with %.
9715         * configure: Regenerated.
9716         * include/libc-symbols.h: Remove comment about
9717         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9718         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9719         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9720         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9721         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9722         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9723         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9724         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9725         * elf/tst-unique2mod1.c: Likewise.
9726         * elf/tst-unique1mod2.c: Likewise.
9727         * elf/tst-unique1mod1.c: Likewise.
9728         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9729         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9730         Replace ASM_TYPE_DIRECTIVE with .type.
9731         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9732         * sysdeps/i386/sysdep.h: Likewise.
9733         * sysdeps/x86_64/sysdep.h: Likewise.
9734         * sysdeps/sh/sysdep.h: Likewise.
9735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9736         Do not define ASM_TYPE_DIRECTIVE.
9737         * sysdeps/powerpc/sysdep.h: Likewise.
9738         * sysdeps/powerpc/powerpc32/sysdep.h:
9739         Replace ASM_TYPE_DIRECTIVE with .type.
9740         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9741         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9742         * sysdeps/i386/fpu/e_powf.S: Likewise.
9743         * sysdeps/i386/fpu/e_expl.S: Likewise.
9744         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9745         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9746         * sysdeps/i386/fpu/e_pow.S: Likewise.
9747         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9748         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9749         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9750         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9751         * sysdeps/i386/fpu/e_log2.S: Likewise.
9752         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9753         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9754         * sysdeps/i386/fpu/e_powl.S: Likewise.
9755         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9756         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9757         * sysdeps/i386/fpu/e_logl.S: Likewise.
9758         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9759         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9760         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9761         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9762         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9763         * sysdeps/i386/fpu/e_log.S: Likewise.
9764         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9765         * sysdeps/i386/fpu/e_logf.S: Likewise.
9766         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9767         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9768         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9769         * sysdeps/i386/fpu/e_log10.S: Likewise.
9770         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9771         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9772         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9773         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9774         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9775         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9776         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9777         * sysdeps/i386/i686/strtok.S: Likewise.
9778         * sysdeps/i386/i386-mcount.S: Likewise.
9779         * sysdeps/i386/strtok.S: Likewise.
9780         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9781         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9782         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9783         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9784         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9785         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9786         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9787         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9788         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9789         * sysdeps/x86_64/_mcount.S: Likewise.
9790         * sysdeps/x86_64/strtok.S: Likewise.
9791         * sysdeps/sh/_mcount.S: Likewise.
9793 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9795         * libio/iofopen.c: Include <fcntl.h>.
9796         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9797         (_IO_fopen64, fopen64): Define as aliases.
9798         * libio/iofopen64.c: Include <fcntl.h>.
9799         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9800         Conditionalize body on this.
9801         * sysdeps/wordsize-64/iofopen.c: File removed.
9802         * sysdeps/wordsize-64/iofopen64.c: File removed.
9804 2012-08-01  Marek Polacek  <polacek@redhat.com>
9806         * libc/Makeconfig: Use elf in place of binfmt-subdir.
9807         Use dlfcn directly instead of a variable.
9808         (binfmt-subdir): Do not define.
9809         (dlfcn): Likewise.
9811 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
9813         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9814         Remove all definitions.
9815         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9816         <kernel-features.h>.
9817         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9818         (miss_F_GETOWN_EX): Remove all definitions.
9819         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9820         macro definition.
9821         [!__ASSUME_FCNTL64]: Remove conditional code.
9822         [__ASSUME_FCNTL64]: Make code unconditional.
9823         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9824         <kernel-features.h>.
9825         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9826         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9827         (lockf64) [__NR_fcntl64]: Make code unconditional.
9828         (lockf64) [__ASSUME_FCNTL64]: Likewise.
9830         * sysdeps/unix/sysv/linux/kernel-features.h
9831         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9832         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9833         Make code unconditional.
9834         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9835         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9837         [__NR_vfork]: Make code unconditional.
9838         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9839         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9841         [__NR_vfork]: Make code unconditional.
9842         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9843         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9845 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9847         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9848         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9850         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9851         Define mkstemp64 as an alias.
9852         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9853         Define mkstemps64 as an alias.
9854         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9855         Define mkostemp64 as an alias.
9856         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9857         Define mkostemps64 as an alias.
9858         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9859         Conditionalize body on this.
9860         * misc/mkostemp64.c: Likewise.
9861         * misc/mkostemps64.c: Likewise.
9862         * misc/mkstemps64.c: Likewise.
9863         * sysdeps/wordsize-64/mkstemp64.c: File removed.
9864         * sysdeps/wordsize-64/mkostemp64.c: File removed.
9865         * sysdeps/wordsize-64/mkostemp.c: File removed.
9866         * sysdeps/wordsize-64/mkstemp.c: File removed.
9867         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9868         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9869         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9870         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9872         [BZ #14138]
9873         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9874         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9875         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9876         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9878         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9879         compat_symbol macros from <shlib-compat.h> rather than the underlying
9880         default_symbol_version and symbol_version macros, so that DEFAULT
9881         lines in shlib-versions are respected.
9882         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9884 2012-08-01  Florian Weimer  <fweimer@redhat.com>
9886         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9887         Declare with warn_unused_result.
9888         (setgid, setregid, setegid, setresgid): Likewise.
9889         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9890         Likewise.
9891         * WUR-REPORT: Remove set*id functions.
9893 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
9895         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9897 2012-07-31  Roland McGrath  <roland@hack.frob.com>
9899         * include/sys/socket.h (__libc_accept, __libc_accept4):
9900         Add attribute_hidden.
9901         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9903         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9904         use of PTR_MANGLE.
9905         * inet/getnetgrent_r.c (setup): Likewise.
9907         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9909 2012-07-31  David S. Miller  <davem@davemloft.net>
9911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9913 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
9915         [BZ #13629]
9916         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9917         value between 1.0 and 2.0 and smaller part has absolute value less
9918         than 1.0.
9919         * math/s_clog10.c (__clog10): Likewise.
9920         * math/s_clog10f.c (__clog10f): Likewise.
9921         * math/s_clog10l.c (__clog10l): Likewise.
9922         * math/s_clogf.c (__clogf): Likewise.
9923         * math/s_clogl.c (__clogl): Likewise.
9924         * math/libm-test.inc (clog_test): Add more tests.
9925         (clog10_test): Likewise.
9926         * sysdeps/i386/fpu/libm-test-ulps: Update.
9927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9929 2012-07-31  Florian Weimer  <fweimer@redhat.com>
9931         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9932         Exit with zero in case no suitable GID is found, and write a
9933         message to standard error.
9935 2012-07-30  Roland McGrath  <roland@hack.frob.com>
9937         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9938         rather than to 1.
9939         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9940         (MAXPATHLEN): Removed.
9941         (NOGROUP, NODEV): New macros.
9942         (setbit, clrbit, isset, isclr): New macros.
9943         (howmany, roundup, powerof2): New macros.
9944         (DEV_BSIZE): New macro.
9946         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9947         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9949         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9950         definition on [!__NO_LONG_DOUBLE_MATH].
9952         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9953         PTR_MANGLE and PTR_DEMANGLE.
9955         * socket/accept4.c (accept4): Rename to __libc_accept4.
9956         Define accept4 as a weak alias.
9958         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9959         on [_DIRENT_HAVE_D_TYPE].
9960         * io/ftw.c (ftw_dir): Likewise.
9962         * io/xmknod.c (__xmknod): Don't check PATH for being null.
9964         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9966         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9967         Use the BSD numbers rather than the arbitrary ones we had.
9968         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9969         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9970         (SIGXCPU, SIGXFSZ): New macros.
9971         (_NSIG): Now 32.
9973         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9974         initializer on [_LIBC_REENTRANT].
9976         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9977         definitions inside [_POSIX_MAPPED_FILES].
9979         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9981         * dirent/opendir.c: Include <fcntl.h>.
9983         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9984         (__libc_getspecific): Likewise.
9985         (__libc_key_create): Likewise.
9987         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9988         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9989         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9990         (tmpfile64): Define as alias.
9991         * sysdeps/wordsize-64/tmpfile.c: File removed.
9992         * sysdeps/wordsize-64/tmpfile64.c: File removed.
9993         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9994         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9996         * stdio-common/vfscanf.c: Include <stdbool.h>.
9997         * nss/makedb.c: Likewise.
9998         * stdio-common/_i18n_number.h: Likewise.
9999         * argp/argp-help.c: Likewise.
10000         * posix/wordexp.c: Likewise.
10001         * sysdeps/posix/spawni.c: Likewise.
10002         * nss/nss_files/files-initgroups.c: Likewise.
10003         * stdio-common/reg-modifier.c: Include <stdlib.h>.
10004         * nss/nss_files/files-initgroups.c: Likewise.
10005         * nss/nss_db/db-netgrp.c: Likewise.
10006         * nss/nss_db/db-initgroups.c: Likewise.
10007         * io/fchmodat.c: Include <sys/stat.h>.
10009         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10010         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10012         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10013         [HAVE_MMAP].
10015         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10016         Add multiple inclusion protection.
10018 2012-07-27  David S. Miller  <davem@davemloft.net>
10020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10022 2012-07-27  Gary Benson  <gbenson@redhat.com>
10024         [BZ #14298]
10025         * elf/rtld.c: Include <stap-probe.h>.
10026         (dl_main): Added static probes "init_start" and "init_complete".
10027         * elf/dl-load.c: Include <stap-probe.h>.
10028         (lose): Take new parameter "nsid".
10029         Added static probe "map_failed".
10030         (_dl_map_object_from_fd): Pass namespace id to lose.
10031         Added static probe "map_start".
10032         (open_verify): Pass namespace id to lose.
10033         * elf/dl-open.c: Include <stap-probe.h>.
10034         (dl_open_worker) Added static probes "map_complete", "reloc_start"
10035         and "reloc_complete".
10036         * elf/dl-close.c: Include <stap-probe.h>.
10037         (_dl_close_worker): Added static probes "unmap_start" and
10038         "unmap_complete".
10039         * elf/rtld-debugger-interface.txt: New file documenting the above.
10041 2012-07-26  Roland McGrath  <roland@hack.frob.com>
10043         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10044         rather than a string variable.
10045         * sunrpc/rpc_main.c (h_output): Likewise.
10046         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10048 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
10050         * inet/check_native.c: New file.
10052 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
10054         [BZ #13629]
10055         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10056         if larger part has absolute value 1.0.
10057         * math/s_clog10.c (__clog10): Likewise.
10058         * math/s_clog10f.c (__clog10f): Likewise.
10059         * math/s_clog10l.c (__clog10l): Likewise.
10060         * math/s_clogf.c (__clogf): Likewise.
10061         * math/s_clogl.c (__clogl): Likewise.
10062         * math/libm-test.inc (clog_test): Add more tests.
10063         (clog10_test): Likewise.
10064         * sysdeps/i386/fpu/libm-test-ulps: Update.
10065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10067         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10068         (pltexit): Likewise.
10069         (La_regs): Likewise.
10070         (La_retval): Likewise.
10071         (int_retval): Likewise.
10072         Update #error for removed macros to refer only to definitions in
10073         tst-audit.h.
10074         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10075         macro.
10076         (pltexit): Likewise.
10077         (La_regs): Likewise.
10078         (La_retval): Likewise.
10079         (int_retval): Likewise.
10080         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10081         macro.
10082         (pltexit): Likewise.
10083         (La_regs): Likewise.
10084         (La_retval): Likewise.
10085         (int_retval): Likewise.
10086         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10087         macro.
10088         (pltexit): Likewise.
10089         (La_regs): Likewise.
10090         (La_retval): Likewise.
10091         (int_retval): Likewise.
10092         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10093         macro.
10094         (pltexit): Likewise.
10095         (La_regs): Likewise.
10096         (La_retval): Likewise.
10097         (int_retval): Likewise.
10098         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10099         macro.
10100         (pltexit): Likewise.
10101         (La_regs): Likewise.
10102         (La_retval): Likewise.
10103         (int_retval): Likewise.
10104         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10105         macro.
10106         (pltexit): Likewise.
10107         (La_regs): Likewise.
10108         (La_retval): Likewise.
10109         (int_retval): Likewise.
10110         * sysdeps/generic/tst-audit.h: Update comment to refer only to
10111         macro definitions in tst-audit.h.
10112         * sysdeps/i386/tst-audit.h: New file.
10113         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10114         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10115         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10116         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10117         * sysdeps/sh/tst-audit.h: Likewise.
10118         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10119         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10120         * sysdeps/x86_64/tst-audit.h: Likewise.
10122 2012-07-26  Andreas Jaeger  <aj@suse.de>
10124         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10125         ptrace.
10127         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10128         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10129         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10130         PTRACE_O_MASK.
10131         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10132         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10133         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10135         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10136         value.
10138         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10139         _sigsys.
10140         (si_call_addr, si_syscall, si_arch): Define new macro.
10141         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10142         _sigsys.
10143         (si_call_addr, si_syscall, si_arch): Define new marcro.
10144         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10145         _sigsys.
10146         (si_call_addr, si_syscall, si_arch): Define new macro.
10147         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10148         _sigsys.
10149         (si_call_addr, si_syscall, si_arch): Define new macro.
10151 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10153         [BZ #13717]
10154         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10155         Change to 2.4.21 where previously 2.4.1.
10156         * sysdeps/unix/sysv/linux/configure: Regenerated.
10157         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10158         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10159         Linux kernel version.
10160         (__ASSUME_STD_AUXV): Remove.
10161         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10162         kernel version.
10163         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10164         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10165         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10166         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10167         (__ASSUME_NETLINK_SUPPORT): Likewise.
10168         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10169         (__no_netlink_support): Remove conditional definition.
10170         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10171         Remove.
10172         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10173         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10174         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10175         (if_nameindex_ioctl): Remove.
10176         (if_nameindex_netlink): Do not handle __no_netlink_support.
10177         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10178         code.
10179         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10180         Remove conditional code.
10181         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10182         code.
10183         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10184         unconditional.
10185         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10186         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10187         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10188         Remove.
10189         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10190         [!__ASSUME_STD_AUXV]: Remove conditional code.
10191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10192         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10193         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10195         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10196         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10197         code.
10198         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10200         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10201         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10202         conditional code.
10203         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10205         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10206         code.
10207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10208         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10209         conditional code.
10210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10211         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10212         code unconditional.
10213         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10214         conditional code.
10215         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10216         unconditional.
10217         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10218         conditional code.
10219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10220         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10221         unconditional.
10222         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10223         conditional code.
10224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10225         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10226         code unconditional.
10227         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10228         conditional code.
10229         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10230         unconditional.
10231         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10232         conditional code.
10233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10234         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10235         code unconditional.
10236         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10237         conditional code.
10238         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10239         unconditional.
10240         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10241         conditional code.
10243 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
10245         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10246         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10247         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10248         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10249         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10250         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10251         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10252         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10253         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10254         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10255         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10256         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10257         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10258         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10259         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10260         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10261         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10262         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10263         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10264         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10265         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10266         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10267         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10269 2012-07-25  Florian Weimer  <fweimer@redhat.com>
10271         * Versions.def: Add GLIBC_2.17.
10272         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10273         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10274         Introduce __libc_secure_getenv.
10275         * stdlib/Versions (2.17): Add secure_getenv
10276         (GLIBC_PRIVATE): Add __libc_secure_getenv.
10277         * stdlib/secure-getenv.c: Rename __secure_getenv to
10278         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
10279         symbol __secure_getenv for GLIBC_2.0.
10280         * stdlib/tst-secure-getenv.c: New.
10281         * stdlib/Makefile (tests): Add testcase.
10282         * manual/startup.texi (Environment Access): Document
10283         secure_getenv.
10284         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10285         __libc_secure_getenv.
10286         * inet/ruserpass.c (ruserpass): Likewise.
10287         * malloc/mtrace.c (mtrace): Likewise.
10288         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10289         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10290         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10291         * sysdeps/posix/tempname.c: Likewise.  Evaluate
10292         HAVE_SECURE_GETENV.
10293         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10294         __secure_getenv to __libc_secure_getenv.
10295         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10297         Likewise.
10298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10299         Likewise.
10300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10302         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10306         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10308 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10310         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10311         (struct La_i86_retval): Likewise.
10312         (struct La_x86_64_regs): Likewise.
10313         (struct La_x86_64_retval): Likewise.
10314         (struct La_x32_regs): Likewise.
10315         (struct La_x32_retval): Likewise.
10316         (struct La_ppc32_regs): Likewise.
10317         (struct La_ppc32_retval): Likewise.
10318         (struct La_ppc64_regs): Likewise.
10319         (struct La_ppc64_retval): Likewise.
10320         (struct La_sh_regs): Likewise.
10321         (struct La_sh_retval): Likewise.
10322         (struct La_s390_32_regs): Likewise.
10323         (struct La_s390_32_retval): Likewise.
10324         (struct La_s390_64_regs): Likewise.
10325         (struct La_s390_64_retval): Likewise.
10326         (struct La_sparc32_regs): Likewise.
10327         (struct La_sparc32_retval): Likewise.
10328         (struct La_sparc64_regs): Likewise.
10329         (struct La_sparc64_retval): Likewise.
10330         (struct audit_ifaces): Remove architecture-specific pltenter and
10331         pltexit members.
10332         * sysdeps/i386/ldsodefs.h: New file.
10333         * sysdeps/powerpc/ldsodefs.h: Likewise.
10334         * sysdeps/s390/ldsodefs.h: Likewise.
10335         * sysdeps/sh/ldsodefs.h: Likewise.
10336         * sysdeps/sparc/ldsodefs.h: Likewise.
10337         * sysdeps/x86_64/ldsodefs.h: Likewise.
10339 2012-07-25  Marek Polacek  <polacek@redhat.com>
10341         [BZ #6808]
10342         * math/libm-test.inc (yn_test): Add another test.
10343         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10344         to ERANGE when the result is +-Inf.
10345         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10346         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10347         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10348         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10350 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
10352         * conform/data/time.h-data (NULL): Use macro-constant.  Require
10353         equal to 0.
10354         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
10355         clock_t.
10356         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
10358 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
10360         * configure.in <sysdeps resolving>: Correct printing
10361         Implies_before.
10362         * configure: Regenerate.
10364 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
10366         * math/w_ilogb.c: Include <limits.h>.
10367         * math/w_ilogbl.c: Likewise.
10369 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10371         * manual/lang.texi (__va_copy): Document primarily as ISO C99
10372         va_copy.  Document allowing for unavailable va_copy only as
10373         pre-C99 compatibility.
10374         * manual/string.texi (Copying and Concatenation): Use va_copy
10375         instead of __va_copy in concat example.
10377 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
10379         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10380         (__sendto): Use create_address_port.  Initialize APORT and deallocate
10381         it if not null.
10383         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10384         with O_NOLINK passed to __file_name_lookup.
10386         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10387         with O_NOLINK passed to __file_name_lookup.
10389         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10390         negative N or less than NGIDS.
10392         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10393         type to string_t.  Set ERANGE as errno and return it if NAME is not big
10394         enough.  Use memcpy instead of strncpy.
10396 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10398         * elf/Makefile (check-data): Remove.
10399         (localplt.data): New vpath directive.
10400         ($(objpfx)check-localplt.out): Use localplt.data from vpath
10401         instead of $(check-data).
10402         * scripts/data/localplt-generic.data: Move to ...
10403         * sysdeps/generic/localplt.data: ... here.
10404         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10405         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10406         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10408         ... here.
10409         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10411         ... here.
10412         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10414         ... here.
10415         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10417         ... here.
10418         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10419         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10420         ... here.
10421         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10423         ... here.
10425 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10427         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10428         PPC32 and PPC64 files.
10429         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10430         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10432 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10434         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10435         __makecontext_ret to ...
10436         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10437         ... here and call exit if uc_link is NULL.  New file.
10438         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10439         __makecontext_ret.S.
10440         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10441         __makecontext_ret to ...
10442         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10443         ... here and call exit if uc_link is NULL.  New file.
10444         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10445         __makecontext_ret.S.
10447 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10449         * elf/elf.h (R_390_IRELATIVE): New definition.
10450         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10451         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
10452         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10453         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10454         (elf_machine_lazy_rel): Likewise.
10455         * sysdeps/s390/dl-irel.h: New file.
10456         * sysdeps/s390/s390-64/memcpy.S: New asm code.
10457         * sysdeps/s390/s390-64/memset.S: New asm code.
10458         * sysdeps/s390/s390-64/memcmp.S: New asm code.
10459         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10460         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10461         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10462         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10463         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10464         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10465         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10466         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10467         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10468         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10469         * sysdeps/s390/s390-32/memcpy.S: New asm code.
10470         * sysdeps/s390/s390-32/memset.S: New asm code.
10471         * sysdeps/s390/s390-32/memcmp.S: New asm code.
10473 2012-07-17  Marek Polacek  <polacek@redhat.com>
10475         [BZ #14349]
10476         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10477         * sysdeps/s390/s390-64/configure.in: Likewise.
10478         * sysdeps/sparc/configure.in: Likewise.
10479         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10480         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10481         * sysdeps/i386/configure.in: Likewise.
10482         * sysdeps/x86_64/configure.in: Likewise.
10483         * sysdeps/sh/configure.in: Likewise.
10484         * sysdeps/s390/s390-32/configure: Regenerated.
10485         * sysdeps/s390/s390-64/configure: Likewise.
10486         * sysdeps/x86_64/configure: Likewise.
10487         * sysdeps/sh/configure: Likewise.
10488         * sysdeps/powerpc/powerpc64/configure: Likewise.
10489         * sysdeps/powerpc/powerpc32/configure: Likewise.
10490         * sysdeps/sparc/configure: Likwise.
10491         * sysdeps/i386/configure: Likewise.
10493         * elf/dl-open.c: Comment fixes.
10495 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
10497         * Makefile [CXX] (check-data): Remove.
10498         [CXX] (c++-types.data): New vpath directive.
10499         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10500         vpath.  Do not allow for C++ type data being missing.
10501         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10502         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10503         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10504         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10505         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10506         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10507         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10509         ... here.
10510         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10512         ... here.
10513         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10515         ... here.
10516         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10518         ... here.
10519         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10521         ... here.
10522         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10524         ... here.
10525         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10527         ... here.
10528         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10531         * elf/tls-macros.h (TLS_LE): Move architecture-specific
10532         definitions to architecture-specific files.
10533         (TLS_IE): Likewise.
10534         (TLS_LD): Likewise.
10535         (TLS_GD): Likewise.
10536         * sysdeps/i386/tls-macros.h: New file.
10537         * sysdeps/powerpc/tls-macros.h: Likewise.
10538         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10539         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10540         * sysdeps/sh/tls-macros.h: Likewise.
10541         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10542         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10543         * sysdeps/x86_64/tls-macros.h: Likewise.
10545 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10547         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10548         zero value for regular exit case.
10550         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10551         (__start_context): Preserve zero value for regular exit case.
10553 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10554             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10556         * manual/setjmp.texi (setcontext): Clarify normal process
10557         termination when uc_link is the null pointer.
10558         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10559         exit call.
10561 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
10563         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10564         preprocessor.  Test for each exception mask separately.
10566 2012-07-16  Andreas Jaeger  <aj@suse.de>
10568         * po/ru.po: Update from translation team.
10570 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
10572         * conform/data/string.h-data (NULL): Use macro-constant.  Require
10573         equal to 0.
10574         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10575         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10576         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10577         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10578         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10580 2012-07-13  Andreas Jaeger  <aj@suse.de>
10582         * po/fr.po: Update from translation team.
10584 2012-07-12  Marek Polacek  <polacek@redhat.com>
10586         [BZ #14173]
10587         * math/libm-test.inc (yn_test): Add test for BZ #14173.
10588         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10589         loop condition.
10591 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
10593         [BZ #13717]
10594         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10595         Change to 2.4.1 where previously 2.4.0.
10596         * sysdeps/unix/sysv/linux/configure: Regenerated.
10597         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10598         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10599         version.
10600         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10601         (__ASSUME_AT_CLKTCK): Remove.
10602         (__ASSUME_AT_PAGESIZE): Likewise.
10603         (__ASSUME_AT_XID): Likewise.
10604         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10605         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10606         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10607         unconditionally.
10608         (HAVE_AUX_PAGESIZE): Likewise.
10609         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10610         [__ASSUME_AT_CLKTCK]: Make code unconditional.
10611         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10613 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
10615         [BZ #14307]
10616         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10617         the temporary buffer used to invoke __gethostbyname2_r,
10618         __gethostbyaddr_r and gethostbyname4_r to make room for struct
10619         host_data / struct gaih_addrtuple.
10620         * resolv/nss_dns/dns-host.c (global scope): Move definition of
10621         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10622         header file nss/nsswitch.h.
10623         * nss/nsswitch.h (global scope): Add definition of implementation
10624         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10625         resolv/nss_dns/dns-host.c).
10627 2012-07-11  Andreas Jaeger  <aj@suse.de>
10629         * po/fr.po: Update from translation team.
10631         * po/sv.po: Update from translation team
10632         * po/fr.po: Another update from translation team.
10634 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10636         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10637         for subnormals or multiply small sinh result by itself.
10638         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10641 2012-07-11  David S. Miller  <davem@davemloft.net>
10643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10645 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
10647         [BZ #14347]
10648         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10649         (INTERNAL_MARK): Shift it here.
10651 2012-07-10  Marek Polacek  <polacek@redhat.com>
10653         [BZ #14151]
10654         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
10655         libc_cv_asm_global_directive with .globl.
10656         * configure: Regenerated.
10657         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10658         with .globl.
10659         * sysdeps/i386/configure: Regenerated.
10660         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10661         with .globl.
10662         * sysdeps/x86_64/configure: Regenerated.
10663         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10664         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10665         * elf/tst-unique2mod2.c: Likewise.
10666         * elf/tst-unique2mod1.c: Likewise.
10667         * elf/tst-unique1mod2.c: Likewise.
10668         * elf/tst-unique1mod1.c: Likewise.
10669         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10670         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10671         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10672         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10673         * sysdeps/mach/sysdep.h: Likewise.
10674         * sysdeps/i386/sysdep.h: Likewise.
10675         * sysdeps/i386/i386-mcount.S: Likewise.
10676         * sysdeps/x86_64/_mcount.S: Likewise.
10677         * sysdeps/x86_64/sysdep.h: Likewise.
10678         * sysdeps/sh/_mcount.S: Likewise.
10679         * sysdeps/sh/sysdep.h: Likewise.
10680         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10681         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10682         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10683         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10684         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10685         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10686         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10687         * locale/localeinfo.h: Likewise.
10688         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10689         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10691 2012-07-09  Roland McGrath  <roland@hack.frob.com>
10693         [BZ #14336]
10694         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10695         system".
10696         * manual/message.texi (The Uniforum approach): Likewise.
10697         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10698         (glibc iconv Implementation): Likewise.
10700 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
10702         [BZ #14337]
10703         * math/s_clog.c (__clog): Avoid scaling a value down where that
10704         could result in underflow.
10705         * math/s_clog10.c (__clog10): Likewise.
10706         * math/s_clog10f.c (__clog10f): Likewise.
10707         * math/s_clog10l.c (__clog10l): Likewise.
10708         * math/s_clogf.c (__clogf): Likewise.
10709         * math/s_clogl.c (__clogl): Likewise.
10710         * math/libm-test.inc (clog_test): Add more tests.
10711         (clog10_test): Likewise.
10712         * sysdeps/i386/fpu/libm-test-ulps: Update.
10713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10715 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
10717         [BZ #14283]
10718         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10719         by 7 not 8 to examine high bit of fractional part.
10721         [BZ #14042]
10722         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10723         for call to __mcount_internal.
10724         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10725         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10726         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10728 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
10730         [BZ #14154]
10731         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10732         approximation for values within 0x1p-13f of an odd multiple of
10733         pi/4.
10734         * math/libm-test.inc (tan_test): Do not allow spurious underflow
10735         exception.  Add more tests.
10736         * sysdeps/i386/fpu/libm-test-ulps: Update.
10738         [BZ #6778]
10739         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10740         inputs and return -1 for them.  Do not check for +Inf in case not
10741         reachable for +Inf.
10742         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10743         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10744         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10745         and return -1 for them.  Do not check for +Inf in case not
10746         reachable for +Inf.
10747         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10748         define.
10749         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10750         and return -1 for them.  Do not check for +Inf in case not
10751         reachable for +Inf.
10752         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
10753         spurious underflow.
10754         * sysdeps/i386/fpu/libm-test-ulps: Update.
10755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10757 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
10759         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10761 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
10763         [BZ #14157]
10764         [BZ #14331]
10765         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10766         could result in spurious underflow.  Scale down values above
10767         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10768         * math/s_csqrtf.c (__csqrtf): Likewise.
10769         * math/s_csqrtl.c (__csqrtl): Likewise.
10770         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
10771         spurious underflow.
10772         * sysdeps/i386/fpu/libm-test-ulps: Update.
10773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10775 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10777         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10778         xopen-msg.sed.
10779         * catgets/xopen-msg.awk: New file.
10780         * catgets/xopen-msg.sed: Removed.
10782         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10783         po2text.sed.
10784         * intl/po2test.awk: New file.
10785         * intl/po2test.sed: Removed.
10787 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
10789         [BZ #14328]
10790         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10791         or multiply small sinh result by itself.
10792         * math/s_ctanf.c (__ctanf): Likewise.
10793         * math/s_ctanh.c (__ctanh): Likewise.
10794         * math/s_ctanhf.c (__ctanhf): Likewise.
10795         * math/s_ctanhl.c (__ctanhl): Likewise.
10796         * math/s_ctanl.c (__ctanl): Likewise.
10797         * math/libm-test.inc (ctan_test_tonearest): New function.
10798         (ctan_test_towardzero): Likewise.
10799         (ctan_test_downward): Likewise.
10800         (ctan_test_upward): Likewise.
10801         (ctanh_test_tonearest): Likewise.
10802         (ctanh_test_towardzero): Likewise.
10803         (ctanh_test_downward): Likewise.
10804         (ctanh_test_upward): Likewise.
10805         (main): Call these new functions.
10806         * sysdeps/i386/fpu/libm-test-ulps: Update.
10807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10809 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
10811         * .gitignore: Delete /ports entry.
10813 2012-07-03  Andreas Jaeger  <aj@suse.de>
10815         * po/bg.po: Update from translation team.
10816         * po/cs.po: Likewise.
10817         * po/de.po: Likewise.
10818         * po/hr.po: Likewise.
10819         * po/nl.pl: Likewise.
10820         * po/pl.po: Likewise.
10821         * po/vi.po: Likewise.
10823 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
10825         * Makeconfig [!+link] (+link-before-libc): New variable.
10826         [!+link] (+link-after-libc): Likewise.
10827         [!+link] (+link-tests): Likewise.
10828         [!+link] (+link): Define in terms of $(+link-before-libc) and
10829         $(+link-after-libc).
10830         [!+link-static] (+link-static-before-libc): New variable.
10831         [!+link-static] (+link-static-after-libc): Likewise.
10832         [!+link-static] (+link-static-tests): Likewise.
10833         [!+link-static] (+link-static): Define in terms of
10834         $(+link-static-before-libc) and $(+link-static-after-libc).
10835         [build-shared] (link-libc-before-gnulib): New variable.
10836         [build-shared] (link-libc-tests): Likewise.
10837         [build-shared] (link-libc): Define in terms of
10838         $(link-libc-before-gnulib).
10839         [!build-shared] (link-libc-tests): New variable.
10840         (link-libc-static-tests): New variable.
10841         [!gnulib] (gnulib-arch): New variable.
10842         [!gnulib] (gnulib-tests): Likewise.
10843         [!gnulib] (static-gnulib-arch): Likewise.
10844         [!gnulib] (static-gnulib-tests): Likewise.
10845         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
10846         Define with "=" instead of ":=".
10847         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
10848         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
10849         * Rules (binaries-all-notests): New variable.
10850         (binaries-all-tests): Likewise.
10851         (binaries-static-notests): Likewise.
10852         (binaries-static-tests): Likewise.
10853         (binaries-all): Define using $(binaries-all-notests) and
10854         $(binaries-all-tests).
10855         (binaries-static): Define using $(binaries-static-notests) and
10856         $(binaries-static-tests).
10857         (binaries-shared-tests): New variable.
10858         (binaries-shared-notests): Likewise.
10859         (binaries-shared): Remove variable.
10860         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10861         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10862         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10863         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10864         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10865         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10866         * elf/Makefile (sln-modules): New variable.
10867         (extra-objs): Add $(sln-modules:=.o).
10868         (ldconfig-modules): Add static-stubs.
10869         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10870         * elf/static-stubs.c: New file.
10872         [BZ #14283]
10873         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10874         by 7 not 8 to examine high bit of fractional part.  Use volatile
10875         variables when splitting into final array of floats if
10876         __FLT_EVAL_METHOD__ != 0.
10877         * math/libm-test.inc (cos_test): Add another test.
10878         (sin_test): Likewise.
10879         * sysdeps/i386/fpu/libm-test-ulps: Update.
10881         [BZ #14273]
10882         * math/libm-test.inc (cosh_test): Add more tests.
10884         * version.h (RELEASE): Set to "development".
10885         (VERSION): Set to "2.16.90".
10887 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
10889         * NEWS: Update copyright. Remove last-updated date.
10890         Mention math library bug fixes and timezone data changes.
10891         * README: Mention GNU/Hurd, x32, and HPPA support status.
10893 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
10895         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10897 2012-06-27  Andreas Jaeger  <aj@suse.de>
10899         * manual/contrib.texi (Contributors): Add Samuel Thibault.
10901 2012-06-25  Andreas Jaeger  <aj@suse.de>
10903         * sysdeps/s390/fpu/libm-test-ulps: Update.
10905 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
10906             Thomas Schwinge  <thomas@codesourcery.com>
10908         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10909         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10910         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10911         fanotify_mark.
10913 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
10915         * sysdeps/mach/start.c: Remove file.
10916         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10917         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10918         * sysdeps/sh/init-first.c: Likewise.
10920         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10921         registers for frame unwinding purposes, add CFI directives.
10922         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10923         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10924         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10925         Likewise.
10927         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10928         __fortify_fail returning.
10929         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10931         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10932         sysdeps/sh/____longjmp_chk.S.
10933         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10934         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10935         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10936         (gen-as-const-headers): Append sigaltstack-offsets.sym.
10938         * sysdeps/sh/abort-instr.h: New file.
10939         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10940         process in case exit returns.
10942         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10943         initialize the GOT register before use.
10945         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10946         calculation of ARGC > 4.
10948         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10949         meaningful names to some local labels.
10951 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10952             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10954         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10955         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10956         (__arch_compare_and_exchange_val_16_acq): Likewise.
10957         (__arch_compare_and_exchange_val_32_acq): Likewise.
10958         (atomic_exchange_and_add): Fix gUSA sequence.
10959         (atomic_add): Likewise.
10960         (atomic_add_negative): Likewise.
10961         (atomic_add_zero): Likewise.
10962         (atomic_bit_test_set): Likewise.
10964 2012-06-22  Andreas Schwab  <schwab@redhat.com>
10966         [BZ #13579]
10967         * include/link.h (struct link_map): Add l_free_initfini.
10968         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10969         l_initfini.
10970         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10971         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10972         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10973         set.
10975 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
10977         * configure.in: Use AC_LANG_SOURCE.
10978         * configure: Regenerate.
10980 2012-06-22  Roland McGrath  <roland@hack.frob.com>
10982         * configure.in (libc_cv_localstatedir): New substituted variable.
10983         * configure: Regenerated.
10984         * config.make.in (localstatedir): New variable, substituted from
10985         libc_cv_localstatedir.
10986         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10987         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10988         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10989         * sysdeps/gnu/configure: Regenerated.
10991 2012-06-21  Jeff Law  <law@redhat.com>
10993         [BZ #14277]
10994         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10995         free.  Simplify list management for _LIBC case.
10997 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
10999         [BZ #14273]
11000         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11001         Clear sign bit of 64-bit integer value before comparing against
11002         overflow value.
11004         * sysdeps/mach/configure: Regenerated.
11006 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
11008         [BZ #14278]
11009         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11011 2012-06-21  Jeff Law  <law@redhat.com>
11013         [BZ #13882]
11014         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
11015         uint16_t for elements in the "seen" array to avoid char overflows.
11016         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11017         * elf/dl-open.c (dl_open_worker): Likewise.
11019 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
11021         * scripts/list-sources.sh: Scan PORTS for translations.
11022         * po/libc.pot: Regenerated.
11024 2012-06-21  Andreas Jaeger  <aj@suse.de>
11026         [BZ #12194]
11027         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11028         warning.
11029         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11030         * bits/byteswap-16.h (__bswap_16): Likewise.
11031         * bits/byteswap.h (__bswap_constant_16): Likewise.
11033 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
11035         [BZ #14117]
11036         * sysdeps/i386/fpu_control.h: Removed.
11037         * sysdeps/x86_64/fpu_control.h: Moved to ...
11038         * sysdeps/x86/fpu_control.h: Here.
11040         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11041         (_FPU_SETCW): Likewise.
11043 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
11045         [BZ #14117]
11046         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11047         * sysdeps/x86/fpu/bits/mathinline.h: This.
11048         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11050         [BZ #14050]
11051         [BZ #14117]
11052         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11053         functions if __x86_64__ is defined.
11055 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
11057         * string/endian.h: Add !__ASSEMBLER__ condition for including
11058         conversion interfaces.
11060 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
11062         [BZ #14241]
11063         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11064         of ABS(x) in calculating zero to negative powers other than odd
11065         integers.
11066         * math/libm-test.inc (pow_test): Add more tests.
11068 2012-06-15  Andreas Jaeger  <aj@suse.de>
11070         * manual/contrib.texi (Contributors): Update entry of Liubov
11071         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11072         Machado Filho.
11074 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
11076         * string/string.h: Add __wur to GNU version of strerror_r.
11078 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
11080         [BZ #14229]
11081         * string/Makefile (tests): Add tst-strtok_r.
11082         * string/tst-strtok_r.c: New file.
11083         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11084         RAX_LP/RDX_LP on SAVE_PTR.
11086 2012-06-14  Roland McGrath  <roland@hack.frob.com>
11088         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11090 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
11092         * libm_test.inc (csqrt_test): Allow more spurious underflow
11093         exceptions.
11094         (j0_test): Likewise.
11095         (j1_test): Likewise.
11096         (y0_test): Likewise.
11097         (y1_test): Likewise.
11099 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
11101         * po/Makefile (libc.pot): Use UTF-8 charset.
11103 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
11105         [BZ #14210]
11106         Suppress sign-conversion warning from FD_SET.
11107         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11108         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11109         not unsigned long int.
11110         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11112 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
11114         [BZ #14050]
11115         [BZ #14117]
11116         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11117         __extern_always_inline instead of __extern_inline.
11118         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11119         (__signbit): Likewise.
11120         (__signbitl): Support C++ namespace.
11121         (lrintf): New inline function.
11122         (lrint): Likewise.
11123         (llrintf): Likewise.
11124         (llrint): Likewise.
11125         (fmaxf): Likewise.
11126         (fmax): Likewise.
11127         (fminf): Likewise.
11128         (fmin): Likewise.
11129         (rint): Likewise.
11130         (rintf): Likewise.
11131         (ceil): Likewise.
11132         (ceilf): Likewise.
11133         (floor): Likewise.
11134         (floorf): Likewise.
11135         (nearbyint): Likewise.
11136         (nearbyintf): Likewise.
11138 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
11140         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11141         non-default versions.
11143 2012-06-11  Roland McGrath  <roland@hack.frob.com>
11145         [BZ #14218]
11146         * manual/argp.texi (Argp): Reword argp_parse description slightly.
11148 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
11150         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11151         (FE_UPWARD, FE_DOWNWARD): Don't define.
11152         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11153         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11155         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11156         reading it.
11157         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11158         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11160 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11162         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11163         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11164         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11165         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11167 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11169         [BZ #14117]
11170         * sysdeps/i386/fpu/bits/fenv.h: Removed.
11171         * sysdeps/i386/fpu/Implies: New file.
11172         * sysdeps/x86_64/fpu/Implies: Likewise.
11173         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11174         * sysdeps/x86/fpu/bits/fenv.h: This.
11176         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11177         __SSE_MATH__.
11179 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11181         [BZ #14134]
11182         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11183         character 0xffff that matches the last element of the
11184         conversion table.
11186 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11188         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11189         fmodl commit.
11191 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11193         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11194         values higher than 25.6283.
11196 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11198         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11199         subnormal exponent extraction and add some __builtin_expect.
11200         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11201         Fix for subnormal mantissa calculation.
11203 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
11205         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11206         cpu2 is -1 and errno is not ENOSYS.
11208 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
11210         [BZ #14117]
11211         * sysdeps/i386/i486/bits/string.h: Renamed to ...
11212         * sysdeps/x86/bits/string.h: This.
11213         * sysdeps/x86_64/bits/string.h: Removed.
11215         * sysdeps/i386/i486/bits/string.h: Define inline functions only
11216         if not compiling for x86-64, but compiling for >= i486.
11218         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11219         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11221         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11222         New macro from Linux kernel 3.4.0.
11223         (FP_XSTATE_MAGIC2): Likewise.
11224         (FP_XSTATE_MAGIC2_SIZE): Likewise.
11225         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11226         (struct _fpx_sw_bytes): New struct.
11227         (struct _xsave_hdr): Likewise.
11228         (struct _ymmh_state): Likewise.
11229         (struct _xstate): Likewise.
11231         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11232         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11233         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11234         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11235         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11236         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11238         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11239         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11240         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11241         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11242         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11243         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11245 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11247         [BZ #13743]
11248         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11249         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11250         (sysdep_headers): Include sys/platform/ppc.h.
11251         * sysdeps/powerpc/test-gettimebase.c: Test for
11252         __ppc_get_timebase() to catch future ISA opcode/insn changes.
11253         * manual/Makefile (appendices): Include platform.texi.
11254         * manual/contrib.texi (Contributors): Update @node pointers.
11255         * manual/maint.texi (Maintenance): Likewise.
11256         (Platform): New node.
11257         * manual/platform.texi: New file.  Document the new features.
11259 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11260             Jakub Jelinek  <jakub@redhat.com>
11262         [BZ #14188]
11263         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11264         where __builtin_expect is unavailable.
11266 2012-06-03  David S. Miller  <davem@davemloft.net>
11268         * stdlib/longlong.h: Updated from GCC.
11270 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
11272         [BZ #14042]
11273         * sysdeps/powerpc/powerpc32/mcount.c: New file.
11274         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11275         __mcount_internal.
11276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11277         (GLIBC_2.16): Likewise.
11279 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11281         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11283 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11286         (default-abi): New variable.
11287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11288         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11289         variable.
11290         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11291         Likewise.
11292         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11293         Likewise.
11294         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11295         Likewise.
11297         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11298         definition.  Document in comment.
11300 2012-06-01  David S. Miller  <davem@davemloft.net>
11302         * stdlib/longlong.h: Updated from GCC.
11304 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11306         [BZ #14117]
11307         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11308         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11309         sys/debugreg.h sys/io.h here.
11310         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11311         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11312         sys/io.h.
11313         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11314         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11315         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11316         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11317         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11318         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11320         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11321         Define only if __x86_64__ is defined.
11323 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11325         [BZ #14048]
11326         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11327         Use int64_t for variable i.
11328         * math/libm-test.inc (fmod_test): Add more tests.
11330         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11331         z computation is not scheduled after fetestexcept.
11332         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11333         Use math_force_eval instead of asm to ensure calculation scheduled
11334         before exception test.
11335         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11336         Ensure a1 + u.d computation is not scheduled after fetestexcept.
11338 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
11340         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11341         computation is not scheduled after fetestexcept.
11343 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11345         [BZ #14117]
11346         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11347         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11349 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11351         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11352         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11354 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11356         [BZ #14117]
11357         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11358         <bits/wordsize.h>.
11359         (__WCHAR_MIN): Support __WORDSIZE == 64.
11360         (__WCHAR_MAX): Likewise.
11362         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11363         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11365         [BZ #14183]
11366         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11367         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11369         [BZ #14117]
11370         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11371         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11373         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11374         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11376         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11377         Defined to 1 if __x86_64__ isn't defined.
11378         (_STAT_VER_LINUX_OLD): New.
11379         (st_atime): Remove duplicate.
11380         (st_mtime): Likewise.
11381         (st_ctime): Likewise.
11383 2012-05-31  David S. Miller  <davem@davemloft.net>
11385         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11386         entries.
11388 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
11390         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11391         gen-libm-test.pl.
11393         [BZ #14132]
11394         * elf/dl-reloc.c: Include <_itoa.h>.
11395         (_dl_reloc_bad_type): Remove use of INTUSE.
11396         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11397         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11398         * stdio-common/psiginfo.c (psiginfo): Likewise.
11399         * stdio-common/psignal.c (psignal): Likewise.
11400         * string/strsignal.c (strsignal): Likewise.
11401         * include/signal.h (_sys_siglist): Declare hidden proto.
11402         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
11403         INTVARDEF with libc_hidden_data_def.
11404         * stdio-common/itoa-udigits.c: Likewise.
11405         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11406         (_itoa_lower_digits_internal): Remove declaration.
11407         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11408         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11409         (_sys_sigabbrev_internal): Remove aliases.
11410         (_sys_siglist): Define hidden alias.
11412 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
11414         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11415         bits/sysctl.h.
11417 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11419         [BZ #14117]
11420         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11421         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11423         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11424         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11425         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11426         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11427         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11428         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11430         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11431         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11432         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11434         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11435         with __addr.
11436         (insw): Likewise.
11437         (insl): Likewise.
11438         (outsb): Likewise.
11439         (outsw): Likewise.
11440         (outsl): Likewise.
11442         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11443         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11444         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11446         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11447         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11448         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11449         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11450         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11451         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11453         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11454         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11456         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11457         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11459         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11460         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11461         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11463         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11464         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11465         to ...
11466         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11468         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11469         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11470         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11472         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11473         for x86-64.
11474         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11476 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
11478         * math/math.h (M_El): Use two more decimal places.
11479         (M_LOG2El): Likewise.
11480         (M_LOG10El): Likewise.
11481         (M_LN2l): Likewise.
11482         (M_LN10l): Likewise.
11483         (M_PIl): Likewise.
11484         (M_PI_2l): Likewise.
11485         (M_PI_4l): Likewise.
11486         (M_1_PIl): Likewise.
11487         (M_2_PIl): Likewise.
11488         (M_2_SQRTPIl): Likewise.
11489         (M_SQRT2l): Likewise.
11490         (M_SQRT1_2l): Likewise.
11492 2012-05-31  David S. Miller  <davem@davemloft.net>
11494         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11495         values between float registers.
11496         * sysdeps/sparc/sparc64/memset.S: Likewise.
11497         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11499 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
11501         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11502         -D_FORTIFY_SOURCE=1.
11503         (CPPFLAGS-tst-longjmp_chk.c): Define.
11504         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11505         (CPPFLAGS-tst-longjmp_chk2.c): Define.
11506         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11507         CFLAGS-tst-wchar-h.c.
11509 2012-05-31  Marek Polacek  <polacek@redhat.com>
11511         [BZ #14132]
11512         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11513         __endmntent_internal): Remove declaration.
11514         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11515         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11516         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11518 2012-05-30  David S. Miller  <davem@davemloft.net>
11520         * sysdeps/sparc/sparc32/soft-fp/q_util.c
11521         (___Q_simulate_exceptions): Use real FP ops rather than writing
11522         into the %fsr.
11523         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11524         Likewise.
11526 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11528         [BZ #14117]
11529         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11530         * sysdeps/x86/bits/xtitypes.h: This.
11532         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11533         * sysdeps/x86/bits/wordsize.h: This.
11535         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11536         * sysdeps/x86/bits/huge_vall.h: This.
11538         * sysdeps/i386/bits/select.h: Removed.
11539         * sysdeps/x86_64/bits/select.h: Renamed to ...
11540         * sysdeps/x86/bits/select.h: This.
11542         * sysdeps/i386/bits/setjmp.h: Removed.
11543         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11544         * sysdeps/x86/bits/setjmp.h: This.
11546         * sysdeps/i386/bits/mathdef.h: Removed.
11547         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11548         * sysdeps/x86/bits/mathdef.h: This.
11550 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
11552         [BZ #14132]
11553         * include/sys/socket.h (__connect_internal)
11554         (__libc_sa_len_internal): Remove declaration.
11555         (__connect, __libc_sa_len): Declare hidden_proto.
11556         (SA_LEN): Remove use of INTUSE.
11557         * socket/connect.c: Add libc_hidden_def.
11558         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11559         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11560         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11561         alias.
11562         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11563         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11564         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11565         of adding _internal alias.
11567 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11569         [BZ #14117]
11570         * sysdeps/i386/bits/link.h: Removed.
11571         * sysdeps/i386/bits/linkmap.h: Likewise.
11572         * sysdeps/x86_64/bits/link.h: Renamed to ...
11573         * sysdeps/x86/bits/link.h: This.
11574         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11575         * sysdeps/x86/bits/linkmap.h: This.
11577         * sysdeps/i386/bits/endian.h: Removed.
11578         * sysdeps/x86_64/bits/endian.h: Renamed to ...
11579         * sysdeps/x86/bits/endian.h: This.
11581         * sysdeps/i386/bits/byteswap.h: Removed.
11582         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11583         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11584         * sysdeps/x86/bits/byteswap.h: This.
11585         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11586         * sysdeps/x86/bits/byteswap-16.h: This.
11587         * sysdeps/i386/Implies: Add x86.
11588         * sysdeps/x86_64/Implies: Likewise.
11590 2012-05-30  David S. Miller  <davem@davemloft.net>
11592         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11593         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11594         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11595         (FP_TRAPPING_EXCEPTIONS): Define.
11596         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11597         (FP_TRAPPING_EXCEPTIONS): Define.
11598         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11599         subnormals only when inexact has been signalled or underflow
11600         exceptions are enabled.
11601         (_FP_PACK_CANONICAL): Likewise.
11603 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11605         [BZ #14183]
11606         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11607         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11609 2012-05-30  Richard Henderson  <rth@twiddle.net>
11611         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11612         with #ifndef NOT_IN_libc.
11614         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
11615         marked to avoid plt entry.
11617 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11619         [BZ #14112]
11620         * Makeconfig (default-abi): New macro.
11621         (abi-includes): Likewise.
11622         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
11623         $(abi-$(default-abi)-lib-soname) for soname if defined.
11624         ($(common-objpfx)gnu/lib-names.stmp): Generate from
11625         abi-variants.
11626         * Makefile (installed-stubs): Likewise.
11627         * include/stubs-biarch.h: Removed.
11628         * scripts/lib-names.awk: Only handle one library at a time.
11629         * scripts/soversions.awk: Remove WORDSIZE support.
11630         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11631         entries.
11632         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11633         Removed.
11634         (syscall-list-default-condition): Likewise.
11635         (syscall-list-default-condition): Likewise.
11636         (syscall-list-includes): Likewise.
11637         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11638         syscall-list-* with abi-*.  Handle undefined abi-variants.
11639         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11640         * sysdeps/unix/sysv/linux/i386/Implies: New file.
11641         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11642         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11643         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11644         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11645         Removed.
11646         (syscall-list-32-options): Likewise.
11647         (syscall-list-32-condition): Likewise.
11648         (syscall-list-64-options): Likewise.
11649         (syscall-list-64-condition): Likewise.
11650         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11651         macro.
11652         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11653         Renamed to ...
11654         (abi-*): This.
11655         (abi-64-ld-soname): New macro.
11656         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11657         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11658         Renamed to ...
11659         (abi-*): This.
11660         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11661         * sysdeps/x86_64/x32/shlib-versions: Likewise.
11663 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
11665         * sysdeps/unix/sysv/linux/kernel-features.h
11666         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11667         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11668         include <kernel-features.h>.
11669         [!__NR_ftruncate64]: Remove conditional code.
11670         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11671         [__NR_ftruncate64]: Make code unconditional.
11672         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11673         * sysdeps/unix/sysv/linux/truncate64.c: Do not
11674         include <kernel-features.h>.
11675         [!__NR_ftruncate64]: Remove conditional code.
11676         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11677         [__NR_ftruncate64]: Make code unconditional.
11678         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11680         include <kernel-features.h>.
11681         [!__NR_ftruncate64]: Remove conditional code.
11682         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11683         [__NR_ftruncate64]: Make code unconditional.
11684         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11686         include <kernel-features.h>.
11687         [!__NR_ftruncate64]: Remove conditional code.
11688         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11689         [__NR_ftruncate64]: Make code unconditional.
11690         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11692         * configure.in (libc_cv_fpie): Weaken to a compile test using
11693         LIBC_TRY_CC_OPTION.
11694         * configure: Regenerated.
11696 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11702         Refreshed.
11703         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11709         Refreshed.
11711 2012-05-27  David S. Miller  <davem@davemloft.net>
11713         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11714         (___Q_zero): New.
11715         (__Q_simulate_exceptions): Return void.  Change to simulate
11716         exceptions by writing into the %fsr.
11717         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11718         (__Qp_handle_exceptions): Likewise.
11719         (numbers): Delete.
11720         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11721         __Qp_handle_exceptions.
11722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11723         __Qp_handle_exceptions.
11724         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11725         as unused and give dummy FP_RND_NEAREST initializer.
11726         (FP_INHIBIT_RESULTS): Define.
11727         (___Q_simulate_exceptions): Update declaration.
11728         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11729         formatting.
11730         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11731         as unused and give dummy FP_RND_NEAREST initializer.
11732         (__Qp_handle_exceptions): Update declaration.
11733         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11734         formatting.
11736 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
11738         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11739         the temporary FPU control word.
11740         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11741         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11742         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11743         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11744         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11745         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11746         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11747         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11748         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11749         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11750         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11752 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11754         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11755         fields.
11757 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
11759         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11760         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11761         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11762         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11763         Likewise.
11764         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11765         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11766         Likewise.
11768 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
11770         * po/h.po: Update from translation team.
11772 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
11774         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11776         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11777         handling of denormals.
11778         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11779         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11780         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11781         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11782         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11783         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11784         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11785         Likewise.
11787 2012-05-26  Marek Polacek  <polacek@redhat.com>
11789         [BZ #14152]
11790         * math/libm-test.inc (fma_test): Don't always expect underflow
11791         exception.
11793 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11795         [BZ #12416]
11796         * elf/tst-execstack.c: Include stackinfo.h.
11797         (do_test): Adjust test case to ensure that pthread_getattr_np
11798         behaviour remains the same after marking stack executable.
11800 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11802         * sysdeps/unix/sysv/linux/kernel-features.h
11803         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11804         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11805         kernel-features.h.
11806         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11807         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11808         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11809         kernel-features.h.
11810         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11811         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11813 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
11815         * configure.in: Define the default includes to being none.
11816         * configure: Regenerated.
11818 2012-05-25  Roland McGrath  <roland@hack.frob.com>
11820         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11821         * sysdeps/x86_64/setjmp.S: Likewise.
11822         * sysdeps/i386/bsd-setjmp.S: Likewise.
11823         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11824         * sysdeps/i386/setjmp.S: Likewise.
11825         * sysdeps/i386/__longjmp.S: Likewise.
11826         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11827         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11829         * include/stap-probe.h: New file.
11830         * configure.in: Handle --enable-systemtap.
11831         * configure: Regenerated.
11832         * config.h.in (USE_STAP_PROBE): New #undef.
11833         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11834         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11835         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11837 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11839         [BZ #13717]
11840         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11841         to 2.4.0 where earlier.
11842         * sysdeps/unix/sysv/linux/configure: Regenerated.
11843         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11844         <kernel-features.h>.
11845         [__ASSUME_32BITUIDS]: Make code unconditional.
11846         [!__ASSUME_32BITUIDS]: Remove conditional code.
11847         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11848         <kernel-features.h>.
11849         [__ASSUME_32BITUIDS]: Make code unconditional.
11850         [!__ASSUME_32BITUIDS]: Remove conditional code.
11851         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11852         [__ASSUME_32BITUIDS]: Make code unconditional.
11853         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11854         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11855         <kernel-features.h>.
11856         [__ASSUME_32BITUIDS]: Make code unconditional.
11857         [!__ASSUME_32BITUIDS]: Remove conditional code.
11858         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11859         <kernel-features.h>.
11860         [__ASSUME_32BITUIDS]: Make code unconditional.
11861         [!__ASSUME_32BITUIDS]: Remove conditional code.
11862         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11863         <kernel-features.h>.
11864         [__ASSUME_32BITUIDS]: Make code unconditional.
11865         [!__ASSUME_32BITUIDS]: Remove conditional code.
11866         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11867         <kernel-features.h>.
11868         [__ASSUME_32BITUIDS]: Make code unconditional.
11869         [!__ASSUME_32BITUIDS]: Remove conditional code.
11870         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11871         <kernel-features.h>.
11872         [__ASSUME_32BITUIDS]: Make code unconditional.
11873         [!__ASSUME_32BITUIDS]: Remove conditional code.
11874         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11875         <kernel-features.h>.
11876         [__ASSUME_32BITUIDS]: Make code unconditional.
11877         [!__ASSUME_32BITUIDS]: Remove conditional code.
11878         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11879         <kernel-features.h>.
11880         [__ASSUME_32BITUIDS]: Make code unconditional.
11881         [!__ASSUME_32BITUIDS]: Remove conditional code.
11882         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11883         <kernel-features.h>.
11884         [__ASSUME_32BITUIDS]: Make code unconditional.
11885         [!__ASSUME_32BITUIDS]: Remove conditional code.
11886         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11887         <kernel-features.h>.
11888         [__ASSUME_32BITUIDS]: Make code unconditional.
11889         [!__ASSUME_32BITUIDS]: Remove conditional code.
11890         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11891         <kernel-features.h>.
11892         [__ASSUME_32BITUIDS]: Make code unconditional.
11893         [!__ASSUME_32BITUIDS]: Remove conditional code.
11894         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11895         <kernel-features.h>.
11896         [__NR_setresgid] (__setresgid): Do not declare.
11897         [__ASSUME_32BITUIDS]: Make code unconditional.
11898         [!__ASSUME_32BITUIDS]: Remove conditional code.
11899         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11900         <kernel-features.h>.
11901         [__NR_setresuid] (__setresuid): Do not declare.
11902         [__ASSUME_32BITUIDS]: Make code unconditional.
11903         [!__ASSUME_32BITUIDS]: Remove conditional code.
11904         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11905         <kernel-features.h>.
11906         [__ASSUME_32BITUIDS]: Make code unconditional.
11907         [!__ASSUME_32BITUIDS]: Remove conditional code.
11908         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11909         <kernel-features.h>.
11910         [__ASSUME_32BITUIDS]: Make code unconditional.
11911         [!__ASSUME_32BITUIDS]: Remove conditional code.
11912         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11913         <kernel-features.h>.
11914         [__ASSUME_32BITUIDS]: Make code unconditional.
11915         [!__ASSUME_32BITUIDS]: Remove conditional code.
11916         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11917         <kernel-features.h>.
11918         [__ASSUME_32BITUIDS]: Make code unconditional.
11919         [!__ASSUME_32BITUIDS]: Remove conditional code.
11920         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11921         <kernel-features.h>.
11922         [__ASSUME_32BITUIDS]: Make code unconditional.
11923         [!__ASSUME_32BITUIDS]: Remove conditional code.
11924         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11925         <kernel-features.h>.
11926         [__ASSUME_32BITUIDS]: Make code unconditional.
11927         [!__ASSUME_32BITUIDS]: Remove conditional code.
11928         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11929         <kernel-features.h>.
11930         [__ASSUME_32BITUIDS]: Make code unconditional.
11931         [!__ASSUME_32BITUIDS]: Remove conditional code.
11932         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11933         <kernel-features.h>.
11934         [__ASSUME_32BITUIDS]: Make code unconditional.
11935         [!__ASSUME_32BITUIDS]: Remove conditional code.
11936         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11937         <kernel-features.h>.
11938         [__ASSUME_32BITUIDS]: Make code unconditional.
11939         [!__ASSUME_32BITUIDS]: Remove conditional code.
11940         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11941         <kernel-features.h>.
11942         [__ASSUME_32BITUIDS]: Make code unconditional.
11943         [!__ASSUME_32BITUIDS]: Remove conditional code.
11944         * sysdeps/unix/sysv/linux/kernel-features.h
11945         (__ASSUME_SETRESUID_SYSCALL): Remove.
11946         (__ASSUME_SETRESGID_SYSCALL): Likewise.
11947         (__ASSUME_32BITUIDS): Likewise.
11948         (__ASSUME_LDT_WORKS): Likewise.
11949         (__ASSUME_O_DIRECTORY): Likewise.
11950         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11951         architecture but not kernel version.
11952         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11953         (__ASSUME_MMAP2_SYSCALL): Likewise.
11954         (__ASSUME_STAT64_SYSCALL): Likewise.
11955         (__ASSUME_IPC64): Likewise.
11956         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11957         <kernel-features.h>.
11958         [__ASSUME_32BITUIDS]: Make code unconditional.
11959         [!__ASSUME_32BITUIDS]: Remove conditional code.
11960         * sysdeps/unix/sysv/linux/opendir.c: Do not include
11961         <kernel-features.h>.
11962         [__ASSUME_O_DIRECTORY]: Make code unconditional.
11963         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11964         132096]: Remove conditional code.
11965         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11966         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11967         <kernel-features.h>.
11968         [__ASSUME_32BITUIDS]: Make code unconditional.
11969         [!__ASSUME_32BITUIDS]: Remove conditional code.
11970         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11971         <kernel-features.h>.
11972         [__ASSUME_32BITUIDS]: Make code unconditional.
11973         [!__ASSUME_32BITUIDS]: Remove conditional code.
11974         * sysdeps/unix/sysv/linux/setegid.c: Do not include
11975         <kernel-features.h>.
11976         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11977         unconditional.
11978         (__setresgid): Do not declare.
11979         [__ASSUME_32BITUIDS]: Make code unconditional.
11980         [!__ASSUME_32BITUIDS]: Remove conditional code.
11981         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11982         <kernel-features.h>.
11983         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11984         unconditional.
11985         (__setresuid): Do not declare.
11986         [__ASSUME_32BITUIDS]: Make code unconditional.
11987         [!__ASSUME_32BITUIDS]: Remove conditional code.
11988         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11989         <kernel-features.h>.
11990         [__ASSUME_32BITUIDS]: Make code unconditional.
11991         [!__ASSUME_32BITUIDS]: Remove conditional code.
11992         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11993         <kernel-features.h>.
11994         [__ASSUME_32BITUIDS]: Make code unconditional.
11995         [!__ASSUME_32BITUIDS]: Remove conditional code.
11997 2012-05-25  Richard Henderson  <rth@twiddle.net>
11999         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12000         dl_hwcap to ifunc resolver.
12001         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12002         elf_ifunc_invoke.
12003         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12004         dl_hwcap to ifunc resolver.
12005         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12007 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12009         [BZ #14153]
12010         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12011         for |x| <= 2**-26, not 2**-57.
12012         * math/libm-test.inc (acos_test): Do not allow spurious underflow
12013         exception.
12015 2012-05-24  Jeff Law  <law@redhat.com>
12017         * stdio-common/Makefile (tests): Add bug25.
12018         * stdio-common/bug25.c: New test.
12020 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12022         [BZ #13576]
12023         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12024         multiple of MALLOC_ALIGNMENT in size.
12025         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12027 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12029         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12030         Require >= 256.
12031         (FILENAME_MAX): Use macro-int-constant.
12032         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
12033         (_IOFBF): Use macro-int-constant.
12034         (_IOLBF): Likewise.
12035         (_IONBF): Likewise.
12036         (SEEK_CUR): Likewise.
12037         (SEEK_END): Likewise.
12038         (SEEK_SET): Likewise.
12039         (TMP_MAX): Likewise.
12040         (EOF): Use macro-int-constant.  Require < 0.
12041         (NULL): Use macro-constant.  Require == 0.
12042         (stdin): Require type to be FILE *.
12043         (stdout): Likewise.
12044         (stderr): Likewise.
12045         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12046         macro-int-constant.
12047         (EXIT_SUCCESS): Likewise.
12048         (NULL): Use macro-constant.  Require == 0.
12049         (RAND_MAX): Use macro-int-constant.
12050         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12051         [C99-based standards] (strtof): Require function.
12052         [C99-based standards] (strtold): Likewise.
12053         [C99-based standards] (strtoll): Likewise.
12054         [C99-based standards] (strtoull): Likewise.
12055         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12056         [ISO || ISO99 || ISO11] (limits.h): Likewise.
12057         [ISO || ISO99 || ISO11] (math.h): Likewise.
12058         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12059         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12060         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12062 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
12064         [BZ #14132]
12065         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12066         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12067         * intl/dgettext.c (DCGETTEXT): Likewise.
12068         * intl/gettext.c (DCGETTEXT): Likewise.
12069         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12070         * posix/regex_internal.h (gettext): Likewise.
12071         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12072         Remove declaration.
12073         * include/argz.h (__argz_count_internal)
12074         (__argz_stringify_internal): Remove declaration.
12075         (__argz_count, __argz_stringify): Declare hidden proto.
12076         * intl/dcgettext.c: Remove use of INTDEF.
12077         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12078         * string/argz-stringify.c: Likewise.
12079         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12080         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12081         Declare hidden proto.
12082         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12083         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12084         Declare hidden proto.
12085         * include/stdio.h (__asprintf_internal): Don't declare.
12086         (__asprintf): Don't define as macro.  Declare hidden proto.
12087         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12088         (__fsetlocking): Declare hidden proto.
12089         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12090         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12091         hidden proto.
12092         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12093         (_IO_setlinebuf): Remove use of INTUSE.
12094         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12095         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12096         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12097         Remove declaration.
12098         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12099         (_IO_do_flush): Remove use of INTUSE.
12100         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12101         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12102         (_IO_adjust_column, _IO_least_wmarker)
12103         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12104         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12105         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12106         (_IO_default_doallocate, _IO_wdefault_doallocate)
12107         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12108         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12109         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12110         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12111         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12112         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12113         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12114         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12115         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12116         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12117         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12118         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12119         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12120         proto.
12121         (_IO_flush_all_internal, _IO_adjust_column_internal)
12122         (_IO_default_uflow_internal, _IO_default_finish_internal)
12123         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12124         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12125         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12126         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12127         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12128         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12129         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12130         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12131         (_IO_file_close_internal, _IO_file_close_it_internal)
12132         (_IO_file_underflow_internal, _IO_file_overflow_internal)
12133         (_IO_file_init_internal, _IO_file_attach_internal)
12134         (_IO_file_fopen_internal, _IO_file_read_internal)
12135         (_IO_file_sync_internal, _IO_file_seek_internal)
12136         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12137         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12138         (_IO_str_underflow_internal, _IO_str_overflow_internal)
12139         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12140         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12141         (_IO_list_all_internal, _IO_link_in_internal)
12142         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12143         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12144         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12145         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12146         (_IO_do_write_internal, _IO_padn_internal)
12147         (_IO_getline_info_internal, _IO_getline_internal)
12148         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12149         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12150         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12151         (_IO_vfscanf_internal, _IO_vfprintf_internal)
12152         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12153         (_IO_init_internal, _IO_un_link_internal): Don't declare.
12154         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12155         with libc_hidden_ver, remove use of INTUSE.
12156         * libio/genops.c: Likewise.
12157         * libio/freopen.c: Likewise.
12158         * libio/freopen64.c: Likewise.
12159         * libio/iofclose.c: Likewise.
12160         * libio/iofdopen.c: Likewise.
12161         * libio/iofflush.c: Likewise.
12162         * libio/iofflush_u.c: Likewise.
12163         * libio/iofgets.c: Likewise.
12164         * libio/iofgets_u.c: Likewise.
12165         * libio/iofopen.c: Likewise.
12166         * libio/iofopncook.c: Likewise.
12167         * libio/iofread.c: Likewise.
12168         * libio/iofread_u.c: Likewise.
12169         * libio/ioftell.c: Likewise.
12170         * libio/iofwrite.c: Likewise.
12171         * libio/iogetline.c: Likewise.
12172         * libio/iogets.c: Likewise.
12173         * libio/iogetwline.c: Likewise.
12174         * libio/iopadn.c: Likewise.
12175         * libio/iopopen.c: Likewise.
12176         * libio/ioseekoff.c: Likewise.
12177         * libio/ioseekpos.c: Likewise.
12178         * libio/iosetbuffer.c: Likewise.
12179         * libio/iosetvbuf.c: Likewise.
12180         * libio/ioungetc.c: Likewise.
12181         * libio/ioungetwc.c: Likewise.
12182         * libio/iovdprintf.c: Likewise.
12183         * libio/iovsprintf.c: Likewise.
12184         * libio/iovsscanf.c: Likewise.
12185         * libio/memstream.c: Likewise.
12186         * libio/obprintf.c: Likewise.
12187         * libio/oldfileops.c: Likewise.
12188         * libio/oldiofclose.c: Likewise.
12189         * libio/oldiofdopen.c: Likewise.
12190         * libio/oldiofopen.c: Likewise.
12191         * libio/oldiopopen.c: Likewise.
12192         * libio/oldstdfiles.c: Likewise.
12193         * libio/putc.c: Likewise.
12194         * libio/setbuf.c: Likewise.
12195         * libio/setlinebuf.c: Likewise.
12196         * libio/stdfiles.c: Likewise.
12197         * libio/strops.c: Likewise.
12198         * libio/vasprintf.c: Likewise.
12199         * libio/vscanf.c: Likewise.
12200         * libio/vsnprintf.c: Likewise.
12201         * libio/vswprintf.c: Likewise.
12202         * libio/wfiledoalloc.c: Likewise.
12203         * libio/wfileops.c: Likewise.
12204         * libio/wgenops.c: Likewise.
12205         * libio/wmemstream.c: Likewise.
12206         * libio/wstrops.c: Likewise.
12207         * libio/__fpurge.c: Likewise.
12208         * libio/__fsetlocking.c: Likewise.
12209         * assert/assert.c: Likewise.
12210         * debug/fgets_chk.c: Likewise.
12211         * debug/fgets_u_chk.c: Likewise.
12212         * debug/fread_chk.c: Likewise.
12213         * debug/fread_u_chk.c: Likewise.
12214         * debug/gets_chk.c: Likewise.
12215         * debug/obprintf_chk.c: Likewise.
12216         * debug/vasprintf_chk.c: Likewise.
12217         * debug/vdprintf_chk.c: Likewise.
12218         * debug/vsnprintf_chk.c: Likewise.
12219         * debug/vsprintf_chk.c: Likewise.
12220         * malloc/mtrace.c: Likewise.
12221         * misc/error.c: Likewise.
12222         * misc/syslog.c: Likewise.
12223         * stdio-common/asprintf.c: Likewise.
12224         * stdio-common/fxprintf.c: Likewise.
12225         * stdio-common/getw.c: Likewise.
12226         * stdio-common/isoc99_fscanf.c: Likewise.
12227         * stdio-common/isoc99_scanf.c: Likewise.
12228         * stdio-common/isoc99_vfscanf.c: Likewise.
12229         * stdio-common/isoc99_vscanf.c: Likewise.
12230         * stdio-common/isoc99_vsscanf.c: Likewise.
12231         * stdio-common/printf-prs.c: Likewise.
12232         * stdio-common/printf_fp.c: Likewise.
12233         * stdio-common/printf_fphex.c: Likewise.
12234         * stdio-common/printf_size.c: Likewise.
12235         * stdio-common/putw.c: Likewise.
12236         * stdio-common/scanf.c: Likewise.
12237         * stdio-common/sprintf.c: Likewise.
12238         * stdio-common/tmpfile.c: Likewise.
12239         * stdio-common/vfprintf.c: Likewise.
12240         * stdio-common/vfscanf.c: Likewise.
12241         * stdlib/strfmon_l.c: Likewise.
12242         * sunrpc/openchild.c: Likewise.
12243         * sunrpc/xdr_stdio.c: Likewise.
12244         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12245         * sysdeps/mach/hurd/tmpfile.c: Likewise.
12247 2012-05-24  Roland McGrath  <roland@hack.frob.com>
12249         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12251         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12252         in the third column, to generate for the shared library an IFUNC
12253         that uses _dl_vdso_vsym.
12254         * Makerules (COMPILE.c, compile-stdin.c): New variables.
12255         * Makeconfig (object-suffixes-noshared): New variable.
12257         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12258         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12259         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12260         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12262         [BZ #14132]
12263         * include/sys/time.h (__gettimeofday): Remove macro.
12264         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12265         * time/gettimeofday.c (__gettimeofday): Remove #undef.
12266         Remove INTDEF.
12267         (__gettimeofday): Add libc_hidden_def.
12268         (gettimeofday): Add libc_hidden_weak.
12269         * sysdeps/mach/gettimeofday.c: Likewise.
12270         * sysdeps/posix/gettimeofday.c: Likewise.
12271         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12272         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12273         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12274         (__gettimeofday_internal): Remove strong_alias.
12275         (__gettimeofday): Add libc_hidden_def.
12276         (gettimeofday): Add libc_hidden_weak.
12277         * sysdeps/unix/syscalls.list (gettimeofday):
12278         Remove __gettimeofday_internal alias.
12280 2012-05-24  Daniel Jacobowitz  <drow@false.org>
12281             H.J. Lu  <hongjiu.lu@intel.com>
12283         [BZ #12495]
12284         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12285         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12286         (largebin_index_32_big): New.
12287         (largebin_index): Use it for 16-byte alignment.
12288         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
12289         correction with front_misalign.
12291 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12295         Likewise.
12296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12297         Likewise.
12298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12299         Likewise.
12300         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12301         Likewise.
12302         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12303         Likewise.
12304         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12305         Likewise.
12306         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12307         Likewise.
12308         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12309         Likewise.
12310         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12311         Likewise.
12312         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12313         Likewise.
12314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12315         Likewise.
12316         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12317         Likewise.
12319         * scripts/data/c++-types-x32-linux-gnu.data: New file.
12320         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12322 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12324         [BZ #10846]
12325         [BZ #14036]
12326         * math/libm-test.inc (exp_test): Add test from bug 14036.
12327         (pow_test): Add test from bug 10846.
12329         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12330         and other flags.
12331         (special_function): Do not include flags in test name.
12332         (parse_args): Likewise.
12333         * sysdeps/i386/fpu/libm-test-ulps: Update.
12334         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12335         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12336         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12339         * math/gen-libm-test.pl (%beautify): Add entries for underflow
12340         exceptions.
12341         * math/libm-test.inc ("Philosophy"): Update comment about
12342         exception testing.
12343         (UNDERFLOW_EXCEPTION): New macro.
12344         (UNDERFLOW_EXCEPTION_OK): Likewise.
12345         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12346         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12347         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12348         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12349         (INVALID_EXCEPTION_OK): Update value.
12350         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12351         (OVERFLOW_EXCEPTION_OK): Likewise.
12352         (IGNORE_ZERO_INF_SIGN): Likewise.
12353         (test_exceptions): Handle underflow exceptions.
12354         (acos_test): Update for underflow exception expectations.
12355         (cexp_test): Likewise.
12356         (clog_test): Likewise.
12357         (clog10_test): Likewise.
12358         (csqrt_test): Likewise.
12359         (ctan_test): Likewise.
12360         (ctanh_test): Likewise.
12361         (exp_test): Likewise.
12362         (exp10_test): Likewise.
12363         (exp2_test): Likewise.
12364         (expm1_test): Likewise.
12365         (fma_test): Likewise.
12366         (j0_test): Likewise.
12367         (jn_test): Likewise.
12368         (nexttoward_test): Likewise.
12369         (pow_test): Likewise.
12370         (scalbn_test): Likewise.
12371         (scalbln_test): Likewise.
12372         (tan_test): Likewise.
12373         (y1_test): Likewise.
12374         * sysdeps/i386/fpu/libm-test-ulps: Update.
12375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12377 2012-05-23  David S. Miller  <davem@davemloft.net>
12379         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12380         (__libc_sigaction): Remove unused local variables.
12382 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12384         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12386 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
12388         mktime: avoid signed integer overflow
12389         * time/mktime.c (__mktime_internal): Do not mishandle the case
12390         where diff == INT_MIN.
12392         mktime: simplify computation of average
12393         * time/mktime.c (ranged_convert): Use new time_t_avg function
12394         instead of rolling our own (probably-slower) code.
12396         mktime: do not assume signed right shift propagates sign bit
12397         * time/mktime.c (isdst_differ): New static function.
12398         (__mktime_internal): No need to normalize tm_isdst now.
12399         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12400         tm_isdst values.
12402         mktime: merge another wrapv change from gnulib
12403         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12404         from some compilers.
12406         mktime: remove incorrect attempt at unusual arithmetics
12407         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12408         The code didn't really work on such machines anyway.
12409         (TYPE_MINIMUM): Assume two's complement.
12410         (twos_complement_arithmetic): Verify that long_int and time_t
12411         are two's complement (or unsigned, in the latter case).
12413         mktime: check signed shifts on long_int and time_t, too
12414         * time/mktime.c (SHR): Check that shifts work as desired
12415         on the types long_int and time_t too, as SHR is used on
12416         such types.
12418         mktime: do not assume 'long' is wide enough
12419         * time/mktime.c (verify): Move decl up.
12420         (long_int): New type.
12421         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12422         to remove assumption in the code that 'long' is wide enough to
12423         store year values.  This assumption is not true on x32 and on
12424         some non-glibc platforms.
12426         mktime: merge wrapv change from gnulib
12427         * time/mktime.c (WRAPV): New macro.
12428         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12429         (guess_time_tm, __mktime_internal): Do not assume that signed
12430         integer overflow wraps around; modern compilers generate code
12431         where this assumption is no longer valid.
12433 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12435         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12436         Replace "jmp L(pseudo_end)" with "ret".
12437         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12438         Likewise.
12440 2012-05-23  Andreas Jaeger  <aj@suse.de>
12442         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12443         * sysdeps/unix/sysv/linux/poll.c: Remove file.
12445 2012-05-23  Andreas Jaeger  <aj@suse.de>
12446             Maximilian Attems  <max@stro.at>
12448         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12449         New macros.
12451 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12453         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12454         code so that pseudo_end is just ret and the stack pointer is
12455         correct also for static library in error case.
12457 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
12459         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12460         move to syscalls.list.
12461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12466         * manual/install.texi (Running make install): Do not mention Linux
12467         kernel version for which pt_chown is not needed.
12468         (Linux): Do not mention problems with nscd with 2.0 kernels.
12469         * INSTALL: Regenerated.
12471 2012-05-23  Andreas Jaeger  <aj@suse.de>
12473         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12474         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12475         macro.
12476         * sysdeps/unix/sysv/linux/s390/bits/mman.h
12477         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12478         * sysdeps/unix/sysv/linux/sh/bits/mman.h
12479         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12480         * sysdeps/unix/sysv/linux/i386/bits/mman.h
12481         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12482         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12483         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12484         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12485         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12486         * sysdeps/unix/sysv/linux/bits/in.h
12487         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12489 2012-05-22  Roland McGrath  <roland@hack.frob.com>
12491         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12492         (PREPARE_VERSION): Just use assert instead, it will be elided
12493         under [NDEBUG] anyway.
12495 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12497         * sysdeps/unix/sysv/linux/Makefile: Include
12498         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12499         (sysdep_routines): Remove sysctl.
12500         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12501         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12502         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12503         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12504         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12506 2012-05-22  Andreas Jaeger  <aj@suse.de>
12508         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12509         that pseudo_end is just ret and the stack pointer is correct also
12510         for static library in error case.
12512 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12514         [BZ #14122]
12515         * nss/nsswitch.c (defconfig_entries): New variable.
12516         (__nss_database_lookup): Don't leak defconfig entries.
12517         (nss_parse_service_list): Don't leak on error paths.
12518         (free_database_entries): New function.
12519         (free_defconfig): New function.
12520         (free_mem): Move common code to free_database_entries.
12522 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12524         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12525         Add arch_prctl.
12526         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12528         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12529         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12530         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12531         New macro.
12532         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12533         (INTERNAL_SYSCALL_TYPES): Likewise.
12534         (LOAD_ARGS_TYPES_[1-6]): Likewise.
12535         (LOAD_REGS_TYPES_[1-6]): Likewise.
12536         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12537         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12539 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12541         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12542         copysignl for GLIBC_2_0.
12543         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12544         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12545         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12546         logbl for GLIBC_2_0.
12547         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12548         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12550 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12552         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12553         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12555         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12556         Use "neg %eax".
12558         * time/mktime.c: Update copyright years.
12560 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12562         mktime: merge comment-quoting-style change from gnulib
12563         * time/mktime.c: Quote 'like this' in comments.
12564         The GNU coding standards suggest that we no longer quote `like this',
12565         as "`" and "'" are typically rendered asymmetrically nowadays.
12566         The typical gnulib style is to quote 'like this' when quoting
12567         code, and "like this" when quoting English.
12569         * time/mktime.c (compile-command): Add "-I.".
12571         mktime: merge mktime-internal.h change from gnulib
12572         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12574         mktime: merge time_r change from gnulib
12575         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12577         mktime: merge DEBUG change from gnulib
12578         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12579         case system <time.h> has a #define.
12581         mktime: merge <sys/types.h> change from gnulib
12582         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12583         since <time.t> is now guaranteed to define time_t.
12585         mktime: merge HAVE_CONFIG_H change from gnulib
12586         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12588 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12590         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12591         Use "neg %eax".
12593         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12594         __rlim_t cast.
12595         (struct rusage): Use anonymous union to pad each field to
12596         __syscall_slong_t.
12598 2012-05-21  David S. Miller  <davem@davemloft.net>
12600         * Makefules (o-iterator): Remove .s cases.
12601         (compile-command.s): Delete.
12602         (COMPILE.s): Delete.
12603         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12605 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
12607         * configure.in (libc_cv_predef_stack_protector): Only consider
12608         "foobar" and "__stack_chk_fail" lines in libc_undefs.
12609         * configure: Regenerated.
12611 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12613         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12614         New macro.  Use R*LP on int and pointer.
12615         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12616         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12617         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12618         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12620         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12621         [__WORDSIZE_TIME64_COMPAT32] instead of
12622         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12623         (struct utmp): Likewise.
12624         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12625         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12626         Renamed to ...
12627         (__WORDSIZE_TIME64_COMPAT32): This.
12628         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12629         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12630         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12631         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12632         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12633         (__WORDSIZE_TIME64_COMPAT32): New macro.
12635 2012-05-21  Andreas Jaeger  <aj@suse.de>
12637         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12638         only if [SHARED]. Add prototype for __wcschr_ia32.
12640 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12642         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12643         of %rbp unmolested in the jmp_buf while mangling the low bits.
12644         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12645         unmolested high bits of %rbp while demangling the low bits.
12646         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12648 2012-05-21  Andreas Jaeger  <aj@suse.de>
12650         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12651         * sunrpc/svc_simple.c: Use it for registerrpc.
12652         * sunrpc/xcrypt.c: Use it for passwd2des.
12654         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12656 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12658         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12659         Don't define if [__SYSCALL_WORDSIZE != 32].
12660         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12661         New macro.
12663 2012-05-21  Bruno Haible  <bruno@clisp.org>
12664             Andreas Jaeger  <aj@suse.de>
12666         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12667         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12668         inptr and inend for must_buffer_ch.
12669         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12670         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12671         * stdio-common/Makefile (tests): Remove bug15.
12672         (bug15-ENV): Remove macro.
12673         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12674         anymore.
12676 2012-05-19  Andreas Jaeger  <aj@suse.de>
12677             Roland McGrath  <roland@hack.frob.com>
12679         * manual/contrib.texi: Completely rewritten. It contains now an
12680         alphabetical list of contributors and their contributions.
12682 2012-05-21  Richard Henderson  <rth@twiddle.net>
12684         * misc/getauxval.c (__getauxval): Use unsigned long int.
12685         * misc/sys/auxv.h: Include <sys/cdefs.h>.
12686         (getauxval): Use unsigned long int.
12688 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12690         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12692 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12694         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12695         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12696         __alignof__ (long double).
12698 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12702 2012-05-20  Richard Henderson  <rth@twiddle.net>
12704         * misc/getauxval.c: New file.
12705         * misc/sys/auxv.h: New file.
12706         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12707         (routines): Add getauxval.
12708         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12709         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12710         * elf/dl-sysdep.c (_dl_auxv): Remove.
12711         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12712         * elf/dl-support.c (_dl_auxv): New variable.
12713         (_dl_aux_init): Initialize it.
12714         * manual/startup.texi (Auxiliary Vector): New node.
12715         * sysdeps/generic/bits/hwcap.h: New file.
12716         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12717         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
12718         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12719         * sysdeps/sparc/sysdep.h: ... here.  Include it.
12720         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12721         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12723         Update.
12724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12727         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12733 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12737 2012-05-19  David S. Miller  <davem@davemloft.net>
12739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12741 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12743         [BZ #14123]
12744         * math/s_ccosh.c: Include <float.h>
12745         (__ccosh): Avoid internal overflow calculating sinh and cosh
12746         values before multiplying by sin and cos values.
12747         * math/s_ccoshf.c: Likewise.
12748         * math/s_ccoshl.c: Likewise.
12749         * math/s_csin.c: Likewise.
12750         * math/s_csinf.c: Likewise.
12751         * math/s_csinl.c: Likewise.
12752         * math/s_csinh.c: Likewise.
12753         * math/s_csinhf.c: Likewise.
12754         * math/s_csinhl.c: Likewise.
12755         * math/libm-test.inc (ccos_test): Add more tests.
12756         (ccosh_test): Likewise.
12757         (csin_test): Likewise.
12758         (csinh_test): Likewise.
12759         * sysdeps/i386/fpu/libm-test-ulps: Update.
12760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12762 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12764         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12765         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12767         * sysdeps/x86_64/x32/_itoa.h: Add comment.
12769 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12771         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12772         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12773         * sysdeps/powerpc/soft-fp/Versions: Likewise.
12774         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12775         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12776         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12777         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12778         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12779         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12780         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12781         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12782         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12783         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12784         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12785         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12786         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12787         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12788         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12789         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12790         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12791         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12792         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12793         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12794         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12795         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12796         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12797         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12798         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12799         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12800         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12801         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12803 2012-05-18  Andreas Jaeger  <aj@suse.de>
12805         * csu/.gitignore: Delete.
12807 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12809         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12810         (timex): Use __syscall_slong_t.
12812 2012-05-18  Andreas Jaeger  <aj@suse.de>
12813             Carlos O'Donell  <carlos_odonell@mentor.com>
12815         * manual/install.texi (Configuring and compiling): Update
12816         description about files modified in the source directory.
12817         * INSTALL: Regenerated.
12819 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12821         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12822         value.  Use "or" to set return value to -1.
12823         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12824         negate return value.
12826 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12828         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12829         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12830         failure if the compiler has Graphite support disabled.
12831         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12832         Likewise.
12833         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12834         CFLAGS-memmove.c): Likewise.
12835         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12836         Likewise.
12838 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12840         * sysdeps/x86_64/x32/_itoa.h: New file.
12842         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12843         getdents system call only if kernel and user dirents have the
12844         same d_ino and d_off.
12846         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12847         LLONG_MAX != LONG_MAX.
12848         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12849         (_fitoa_word): Likewise.
12851         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12852         years.
12853         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12854         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12855         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12857         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12858         include <bits/wordsize.h>.  Check __x86_64__ instead of
12859         __WORDSIZE.
12860         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12861         if __x86_64__ is defined.  Use anonymous union on fpstate.
12863         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12864         anonymous union.
12866 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
12868         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12869         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12870         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12871         Refer to _rtld_local_ro instead of _rtld_global_ro.
12872         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12873         Likewise.
12874         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12875         Likewise.
12876         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12877         Likewise.
12878         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12879         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12880         of _rtld_global, and rtld_progname instead of _dl_argv[0].
12882         * sysdeps/powerpc/powerpc32/dl-machine.c
12883         (__elf_machine_runtime_setup) [PROF]: Don't reference
12884         _dl_prof_resolve.
12886 2012-05-18  Andreas Jaeger  <aj@suse.de>
12888         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12889         function only available for GCCs before 3.4 since GCC 3.4
12890         introduced a builtin.
12891         (lrint): Likewise.
12892         (llrintf): Likewise.
12893         (llrint): Likewise.
12894         (fmaxf): Likewise.
12895         (fmax): Likewise.
12896         (fminf): Likewise.
12897         (fmin): Likewise.
12898         (rint): Likewise.
12899         (rintf): Likewise.
12900         (nearbyint): Likewise.
12901         (nearbyintf): Likewise.
12902         (ceil): Likewise.
12903         (ceilf): Likewise.
12904         (floor): Likewise.
12905         (floorf): Likewise.
12907 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12909         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12910         on both fields and cast pointer to __syscall_ulong_t.
12912         * bits/types.h (__fsword_t): New type.
12913         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12914         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12915         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12916         (__FSWORD_T_TYPE): Likewise.
12917         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12918         (__FSWORD_T_TYPE): Likewise.
12919         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12920         (__FSWORD_T_TYPE): Likewise.
12921         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12922         (__FSWORD_T_TYPE): Likewise.
12923         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12924         __SWORD_TYPE with __fsword_t.
12925         (statfs64): Likewise.
12927 2012-05-17  David S. Miller  <davem@davemloft.net>
12929         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12931 2012-05-17  Andreas Jaeger  <aj@suse.de>
12933         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12934         warning.
12936 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12938         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12940 2012-05-17  Andreas Jaeger  <aj@suse.de>
12942         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12943         when it is used.
12945 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12947         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12949 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12951         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12952         * sysdeps/x86_64/tst-mallocalign1.c: New file.
12954 2012-05-17  Andreas Jaeger  <aj@suse.de>
12955             Carlos O'Donell  <carlos_odonell@mentor.com>
12957         [BZ #14059]
12958         * sysdeps/x86_64/multiarch/init-arch.h
12959         (bit_YMM_Usable): Rename to...
12960         (bit_AVX_Usable): ... this.
12961         (bit_FMA4_Usable): New macro.
12962         (bit_XMM_state): New macro.
12963         (bit_YMM_state): New macro.
12964         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12965         [__ASSEMBLER__] (index_AVX_Usable): ... this.
12966         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12967         (CPUID_OSXSAVE): New macro.
12968         (CPUID_AVX): New macro.
12969         (CPUID_FMA4): New macro.
12970         (index_YMM_Usable): Rename to...
12971         (index_AVX_Usable): ... this.
12972         (HAS_AVX): Use HAS_ARCH_FEATURE.
12973         (HAS_FMA4): Likewise.
12974         (HAS_YMM_USABLE): Remove.
12975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12976         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12977         are present.
12978         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12979         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12980         * sysdeps/x86_64/multiarch/Makefile: Likewise.
12981         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12982         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12984 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12986         * math/libm-test.c: Support platforms without multiple rounding modes.
12987         * math/bug-nextafter.c: Support platforms without FP exceptions.
12988         * math/bug-nexttoward.c: Likewise.
12989         * math/test-fenv.c: Likewise.
12990         * math/test-misc.c: Likewise.
12991         * stdlib/bug-getcontext.c: Likewise.
12993 2012-05-17  Andreas Jaeger  <aj@suse.de>
12995         * manual/examples/search.c (critter_cmp): Change signature to
12996         avoid warnings.
12997         * manual/string.texi (Collation Functions): Likewise.
12999 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13001         * bits/types.h: Fold copyright years.
13002         * bits/typesizes.h: Likewise.
13003         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13004         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13005         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13006         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13007         * time/time.h: Likewise.
13009 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
13011         [BZ #208]
13012         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13013         in instead of returning them.  Return void.
13014         (__libc_mallinfo): Accumulate over all arenas.
13015         (__malloc_stats): Adjust for change in int_mallinfo interface.
13017 2012-05-16  Roland McGrath  <roland@hack.frob.com>
13019         [BZ #10375]
13020         * configure.in (NM): Add AC_CHECK_TOOL for it.
13021         (libc_extra_cflags): New substituted variable.
13022         Check for -fstack-protector being used implicitly.
13023         * configure: Regenerated.
13024         * config.make.in (config-extra-cflags): New variable,
13025         gets @libc_extra_cflags@.
13026         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13028         [BZ #10375]
13029         * configure.in: Check for _FORTIFY_SOURCE being predefined.
13030         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13031         * configure: Regenerated.
13032         * config.make.in (CPPUNDEFS): New substituted variable.
13033         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13034         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13035         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13037 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13039         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13040         (mq_attr): Use __syscall_slong_t.
13042 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13044         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13045         Check __x86_64__ instead of __WORDSIZE.
13046         (_STAT_VER_LINUX): Likewise.
13047         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
13048         __syscall_ulong_t and __syscall_slong_t.
13049         (stat64): Likewise.
13051 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13053         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13055 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13057         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13059 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13061         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13062         __syscall_ulong_t.
13064         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13065         include <bits/wordsize.h>.  Check __x86_64__ instead of
13066         __WORDSIZE.
13067         (greg_t): Use "__extension__ long long int" if __x86_64__ is
13068         defined.
13069         (mcontext_t): Replace "unsigned long" with "unsigned long long".
13071         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13072         include <bits/wordsize.h>.  Check __x86_64__ instead of
13073         __WORDSIZE.
13074         (user_regs_struct): Use "__extension__ unsigned long long"
13075         instead of "unsigned long" if __x86_64__ is defined.
13076         (user): Likewise.  Pad after pointer field if __ILP32__ is
13077         defined.
13079 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
13081         * configure.in (makeinfo): Require version 4.5 or later.  Allow
13082         versions 5 to 9.
13083         * configure: Regenerated.
13084         * manual/install.texi (texinfo): Increase version requirement to
13085         4.5 or later.
13086         * INSTALL: Regenerated.
13088         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13090 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13092         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13094         * sysdeps/x86_64/x32/ffs.c: New file.
13096         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13097         __syscall_ulong_t.
13098         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13099         defined.  Use __syscall_ulong_t.
13100         (shminfo): Use __syscall_ulong_t.
13101         (shm_info): Likewise.
13103         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13104         __syscall_ulong_t.
13106         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13107         <bits/wordsize.h>.
13108         (msgqnum_t): Use __syscall_ulong_t.
13109         (msglen_t): Likewise.
13110         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
13111         __syscall_ulong_t.
13113         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13114         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13116         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13118         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13119         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13121         * sysvipc/sys/msg.h (msgbuf): Replace long int with
13122         __syscall_slong_t.
13124         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13125         include <bits/wordsize.h>.  Check __x86_64__ instead of
13126         __WORDSIZE.
13128         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13129         "unsigned long long int" if __x86_64__ is defined.
13130         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13132         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13133         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13134         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13136         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13137         <stdint.h>.
13138         (GET_PC): Cast to uintptr_t first.
13139         (GET_FRAME): Likewise.
13140         (GET_STACK): Likewise.
13142         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13143         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13144         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13145         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13146         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13147         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13148         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13149         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13150         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13151         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13152         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13153         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13154         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13155         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13156         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13157         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13158         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13159         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13160         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13161         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13162         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13163         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13164         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13165         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13166         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13167         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13168         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13169         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13170         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13172 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
13174         * Makerules (+depfiles): Also collect depfiles from .oS in
13175         $(extra-objs).
13176         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13177         .oS, $(libnldbl-routines)).
13179         * Makerules (native-compile-mkdep-flags): Define.
13180         * sunrpc/Makefile (extra-objs): Add $(addprefix
13181         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13182         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13183         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
13184         calling $(make-target-directory).
13186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13188         * bits/types.h (__snseconds_t): Removed.
13189         * time/time.h (struct timespec): Replace __snseconds_t with
13190         __syscall_slong_t.
13191         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13192         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13193         Likewise.
13194         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13195         (__SNSECONDS_T_TYPE): Likewise.
13196         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13197         (__SNSECONDS_T_TYPE): Likewise.
13198         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13199         (__SNSECONDS_T_TYPE): Likewise.
13201 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13203         * sysdeps/mach/hurd/bits/typesizes.h
13204         (__SYSCALL_SLONG_TYPE): New macro.
13205         (__SYSCALL_ULONG_TYPE): Likewise.
13207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13209         * bits/types.h (__syscall_slong_t): New type.
13210         (__syscall_ulong_t): Likewise.
13212         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13213         (__SYSCALL_ULONG_TYPE): Likewise.
13214         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13215         (__SYSCALL_SLONG_TYPE): Likewise.
13216         (__SYSCALL_ULONG_TYPE): Likewise.
13217         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13218         (__SYSCALL_SLONG_TYPE): Likewise.
13219         (__SYSCALL_ULONG_TYPE): Likewise.
13220         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13221         (__SYSCALL_SLONG_TYPE): Likewise.
13222         (__SYSCALL_ULONG_TYPE): Likewise.
13224 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13226         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13227         Add sigaltstack-offsets.sym.
13228         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13229         <sigaltstack-offsets.h>.
13230         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
13231         longjmp_msg pointer.
13232         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
13233         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13234         signal stack.
13235         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13237 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13239         * elf/stackguard-macros.h: Remove file.
13240         * sysdeps/generic/stackguard-macros.h: New file.
13241         * sysdeps/i386/stackguard-macros.h: Likewise.
13242         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13243         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13244         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13245         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13246         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13247         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13248         * sysdeps/x86_64/stackguard-macros.h: Likewise.
13249         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13250         <elf/stackguard-macros.h>.
13252         [BZ #14109]
13253         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13254         __aligned__ in attribute.
13255         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13256         (gregset_t): Likewise.
13258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13260         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13261         * sysdeps/x86_64/64/Implies-after: Here.  New file.
13262         * sysdeps/x86_64/x32/Implies-after: New file.
13264 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13266         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13267         and access return value for _dl_profile_fixup.  Use R10_LP to
13268         load frame size.
13270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13272         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13274 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13276         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13277         * sysdeps/x86_64/x32/sysdep.h: New file.
13279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13281         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13282         * sysdeps/x86_64/setjmp.S: Likewise.
13284 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13286         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13287         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13288         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13289         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13290         remove unused global constant.
13292 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
13294         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13295         include of <not-cancel.h>.
13297 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13299         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13301 2012-05-15  Jeff Law  <law@redhat.com>
13302             Andreas Jaeger  <aj@suse.de>
13304         [BZ #13594]
13305         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13306         out from...
13307         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13308         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13309         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13310         code changing __hst_map_handle.map.
13312 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13314         * configure.in (sysnames): Look for Implies-before and Implies-after
13315         files.
13316         * configure: Regenerated.
13318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13320         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13321         8-byte data alignment with LP_SIZE alignment.
13323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13325         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13326         into R10_LP.
13328 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13330         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13332 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13334         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13335         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13336         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13337         Likewise.
13338         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13340 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13342         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13343         (stackinfo_sub_sp): Likewise.
13345 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13347         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13348         RAX_LP.
13350 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13352         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13353         into R*_LP.
13355 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13357         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13358         sizes into R*_LP.
13360 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13362         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13364 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13366         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13367         into R11_LP and load __x86_64_shared_cache_size_half into
13368         R8_LP.
13370 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13372         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13373         R8_LP.
13375 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13377         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13378         logb for POWER7.
13379         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13380         logbf for POWER7.
13381         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13382         logbl for POWER7.
13383         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13384         powerpc32/power7/fpu/s_logb.c via #include.
13385         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13386         powerpc32/power7/fpu/s_logbf.c via #include.
13387         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13388         powerpc32/power7/fpu/s_logbl.c via #include.
13390 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13392         * README.libm: Remove file.
13394 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13396         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13397         count for x32.  Use R*_LP and omit operand-size suffix.
13399 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13401         * shlib-versions: Move x86_64-.*-linux.* entries to ...
13402         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
13403         * sysdeps/x86_64/x32/shlib-versions: New file.
13405 2012-05-14  Roland McGrath  <roland@hack.frob.com>
13407         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13408         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13409         Use _dl_fatal_printf instead.
13411 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13413         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13414         set if not set by the user.  Do not allow for being unset.
13415         * sysdeps/unix/sysv/linux/configure: Regenerated.
13417 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13419         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13420         the `q' suffix from lea and replace .quad with ASM_ADDR.
13422 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13424         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13425         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
13426         instead of $17.
13427         (PTR_DEMANGLE): Likewise.
13429 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13431         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13432         (LP_OP): Likewise.
13433         (ASM_ADDR): Likewise.
13434         (RAX_LP): Likewise.
13435         (RBP_LP): Likewise.
13436         (RBX_LP): Likewise.
13437         (RCX_LP): Likewise.
13438         (RDI_LP): Likewise.
13439         (RSI_LP): Likewise.
13440         (RSP_LP): Likewise.
13441         (R8_LP): Likewise.
13442         (R9_LP): Likewise.
13443         (R10_LP): Likewise.
13444         (R10_LP): Likewise.
13445         (R11_LP): Likewise.
13446         (R12_LP): Likewise.
13447         (R13_LP): Likewise.
13448         (R14_LP): Likewise.
13449         (R15_LP): Likewise.
13451 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13453         * sysdeps/x86_64/x32/dl-machine.h: New file.
13455 2012-05-14  Andreas Jaeger  <aj@suse.de>
13457         * manual/Makefile (subdir): Remove export of subdir.
13458         (all): Remove target.
13459         (.PHONY): Remove all from list.
13460         (mkinstalldirs): Remove.
13461         (.PHONY): Remove installdirs from list.
13462         ($(inst_infodir)/libc.info): Use make-target-directory.
13463         (installdirs): Remove.
13464         (subdir_%): Remove.
13465         (glibc-targets): Remove.
13466         (lib): Remove.
13467         (stubs): Remove.
13468         ($(objpfx)stubs ../po/manual.pot): Remove.
13469         ($(objpfx)stamp%): Remove.
13470         (make-target-directory): Remove.
13471         (subdir_install): Remove.
13472         (routines): Remove.
13473         (aux): Remove.
13474         (sources): Remove.
13475         (objects): Remove.
13476         (headers): Remove.
13478         [BZ #13750]
13479         * manual/.gitignore: Remove, it's not needed anymore.
13480         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13481         all files in it.
13482         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13483         directory.
13484         (texis): Renamed to $(objpfx)texis.
13485         (texis-path): New, contains path to generated files.
13486         (chapters.%): Use texis-path for complete path, add extra argument
13487         libc-texinfo.sh.
13488         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13489         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13490         (summary,texi, stamp-summary): Use complete path of
13491         files. Generate files in build dir.
13492         (dir-add.texi): Build in build dir.
13493         (libm-err.texi,stamp-libm-err): Likewise.
13494         (version.texi, stamp-version): Likewise.
13495         (.%c.texi): Likewise.
13496         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13497         (mostlyclean): Remove target.
13498         (realclean): Remove target.
13499         (generated): Add new variable with contents from mostlyclean and
13500         realclean, remove entries duplicated in common-mostlyclean, add
13501         stamp-libm-err and stamp-version.
13502         (generated-dirs): Add libc directory.
13503         ($(inst_infodir)/libc.info): Install files from build dir.
13505         * manual/install.texi (Configuring and compiling): Adjust since
13506         the info files are not part of the tar ball anymore.
13508 2012-05-14  Andreas Jaeger  <aj@suse.de>
13510         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13511         variable.
13513 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13515         [BZ #13717]
13516         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13517         to 2.2.0 where earlier.
13518         * sysdeps/unix/sysv/linux/configure: Regenerated.
13519         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13520         Remove conditional code.
13521         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13522         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13523         Remove conditional code.
13524         [!__NR_lchown]: Likewise.
13525         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13526         [__NR_lchown]: Likewise.
13527         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13528         comment referencing __ASSUME_LCHOWN_SYSCALL.
13529         * sysdeps/unix/sysv/linux/i386/sigaction.c
13530         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13531         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13532         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13533         Remove conditional code.
13534         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13535         (__protocol_available): Remove #if 0 code.
13536         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13537         conditional code.
13538         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13539         * sysdeps/unix/sysv/linux/kernel-features.h
13540         (__ASSUME_GETCWD_SYSCALL): Don't define.
13541         (__ASSUME_REALTIME_SIGNALS): Likewise.
13542         (__ASSUME_PREAD_SYSCALL): Likewise.
13543         (__ASSUME_PWRITE_SYSCALL): Likewise.
13544         (__ASSUME_POLL_SYSCALL): Likewise.
13545         (__ASSUME_LCHOWN_SYSCALL): Likewise.
13546         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13547         non-SPARC.
13548         (__ASSUME_SIOCGIFNAME): Don't define.
13549         (__ASSUME_MSG_NOSIGNAL): Likewise.
13550         (__ASSUME_SENDFILE): Define unconditionally.
13551         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13552         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13553         conditional code.
13554         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13555         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13556         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13557         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13558         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13559         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13560         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13562         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13563         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13565         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13566         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13568         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13569         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13571         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13572         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13574         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13575         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13577         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13578         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13580         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13581         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13583         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13584         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13585         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13586         Remove conditional code.
13587         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13588         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13589         Remove conditional code.
13590         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13591         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13592         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13593         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13594         Remove conditional code.
13595         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13596         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13597         Remove conditional code.
13598         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13599         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13600         Remove conditional code.
13601         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13602         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13603         Remove conditional code.
13604         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13605         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13606         Remove conditional code.
13607         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13608         * sysdeps/unix/sysv/linux/sh/pwrite64.c
13609         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13610         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13611         * sysdeps/unix/sysv/linux/sigaction.c
13612         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13613         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13614         * sysdeps/unix/sysv/linux/sigpending.c
13615         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13616         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13617         * sysdeps/unix/sysv/linux/sigprocmask.c
13618         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13619         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13620         * sysdeps/unix/sysv/linux/sigsuspend.c
13621         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13622         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13623         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13624         (__libc_missing_rt_sigs): Remove.
13625         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13626         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13627         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13628         Remove conditional code.
13629         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13630         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13631         return 1.
13632         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13633         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13634         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13635         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13637 2012-05-14  Andreas Jaeger  <aj@suse.de>
13639         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13640         it's not used in glibc.
13641         (__coshm1): Likewise.
13642         (__acosh1p): Likewise.
13643         (__sgn): Likewise.
13645         * manual/string.texi (Copying and Concatenation): Add missing
13646         variable in concat example.
13647         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13649 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13651         [BZ #14103]
13652         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13653         __builtin_clzl with __builtin_clzll.
13655 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13657         [BZ #14104]
13658         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13659         libc_freeres_ptr.
13661 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13663         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13664         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13665         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13666         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13668 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
13670         * NEWS: Update ia64 info.
13672 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13674         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13675         used as bcopy.
13677 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
13679         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13680         * sysdeps/unix/syscalls.list (dup3): Likewise.
13681         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13682         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13684 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13686         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13687         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13689 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13691         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13692         thread pointer.
13693         (TLS_IE): Use mov/add instead of movq/addq to load thread
13694         pointer.
13695         (TLS_GD_PREFIX): New.
13696         (TLS_GD): Use it.
13698 2012-05-11  David S. Miller  <davem@davemloft.net>
13700         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13701         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13702         (_FPU_SETCW): Likewise.
13704 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13706         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13707         is 32-byte aligned.
13709 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
13711         [BZ #11837]
13712         * iconvdata/gb18030.c: Update tables.
13713         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
13714         characters specially.
13715         (BODY for TO_LOOP): Add encoding of missing ranges.
13717 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
13719         [BZ #13673]
13720         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13721         * sysdeps/mach/hurd/dup3.c: Likewise.
13722         * sysdeps/mach/hurd/readlinkat.c: Likewise.
13723         * sysdeps/powerpc/memmove.c:: Likewise.
13725 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13727         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13728         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13730 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13732         * elf/elf.h (R_X86_64_RELATIVE64): New.
13733         (R_X86_64_NUM): Updated.
13734         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13735         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
13736         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13737         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13738         tst-quad1pie tst-quad2pie
13739         (modules-names): Add tst-quadmod1 tst-quadmod2.
13740         ($(objpfx)tst-quad1): New dependency.
13741         ($(objpfx)tst-quad2): Likewise.
13742         ($(objpfx)tst-quad1pie): Likewise.
13743         ($(objpfx)tst-quad2pie): Likewise.
13744         * sysdeps/x86_64/tst-quad1.c: New file.
13745         * sysdeps/x86_64/tst-quad1pie.c: New file.
13746         * sysdeps/x86_64/tst-quad2.c: Likewise.
13747         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13748         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13749         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13750         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13751         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13753 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13755         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13756         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13757         * streams/stropts.h (t_scalar_t): Define type.
13759         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13760         (_PATH_PRESERVE): Set to "/var/lib".
13761         (_PATH_RWHODIR): Set to "/var/spool/rwho".
13763         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13764         instead of int.
13766         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13767         if __dir_mkfile succeeded.
13769         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13770         checking for _hurd_dtablesize.  Unlock it right after having
13771         finished _hurd_dtable allocation.
13773 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13775         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13776         * sysdeps/mach/hurd/configure: Regenerated.
13777         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13778         special-casing to...
13779         * sysdeps/gnu/configure.in: ... this new file.
13780         * sysdeps/unix/sysv/linux/configure: Regenerated.
13781         * sysdeps/gnu/configure: New generated file.
13783         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13784         for Linux: use nsec instead of usec, as well as:
13785         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13786         members of type struct timespec.
13787         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13788         New macros.
13789         (struct stat64): Likewise.
13790         (_STATBUF_ST_NSEC): New macro.
13791         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13793         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13794         __strtoul_internal rather than strtoul.
13796 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13798         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13799         and reject them.
13801 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13803         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13804         which preserves existing values.
13805         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13807 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13809         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13810         TIMEOUT values.  Return EINVAL for NFDS values either negative or
13811         greater than FD_SETSIZE.
13813 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13815         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13816         allocated, call __vm_protect to finish enabling the existing space, and
13817         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13818         allocate the remainder.
13820 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13822         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13823         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
13825 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13827         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13828         sysdeps/mach/hurd/readlink.c.
13830         * posix/tst-sysconf.c (posix_options): Only use
13831         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13832         _POSIX_SYNCHRONIZED_IO when they are defined
13833         * sysdeps/mach/hurd/bits/posix_opt.h:
13834         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13835         (_XOPEN_REALTIME): Undefine macro.
13836         (_XOPEN_REALTIME_THREADS): Undefine macro.
13837         (_XOPEN_SHM): Undefine macro.
13838         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13839         macro to -1.
13840         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13841         macro to -1.
13842         (_POSIX_ASYNC_IO): Undefine macro.
13843         (_POSIX_PRIORITIZED_IO): Undefine macro.
13844         (_POSIX_SPIN_LOCKS): Define macro to -1.
13846         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13847         SA_NODEFER, SA_RESETHAND.
13848         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13849         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13850         F_DUPFD_CLOEXEC.
13852 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13854         * elf/Makefile (pldd-modules): Define unconditionally.
13856 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13858         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13860 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13862         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13863         Return ENOENT when name is empty.
13864         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13866 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13868         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13870         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13872 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13874         Fix mlock in all cases except non-readable pages.
13875         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13876         instead of VM_PROT_ALL as parameter to __vm_wire function.
13878         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13879         (__mkdir): When path is `/', just fail with EEXIST.
13880         * sysdeps/mach/hurd/mkdirat.c: Likewise.
13882 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13884         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13885         <sys/uio.h> (for writev).
13886         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13887         and <sys/param.h> (for MIN).
13889 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13891         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13892         REQUESTED_TIME.  Properly set the remaining time and return EINTR
13893         if interrupted.
13895 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13897         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13898         Depend on against $(link-rpcuserlibs).
13900 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13902         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13903         (__libc_stack_end): Do not use attribute_relro.
13904         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13905         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13906         to libthread-provided value.
13907         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13908         attribute_relro.
13910 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13912         [BZ #3748]
13913         * bits/libc-lock.h (__libc_once_get): New macro.
13914         * sysdeps/mach/bits/libc-lock.h: Likewise.
13915         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13916         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13917         instead of using implementation details.
13919         * libio/fileops.c: Unconditionally include <kernel-features.h>.
13920         * libio/freopen.c: Likewise.
13921         * libio/freopen64.c: Likewise.
13922         * misc/syslog.c: Likewise.
13923         * nscd/connections.c: Likewise.
13924         * nscd/netgroupcache.c: Likewise.
13925         * sysdeps/posix/getcwd.c: Likewise.
13927 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13929         * math/w_ilogbf.c: Add #include <limits.h>.
13931 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13933         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13934         path instead of returning without unlocking.
13936         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13937         immediate-write ioctls.
13938         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13940 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13942         * sysdeps/mach/hurd/i386/init-first.c (init): Use
13943         __builtin_frame_address instead of making assumptions about the
13944         location of the return address relative to DATA.  Force early load of
13945         the return address.
13946         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13947         __builtin_frame_address.
13949         dup3 for GNU Hurd.
13950         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13951         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
13952         implement dup3 and do some further code clean-ups.
13953         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13954         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13956 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13958         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13960         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13961         HURD_CRITICAL_END around holding _hurd_dtable_lock.
13962         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13963         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13964         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13965         d->port.lock.
13967         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13968         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
13969         when handler == SIG_ERR, not when handler != SIG_ERR.
13971 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13973         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13974         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13975         definitions.
13977         accept4 for GNU Hurd.
13978         * include/sys/socket.h (__libc_accept4): New prototype.
13979         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
13980         to implement __libc_accept4.
13981         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13982         __libc_accept4.
13983         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13985         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13986         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13987         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13988         signal-defines.sym.
13990 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13992         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13994 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13996         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13997         assertion on O_CLOEXEC flag.
13998         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13999         * hurd/intern-fd.c: Likewise.
14000         * hurd/port2fd.c: Likewise.
14002 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14004         [BZ #3906]
14005         * bits/in.h (IPV6_PKTINFO): Define new macro.
14006         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14008 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14010         [BZ #13954]
14011         [BZ #13955]
14012         [BZ #13956]
14013         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14014         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14015         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14016         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14017         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14018         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14019         * math/libm-test.inc (logb_test) : Additional logb tests.
14021 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
14022             Andreas Jaeger  <aj@suse.de>
14024         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14025         * configure: Regenerated.
14026         * config.h.in (LINK_OBSOLETE_RPC): New macro.
14027         * config.make.in (link-obsolete-rpc): New substituted variable.
14028         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14029         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14030         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14031         (shared-only-routines): Don't set it under [link-obsolete-rpc],
14032         so that libc.a contains the symbols.
14033         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14034         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14035         * sunrpc/auth_none.c: Likewise.
14036         * sunrpc/auth_unix.c: Likewise.
14037         * sunrpc/authdes_prot.c: Likewise.
14038         * sunrpc/authuxprot.c: Likewise.
14039         * sunrpc/clnt_gen.c: Likewise.
14040         * sunrpc/clnt_perr.c: Likewise.
14041         * sunrpc/clnt_raw.c: Likewise.
14042         * sunrpc/clnt_simp.c: Likewise.
14043         * sunrpc/clnt_tcp.c: Likewise.
14044         * sunrpc/clnt_udp.c: Likewise.
14045         * sunrpc/clnt_unix.c: Likewise.
14046         * sunrpc/des_crypt.c: Likewise.
14047         * sunrpc/des_soft.c: Likewise.
14048         * sunrpc/get_myaddr.c: Likewise.
14049         * sunrpc/key_call.c: Likewise.
14050         * sunrpc/key_prot.c: Likewise.
14051         * sunrpc/netname.c: Likewise.
14052         * sunrpc/pm_getmaps.c: Likewise.
14053         * sunrpc/pm_getport.c: Likewise.
14054         * sunrpc/pmap_clnt.c: Likewise.
14055         * sunrpc/pmap_prot.c: Likewise.
14056         * sunrpc/pmap_prot2.c: Likewise.
14057         * sunrpc/pmap_rmt.c: Likewise.
14058         * sunrpc/publickey.c: Likewise.
14059         * sunrpc/rpc_cmsg.c: Likewise.
14060         * sunrpc/rpc_common.c: Likewise.
14061         * sunrpc/rpc_dtable.c: Likewise.
14062         * sunrpc/rpc_prot.c: Likewise.
14063         * sunrpc/rpc_thread.c: Likewise.
14064         * sunrpc/rtime.c: Likewise.
14065         * sunrpc/svc.c: Likewise.
14066         * sunrpc/svc_auth.c: Likewise.
14067         * sunrpc/svc_raw.c: Likewise.
14068         * sunrpc/svc_run.c: Likewise.
14069         * sunrpc/svc_tcp.c: Likewise.
14070         * sunrpc/svc_udp.c: Likewise.
14071         * sunrpc/svc_unix.c: Likewise.
14072         * sunrpc/svcauth_des.c: Likewise.
14073         * sunrpc/xcrypt.c: Likewise.
14074         * sunrpc/xdr.c: Likewise.
14075         * sunrpc/xdr_array.c: Likewise.
14076         * sunrpc/xdr_float.c: Likewise.
14077         * sunrpc/xdr_intXX_t.c: Likewise.
14078         * sunrpc/xdr_mem.c: Likewise.
14079         * sunrpc/xdr_rec.c: Likewise.
14080         * sunrpc/xdr_ref.c: Likewise.
14081         * sunrpc/xdr_sizeof.c: Likewise.
14082         * sunrpc/xdr_stdio.c: Likewise.
14084 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14086         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14087         change.  Update copyright years.
14089 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14091         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14093 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
14094             Joseph Myers  <joseph@codesourcery.com>
14095             Paul Pluzhnikov  <ppluzhnikov@google.com>
14097         [BZ #14012]
14098         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14099         requiring rpcgen.
14100         [cross-compiling] (extra-libs): Likewise.
14101         [cross-compiling] (extra-libs-others): Likewise.
14102         [cross-compiling] (librpcsvc-routines): Likewise.
14103         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14104         [cross-compiling] (omit-deps): Likewise.
14105         (sunrpc-CPPFLAGS): New variable.
14106         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14107         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14108         (cross-rpcgen-objs): New variable.
14109         (extra-objs): Append $(cross-rpcgen-objs).
14110         ($(cross-rpcgen-objs)): New rule.
14111         ($(objpfx)cross-rpcgen): Likewise.
14112         (rpcgen-cmd): Define to use $(built-program-file).  Expand
14113         comment.
14114         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14115         ($(objpfx)x%.stmp): Likewise.
14116         * sunrpc/proto.h [IS_IN_build] (_): Define.
14117         [IS_IN_build] (_libc_intl_domainname): Likewise.
14119 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14121         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14122         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14123         and R_X86_64_TPOFF64.
14125 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14127         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14128         sysdeps/unix/sysv/syscalls.list.
14129         (stime): Likewise.
14130         (utime): Likewise.
14131         * sysdeps/unix/sysv/syscalls.list: Remove file.
14133 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
14135         [BZ #3440]
14136         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14137         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14138         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14139         (__LC_IDENTIFICATION): Make these macros useful in #if
14140         expressions, as required by C99.
14142 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
14144         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14145         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
14146         after this.
14148 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
14150         * stdlib/longlong.h: Updated from GCC.
14152 2012-05-09  Andreas Jaeger  <aj@suse.de>
14154         * nscd/nscd.c (run_modes): Make named enum, reorder so that
14155         default is first entry.
14156         (run_mode): Set type.
14157         (main): Remove informal message about syslog.
14158         (options): Fix typo.
14160         [BZ #14053]
14161         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14162         to asm.
14163         (lrint): Likewise.
14164         (llrintf): Likewise.
14165         (llrint): Likewise.
14166         (rint): Likewise.
14167         (rintf): Likewise.
14168         (nearbyint): Likewise.
14169         (nearbyintf): Likewise.
14171 2012-05-09  Andreas Jaeger  <aj@suse.de>
14172             Pedro Alves  <palves@redhat.com>
14174         * nscd/nscd.c (run_mode): Use enum.
14175         (main): Cleanup coding style issue.
14177 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
14178             Andreas Jaeger  <aj@suse.de>
14180         * nscd/nscd.c (go_background): Replaced with...
14181         (run_mode): ... this.
14182         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14183         (options): Add -F --foreground.
14184         (main): Implement it.
14185         (parse_opt): Parse it.
14187 2012-05-09  Andreas Jaeger  <aj@suse.de>
14189         [BZ #14083]
14190         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14191         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14192         -Wconversion warning.
14193         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14194         Likewise.
14196 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
14198         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
14199         == 0.
14200         (LC_ALL): Use macro-int-constant.
14201         (LC_COLLATE): Likewise.
14202         (LC_CTYPE): Likewise.
14203         (LC_MESSAGES): Likewise.
14204         (LC_MONETARY): Likewise.
14205         (LC_NUMERIC): Likewise.
14206         (LC_TIME): Likewise.
14207         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14208         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14209         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14210         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14211         Specify type.
14212         [C99-based standards] (float_t): Expect type.
14213         [C99-based standards] (double_t): Expect type.
14214         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
14215         type.
14216         [C99-based standards] (HUGE_VALL): Likewise.
14217         [C99-based standards] (INFINITY): Likewise.
14218         [C99-based standards] (NAN): Likewise.
14219         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14220         [C99-based standards] (FP_NAN): Likewise.
14221         [C99-based standards] (FP_NORMAL): Likewise.
14222         [C99-based standards] (FP_SUBNORMAL): Likewise.
14223         [C99-based standards] (FP_ZERO): Likewise.
14224         [C99-based standards] (FP_FAST_FMA): Use
14225         optional-macro-int-constant.  Specify type.  Require == 1.
14226         [C99-based standards] (FP_FAST_FMAF): Likewise.
14227         [C99-based standards] (FP_FAST_FMAL): Likewise.
14228         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14229         [C99-based standards] (FP_ILOGBNAN): Likewise.
14230         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14231         Specify type.
14232         [C99-based standards] (MATH_ERREXCEPT): Likewise.
14233         [C99-based standards] (math_errhandling): Specify type.
14234         [ISO99 || ISO11] (signgam): Do not allow.
14235         [non-C99-based standards] (copysignf): Do not allow.
14236         [non-C99-based standards] (exp2f): Likewise.
14237         [non-C99-based standards] (log2f): Likewise.
14238         [non-C99-based standards] (modff): Allow.
14239         [non-C99-based standards] (erff): Do not allow.
14240         [non-C99-based standards] (erfcf): Likewise.
14241         [non-C99-based standards] (gammaf): Likewise.
14242         [non-C99-based standards] (hypotf): Likewise.
14243         [non-C99-based standards] (j0f): Likewise.
14244         [non-C99-based standards] (j1f): Likewise.
14245         [non-C99-based standards] (jnf): Likewise.
14246         [non-C99-based standards] (lgammaf): Likewise.
14247         [non-C99-based standards] (tgammaf): Likewise.
14248         [non-C99-based standards] (y0f): Likewise.
14249         [non-C99-based standards] (y1f): Likewise.
14250         [non-C99-based standards] (ynf): Likewise.
14251         [non-C99-based standards] (isnanf): Likewise.
14252         [non-C99-based standards] (acoshf): Likewise.
14253         [non-C99-based standards] (asinhf): Likewise.
14254         [non-C99-based standards] (atanhf): Likewise.
14255         [non-C99-based standards] (cbrtf): Likewise.
14256         [non-C99-based standards] (expm1f): Likewise.
14257         [non-C99-based standards] (ilogbf): Likewise.
14258         [non-C99-based standards] (log1pf): Likewise.
14259         [non-C99-based standards] (logbf): Likewise.
14260         [non-C99-based standards] (nextafterf): Likewise.
14261         [non-C99-based standards] (remainderf): Likewise.
14262         [non-C99-based standards] (rintf): Likewise.
14263         [non-C99-based standards] (scalbf): Likewise.
14264         [non-C99-based standards] (copysignl): Likewise.
14265         [non-C99-based standards] (exp2l): Likewise.
14266         [non-C99-based standards] (log2l): Likewise.
14267         [non-C99-based standards] (modfl): Allow.
14268         [non-C99-based standards] (erfl): Do not allow.
14269         [non-C99-based standards] (erfcl): Likewise.
14270         [non-C99-based standards] (gammal): Likewise.
14271         [non-C99-based standards] (hypotl): Likewise.
14272         [non-C99-based standards] (j0l): Likewise.
14273         [non-C99-based standards] (j1l): Likewise.
14274         [non-C99-based standards] (jnl): Likewise.
14275         [non-C99-based standards] (lgammal): Likewise.
14276         [non-C99-based standards] (tgammal): Likewise.
14277         [non-C99-based standards] (y0l): Likewise.
14278         [non-C99-based standards] (y1l): Likewise.
14279         [non-C99-based standards] (ynl): Likewise.
14280         [non-C99-based standards] (isnanl): Likewise.
14281         [non-C99-based standards] (acoshl): Likewise.
14282         [non-C99-based standards] (asinhl): Likewise.
14283         [non-C99-based standards] (atanhl): Likewise.
14284         [non-C99-based standards] (cbrtl): Likewise.
14285         [non-C99-based standards] (expm1l): Likewise.
14286         [non-C99-based standards] (ilogbl): Likewise.
14287         [non-C99-based standards] (log1pl): Likewise.
14288         [non-C99-based standards] (logbl): Likewise.
14289         [non-C99-based standards] (nextafterl): Likewise.
14290         [non-C99-based standards] (remainderl): Likewise.
14291         [non-C99-based standards] (rintl): Likewise.
14292         [non-C99-based standards] (scalbl): Likewise.
14293         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14294         [non-C99-based standards] (FP_*): Do not allow.
14295         [C99-based standards] (FP_*): Change to
14296         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14297         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14298         allow.
14299         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14300         (SIG_ERR): Likewise.
14301         [X/Open-based standards] (SIG_HOLD): Likewise.
14302         (SIG_IGN): Likewise.
14303         (SIGABRT): Use macro-int-constant.  Specify type.  Require
14304         positive value.
14305         (SIGFPE): Likewise.
14306         (SIGILL): Likewise.
14307         (SIGINT): Likewise.
14308         (SIGSEGV): Likewise.
14309         (SIGTER): Likewise.
14310         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14311         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14312         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14313         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14314         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14315         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14316         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14317         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14318         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14319         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14320         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14321         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14322         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14323         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14324         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14325         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14326         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14327         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14328         [X/Open-based standards] (SIGTRAP): Likewise.
14329         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14330         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14331         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14332         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14333         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14334         allow.
14336 2012-05-08  Ian Wienand  <ianw@vmware.com>
14338         [BZ #14080]
14339         * time/tzset.c (__tzset_parse_tz): Update default rules for
14340         daylight time changes in the Energy Policy Act of 2005.
14342 2012-05-09  Andreas Jaeger  <aj@suse.de>
14344         [BZ #13983]
14345         * elf/ldconfig.c (parse_conf): Change string to make clear that
14346         ldconfig only issued a warning if ld.so.conf does not exist.
14348 2012-05-08  David S. Miller  <davem@davemloft.net>
14350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14351         movxtod instead of popping the value on the stack.
14353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14355 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
14357         * config.h.in: Add HAVE_ARM_PCS_VFP.
14359 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
14361         [BZ #13979]
14362         * include/features.h: Warn if user requests __FORTIFY_SOURCE
14363         checking but the checks are disabled for any reason.
14365 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14367         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14368         and ELF64_R_TYPE with ELFW(R_TYPE).
14370 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
14372         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14373         (ulimit): Likewise.
14375         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14376         (settimeofday): Likewise.
14378 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
14380         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
14381         a struct th_u2 inside the union, and move tu_block/tu_code into
14382         a new th_u3 union of tu_block/tu_code inside of that.  Move
14383         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
14384         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
14385         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14386         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14387         (th_stuff): Change to th_u1.tu_stuff.
14388         (th_data): Define.
14389         (th_msg): Change to th_u1.th_u2.tu_data.
14391 2012-05-07  David S. Miller  <davem@davemloft.net>
14393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14395         [BZ #14074]
14396         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14397         (SETUP_PIC_REG): Use it.
14398         (SETUP_PIC_REG_LEAF): Use it.
14400 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
14402         [BZ #13885]
14403         [BZ #13923]
14404         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14405         USE_AS_EXPM1L.
14406         (EXPL_FINITE): Likewise.
14407         (FLDLOG): Likewise.
14408         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14409         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14410         e_expl.S.
14411         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14412         USE_AS_EXPM1L.
14413         (EXPL_FINITE): Likewise.
14414         (FLDLOG): Likewise.
14415         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14416         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14417         e_expl.S.
14418         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
14419         test of -max_value argument for long double.
14420         * sysdeps/i386/fpu/libm-test-ulps: Update.
14421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14423 2012-05-06  David S. Miller  <davem@davemloft.net>
14425         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14426         quad soft-float symbols whose references which are compiler
14427         generated.
14428         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14430 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
14432         [BZ #13884]
14433         [BZ #13914]
14434         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14435         USE_AS_EXP10L.
14436         (EXPL_FINITE): Likewise.
14437         (FLDLOG): Likewise.
14438         (c0): Likewise.
14439         (c1): Likewise.
14440         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14441         Adjust comments for base varying.
14442         (__expl_finite): Change alias to EXPL_FINITE.
14443         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14444         e_expl.S.
14445         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14446         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14447         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14448         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14449         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14450         USE_AS_EXP10L.
14451         (EXPL_FINITE): Likewise.
14452         (FLDLOG): Likewise.
14453         (c0): Likewise.
14454         (c1): Likewise.
14455         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14456         Adjust comments for base varying.
14457         (__expl_finite): Change alias to EXPL_FINITE.
14458         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
14459         tests for bugs.
14460         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14462         [BZ #14064]
14463         * math/libm-test.inc (check_float_internal): Correct ulp
14464         calculation for subnormal expected results.
14466 2012-05-06  Andreas Jaeger  <aj@suse.de>
14468         * Makeconfig (+math-flags): New, set to -frounding-math.
14469         (+cflags): Add +math-flags so that all of glibc gets compiled with
14470         it.
14472         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14474 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
14476         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14477         Disable one test.
14479         [BZ #13787]
14480         [BZ #13922]
14481         [BZ #14036]
14482         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14483         (__ieee754_expl): Allow for and saturate large arguments.
14484         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14485         (u_threshold): Likewise.
14486         (__exp): Call __ieee754_exp before checking for overflow and
14487         underflow.
14488         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14489         (u_threshold): Likewise.
14490         (__expf): Call __ieee754_expf before checking for overflow and
14491         underflow.
14492         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14493         (u_threshold): Likewise.
14494         (__expl): Call __ieee754_expl before checking for overflow and
14495         underflow.
14496         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14497         (__ieee754_expl): Allow for and saturate large arguments.
14498         * math/libm-test.inc (exp_test): Add another test.  Do not allow
14499         missing overflow exception on overflow.
14500         (expm1_test): Do not allow missing overflow exception on overflow.
14502         * sysdeps/i386/fpu/e_expl.c: Move to ...
14503         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
14504         rather than using inline asm.
14505         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14506         * sysdeps/x86_64/fpu/e_expl.S: Copy from
14507         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14509         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14510         (nice): Likewise.
14511         (poll): Likewise.
14512         (signal): Likewise.
14513         (time): Likewise.
14514         (times): Likewise.
14516 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14518         * sysdeps/unix/syscalls.list (adjtime): Add entry from
14519         sysdeps/unix/common/syscalls.list.
14520         (fchmod): Likewise.
14521         (fchown): Likewise.
14522         (ftruncate): Likewise.
14523         (getrusage): Likewise.
14524         (gettimeofday): Likewise.
14525         (setpgid): Likewise.
14526         (setregid): Likewise.
14527         (setreuid): Likewise.
14528         (sigaction): Likewise.
14529         (truncate): Likewise.
14530         (vhangup): Likewise.
14531         * sysdeps/unix/common/syscalls.list: Remove file.
14532         * sysdeps/unix/bsd/Implies: Don't include unix/common.
14533         * sysdeps/unix/sysv/linux/Implies: Likewise.
14535 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
14537         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14539         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14540         Moved to ...
14541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14542         Here.
14543         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14544         to ...
14545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14546         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14547         to ...
14548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14549         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14550         to ...
14551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14552         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14553         to ...
14554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14555         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14556         to ...
14557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14558         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14559         to ...
14560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14561         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14562         to ...
14563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14564         Here.
14565         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14566         to ...
14567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14568         Here.
14569         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14570         to ...
14571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14572         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14573         Moved to ...
14574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14575         Here.
14576         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14577         to ...
14578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14580 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14582         * sysdeps/unix/common/bits/dirent.h: Remove file.
14583         * sysdeps/unix/common/bits/fcntl.h: Likewise.
14585         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14586         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14587         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14588         * sysdeps/unix/bsd/isatty.c: Likewise.
14589         * sysdeps/unix/bsd/tcdrain.c: Likewise.
14590         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14591         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14593 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14595         [BZ #13563]
14596         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14597         long double comparison inaccuracies.
14598         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14601 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
14603         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14604         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14606 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14608         [BZ #14049]
14609         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14610         nonzero digits before rounding a hex value.
14611         * stdlib/tst-strtod.c (tests): Add another test.
14613 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14615         * sysdeps/s390/fpu/libm-test-ulps: Update.
14617 2012-05-03  Andreas Jaeger  <aj@suse.de>
14619         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14620         does not get optimized out.
14621         (malloc_opt_barrier): New.
14623 2012-05-03  Andreas Jaeger  <aj@suse.de>
14624             Roland McGrath  <roland@hack.frob.com>
14626         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14627         intermediate file deletion.
14628         (generated): Add .symlist files.
14630 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
14632         [BZ #13775]
14633         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14634         Redirect under this condition.
14635         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14636         [__USE_GNU] (__dprintf_chk): Not under this condition.
14637         [__USE_GNU] (__vdprintf_chk): Likewise.
14638         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14639         under this condition.
14640         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14641         [__USE_XOPEN2K8] (dprintf): Define under this condition.
14642         [__USE_XOPEN2K8] (vdprintf): Likewise.
14643         [__USE_GNU] (__dprintf_chk): Not under this condition.
14644         [__USE_GNU] (__vdprintf_chk): Likewise.
14645         [__USE_GNU] (dprintf): Likewise.
14646         [__USE_GNU] (vdprintf): Likewise.
14648 2012-05-03  Roland McGrath  <roland@hack.frob.com>
14650         * elf/Makefile (common-generated): Set this instead of generated for
14651         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
14652         $(all-built-dso)-derived lists.
14654 2012-05-03  Andreas Jaeger  <aj@suse.de>
14656         * sysdeps/i386/fpu/libm-test-ulps: Update.
14658         * FAQ: Removed.
14659         * FAQ.in: Likewise.
14660         * scripts/gen-FAQ.pl: Likewise.
14661         * manual/install.texi (Installation): Point to online location of
14662         FAQ.
14663         * Makefile (files-for-dist): Remove FAQ.
14664         (FAQ): Remove.
14666 2012-05-02  Allan McRae  <allan@archlinux.org>
14668         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14669         (LDFLAGS-reldepmod5.so): Likewise.
14670         (LDFLAGS-reldep6mod1.so): Likewise.
14671         (LDFLAGS-reldep6mod4.so): Likewise.
14672         (LDFLAGS-reldep8mod3.so): Likewise.
14673         (LDFLAGS-unload4mod1.so): Likewise.
14674         (LDFLAGS-unload4mod2.so): Likewise.
14675         (LDFLAGS-tst-initorder): Likewise.
14676         (LDFLAGS-tst-initordera2.so): Likewise.
14677         (LDFLAGS-tst-initordera3.so): Likewise.
14678         (LDFLAGS-tst-initordera4.so): Likewise.
14679         (LDFLAGS-tst-initorderb2.so): Likewise.
14680         (LDFLAGS-noload): Likewise.
14681         (LDFLAGS-next): Likewise.
14682         (LDFLAGS-order2mod1.so): Likewise.
14683         (LDFLAGS-order2mod2.so): Likewise.
14684         (LDFLAGS-tst-initorder2): Likewise.
14685         (LDFLAGS-tst-initorder2a.so): Likewise.
14686         (LDFLAGS-tst-initorder2b.so): Likewise.
14687         (LDFLAGS-tst-initorder2c.so): Likewise.
14688         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14690 2012-05-02  David S. Miller  <davem@davemloft.net>
14692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14694 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14696         [BZ #14055]
14697         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14699 2012-05-02  Andreas Jaeger  <aj@suse.de>
14701         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14702         since we manipulate rounding mode.
14703         (CPPFLAGS-test-idouble.c): Likewise.
14704         (CPPFLAGS-test-ifloat.c): Likewise.
14705         (CFLAGS-test-ldouble.c): Likewise.
14706         (CFLAGS-test-double.c): Likewise.
14707         (CFLAGS-test-float.c): Likewise.
14708         (CFLAGS-test-misc.c): Likewise.
14709         (CFLAGS-test-test-fenv.c): Likewise.
14711 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14713         [BZ #2550]
14714         [BZ #2570]
14715         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14716         comparisons to determine direction to adjust input.
14718 2012-05-01  Roland McGrath  <roland@hack.frob.com>
14720         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14721         output to the target.
14723         * scripts/localplt.awk: New file.
14724         * elf/Makefile ($(objpfx)check-localplt): Target removed.
14725         (check-localplt-CFLAGS): Variable removed.
14726         ($(all-built-dso:=.jmprel)): New static pattern rule.
14727         (generated): Add those targets.
14728         (localplt-built-dso): New variable.
14729         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14731         * elf/check-localplt.c: File removed.
14733         * scripts/check-execstack.awk: New file.
14734         * elf/Makefile ($(objpfx)check-execstack): Target removed.
14735         (check-execstack-CFLAGS): Variable removed.
14736         ($(objpfx)check-execstack.h): Target removed.
14737         ($(objpfx)execstack-default): New target.
14738         (generated): Add that instead of check-execstack.h.
14739         ($(all-built-dso:=.phdr)): New static pattern rule.
14740         (generated): Add those targets.
14741         * elf/check-execstack.c: File removed.
14743         * scripts/check-textrel.awk: New file.
14744         * elf/Makefile ($(objpfx)check-textrel): Target removed.
14745         (check-textrel-CFLAGS): Variable removed.
14746         (all-built-dso): Use := to define.o
14747         ($(all-built-dso:=.dyn)): New static pattern rule.
14748         (generated): Add those targets.
14749         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14750         * config.make.in (READELF): New substituted variable.
14751         * elf/check-textrel.c: File removed.
14753 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14755         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14756         allow.
14757         * conform/data/ctype.h-data [C99-based standards] (isblank):
14758         Expect function.
14759         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14760         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14761         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14762         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14763         Specify type.  Require positive value.
14764         (EILSEQ): Likewise.
14765         (ERANGE): Likewise.
14766         [ISO || POSIX] (EILSEQ): Do not expect.
14767         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14768         Specify type.  Require positive value.
14769         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14770         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14771         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14772         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14773         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14774         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14775         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14776         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14777         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14778         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14779         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14780         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14781         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14782         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14783         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14784         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14785         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14786         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14787         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14788         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14789         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14790         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14791         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14792         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14793         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14794         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14795         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14796         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14797         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14798         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14799         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14800         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14801         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14802         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14803         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14804         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14805         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14806         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14807         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14808         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14809         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14810         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14811         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14812         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14813         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14814         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14815         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14816         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14817         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14818         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14819         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14820         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14821         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14822         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14823         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14824         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14825         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14826         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14827         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14828         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14829         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14830         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14831         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14832         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14833         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14834         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14835         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14836         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14837         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14838         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14839         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14840         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14841         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14842         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14843         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14844         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14845         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14846         Require >= 2.
14847         (FLT_ROUNDS): Expect as macro, not constant.
14848         (FLT_MANT_DIG): Use macro-int-constant.
14849         (DBL_MANT_DIG): Likewise.
14850         (LDBL_MANT_DIG): Likewise.
14851         (FLT_DIG): Likewise.
14852         (DBL_DIG): Likewise.
14853         (LDBL_DIG): Likewise.
14854         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
14855         (DBL_MIN_EXP): Likewise.
14856         (LDBL_MIN_EXP): Likewise.
14857         (FLT_MAX_EXP): Use macro-int-constant.
14858         (DBL_MAX_EXP): Likewise.
14859         (LDBL_MAX_EXP): Likewise.
14860         (FLT_MAX_10_EXP): Likewise.
14861         (DBL_MAX_10_EXP): Likewise.
14862         (LDBL_MAX_10_EXP): Likewise.
14863         (FLT_MAX): Use macro-constant.
14864         (DBL_MAX): Likewise.
14865         (LDBL_MAX): Likewise.
14866         (FLT_EPSILON): Use macro-constant.  Give upper bound.
14867         (DBL_EPSILON): Likewise.
14868         (LDBL_EPSILON): Likewise.
14869         (FLT_MIN): Likewise.
14870         (DBL_MIN): Likewise.
14871         (LDBL_MIN): Likewise.
14872         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14873         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14874         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14875         [ISO11] (FLT_HAS_SUBNORM): Likewise.
14876         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14877         [ISO11] (DBL_DECIMAL_DIG): Likewise.
14878         [ISO11] (FLT_DECIMAL_DIG): Likewise.
14879         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14880         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14881         [ISO11] (FLT_TRUE_MIN): Likewise.
14882         [ISO11] (LDBL_TRUE_MIN): Likewise.
14883         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14884         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14885         (SCHAR_MIN): Use macro-int-constant.  Specify type.
14886         (SCHAR_MAX): Likewise.
14887         (UCHAR_MAX): Likewise.
14888         (CHAR_MIN): Likewise.
14889         (CHAR_MAX): Likewise.
14890         (MB_LEN_MAX): Use macro-int-constant.
14891         (SHRT_MIN): Use macro-int-constant.  Specify type.
14892         (SHRT_MAX): Likewise.
14893         (USHRT_MAX): Likewise.
14894         (INT_MAX): Likewise.
14895         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
14896         bound negative.
14897         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14898         bound with "U".
14899         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14900         bound with "L".
14901         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
14902         bound negative.  Suffix upper bound with "L".
14903         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14904         bound with "UL".
14905         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14906         Specify type.
14907         [C99-based standards] (LLONG_MAX): Likewise.
14908         [C99-based standards] (ULLONG_MAX): Likewise.
14909         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
14910         == 0.
14911         [ISO11] (max_align_t): Require type.
14912         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14914         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14915         from $CFLAGS, without defining away __attribute__ calls.
14916         (checknamespace): Use $CFLAGS_namespace.
14918         * conform/conformtest.pl (@keywords): Only include C99 keywords
14919         for standards based on C99 or C11.
14921         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14922         Disable tests.
14923         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14924         UNIX98]: Likewise.
14926         * conform/conformtest.pl: Handle "macro-int-constant" and test for
14927         usability of symbols in #if.
14929         * conform/conformtest.pl: If macro or constant types start
14930         "promoted:", expect the symbol to be of the following type
14931         promoted by the integer promotions.
14933         * conform/conformtest.pl: Parse all "constant" and "macro" lines
14934         in one place.  Also handle "macro-constant".
14936         * conform/conformtest.pl: Only accept expected macro values with
14937         "==".  Parse all "macro" lines in one place.
14938         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14940         * conform/conformtest.pl: Handle braced types on "constant" lines
14941         instead of handling "typed-constant".
14942         * conform/data/signal.h-data: Use "constant" instead of
14943         "typed-constant".
14945         * conform/conformtest.pl: Handle "optional-" at start of lines in
14946         one place rather than duplicating several cases.  Handle each
14947         format of "macro" line with initial "optional-".
14949         * conform/conformtest.pl: Only accept expected constant or
14950         optional-constant values with "==".  Parse all "constant" lines in
14951         one place.  Parse all "optional-constant" lines in one place.
14952         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14953         * conform/data/fmtmsg.h-data: Likewise.
14954         * conform/data/netinet/in.h-data: Likewise.
14955         * conform/data/tar.h-data: Likewise.
14956         * conform/data/limits.h-data: Use "==" form on "constant" and
14957         "optional-constant" lines.
14959         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14960         Use -std=c99 for XOPEN2K.
14961         (@knownproblems): Remove.
14962         (newtoken): Don't check %isknown.
14964         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14965         Do not expect macro.
14966         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14967         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14968         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14969         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14970         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14971         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14972         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14973         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14974         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14975         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14976         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14977         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14978         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14979         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14980         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14981         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14982         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14983         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14984         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14985         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14986         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14987         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14988         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14989         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14990         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14991         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14992         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14993         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14994         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14995         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14996         [XPG3] (acosh): Likewise.
14997         [XPG3] (asinh): Likewise.
14998         [XPG3] (atanh): Likewise.
14999         [XPG3] (cbrt): Likewise.
15000         [XPG3] (expm1): Likewise.
15001         [XPG3] (ilogb): Likewise.
15002         [XPG3] (log1p): Likewise.
15003         [XPG3] (logb): Likewise.
15004         [XPG3] (nextafter): Likewise.
15005         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15006         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15007         [XPG3] (remainder): Likewise.
15008         [XPG3] (rint): Likewise.
15009         [XPG3 || XPG4 || UNIX98] (round): Likewise.
15010         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15011         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15012         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15013         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15014         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15015         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15016         [UNIX98 || XOPEN2K] (scalb): Expect.
15017         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15018         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15019         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15020         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15021         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15022         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15023         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15024         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15025         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15026         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15027         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15028         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15029         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15030         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15031         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15032         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15033         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15034         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15035         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15036         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15037         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15038         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15039         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15040         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15041         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15042         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15043         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15044         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15045         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15046         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15047         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15048         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15049         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15050         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15051         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15052         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15053         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15054         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15055         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15056         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15057         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15058         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15059         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15060         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15061         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15062         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15063         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15064         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15065         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15066         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15067         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15068         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15069         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15070         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15071         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15072         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15073         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15074         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15075         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15076         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15077         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15078         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15079         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15080         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15081         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15082         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15083         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15084         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15085         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15086         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15087         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15088         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15089         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15090         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15091         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15092         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15093         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15094         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15095         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15096         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15097         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15098         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15099         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15100         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15101         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15102         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15103         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15104         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15105         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15106         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15107         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15108         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15109         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15110         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15111         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15112         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15113         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15114         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15115         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15116         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15117         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15118         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15119         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15120         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15121         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15122         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15123         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15124         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15125         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15126         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15127         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15128         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15129         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15130         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15131         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15132         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15133         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15134         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15135         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15136         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15137         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15138         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15139         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15140         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15141         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15142         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15143         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15144         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15145         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15146         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15147         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15148         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15149         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15150         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15151         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15152         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15153         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15155         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15156         _XOPEN_SOURCE_EXTENDED for XPG4.
15158         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15160         * Makeconfig (localtime): Remove variable.
15161         (inst_localtime-file): Likewise.
15163 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15166         Update.
15167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15168         Update.
15169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15170         Update.
15171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15172         Update.
15173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15174         Update.
15175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15176         Update.
15177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15178         Update.
15179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15180         Update.
15181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15182         Update.
15184 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15186         [BZ #2550]
15187         [BZ #2570]
15188         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15189         comparisons to determine direction to adjust input.
15190         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15191         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15192         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15193         Likewise.
15194         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15195         Likewise.
15196         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15197         Likewise.
15198         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15199         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15200         Likewise.
15201         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15202         Likewise.
15203         * math/libm-test.inc (nexttoward_test): Add more tests.
15205 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15207         [BZ #14040]
15208         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15209         in version GLIBC_2.1, not GLIBC_2.0.
15210         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15211         Likewise.
15213 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
15215         [BZ #13942]
15216         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15217         (1 - x) * (1 + x).
15218         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15219         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15220         * math/libm-test.inc (acos_test): Add more tests.
15221         (asin_test): Likewise.
15222         * sysdeps/i386/fpu/libm-test-ulps: Update.
15223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15225         [BZ #14034]
15226         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15227         of square root.
15228         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15229         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15230         * math/libm-test.inc (acos_test_tonearest): New function.
15231         (acos_test_towardzero): Likewise.
15232         (acos_test_downward): Likewise.
15233         (acos_test_upward): Likewise.
15234         (asin_test_tonearest): Likewise.
15235         (asin_test_towardzero): Likewise.
15236         (asin_test_downward): Likewise.
15237         (asin_test_upward): Likewise.
15238         (main): Call the new functions.
15239         * sysdeps/i386/fpu/libm-test-ulps: Update.
15240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15242         [BZ #13884]
15243         [BZ #13924]
15244         * math/e_exp10.c: Include <float.h>.
15245         (__ieee754_exp10): Handle underflow here rather than multiplying
15246         large negative argument by M_LN10.
15247         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15248         of __ieee754_expf.
15249         * math/e_exp10l.c: Include <float.h>.
15250         (__ieee754_exp10l): Handle underflow here rather than multiplying
15251         large negative argument by M_LN10l.
15252         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
15253         spurious overflow exception on underflow.
15255 2012-04-29  Marek Polacek  <polacek@redhat.com>
15257         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15258         (__fortify_function): New macro.
15259         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15260         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15261         __extern_always_inline.
15262         * libio/bits/stdio2.h: Likewise.
15263         * libio/bits/stdio.h: Likewise.
15264         * string/string.h: Likewise.
15265         * string/bits/string3.h: Likewise.
15266         * include/stdio.h: Likewise.
15267         * stdlib/bits/stdlib.h: Likewise.
15268         * stdlib/stdlib.h: Likewise.
15269         * rt/bits/mqueue2.h: Likewise.
15270         * rt/mqueue.h: Likewise.
15271         * posix/bits/unistd.h: Likewise.
15272         * posix/unistd.h: Likewise.
15273         * io/bits/poll2.h: Likewise.
15274         * io/bits/fcntl2.h: Likewise.
15275         * io/fcntl.h: Likewise.
15276         * io/sys/poll.h: Likewise.
15277         * misc/bits/syslog.h: Likewise.
15278         * misc/bits/syslog-ldbl.h: Likewise.
15279         * misc/sys/syslog.h: Likewise.
15280         * socket/bits/socket2.h: Likewise.
15281         * socket/sys/socket.h: Likewise.
15282         * debug/tst-chk1.c: Likewise.
15283         * wcsmbs/bits/wchar2.h: Likewise.
15284         * wcsmbs/bits/wchar-ldbl.h: Likewise.
15285         * wcsmbs/wchar.h: Likewise.
15287 2012-04-29  Andreas Jaeger  <aj@suse.de>
15289         * Makerules (tests): Remove enable-check-abi protection.
15290         (check-abi-warn): Remove.
15291         (check-abi-%): Remove check-abi-warn usage.
15293         * configure.in: Remove check-abi configure option.
15294         * configure: Regenerated.
15295         * config.make.in (enable-check-abi): Remove.
15297 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
15299         [BZ #14033]
15300         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15301         double functions to double *_finite functions.
15303         [BZ #13941]
15304         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15305         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15306         LDBL_MIN_EXP.
15307         * stdio-common/Makefile (tests): Add tst-sprintf3.
15308         * stdio-common/tst-sprintf3.c: New file.
15310         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15311         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15313 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15315         * conform/conformtest.pl: Remove duplicate typed-constant
15316         handling.
15318 2012-04-28  David S. Miller  <davem@davemloft.net>
15320         * Makerules (%.abilist): Add vpath on sysdep_dirs.
15321         (check-abi-%): Remove AWK script prerequisite and explicit
15322         abilist directory.
15323         (check-abi): Rewrite to just diff the symlist with the abilist.
15324         (config-tls, config-abi-config): Delete, no longer used.
15325         (update-abi-%): Remove AWK script and explicit abilist directory.
15326         (update-abi): Rewrite to simply compare and conditionally copy the
15327         symlist and the sysdep abilist file.  Remove update-abi-config
15328         checks.
15329         * abilist/ld.abilist: Remove.
15330         * abilist/libBrokenLocale.abilist: Remove.
15331         * abilist/libanl.abilist: Remove.
15332         * abilist/libcrypt.abilist: Remove.
15333         * abilist/libdl.abilist: Remove.
15334         * abilist/librt.abilist: Remove.
15335         * abilist/libthread_db.abilist: Remove.
15336         * abilist/libutil.abilist: Remove.
15337         * scripts/extract-abilist.awk: Remove.
15338         * scripts/merge-abilist.awk: Remove.
15339         * sysdeps/generic/libcidn.abilist: New file.
15340         * sysdeps/generic/libnss_compat.abilist: New file.
15341         * sysdeps/generic/libnss_db.abilist: New file.
15342         * sysdeps/generic/libnss_dns.abilist: New file.
15343         * sysdeps/generic/libnss_files.abilist: New file.
15344         * sysdeps/generic/libnss_hesiod.abilist: New file.
15345         * sysdeps/generic/libnss_nis.abilist: New file.
15346         * sysdeps/generic/libnss_nisplus.abilist: New file.
15347         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15348         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15349         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15350         file.
15351         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15352         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15353         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15354         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15355         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15356         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15357         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15358         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15359         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15360         file.
15361         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15362         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15363         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15364         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15365         file.
15366         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15367         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15368         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15369         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15370         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15371         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15372         file.
15373         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15374         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15375         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15376         file.
15377         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15378         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15379         New file.
15380         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15381         New file.
15382         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15383         New file.
15384         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15385         New file.
15386         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15387         New file.
15388         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15389         New file.
15390         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15391         New file.
15392         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15393         New file.
15394         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15395         New file.
15396         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15397         New file.
15398         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15399         New file.
15400         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15401         New file.
15402         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15403         New file.
15404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15405         file.
15406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15407         New file.
15408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15409         New file.
15410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15411         file.
15412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15413         New file.
15414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15415         New file.
15416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15417         file.
15418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15419         New file.
15420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15421         New file.
15422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15423         New file.
15424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15425         New file.
15426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15427         New file.
15428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15429         New file.
15430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15432         file.
15433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15434         New file.
15435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15436         file.
15437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15438         file.
15439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15440         file.
15441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15442         file.
15443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15444         file.
15445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15446         New file.
15447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15448         file.
15449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15450         file.
15451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15452         New file.
15453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15454         file.
15455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15457         file.
15458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15459         New file.
15460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15461         file.
15462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15463         file.
15464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15465         file.
15466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15467         file.
15468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15469         file.
15470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15471         New file.
15472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15473         file.
15474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15475         file.
15476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15477         New file.
15478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15479         file.
15480         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15481         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15482         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15483         file.
15484         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15485         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15486         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15487         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15488         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15489         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15490         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15491         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15492         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15493         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15496         file.
15497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15498         New file.
15499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15500         file.
15501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15502         file.
15503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15504         file.
15505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15506         file.
15507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15508         file.
15509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15510         New file.
15511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15512         New file.
15513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15514         file.
15515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15516         New file.
15517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15518         file.
15519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15521         file.
15522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15523         New file.
15524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15525         file.
15526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15527         file.
15528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15529         file.
15530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15531         file.
15532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15533         file.
15534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15535         New file.
15536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15537         New file.
15538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15539         file.
15540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15541         New file.
15542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15543         file.
15545 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15547         * conform/conformtest.pl: Fix typo in handling typed-constant from
15548         allow-header.
15550 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15552         * README: Cut down references to pre-2.6 Linux kernels and
15553         Linuxthreads.  Update lists of configurations in libc and ports
15554         and sort alphabetically.  Say "or newer" with Linux kernel version
15555         requirements.
15557         * config.h.in [IS_IN_build]: Allow compiling without optimization.
15559 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15561         [BZ #887]
15562         * math/libm-test.inc (logb_test_downward): New test to expose
15563         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15564         rounding mode.
15566 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15568         [BZ #14027]
15569         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15570         to be done.
15571         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15572         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15574 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
15576         * sysdeps/unix/i386/brk.S: Remove file.
15577         * sysdeps/unix/i386/dl-brk.S: Likewise.
15578         * sysdeps/unix/i386/pipe.S: Likewise.
15579         * sysdeps/unix/i386/sigreturn.S: Likewise.
15580         * sysdeps/unix/i386/syscall.S: Likewise.
15581         * sysdeps/unix/i386/vfork.S: Likewise.
15582         * sysdeps/unix/i386/wait.S: Likewise.
15584         * sysdeps/unix/common/tcsendbrk.c: Move to ...
15585         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15587         * configure.in (arm*-none*): Do not allow without
15588         --enable-hacker-mode.
15589         (netbsd*): Remove case setting base_os.
15590         (386bsd*): Likewise.
15591         (freebsd*): Likewise.
15592         (bsdi*): Likewise.
15593         (osf*): Likewise.
15594         (sunos*): Likewise.
15595         (ultrix*): Likewise.
15596         (newsos*): Likewise.
15597         (dynix*): Likewise.
15598         (*bsd*): Likewise.
15599         (sysv*): Likewise.
15600         (isc*): Likewise.
15601         (esix*): Likewise.
15602         (sco*): Likewise.
15603         (minix*): Likewise.
15604         (irix4*): Likewise.
15605         (irix6*): Likewise.
15606         (solaris[2-9]*): Likewise.
15607         (none): Likewise.
15608         * configure: Regenerated.
15610 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15612         [BZ #11521]
15613         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15614         overflow or cancellation in calculating denominator.
15615         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15616         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15617         down expression to avoid unexpected rounding in newer GCCs.
15618         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15620 2012-04-26  David S. Miller  <davem@davemloft.net>
15622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15623         long-double compat symbols.
15624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15638 2012-04-25  David S. Miller  <davem@davemloft.net>
15640         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15641         HWCAP_* values only after the memory barriers have been defined.
15642         (atomic_full_barrier): Define.
15643         (atomic_read_barrier): Define.
15644         (atomic_write_barrier): Define.
15646 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15648         * shlib-versions: Add libgcc_s version information.
15649         * sysdeps/generic/libgcc_s.h: Remove.
15650         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15651         libgcc_s.h.
15652         * sysdeps/gnu/unwind-resume.c: Likewise.
15653         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15655 2012-04-25  David S. Miller  <davem@davemloft.net>
15657         * sysdeps/unix/sparc/brk.S: Delete.
15658         * sysdeps/unix/sparc/dl-brk.S: Delete.
15659         * sysdeps/unix/sparc/pipe.S: Delete.
15660         * sysdeps/unix/sparc/sysdep.S: Delete.
15661         * sysdeps/unix/sparc/sysdep.h: Delete.
15662         * sysdeps/unix/sparc/vfork.S: Delete.
15663         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15664         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15665         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15666         ret_ERRVAL, r0, r1, MOVE): Define.
15667         (JUMPTARGET): Remove.
15668         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15669         sysdeps/unix/sparc/sysdep.h
15670         (ENTRY, END): Remove.
15671         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15673 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
15675         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15676         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15677         -DIS_IN_build.
15679         * timezone/README: Update upstream location and email address for
15680         tzcode and tzdata.
15681         * timezone/zdump.c: Update from tzcode 2012b.
15682         * timezone/zic.c: Likewise.
15684         * configure.in (libc_cv_as_needed): Remove test.
15685         * configure: Regenerated.
15686         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15687         conditional definition.
15688         [$(have-as-needed) != yes] (no-as-needed): Likewise.
15689         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15690         * config.make.in (have-as-needed): Remove variable.
15692 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15693             Paul Pluzhnikov  <ppluzhnikov@google.com>
15695         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15696         strings correctly.
15698 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15700         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15701         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15702         * sysdeps/sh/strlen.S: Likewise.
15704 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15706         * sysdeps/unix/fork.S: Remove file.
15707         * sysdeps/unix/i386/fork.S: Likewise.
15708         * sysdeps/unix/sparc/fork.S: Likewise.
15710         * sysdeps/unix/system.c: Remove file.
15711         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15713         * sysdeps/unix/getegid.S: Remove file.
15714         * sysdeps/unix/geteuid.S: Likewise.
15716 2012-04-24  Roland McGrath  <roland@hack.frob.com>
15718         * scripts/check-localplt.awk: New file.
15719         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15720         of diff.
15721         * scripts/data/localplt-generic.data: Add a comment.
15723         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15724         NODE when __dir_mkfile failed.
15725         * sysdeps/mach/hurd/symlinkat.c: Likewise.
15726         Reported by Ludovic Courtès <ludo@gnu.org>.
15728 2012-04-24  Andreas Jaeger  <aj@suse.de>
15730         * Makerules (common-clean): Also remove gen-as-const-headers
15731         files.
15733 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15735         * Makerules (native-compile): Do not change working directory for
15736         build.  Use $(OUTPUT_OPTION) in command.
15737         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15739 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15741         [BZ #13886]
15742         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15743         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15744         * math/libm-test.inc (floor_test): Add more tests.
15745         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15747 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15749         * sysdeps/unix/getdents.c: Remove file.
15750         * sysdeps/unix/sysv/getdents.c: Likewise.
15751         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15753         * sysdeps/unix/syscalls.list (madvise): Add syscall from
15754         sysdeps/unix/mman/syscalls.list.
15755         (mmap): Likewise.
15756         (mprotect): Likewise.
15757         (msync): Likewise.
15758         (munmap): Likewise.
15759         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15760         * sysdeps/unix/mman/syscalls.list: Remove.
15761         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15763         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15764         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15765         * configure: Regenerated.
15766         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15767         $(libgcc_s_suffix).
15768         * config.make.in (libgcc_s_suffix): Remove variable.
15770 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
15772         * sysdeps/unix/sysv/gethostname.c: Move to ...
15773         * sysdeps/posix/gethostname.c: ... here.
15775         * sysdeps/unix/execve.S: Remove file.
15777         * sysdeps/unix/_exit.S: Remove file.
15779 2012-04-23  Andreas Jaeger  <aj@suse.de>
15781         [BZ #13739]
15782         * manual/Makefile: Remove make dist support, there's no
15783         need for a stand-alone documentation tar ball.
15784         (TEXI2DVI): Define always, it's not in Makeconfig.
15785         (dist): Removed.
15786         (tar-it): Removed.
15787         (edition): Removed.
15788         (glibc-doc-$(edition).tar): Removed
15789         (%.Z): Removed.
15790         (%.gz): Removed.
15791         (%.uu): Removed.
15792         (ETAGS): Remove, it's in Makeconfig.
15793         (move-if-change): Remove, it's in Makeconfig.
15795 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
15797         [BZ #13970]
15798         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15799         (strtod, strtof, strtold, strtol, strtoul, strtoq)
15800         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15801         (strtod_l, strtof_l, strtold_l): Remove __wur.
15802         It is not necessarily an error to ignore strtol's return value.
15803         One can reliably look at the stored endptr to decide whether
15804         the number had valid syntax.
15806 2012-04-21  Andreas Jaeger  <aj@suse.de>
15808         [BZ #13739]
15809         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15811 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
15813         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15814         * sysdeps/unix/sysv/Versions: Remove file.
15816 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
15818         [BZ #13927]
15819         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15821 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
15823         [BZ #7064]
15824         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15825         version from __vm86.
15827 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
15829         * sysdeps/unix/common/lxstat.c: Remove file.
15830         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15832         * sysdeps/unix/sysv/Makefile: Remove file.
15834         * sysdeps/unix/sysv/direct.h: Remove file.
15836         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15837         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15838         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15839         * sysdeps/unix/sysv/bits/signum.h: Likewise.
15840         * sysdeps/unix/sysv/bits/stat.h: Likewise.
15841         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15842         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15844         * sysdeps/unix/sysv/setrlimit.c: Remove file.
15846         * sysdeps/unix/xmknod.c: Remove file.
15847         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15849         * sysdeps/unix/sysv/settimeofday.c: Remove file.
15851         * sysdeps/unix/sysv/i386/time.S: Remove file.
15853         * sysdeps/unix/fxstat.c: Remove file.
15854         * sysdeps/unix/xstat.c: Likewise.
15855         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15857         * sysdeps/unix/sysv/sigaction.c: Remove file.
15859         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15860         (sysdep_headers): Remove variable.
15861         [termio.h not in sysdep_headers] (generated): Likewise.
15862         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15863         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15864         * sysdeps/unix/sysv/tcdrain.c: Likewise.
15865         * sysdeps/unix/sysv/tcflow.c: Likewise.
15866         * sysdeps/unix/sysv/tcflush.c: Likewise.
15867         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15868         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15869         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15870         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15871         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15873         * sysdeps/unix/siglist.c: Remove file.
15875         * sysdeps/unix/getppid.S: Remove file.
15877         * sysdeps/unix/mkdir.c: Remove file.
15878         * sysdeps/unix/rmdir.c: Likewise.
15880 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
15882         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15883         ERR_MAX value.
15884         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15885         errlist-compat value.
15887 2012-04-18  David S. Miller  <davem@davemloft.net>
15889         * sysdeps/generic/memcopy.h (reg_char): Delete.
15890         * debug/strcat_chk.c: Use char, not reg_char.
15891         * debug/strcpy_chk.c: Likewise.
15892         * debug/strncat_chk.c: Likewise.
15893         * debug/strncpy_chk.c: Likewise.
15894         * string/memchr.c: Likewise.
15895         * string/memrchr.c: Likewise.
15896         * string/rawmemchr.c: Likewise.
15897         * string/strcat.c: Likewise.
15898         * string/strchr.c: Likewise.
15899         * string/strchrnul.c: Likewise.
15900         * string/strcmp.c: Likewise.
15901         * string/strcpy.c: Likewise.
15902         * string/strncat.c: Likewise.
15903         * string/strncmp.c: Likewise.
15904         * string/strncpy.c: Likewise.
15906 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15908         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15909         __builtin_memcopy is called when src and dest ranges are known to not
15910         overlap.
15912 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15914         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15915         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15916         fwd_align_merge macro call.
15917         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15918         bwd_align_merge macro call.
15919         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15921 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15923         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15924         bwd_align_merge macros.
15925         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15926         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15927         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15929 2012-04-18  David S. Miller  <davem@davemloft.net>
15931         * sysdeps/sparc/sparc64/memcopy.h: Delete.
15933 2012-04-18  Andreas Jaeger  <aj@suse.de>
15935         [BZ# 6794]
15936         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15937         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15938         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15940         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15941         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15942         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15944         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15945         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15946         Adjust for changed ldbl-128 files.
15948         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15949         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15950         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15952 2012-04-17  David S. Miller  <davem@davemloft.net>
15954         * sysdeps/sparc/sparc32/memcopy.h: Delete.
15956 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
15958         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15959         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15960         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15961         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15962         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15963         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15965 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15967         [BZ #6794]
15968         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15969         * math/libm-test.inc: Add ilogb errno and exception tests.
15970         * math/w_ilogb.c: New file: ilogb wrapper.
15971         * math/w_ilogbf.c: New file: ilogbf wrapper.
15972         * math/w_ilogbl.c: New file: ilogbl wrapper.
15973         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15974         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15975         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15976         exception being thrown with 0.0 as argument.
15977         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15978         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15979         exception being thrown with 0.0 as argument.
15980         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15981         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15982         exception being thrown with 0.0 as argument.
15983         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15984         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15985         exception being thrown with 0.0 as argument.
15986         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15987         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15988         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15989         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15990         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15991         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15992         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15993         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15994         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15996 2012-04-17  Petr Baudis  <pasky@ucw.cz>
15998         * include/sys/uio.h: Change __vector to __iovec to avoid clash
15999         with altivec.
16001 2012-04-16  Marek Polacek  <polacek@redhat.com>
16003         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16005 2012-04-16  Marek Polacek  <polacek@redhat.com>
16007         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16008         operands of fdivp instruction.
16010 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16012         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16013         * elf/tst-auditmod3b.c: Likewise.
16014         * elf/tst-auditmod4b.c: Likewise.
16015         * elf/tst-auditmod5b.c: Likewise.
16016         * elf/tst-auditmod6b.c: Likewise.
16017         * elf/tst-auditmod6c.c: Likewise.
16018         * elf/tst-auditmod7b.c: Likewise.
16019         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16020         * sysdeps/x86_64/preconfigure.in: Likewise.
16021         * sysdeps/x86_64/preconfigure: Regenerated.
16023 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16025         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16026         __ILP32__.
16028 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
16030         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16031         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16033 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
16035         [BZ #13973]
16036         * locale/iso-639.def: Fix gl language name. Spotted by
16037         Yaron Shahrabani.
16039 2012-04-12  Roland McGrath  <roland@hack.frob.com>
16041         [BZ #2074]
16042         * libio/libio.h (__io_write_fn): Update comment.
16044 2012-04-12  Petr Baudis  <pasky@ucw.cz>
16046         [BZ #2074]
16047         * stdio.texi (Hook Functions): The user provided writer function
16048         is not allowed to return -1.
16050 2012-04-11  David S. Miller  <davem@davemloft.net>
16052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16054 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
16056         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16057         Add a leading slash to rtkaio.
16059 2012-04-11  Jim Meyering  <meyering@redhat.com>
16061         [BZ #11959]
16062         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16063         It is not necessarily an error to ignore fwrite's return
16064         value.  One can reliably use ferror to test for errors after
16065         the fact.
16067 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16069         * bits/types.h (__snseconds_t): New type.
16070         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16072         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16073         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16074         (__SNSECONDS_T_TYPE): Likewise.
16075         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16076         (__SNSECONDS_T_TYPE): Likewise.
16077         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16078         (__SNSECONDS_T_TYPE): Likewise.
16080 2012-04-10  Andreas Jaeger  <aj@suse.de>
16082         [BZ #2636]
16083         * manual/time.texi (Processor Time): Return type of times is
16084         elapsed real time since an arbitrary point in the past.
16085         (CPU Time): Move CLK_TCK from here...
16086         (Processor Time): ...to here.  Correct description.
16087         * manual/conf.texi (Constants for Sysconf): Correct description of
16088         _SC_CLK_TCK.
16090 2012-04-10  David S. Miller  <davem@davemloft.net>
16092         [BZ #13967]
16093         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16094         where the is a gap between DT_REL(A) and DT_JMPREL.
16096 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16098         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16099         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16100         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16102 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16104         * elf/dl-support.c (_dl_inhibit_cache): New variable.
16105         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16106         (dl_main): Handle --inhibit-cache.
16107         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16108         _dl_inhibit_cache.
16109         * elf/dl-load.c (_dl_map_object): Use it.
16110         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16112 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16114         [BZ #13872]
16115         * sysdeps/i386/fpu/e_powl.S (p78): New object.
16116         (__ieee754_powl): Saturate large exponents rather than testing for
16117         overflow of y*log2(x).
16118         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16119         * math/libm-test.inc (pow_test): Do not permit spurious overflow
16120         exceptions.
16122         [BZ #11521]
16123         * math/s_ctan.c: Include <float.h>.
16124         (__ctan): Avoid internal overflow or cancellation in calculating
16125         denominator.
16126         * math/s_ctanf.c: Likewise.
16127         * math/s_ctanl.c: Likewise.
16128         * math/s_ctanh.c: Likewise.
16129         * math/s_ctanhf.c: Likewise.
16130         * math/s_ctanhl.c: Likewise.
16131         * math/libm-test.inc (ctan_test): Add more tests.
16132         (ctanh_test): Likewise.
16133         * sysdeps/i386/fpu/libm-test-ulps: Update.
16134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16136 2012-04-09  Andreas Jaeger  <aj@suse.de>
16138         [BZ #6894]
16139         * manual/filesys.texi (Directory Entries): Mention that d_namlen
16140         is an optional BSD extension.
16142         [BZ #10254]
16143         * manual/stdio.texi (Opening Streams): Document additional fopen
16144         parameters.
16146 2012-04-09  Roland McGrath  <roland@hack.frob.com>
16148         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16149         %eax without telling the compiler.
16151 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
16153         [BZ # 13963]
16154         * manual/install.texi: Use sourceware.org.
16156 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16158         [BZ #13873]
16159         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16160         (__ieee754_pow): Generate overflow and underflow using huge*huge
16161         and tiny*tiny rather than just returning constant infinity or zero
16162         for large exponents.
16163         * math/libm-test.inc (pow_test): Require overflow exceptions for
16164         applicable cases of large exponents.
16166         [BZ #706]
16167         * sysdeps/i386/fpu/e_pow.S (p10): New object.
16168         (__ieee754_pow): Use iterative multiplication algorithm only for
16169         integer exponents with absolute value below 1024.  Check for odd
16170         integer exponents when using algorithm for real exponents.
16171         * math/libm-test.inc (pow_test): Add more tests.
16172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16174 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
16176         [BZ #13705]
16177         * math/libm-test.inc (exp_test): Do not allow overflow exception
16178         on underflow test.
16180 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
16182         [BZ #13705]
16183         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16184         instead of __kernel_standard_f.
16186 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
16188         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16189         * sysdeps/x86_64/memset_chk.S: Likewise.
16191 2012-04-08  Andreas Jaeger  <aj@suse.de>
16193         [BZ #10153]
16194         * manual/startup.texi (Environment Access): Describe return value
16195         for putenv and setenv.
16197         [BZ #6895]
16198         * manual/filesys.texi (Directory Entries): Add description for
16199         DT_LNK.
16201         [BZ #6890]
16202         * manual/filesys.texi (Directory Entries): Clarify that it's file
16203         system not operating system in the description of DT_UNKNOWN.
16205         [BZ #6578]
16206         * manual/syslog.texi (closelog): Fix reference, it's openlog.
16208 2012-04-08  Stephen Compall  <s11@member.fsf.org>
16210         [BZ #6649]
16211         * manual/llio.texi (Opening and Closing Files): Add cross
16212         reference to explain mode argument.
16214 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
16216         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16217         * sysdeps/x86_64/memset_chk.S: Likewise.
16219 2012-04-07  David S. Miller  <davem@davemloft.net>
16221         * elf/elf.h (R_SPARC_WDISP10): Define.
16222         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16223         R_SPARC_SIZE32.
16224         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16225         R_SPARC_SIZE64 and R_SPARC_H34.
16227 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
16229         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16230         conditions and remove no longer applicable assertion.
16232 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16234         * bits/byteswap.h: Include <features.h>.
16235         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16236         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16238 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16240         * bits/byteswap.h (__bswap_16): Removed.
16241         Include <bits/byteswap-16.h> to get __bswap_16.
16242         * sysdeps/i386/bits/byteswap.h: Likewise.
16243         * sysdeps/s390/bits/byteswap.h: Likewise.
16244         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16245         * bits/byteswap-16.h: New file.
16246         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16247         * sysdeps/s390/bits/byteswap-16.h: Likewise.
16248         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16249         * string/Makefile (headers): Add bits/byteswap-16.h.
16251 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16253         [BZ #13895]
16254         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16255         extra indirection.
16256         * nss/Makefile (tests-static, tests): Add tst-nss-static.
16257         * nss/tst-nss-static.c: New.
16259 2012-04-06  Robert Millan  <rmh@gnu.org>
16261         [BZ #6486]
16262         * manual/llio.texi (File Position Primitive): lseek
16263         refers to WHENCE when it really means OFFSET.
16265 2012-04-06  Andreas Jaeger  <aj@suse.de>
16267         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16268         strncmp declarations.
16270         * abilist/libc.abilist: Add __poll and __ppoll.
16272 2012-04-05  David S. Miller  <davem@davemloft.net>
16274         * scripts/check-local-headers.sh: Accept a host triplet in the
16275         path matched by the exclude regexp.
16277         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16278         definition.
16279         * sysdeps/powerpc/powerpc32/dl-machine.h
16280         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16281         * sysdeps/s390/s390-32/dl-machine.h
16282         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16283         * sysdeps/sparc/sparc32/dl-machine.h
16284         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16285         * sysdeps/sparc/sparc64/dl-machine.h
16286         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16288         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16289         lazy binding.
16290         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16291         undefined symbol errors.
16293         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16294         DT_NEEDED entries.
16296 2012-04-05  Michael Matz  <matz@suse.de>
16298         [BZ #13592]
16299         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16301 2012-04-05  Andreas Jaeger  <aj@suse.de>
16303         [BZ #13908]
16304         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16305         comment.
16307 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16309         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16310         which ROUND is no valid rounding mode.
16312 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16314         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16315         read again.
16316         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16318 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16320         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16321         an exception using FPU order intentionally.
16323 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16325         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16326         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16327         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16328         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16330 2012-04-05  Simon Josefsson  <simon@josefsson.org>
16332         [BZ #12340]
16333         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16334         EINVAL when BUFLEN is too smal.
16336 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16338         [BZ #13553]
16339         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16340         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16342 2012-04-03  Andreas Jaeger  <aj@suse.de>
16344         [BZ #13938]
16345         * manual/setjmp.texi (System V contexts): Fix sentence.
16347         [BZ #13926]
16348         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16349         New macro for this case.
16350         [!__GNUC__] (__bswap_64): New inline function for this case.
16351         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16352         * bits/byteswap.h: Likewise.
16353         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16354         ull, guard with __GLIBC_HAVE_LONG_LONG.
16356         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16357         __GLIBC_HAVE_LONG_LONG.
16359         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16360         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16362 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16364         [BZ #13691]
16365         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16366         inptr and inend, rather than using last_ch.
16368 2012-04-02  David S. Miller  <davem@davemloft.net>
16370         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16371         * stdio-common/printf-parse.h (read_int): Change return type to
16372         'int', return -1 on INT_MAX overflow.
16373         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16374         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
16375         overflows INT_MAX.  Check for overflow of in-format-string precision
16376         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
16377         SIZE_MAX not INT_MAX for integer overflow test.
16378         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16379         skip the construct in the format string but do not record anything.
16380         * stdio-common/bug22.c: Adjust to test both width/prevision
16381         INT_MAX overflow as well as total length INT_MAX overflow.  Check
16382         explicitly for proper errno values.
16384 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16386         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16387         CHAR_MAX.
16388         * string/test-strcmp.c [! WIDE]: Likewise.
16389         * time/tst-mktime2.c: Likewise for INT_MAX.
16390         * string/test-string.h: #include <sys/param.h> for MIN.
16392         * csu/init-first.c (__libc_init_first): Call __ctype_init.
16393         * sysdeps/i386/init-first.c (init): Likewise.
16394         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16395         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16396         * sysdeps/sh/init-first.c (init): Likewise.
16398 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
16400         * po/ru.po: Update from translation team.
16401         * po/vi.po: Likewise.
16403 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16405         * resolv/nss_dns/dns-host.c: Merge copyright years.
16407 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16409         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16410         Optimize memcpy with prefetch if
16411         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
16412         src, dst pointers have unequal 16 byte alignments.
16414 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16416         [BZ #13928]
16417         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16418         from a CNAME entry and return the minimum ttl for the query.
16419         (gaih_getanswer_slice): Likewise.
16421 2012-03-30  Jeff Law  <law@redhat.com>
16423         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16424         due to long keys.
16425         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16426         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16428         * resolv/nss_dns/dns-host.c: Update copyright year.
16430 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
16432         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16433         requests to save a system call.  Fix check that all bytes are sent.
16435         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16436         comments for sendmmsg.
16438 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16440         [BZ #13691]
16441         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16442         with only 1 character between 0x0041 and 0x01b0.
16443         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16444         * wcsmbs/tst-mbsnrtowcs.c: New file.
16446 2012-03-29  David S. Miller  <davem@davemloft.net>
16448         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16449         small copies by hand.
16451 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16453         [BZ #13761]
16454         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16455         _nss_compat_initgroups_dyn): Fall back to malloc/free
16456         for large group memberships.
16458 2012-03-28  David S. Miller  <davem@davemloft.net>
16460         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16461         that branches into memcpy.
16462         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16463         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16464         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16465         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16466         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16467         bits.
16468         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16469         implementation too.
16470         * sysdeps/sparc/mempcpy.S: New file.
16472         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16473         the IFUNC routine in the libc case.
16474         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16476         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16477         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16478         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16479         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16480         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16481         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16482         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16483         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16485         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16486         loop to 256 bytes instead of 64 bytes and fix test signedness.
16488         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16489         * sysdeps/sparc/sparc32/Makefile: rather than here...
16490         * sysdeps/sparc/sparc64/Makefile: and here.
16492 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
16494         * malloc/mallocbug.c: Avoid warnings about unused variables.
16496 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16498         [BZ #13760]
16499         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16500         in the right place. Discard and retry query if response is
16501         larger than input buffer size.
16503 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
16505         [BZ #369]
16506         [BZ #2678]
16507         [BZ #3866]
16508         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16509         x for large integer exponent.
16510         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16511         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
16512         sign of result as needed afterwards.
16513         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16514         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16515         result for underflowing pow the same as for overflow.
16516         (__kernel_standard_l): Handle powl overflow and underflow here
16517         rather than calling __kernel_standard.
16518         * math/libm-test.inc (pow_test): Add more tests.
16520         [BZ #3868]
16521         [BZ #13879]
16522         [BZ #13910]
16523         [BZ #13911]
16524         [BZ #13912]
16525         [BZ #13913]
16526         [BZ #13915]
16527         [BZ #13916]
16528         [BZ #13917]
16529         [BZ #13918]
16530         [BZ #13919]
16531         [BZ #13920]
16532         [BZ #13921]
16533         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16534         * sysdeps/ieee754/k_standard.c: Include <float.h>.
16535         (__kernel_standard_l): New function.
16536         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16537         __kernel_standard.
16538         * math/w_acosl.c (__acosl): Likewise.
16539         * math/w_asinl.c (__asinl): Likewise.
16540         * math/w_atan2l.c (__atan2l): Likewise.
16541         * math/w_atanhl.c (__atanhl): Likewise.
16542         * math/w_coshl.c (__coshl): Likewise.
16543         * math/w_exp10l.c (__exp10l): Likewise.
16544         * math/w_exp2l.c (__exp2l): Likewise.
16545         * math/w_fmodl.c (__fmodl): Likewise.
16546         * math/w_hypotl.c (__hypotl): Likewise.
16547         * math/w_j0l.c (__j0l, __y0l): Likewise.
16548         * math/w_j1l.c (__j1l, __y1l): Likewise.
16549         * math/w_jnl.c (__jnl, __ynl): Likewise.
16550         * math/w_lgammal.c (__lgammal): Likewise.
16551         * math/w_log10l.c (__log10l): Likewise.
16552         * math/w_log2l.c (__log2l): Likewise.
16553         * math/w_logl.c (__logl): Likewise.
16554         * math/w_powl.c (__powl): Likewise.
16555         * math/w_remainderl.c (__remainderl): Likewise.
16556         * math/w_scalbl.c (sysv_scalbl): Likewise.
16557         * math/w_sinhl.c (__sinhl): Likewise.
16558         * math/w_sqrtl.c (__sqrtl): Likewise.
16559         * math/w_tgammal.c (__tgammal): Likewise.
16560         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16561         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16562         * math/libm-test.inc (acos_test): Add more tests.
16563         (acosh_test): Likewise.
16564         (asin_test): Likewise.
16565         (atanh_test): Likewise.
16566         (exp_test): Likewise.
16567         (exp10_test): Likewise.
16568         (exp2_test): Likewise.
16569         (expm1_test): Likewise.
16570         (lgamma_test): Likewise.
16571         (log_test): Likewise.
16572         (log10_test): Likewise.
16573         (log1p_test): Likewise.
16574         (log2_test): Likewise.
16575         (pow_test): Do not allow some spurious overflow exceptions.
16576         (sqrt_test): Add more tests.
16577         (tgamma_test): Likewise.
16578         (y0_test): Likewise.
16579         (y1_test): Likewise.
16580         (yn_test): Likewise.
16582 2012-03-27  Anton Blanchard  <anton@samba.org>
16584         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16585         MAP_HUGETLB.
16586         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16587         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16588         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16590 2012-03-27  David S. Miller  <davem@davemloft.net>
16592         * conform/Makefile: Run run-conformtest.sh using $(BASH).
16594         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16595         have-as-vis3 check.
16597 2012-03-27  Andreas Jaeger  <aj@suse.de>
16599         * sysdeps/x86_64/elf/configure.in: Moved to ...
16600         * sysdeps/x86_64/configure.in: ... here.
16601         * sysdeps/x86_64/elf/start.S: Moved to ...
16602         * sysdeps/x86_64/start.S: ... here.
16603         * sysdeps/x86_64/elf/configure: Delete.
16605         * sysdeps/x86_64/configure.in: Merge contents from
16606         sysdeps/i386/configure.in (without i686 check).
16608         * sysdeps/i386/elf/Versions: Merge into ...
16609         * sysdeps/i386/Versions: ... this.
16610         * sysdeps/i386/elf/Versions: Delete file.
16611         * sysdeps/i386/elf/start.S: Moved to ...
16612         * sysdeps/i386/start.S: ...here.
16613         * sysdeps/i386/elf/configure.in: Merge into...
16614         * sysdeps/i386/configure.in: ...here.
16615         * sysdeps/i386/elf/configure.in: Delete file.
16616         * sysdeps/i386/elf/configure: Delete file.
16618         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16619         * debug/backtracesyms.c: ... here.
16620         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16621         * debug/backtracesymsfd.c: ... here.
16622         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16623         * sysdeps/generic/ifunc-sel.h: ... here.
16625         * sysdeps/unix/i386/start.c: Delete file.
16626         * sysdeps/unix/sparc/start.c: Delete file.
16627         * sysdeps/unix/start.c: Delete file.
16629         * sysdeps/sh/elf/configure.in: Moved to ...
16630         * sysdeps/sh/configure.in: ... here.
16631         * sysdeps/sh/elf/start.S: Moved to ...
16632         * sysdeps/sh/start.S: ... here.
16633         * sysdeps/sh/elf/configure: Delete file.
16635         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16636         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16637         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16638         * sysdeps/powerpc/powerpc64/entry.h: ... here.
16639         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16640         * sysdeps/powerpc/powerpc64/start.S: here.
16641         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16642         * sysdeps/powerpc/powerpc64/Makefile: ... this.
16643         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16644         * sysdeps/powerpc/powerpc64/configure.in: ... this.
16645         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16647         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16648         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16649         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16650         * sysdeps/powerpc/powerpc32/start.S: ... here.
16651         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16652         * sysdeps/powerpc/powerpc32/configure.in: ... this.
16653         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16655         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16656         * sysdeps/powerpc/ifunc-sel.h: ... here.
16657         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16658         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16660         * sysdeps/sparc/elf/configure.in: Moved to ...
16661         * sysdeps/sparc/configure.in: ... here.
16662         * sysdeps/sparc/elf/configure: Delete file.
16663         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16664         * sysdeps/sparc/sparc32/start.S: ... here.
16665         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16666         * sysdeps/sparc/sparc64/start.S: ... here.
16667         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16668         * sysdeps/sparc/sparc32/Makefile: ... this.
16669         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16670         * sysdeps/sparc/sparc64/Makefile: ... this.
16672         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16673         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16674         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16675         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16676         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16677         * sysdeps/s390/s390-32/setjmp.S: ... here.
16678         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16679         * sysdeps/s390/s390-32/configure.in: ... here.
16680         * sysdeps/s390/s390-32/elf/configure: Delete file.
16681         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16682         * sysdeps/s390/s390-32/start.S: ... here.
16684         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16685         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16686         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16687         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16688         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16689         * sysdeps/s390/s390-64/setjmp.S: ... here.
16690         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16691         * sysdeps/s390/s390-64/configure.in: ... here
16692         * sysdeps/s390/s390-64/elf/configure: Delete file.
16693         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16694         * sysdeps/s390/s390-64/start.S: ... here.
16695         * sysdeps/s390/s390-64/elf/configure: Delete.
16697         * configure.in: Remove support for elf directories in sysdeps.
16699         * configure: Regenerated.
16700         * sysdeps/i386/configure: Regenerated.
16701         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16702         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16703         * sysdeps/s390/s390-32/configure: Regenerated.
16704         * sysdeps/s390/s390-64/configure: Regenerated.
16705         * sysdeps/sh/configure: Regenerated.
16706         * sysdeps/sparc/configure: Regenerated.
16707         * sysdeps/x86_64/configure: Regenerated.
16709 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
16711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16713         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16714         denormal result into account.
16716 2012-03-25  Roland McGrath  <roland@hack.frob.com>
16718         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16719         Reported by Allan McRae <allan@archlinux.org>.
16721 2012-03-23  Jeff Law  <law@redhat.com>
16723         * nss/getnssent.c (__nss_getent): Fix typo.
16725 2012-03-23  David S. Miller  <davem@davemloft.net>
16727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16729 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
16731         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16732         to pad to uint64_t for each field.
16733         (dl_tls_index): Replace unsigned long with uint64_t.
16735 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
16736         Paul Pluzhnikov  <ppluzhnikov@google.com>
16738         [BZ #6528]
16739         * grp/Makefile (otherlibs): Don't set it.
16740         * inet/Makefile (otherlibs): Likewise.
16741         * login/Makefile (otherlibs): Likewise.
16742         * nscd/Makefile (otherlibs): Likewise.
16743         * posix/Makefile (otherlibs): Likewise.
16744         * pwd/Makefile (otherlibs): Likewise.
16745         * rt/Makefile (otherlibs): Likewise.
16746         * sunrpc/Makefile (otherlibs): Likewise.
16747         * nss/Makefile (otherlibs): Likewise.
16748         Add libnss_files to routines and static-only-routines.
16749         ($(objpfx)getent): Remove rule.
16750         * resolv/Makefile: Add libnss_dns and libresolv to routines and
16751         static-only-routines.
16753 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16755         [BZ #13892]
16756         * math/s_cexp.c: Include <float.h>.
16757         (__cexp): Handle exp result overflowing not necessarily
16758         overflowing both real and imaginary parts of result.
16759         * math/s_cexpf.c: Likewise.
16760         * math/s_cexpl.c: Likewise.
16761         * math/libm-test.inc (cexp_test): Add more tests.
16762         * sysdeps/i386/fpu/libm-test-ulps: Update.
16763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16765 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16767         * include/link.h (ELFW): New macro.
16768         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16769         Replace ELF64_R_TYPE with ELFW(R_TYPE).
16771 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16773         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16774         with uint64_t.
16776 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16778         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16779         declaration.
16780         (struct La_x32_retval): Likewise.
16782 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16784         * sysdeps/x86_64/preconfigure.in: New file.
16785         * sysdeps/x86_64/preconfigure: New generated file.
16787 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16789         [BZ #13824]
16790         * math/e_exp2l.c: Include <float.h>.
16791         (__ieee754_exp2l): Handle overflow and underflow cases
16792         separately.  Only pass fractional part of argument to
16793         __ieee754_expl.
16794         * math/libm-test.inc (exp2_test): Add more tests.
16796         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16797         negating x to take absolute value.
16798         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16799         Likewise.
16800         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16801         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16802         Likewise.
16803         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16804         computing low part if x was negated.
16805         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16807 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16809         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16810         la_x32_gnu_pltexit.
16811         (pltexit): Cast int_retval to ptrdiff_t.
16812         * elf/tst-auditmod3b.c: Likewise.
16813         * elf/tst-auditmod4b.c: Likewise.
16814         * elf/tst-auditmod5b.c: Likewise.
16815         * elf/tst-auditmod6b.c: Likewise.
16816         * elf/tst-auditmod6c.c: Likewise.
16817         * elf/tst-auditmod7b.c: Likewise.
16819         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16820         and x32_gnu_pltexit.
16822         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16823         __ELF_NATIVE_CLASS.
16824         (La_x32_regs): New macro.
16825         (La_x32_retval): Likewise.
16826         (la_x32_gnu_pltenter): New function prototype.
16827         (la_x32_gnu_pltexit): Likewise.
16829 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
16831         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16832         exponent.
16834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16836         * configure.in (libc_cv_cc_nofma): Check for option to disable
16837         generation of FMA instructions.
16838         * configure: Regenerate.
16839         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16840         * sysdeps/ieee754/dbl-64/Makefile: New file.
16841         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16842         Remove brandred-fma4.
16843         (CFLAGS-brandred-fma4.c): Remove.
16844         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16845         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16846         define.
16847         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16848         define.
16850 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16852         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16853         LLONG_MAX != LONG_MAX.
16854         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16855         (_fitoa_word): Likewise.
16856         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16857         LLONG_MAX != LONG_MAX.
16858         * stdio-common/_itowa.h: Include <_itoa.h>.
16859         (_itowa_word): Use _ITOA_WORD_TYPE on value.
16860         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
16861         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
16862         only if not defined.
16863         (_ITOA_WORD_TYPE): Likewise.
16864         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16865         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16867 2012-03-21  David S. Miller  <davem@davemloft.net>
16869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16871 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16873         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16874         of x86_64 when setting libc_cv_slibdir, libdir and
16875         libc_cv_localedir.
16876         * sysdeps/unix/sysv/linux/configure: Regenerated.
16878 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16880         * manual/lang.texi (Old Varargs): Remove section.
16881         (How Variadic): Update menu.
16882         (va_start): Do not mention varargs.h.
16884 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16885             Joseph Myers  <joseph@codesourcery.com>
16887         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16888         link test.
16889         * configure: Regenerated.
16891 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16893         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16894         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16895         conformtest.pl
16897 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16899         * NOTES: Remove.
16900         * Makefile (files-for-dist): Remove NOTES.
16901         (NOTES): Remove rule.
16902         * README: Don't refer to NOTES.
16903         * manual/creature.texi: Don't include macros.texi.
16904         * manual/intro.texi (creature.texi): Remove comment referring to
16905         NOTES.
16907         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16908         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16909         * configure: Regenerated.
16910         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16911         LIBC_TRY_CC_OPTION.
16912         (libc_cv_as_i686): Likewise.
16913         (libc_cv_cc_avx): Likewise.
16914         (libc_cv_cc_sse2avx): Likewise.
16915         (libc_cv_cc_fma4): Likewise.
16916         (libc_cv_cc_novzeroupper): Likewise.
16917         * sysdeps/i386/configure: Regenerated.
16919         [BZ #13883]
16920         * sysdeps/i386/fpu/s_cexp.S: Remove.
16921         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16922         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16923         * math/libm-test.inc (cexp_test): Add more tests.
16924         * sysdeps/i386/fpu/libm-test-ulps: Update.
16925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16927 2012-03-21  Allan McRae  <allan@archlinux.org>
16929         * timezone/Makefile: Do not install iso3166.tab and zone.tab
16931 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16933         [BZ #13871]
16934         * math/w_exp2.c: Do not include <float.h>.
16935         (o_threshold, u_threshold): Remove.
16936         (__exp2): Calculate result before checking finiteness and calling
16937         __kernel_standard.
16938         * math/w_exp2f.c: Likewise.
16939         * math/w_exp2l.c: Likewise.
16940         * math/libm-test.inc (exp2_test): Require overflow exception for
16941         1e6 input.
16943         [BZ #3866]
16944         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16945         range of signed 64-bit integers before using fistpll.  Remove
16946         checks for whether integers fit in mantissa bits.
16947         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16948         the range of signed 32-bit integers before using fistpl.  Remove
16949         checks for whether integers fit in mantissa bits.
16950         * sysdeps/i386/fpu/e_powl.S (p64): New object.
16951         (__ieee754_powl): Test for y outside the range of signed 64-bit
16952         integers before using fistpll.  Reduce 64-bit values to 63-bit
16953         ones as needed.
16954         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16955         divide-by-zero is raised for zero to large negative powers.
16956         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16957         (__ieee754_powl): Test for y outside the range of signed 64-bit
16958         integers before using fistpll.  Reduce 64-bit values to 63-bit
16959         ones as needed.
16960         * math/libm-test.inc (pow_test): Add more tests.
16962 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16964         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16965         <stdio-common/_itoa.h>.
16966         * debug/segfault.c: Likewise.
16967         * elf/dl-cache.c: Likewise.
16968         * elf/dl-minimal.c: Likewise.
16969         * elf/dl-misc.c: Likewise.
16970         * elf/dl-sysdep.c: Likewise.
16971         * elf/dl-version.c: Likewise.
16972         * elf/rtld.c: Likewise.
16973         * hurd/hurdsock.c: Likewise.
16974         * hurd/lookup-retry.c: Likewise.
16975         * malloc/malloc.c: Likewise.
16976         * malloc/mtrace.c: Likewise.
16977         * nscd/nscd_getgr_r.c: Likewise.
16978         * nscd/nscd_getpw_r.c: Likewise.
16979         * nscd/nscd_getserv_r.c: Likewise.
16980         * posix/getopt_init.c: Likewise.
16981         * posix/wordexp.c: Likewise.
16982         * stdio-common/_itoa.c: Likewise.
16983         * stdio-common/printf_fphex.c: Likewise.
16984         * stdio-common/vfprintf.c: Likewise.
16985         * string/_strerror.c: Likewise.
16986         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16987         * sysdeps/i386/i686/hp-timing.h: Likewise.
16988         * sysdeps/mach/_strerror.c: Likewise.
16989         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16990         * sysdeps/mach/hurd/sethostid.c: Likewise.
16991         * sysdeps/mach/hurd/xmknodat.c: Likewise.
16992         * sysdeps/mach/xpg-strerror.c: Likewise.
16993         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16994         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16995         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16996         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16997         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16998         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16999         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17000         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17001         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17002         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17003         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17004         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17005         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17006         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17007         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17008         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17009         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17010         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17011         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17012         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17013         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17015         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17017         * stdio-common/_itoa.h: Moved to ...
17018         * sysdeps/generic/_itoa.h: Here.
17020         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17022         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17023         instead of "_itoa.h" and "_itowa.h".
17024         * stdio-common/vfprintf.: Likewise.
17026 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17028         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17029         <bits/wordsize.h>.
17030         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17031         (__signbit): Likwise.
17032         (llrintf): Likwise.
17033         (llrint): Likwise.
17035 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17037         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17038         __WORDSIZE != 64.
17040 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
17042         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17043         OVERFLOW_EXCEPTION_OK.
17044         * math/libm-test.inc ("Philosophy"): Update comment about
17045         exception testing.
17046         (OVERFLOW_EXCEPTION): Define.
17047         (OVERFLOW_EXCEPTION_OK): Likewise.
17048         (INVALID_EXCEPTION_OK): Renumber.
17049         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17050         (IGNORE_ZERO_INF_SIGN): Likewise.
17051         (test_exceptions): Handle FE_OVERFLOW.
17052         (exp10_test): Expect overflow exceptions.
17053         (exp2_test): Likewise.
17054         (expm1_test): Likewise.
17055         (nextafter_test): Likewise.
17056         (pow_test): Likewise.
17057         (scalbn_test): Likewise.
17058         (scalbln_test): Likewise.
17060 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17062         * sysdeps/x86_64/bits/atomic.h
17063         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17064         64bit integer.
17065         (atomic_exchange_acq): Likewise.
17066         (__arch_exchange_and_add_body): Likewise.
17067         (__arch_add_body): Likewise.
17068         (atomic_add_negative): Likewise.
17069         (atomic_add_zero): Likewise.
17071 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17073         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17074         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17076 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17078         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17079         Check __x86_64__ instead of __WORDSIZE.
17081 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17083         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17085 2012-03-19  David S. Miller  <davem@davemloft.net>
17087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17089         * sysdeps/sparc/fpu/fenv_private.h: New file.
17090         * sysdeps/sparc/fpu/math_private.h: Use it.
17091         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17092         Remove.
17093         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17094         (libc_feholdexcept_setroundl): Remove.
17095         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17096         Remove.
17097         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17098         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17100 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17102         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17103         int64_t instead of long int.
17104         (INSERT_WORDS64): Likwise.
17106 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17108         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17109         _Unwind_GetCFA return to _Unwind_Ptr first.
17111 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
17113         [BZ #13629]
17114         * math/s_clog.c: Include <float.h>.
17115         (__clog): Scale large or subnormal inputs.
17116         * math/s_clogf.c: Likewise.
17117         * math/s_clogl.c: Likewise.
17118         * math/s_clog10.c: Include <float.h>.
17119         (M_LOG10_2): Define.
17120         (__clog10): Scale large or subnormal inputs.
17121         * math/s_clog10f.c: Likewise.
17122         * math/s_clog10l.c: Likewise.
17123         * math/libm-test.inc (clog_test): Add more tests.
17124         (clog10_test): Likewise.
17125         * sysdeps/i386/fpu/libm-test-ulps: Update.
17126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17128         [BZ #11451]
17129         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17130         x and y.
17131         * math/libm-test.inc (atan2_test): Add another test.
17133         * Makerules (common-objdir-compile): Remove.
17134         * sysdeps/unix/Makefile (config-generated): Do not add
17135         $(unix-generated) to variable.
17136         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17137         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17138         Remove rule.
17139         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17140         Likewise.
17141         [generic bits/local_lim.h] (before-compile): Do not append to
17142         variable.
17143         [generic bits/local_lim.h] (common-generated): Likewise.
17144         [generic sys/param.h] (before-compile): Do not append to variable.
17145         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17146         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17147         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17148         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17149         include.
17150         [generic sys/param.h] (sys/param.h-includes): Remove variable.
17151         [generic sys/param.h] (sys/param.h-includes): Remove rule.
17152         [generic sys/param.h] ($(addprefix
17153         $(common-objpfx),$(sys/param.h-includes))): Likewise.
17154         [generic sys/param.h] (common-generated): Do not append to
17155         variable.
17156         [generic sys/param.h] (sysdep_headers): Likewise.
17157         [generic bits/errno.h] (before-compile): Do not append to
17158         variable.
17159         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17160         rule.
17161         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17162         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17163         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17164         [generic bits/errno.h] (common-generated): Do not append to
17165         variable.
17166         [generic bits/ioctls.h] (before-compile): Do not append to
17167         variable.
17168         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17169         rule.
17170         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17171         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17172         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17173         rule.
17174         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17175         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17176         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17177         [generic bits/ioctls.h] (common-generated): Do not append to
17178         variable.
17179         [generic sys/syscall.h] (syscall.h): Remove variable.
17180         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17181         rule.
17182         [generic sys/syscall.h] (before-compile): Do not append to
17183         variable.
17184         [generic sys/syscall.h] (common-generated): Likewise.
17185         * sysdeps/unix/errnos-tmpl.c: Remove file.
17186         * sysdeps/unix/errnos.awk: Likewise.
17187         * sysdeps/unix/ioctls-tmpl.c: Likewise.
17188         * sysdeps/unix/ioctls.awk: Likewise.
17189         * sysdeps/unix/mk-local_lim.c: Likewise.
17190         * sysdeps/unix/snarf-ioctls: Likewise.
17192 2012-03-19  Richard Henderson  <rth@twiddle.net>
17194         * sysdeps/i386/fpu/fenv_private.h: New file.
17195         * sysdeps/i386/fpu/math_private.h: Use it.
17196         (math_opt_barrier, math_force_eval): Remove.
17197         (libc_feholdexcept_setround_53bit): Remove.
17198         (libc_feupdateenv_53bit): Remove.
17199         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17200         (math_opt_barrier, math_force_eval): Remove.
17201         (libc_feholdexcept): Remove.
17202         (libc_feholdexcept_setround): Remove.
17203         (libc_fetestexcept, libc_fesetenv): Remove.
17204         (libc_feupdateenv_test): Remove.
17205         (libc_feupdateenv, libc_feholdsetround): Remove.
17206         (libc_feresetround): Remove.
17208         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17209         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17211         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17212         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17213         (libc_feupdateenv_testl): New.
17214         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17215         (libc_feupdateenv_testf): New.
17216         (libc_feupdateenv): Use libc_feupdateenv_test.
17217         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17218         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17220         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17221         (libc_feholdsetroundf, libc_feholdsetroundl): New.
17222         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17223         (libc_feresetround_noex): New.
17224         (libc_feresetround_noexf): New.
17225         (libc_feresetround_noexl): New.
17226         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17227         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17228         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17229         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17230         SET_RESTORE_ROUND.
17231         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17232         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17233         (__cos): Likewise.
17234         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17235         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17236         SET_RESTORE_ROUND_NOEX.
17237         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17238         SET_RESTORE_ROUND_NOEXF.
17239         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17240         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17241         (libc_feholdsetroundf): New.
17242         (libc_feresetround, libc_feresetroundf): New.
17244         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17245         (libc_feholdexcept_setround_53bit): Convert from macro to function.
17246         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
17248         * sysdeps/generic/math_private.h: Include <fenv.h>.
17249         (default_libc_feholdexcept): New.
17250         (default_libc_feholdexcept_setround): New.
17251         (default_libc_fesetenv, default_libc_feupdateenv): New.
17252         (libc_feholdexcept): Only define if undefined.
17253         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17254         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17255         (libc_feholdexcept_setroundl): Likewise.
17256         (libc_feholdexcept_setround_53bit): Likewise.
17257         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17258         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17259         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17260         (libc_feupdateenv_53bit): Likewise.
17261         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17262         (libc_feholdexcept): Convert from macro to inline function.
17263         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17264         (libc_fesetenv, libc_feupdateenv): Likewise.
17266         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17267         not previously defined.
17268         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17269         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17270         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17271         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17272         * sysdeps/ieee754/flt-32/math_private.h: New file.
17273         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17274         math_private.h below SET_FLOAT_WORD.
17275         (__isnan, __isinf_ns, __finite): Remove.
17276         (__isnanf, __isinf_nsf, __finitef): Remove.
17278 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
17280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17282 2012-03-17  David S. Miller  <davem@davemloft.net>
17284         [BZ #6471]
17285         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17286         for 2.16.
17288 2012-03-16  David S. Miller  <davem@davemloft.net>
17290         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17291         warnings.
17293         [BZ #6471]
17294         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17295         properly.
17296         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17297         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17298         sysdep_routines when subdir is sysvipc.
17299         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17300         __getshmlba helper.
17302         * sysdeps/sparc/fpu/libm-test/ulps: Update.
17304 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17306         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17307         [__LP64__].
17309 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17311         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17312         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17313         (__lround): Renamed to ...
17314         (__llround): This.  Replace long int with long long int.
17315         Define lround functions as aliases of llround functions.
17316         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17318 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17320         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17321         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
17322         adresses to uintptr_t.  Replace "long int" and "unsigned long
17323         int" with "greg_t" on va_arg.
17325 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17327         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17328         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17330         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17331         Move e_machine check before EI_CLASS check.  Handle x32
17332         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17333         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17334         SKIP_EM_IA_64 and include
17335         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17337         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17338         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17339         (add_system_dir): New macro.
17341         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17342         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17344 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17346         [BZ #2551]
17347         [BZ #2552]
17348         [BZ #2553]
17349         [BZ #2554]
17350         [BZ #2562]
17351         [BZ #2563]
17352         [BZ #2565]
17353         [BZ #2566]
17354         [BZ #2576]
17355         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17356         (y0): Likewise.
17357         * math/w_j0f.c (j0f): Likewise.
17358         (y0f): Likewise.
17359         * math/w_j0l.c (__j0l): Likewise.
17360         (__y0l): Likewise.
17361         * math/w_j1.c (j1): Likewise.
17362         (y1): Likewise.
17363         * math/w_j1f.c (j1f): Likewise.
17364         (y1f): Likewise.
17365         * math/w_j1l.c (__j1l): Likewise.
17366         (__y1l): Likewise.
17367         * math/w_jn.c (jn): Likewise.
17368         (yn): Likewise.
17369         * math/w_jnf.c (jnf): Likewise.
17370         (ynf): Likewise.
17371         * math/w_jnl.c (__jnl): Likewise.
17372         (__ynl): Likewise.
17373         * math/libm-test.inc (j0_test): Add more tests.
17374         (j1_test): Likewise.
17375         (jn_test): Likewise.  Add trailing semicolon to existing test.
17376         (y0_test): Likewise.
17377         (y1_test): Likewise.
17378         * sysdeps/i386/fpu/libm-test-ulps: Update.
17379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17381         [BZ #13851]
17382         [BZ #13854]
17383         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17384         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17385         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17386         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17387         (__tanl): Set errno for infinite argument.
17388         * sysdeps/i386/fpu/mptan.c: Remove.
17389         * sysdeps/i386/fpu/s_tan.S: Likewise.
17390         * sysdeps/i386/fpu/s_tanl.S: Likewise.
17391         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17392         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17393         * math/libm-test.inc (tan_test): Add more tests and enable more
17394         tests for double and long double.
17395         * sysdeps/i386/fpu/libm-test-ulps: Update.
17396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17398 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
17400         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17401         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17403 2012-03-16  Roland McGrath  <roland@hack.frob.com>
17405         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17406         * configure.in: Use it for both main tree and add-ons.
17407         * configure: Regenerated.
17409 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17411         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17413 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17415         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17416         in comment.
17418         [BZ #13851]
17419         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17420         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17421         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17422         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17423         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17424         infinite argument.
17425         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17426         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17427         != 0 for prec == 2.
17428         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17429         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17430         * sysdeps/i386/fpu/s_cosl.S: Likewise.
17431         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17432         * sysdeps/i386/fpu/s_sinl.S: Likewise.
17433         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17434         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17435         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17436         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17437         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17438         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17439         * math/libm-test.inc (cos_test): Add more tests and enable more
17440         tests for long double.
17441         (sin_test): Likewise.
17442         (sincos_test): Likewise.
17443         * sysdeps/i386/fpu/libm-test-ulps: Update.
17444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17446 2012-03-16  David S. Miller  <davem@davemloft.net>
17448         * sysdeps/sparc/fpu/math_private.h: New file.
17450 2012-03-15  David S. Miller  <davem@davemloft.net>
17452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17453         file.
17454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17456         file.
17457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17460         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17462         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17463         sysdep routines.
17464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17466         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17467         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17469         * sysdeps/sparc/sparc-ifunc.h: New file.
17470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17471         sparc-ifunc.h
17472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17474         Likewise.
17475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17476         Likewise.
17477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17481         Likewise.
17482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17487         Likewise.
17488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17489         Likewise.
17490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17494         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17495         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17496         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17497         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17498         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17499         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17500         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17501         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17502         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17503         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17504         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17505         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17506         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17507         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17508         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17509         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17510         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17511         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17512         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17513         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17515 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17517         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17518         scaling.
17519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17521 2012-03-15  Andreas Jaeger  <aj@suse.de>
17523         [BZ #13852]
17524         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17525         ieee754/flt-32 implementation for sin, cos and sincos.
17526         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17527         * sysdeps/i386/fpu/s_cosf.S: Likewise.
17528         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17529         * sysdeps/i386/fpu/s_sinf.S: Likewise.
17530         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17531         ieee754/flt-32 implementation for tan.
17533         * math/libm-test.inc (cos_test): Enable some large input tests for
17534         float as well
17535         (sin_test): Likewise.
17536         (sincos_test): Likewise.
17537         (tan_test): Add tests for large input.
17539         * sysdeps/i386/fpu/libm-test-ulps: Update.
17541 2012-03-15  Andreas Jaeger  <aj@suse.de>
17543         [BZ #13658]
17544         * math/libm-test.inc (cos_test): Add more test cases.
17545         (sin_test): Likewise.
17546         (sincos_test): Likewise.
17548 2012-03-15  Andreas Jaeger  <aj@suse.de>
17550         [BZ #13837]
17551         * math/libm-test.inc (cos_test): Add a test case for large input
17552         value.
17553         (sin_test): Likewise.
17554         (sincos_test): Likewise.
17556 2012-03-15  Andreas Jaeger  <aj@suse.de>,
17557         Joseph Myers  <joseph@codesourcery.com>
17559         [BZ #13658]
17560         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17561         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17562         * sysdeps/i386/fpu/branred.c: Likewise.
17563         * sysdeps/i386/fpu/dosincos.c: Likewise.
17564         * sysdeps/i386/fpu/mpa.c: Likewise.
17565         * sysdeps/i386/fpu/s_cos.S: Likewise.
17566         * sysdeps/i386/fpu/s_sin.S: Likewise.
17567         * sysdeps/i386/fpu/s_sincos.S: Likewise.
17568         * sysdeps/i386/fpu/sincos32.c: Likewise.
17570         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17571         Define.
17572         (libc_feupdateenv_53bit): Define.
17573         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17574         Define.
17575         (libc_feupdateenv_53bit): Define.
17577         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17578         53 bit (without extend i386 double precision).
17580         * math/libm-test.inc (sincos_test): Add tests for large input.
17581         (sin): Likewise.
17582         (cos): Likewise.
17584         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17586 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17590 2012-03-15  David S. Miller  <davem@davemloft.net>
17592         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17593         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17594         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17595         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17600         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17601         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17606         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17608         file.
17609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17611         file.
17612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17614         file.
17615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17617         file.
17618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17619         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17620         fmin/fmax sysdep routines.
17621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17623 2012-03-14  David S. Miller  <davem@davemloft.net>
17625         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17626         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17627         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17628         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17629         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17630         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17631         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17632         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17633         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17634         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17635         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17636         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17637         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17638         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17639         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17640         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17641         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17642         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17643         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17644         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17645         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17646         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17647         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17648         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17649         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17650         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17651         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17652         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17653         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17654         routines.
17655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17656         file.
17657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17659         file.
17660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17662         file.
17663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17665         file.
17666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17668         file.
17669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17671         file.
17672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17673         file.
17674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17675         file.
17676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17677         file.
17678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17679         New file.
17680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17681         file.
17682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17683         file.
17684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17686         file.
17687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17689         file.
17690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17692         file.
17693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17695         VIS3 routines.
17697         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17698         New file.
17700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17702         * sysdeps/sparc/configure.in: New file.
17703         * sysdeps/sparc/configure: Generate.
17704         * configure.in (libc_cv_sparc_as_vis3): Substitute.
17705         * configure: Regenerate.
17706         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17707         * config.make.in (have-as-vis3): New.
17708         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17709         available use -Av9d instead of -Av9a.
17710         * sysdeps/sparc/sparc64/Makefile: Likewise.
17711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17713         New file.
17714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17715         file.
17716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17717         New file.
17718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17719         file.
17720         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17721         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17722         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17723         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17724         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17726         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17727         fzeros/fnegs to load 0x80000000 into a float register instead of
17728         using the stack.
17729         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17731 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17733         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17734         bits/syscall.h.
17735         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17736         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17737         ($(inst_includedir)/bits/syscall.h): Remove rule.
17738         ($(objpfx)bits/syscall.d): Include instead of
17739         $(objpfx)syscall-list.d.
17740         (generated): Change syscall-list.h and syscall-list.d to
17741         bits/syscall.h and bits/syscall.d.
17743 2012-03-14  Roland McGrath  <roland@hack.frob.com>
17745         [BZ #13846]
17746         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17748 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17750         [BZ #13841]
17751         * math/s_csqrt.c: Include <float.h>.
17752         (__csqrt): Scale large or subnormal inputs.
17753         * math/s_csqrtf.c: Likewise.
17754         * math/s_csqrtl.c: Likewise.
17755         * math/libm-test.inc (csqrt_test): Add more tests.
17756         * sysdeps/i386/fpu/libm-test-ulps: Update.
17757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17759         [BZ #13840]
17760         * math/libm-test.inc (hypot_test): Add more tests.
17762 2012-03-13  David S. Miller  <davem@davemloft.net>
17764         [BZ #13840]
17765         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17766         double-precision for the calculation instead of scaling.
17768 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
17770         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17771         manipulate bits before adding and subtracting TWO52[sx].
17772         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17773         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17774         Likewise.
17775         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17777 2012-03-13  David S. Miller  <davem@davemloft.net>
17779         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17780         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17781         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17782         rtld-global-offsets.h
17783         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17785         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17786         large parameters.
17788         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17790         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17791         'err' in the ifdef scope in which it is actually used.
17793         * nss/nss_db/db-init.c: Include string.h
17795 2012-03-12  David S. Miller  <davem@davemloft.net>
17797         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17798         masking out of the most significant byte of random value used.
17799         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17800         Fix coding style in previous change.
17802         * sysdeps/unix/sysv/linux/kernel-features.h
17803         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17804         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17805         expression.
17806         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17807         later.
17809 2012-03-11  David S. Miller  <davem@davemloft.net>
17811         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17812         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17813         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17814         for 'resultvar' otherwise things get truncated on 64-bit.
17816         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17817         Fix masking out of the most significant byte of random value used.
17819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17821 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
17823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17825 2012-03-09  David S. Miller  <davem@davemloft.net>
17827         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17828         variables with appropriate CPP guards.
17829         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17830         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
17831         on resulting framesize and the management of the outregs buffer for pltexit.
17832         Preserve floating point return values across _dl_call_pltexit call.
17833         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17834         framesize and the management of the outregs buffer for pltexit.
17835         Preserve floating point return values across _dl_call_pltexit
17836         call.
17837         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17838         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17839         (print_exit): Fix format string for return register value.
17841 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
17843         * sunrpc/Makefile (others): Add rpcgen.
17844         ($(objpfx)rpcgen): Remove special build rule and dependency on
17845         libc.
17846         * sunrpc/rpcgen.c: New file.
17848 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
17850         [BZ #13673]
17851         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17852         * stdio-common/bug-vfprintf-nargs.c: Likewise.
17853         * sysdeps/i386/crti.S: Likewise.
17854         * sysdeps/i386/crtn.S: Likewise.
17855         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17856         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17857         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17858         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17859         * sysdeps/sh/crti.S: Likewise.
17860         * sysdeps/sh/crtn.S: Likewise.
17861         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17863         [BZ #13673]
17864         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17865         with URL.
17866         * locale/programs/locfile-kw.gperf: Likewise.
17867         * locale/programs/charmap-kw.h: Regenerated.
17868         * locale/programs/locfile-kw.h: Likewise.
17870         [BZ #13673]
17871         * intl/plural.y: Replace FSF snail mail address with URL.
17872         * intl/plural.c: Regenerated.
17874 2012-03-09  Richard Henderson  <rth@twiddle.net>
17876         * include/math_private.h: Remove file.
17877         * math/math_private.h: Move file ...
17878         * sysdeps/generic/math_private.h: ... here.
17880         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17881         * sysdeps/powerpc/fpu/math_private.h: Likewise.
17882         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17884         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17885         and <math_private.h>.
17886         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17887         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17888         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17889         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17890         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17891         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17892         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17893         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17894         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17895         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17896         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17897         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17898         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17899         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17900         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17901         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17902         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17903         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17904         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17905         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17906         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17907         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17908         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17909         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17910         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17911         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17912         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17913         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17914         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17915         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17916         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17917         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17918         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17919         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17920         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17921         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17922         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17923         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17924         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17925         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17926         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17927         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17928         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17929         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17930         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17931         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17932         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17933         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17934         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17935         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17936         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17937         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17938         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17939         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17940         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17941         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17942         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17943         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17944         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17945         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17946         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17947         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17948         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17949         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17950         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17951         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17952         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17953         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17954         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17955         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17956         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17957         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17958         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17959         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17960         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17961         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17962         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17963         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17964         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17965         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17966         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17967         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17968         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17969         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17970         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17971         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17972         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17973         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17974         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17975         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17976         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17977         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17978         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17979         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17980         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17981         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17982         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17983         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17984         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17985         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17986         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17987         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17988         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17989         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17990         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17991         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17992         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17993         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17994         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17995         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17996         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17997         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17998         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17999         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18000         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18001         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18002         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18003         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18004         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18005         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18006         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18007         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18008         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18009         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18010         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18011         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18012         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18013         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18014         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18015         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18016         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18017         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18018         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18019         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18020         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18021         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18022         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18023         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18024         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18025         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18026         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18027         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18028         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18029         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18030         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18031         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18032         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18033         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18034         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18035         * sysdeps/ieee754/k_standard.c: Likewise.
18036         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18037         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18038         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18039         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18040         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18041         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18042         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18043         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18044         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18045         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18046         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18047         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18048         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18049         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18050         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18051         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18052         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18053         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18054         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18055         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18056         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18057         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18058         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18059         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18060         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18061         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18062         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18063         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18064         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18065         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18066         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18067         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18068         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18069         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18070         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18071         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18072         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18073         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18074         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18075         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18076         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18077         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18078         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18079         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18080         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18081         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18082         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18083         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18084         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18085         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18086         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18087         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18088         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18089         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18090         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18091         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18092         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18093         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18094         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18095         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18096         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18097         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18098         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18099         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18100         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18101         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18102         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18103         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18104         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18105         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18106         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18107         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18108         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18109         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18110         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18111         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18112         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18113         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18114         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18115         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18116         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18117         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18118         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18119         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18120         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18121         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18122         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18123         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18124         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18125         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18126         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18127         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18128         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18129         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18130         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18131         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18132         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18133         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18134         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18135         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18136         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18137         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18138         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18139         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18140         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18141         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18142         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18143         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18144         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18145         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18146         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18147         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18148         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18149         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18150         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18151         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18152         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18153         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18154         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18155         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18156         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18157         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18158         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18159         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18160         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18161         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18162         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18163         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18164         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18165         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18166         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18167         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18168         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18169         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18170         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18171         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18172         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18173         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18174         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18175         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18176         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18177         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18178         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18179         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18180         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18181         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18182         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18183         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18184         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18185         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18186         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18187         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18188         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18189         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18190         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18191         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18192         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18193         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18194         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18195         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18196         * sysdeps/ieee754/s_lib_version.c: Likewise.
18197         * sysdeps/ieee754/s_matherr.c: Likewise.
18198         * sysdeps/ieee754/s_signgam.c: Likewise.
18199         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18200         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18201         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18202         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18203         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18204         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18205         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18206         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18207         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18208         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18209         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18210         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18211         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18212         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18213         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18214         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18215         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18216         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18217         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18218         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18219         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18221 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18223         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18224         * sunrpc/rpc_main.c: Likewise.
18225         * sunrpc/rpc_svcout.c: Likewise.
18227 2012-03-09  David S. Miller  <davem@davemloft.net>
18229         * include/math_private.h: New file.
18231 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18233         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18234         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18235         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18236         from <bits/socket_type.h>.
18237         (enum __socket_type): Don't define here.
18238         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18239         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18240         bits/socket_type.h.
18242         [BZ #13566]
18243         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18244         checking __USE_GNU.
18246         * Makerules ($(inst_includedir)/%.h): New rule.
18247         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18248         (install-others): Remove variable setting.
18249         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18251 2012-03-08  Richard Henderson  <rth@twiddle.net>
18253         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18254         from macro to inline function; merge with the
18255         !__LIBC_INTERNAL_MATH_INLINES version.
18256         (__ieee754_sqrtf): Likewise.
18258         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18259         to inline function.
18260         (__rintf, __floor, __floorf): Likewise.
18262         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18263         macro to inline function.
18264         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18266         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18267         not <math/math_private.h>.
18269 2012-03-08  David S. Miller  <davem@davemloft.net>
18271         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18272         copyright year.
18273         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18275 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
18277         * resolv/gai_misc.c (handle_requests): Fix struct timespec
18278         normalization.
18279         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18280         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18282 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
18284         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
18285         be defined individually, they must be defined as a block.  Define
18286         S for printing a string instead of hidint the different by using a
18287         macro for adding the 'l'.
18288         * stdio-common/tst-fphex-wide.c: Adjust.
18290 2012-03-07  Marek Polacek  <polacek@redhat.com>
18292         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18294 2012-03-08  Marek Polacek  <polacek@redhat.com>
18296         [BZ #13806]
18297         * stdio-common/Makefile (tests): Add tst-fphex-wide.
18298         * stdio-common/tst-fphex.c: Define a few macros to make the
18299         test reusable.  Use them.
18300         * stdio-common/tst-fphex-wide.c: New file.
18302 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
18304         [BZ #6911]
18305         * manual/macros.texi (gnusystems): New macro.
18306         (nongnusystems): Likewise.
18307         (gnulinuxhurdsystems): Likewise.
18308         (gnuhurdsystems): Likewise..
18309         (gnulinuxsystems): Likewise.
18310         * manual/charset.texi: Use new macros or @theglibc{} to refer to
18311         variants of the GNU system, not "GNU system".
18312         * manual/conf.texi: Likewise.
18313         * manual/errno.texi: Likewise.  Update example of errno macro
18314         expansion.
18315         * manual/filesys.texi: Likewise.
18316         (getumask): Document as specific to GNU/Hurd.
18317         * manual/install.texi: Likewise.  Reword some references to
18318         GNU/Linux.
18319         * manual/intro.texi: Likewise.
18320         * manual/io.texi: Likewise.
18321         (File Name Portability): Detail which constraints are inapplicable
18322         to all GNU systems and which are only inapplicable to GNU/Hurd.
18323         * manual/job.texi: Likewise.
18324         * manual/llio.texi: Likewise.
18325         (O_NOCTTY): Document as present on GNU/Linux.
18326         * manual/maint.texi: Likewise.
18327         * manual/memory.texi: Likewise.
18328         * manual/pattern.texi: Likewise.
18329         * manual/pipe.texi: Likewise.
18330         * manual/process.texi: Likewise.
18331         * manual/resource.texi: Likewise.
18332         (RUSAGE_CHILDREN): Remove statement about specifying a particular
18333         child on GNU/Hurd.
18334         * manual/setjmp.texi: Likewise.
18335         * manual/signal.texi: Likewise.
18336         * manual/startup.texi: Likewise.
18337         * manual/stdio.texi: Likewise.
18338         * manual/terminal.texi: Likewise.
18339         (ONLCR): Document as POSIX.
18340         (OXTABS): Document availability on GNU/Linux as XTABS.
18341         (ONOEOT): Document availability separately from other bits.
18342         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18343         * manual/time.texi: Likewise.
18344         * manual/users.texi: Likewise.
18345         * INSTALL: Regenerated.
18346         * sysdeps/gnu/errlist.c: Regenerated.
18348         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18349         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18350         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
18351         puts.
18352         * configure: Regenerated.
18354 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
18356         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18357         default includes instead of AC_HEADER_CHECK.
18358         * sysdeps/i386/configure: Regenerated.
18360         [BZ #10716]
18361         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18362         * math/s_cacoshf.c (__cacoshf): Likewise.
18363         * math/s_cacoshl.c (__cacoshl): Likewise.
18364         * math/s_casinh.c (__casinh): Set signs of result from argument.
18365         * math/s_casinhf.c (__casinhf): Likewise.
18366         * math/s_casinhl.c (__casinhl): Likewise.
18367         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18368         (casinh_test): Add more tests.
18369         * sysdeps/i386/fpu/libm-test-ulps: Update.
18370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18372 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
18374         * po/zh_TW.po: Update from translation team.
18376         * login/Makefile (distribute): Remove variable.
18377         * catgets/Makefile: Likewise.
18378         * mach/Makefile: Likewise.
18379         * malloc/Makefile: Likewise.
18380         * misc/Makefile: Likewise.
18381         * iconv/Makefile: Likewise.
18382         * nscd/Makefile: Likewise.
18383         * hurd/Makefile: Likewise.
18384         * manual/Makefile: Likewise.
18385         * locale/Makefile: Likewise.
18386         * intl/Makefile: Likewise.
18387         * conform/Makefile: Likewise.
18388         * nss/Makefile: Likewise.
18389         * time/Makefile: Likewise.
18390         * soft-fp/Makefile: Likewise.
18391         * dirent/Makefile: Likewise.
18392         * gmon/Makefile: Likewise.
18393         * po/Makefile: Likewise.
18394         * rt/Makefile: Likewise.
18395         * socket/Makefile: Likewise.
18396         * math/Makefile: Likewise.
18397         * signal/Makefile: Likewise.
18398         * debug/Makefile: Likewise.
18399         * elf/Makefile: Likewise.
18400         * timezone/Makefile: Likewise.
18401         * stdlib/Makefile: Likewise.
18402         * iconvdata/Makefile: Likewise.
18403         * sunrpc/Makefile: Likewise.
18404         * io/Makefile: Likewise.
18405         * argp/Makefile: Likewise.
18406         * inet/Makefile: Likewise.
18407         * hesiod/Makefile: Likewise.
18408         * grp/Makefile: Likewise.
18409         * csu/Makefile: Likewise.
18410         * wctype/Makefile: Likewise.
18411         * crypt/Makefile: Likewise.
18412         * libio/Makefile: Likewise.
18413         * string/Makefile: Likewise.
18414         * nis/Makefile: Likewise.
18415         * resolv/Makefile: Likewise.
18416         * stdio-common/Makefile: Likewise.
18417         * wcsmbs/Makefile: Likewise.
18418         * dlfcn/Makefile: Likewise.
18419         * posix/Makefile: Likewise.
18421         [BZ #6959]
18422         * timezone/Makefile: Don't install timezone files, just the programs
18423         and scripts.
18425 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
18427         * nss/databases.def: Add missing gshadow entry.
18429         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
18431 2012-03-06  Marek Polacek  <polacek@redhat.com>
18433         [BZ #13726]
18434         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18435         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18436         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18437         * stdio-common/tst-long-dbl-fphex.c: New file.
18439 2012-03-06  David S. Miller  <davem@davemloft.net>
18441         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18442         (set_obp_int): New function.
18443         (get_obp_int): New function.
18444         (__get_clockfreq_via_dev_openprom): Likewise.
18445         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18446         Avoid unused variable warnings on 'val' and use builtin_expect.
18447         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18448         __builtin_expect.
18449         (INLINE_CLONE_SYSCALL): Likewise.
18451 2012-03-05  David S. Miller  <davem@davemloft.net>
18453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18455 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
18457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18459         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18460         only for |x| >= 40.
18461         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18463 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18465         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18466         Replace gettimeofday with __vdso_gettimeofday.
18468         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18469         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18470         __vdso_clock_gettime and __vdso_getcpu.
18472         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18473         time with __vdso_time.
18475 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18477         * manual/lang.texi (size_t): Note types to which size_t may be
18478         equivalent with the GNU C Library, but do not describe when
18479         differences between them are significant.
18481 2012-03-05  Andreas Jaeger  <aj@suse.de>
18483         * sysdeps/i386/fpu/libm-test-ulps: Update.
18485 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18487         [BZ #3976]
18488         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18489         (__ieee754_pow): Save and restore rounding mode and use
18490         round-to-nearest for main computations.
18491         * math/libm-test.inc (pow_test_tonearest): New function.
18492         (pow_test_towardzero): Likewise.
18493         (pow_test_downward): Likewise.
18494         (pow_test_upward): Likewise.
18495         (main): Call the new functions.
18496         * sysdeps/i386/fpu/libm-test-ulps: Update.
18497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18499         [BZ #3976]
18500         * math/libm-test.inc (cosh_test_tonearest): New function.
18501         (cosh_test_towardzero): Likewise.
18502         (cosh_test_downward): Likewise.
18503         (cosh_test_upward): Likewise.
18504         (sinh_test_tonearest): Likewise.
18505         (sinh_test_towardzero): Likewise.
18506         (sinh_test_downward): Likewise.
18507         (sinh_test_upward): Likewise.
18508         (main): Call the new functions.
18509         * sysdeps/i386/fpu/libm-test-ulps: Update.
18510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18512 2012-03-05  Tom de Vries  <tom@codesourcery.com>
18514         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18515         default stack guard is set in last bytes.
18516         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18518 2012-03-05  Kees Cook  <keescook@chromium.org>
18520         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18522         [BZ #13656]
18523         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18524         possibly allocate from heap instead of stack.
18525         * stdio-common/bug-vfprintf-nargs.c: New file.
18526         * stdio-common/Makefile (tests): Add nargs overflow test.
18528 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
18530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18532 2012-03-03  Marek Polacek  <polacek@redhat.com>
18534         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18535         * math/math_private.h: Likewise.
18536         * stdlib/tst-strtod.c: Likewise.
18537         * sysdeps/i386/i486/bits/atomic.h: Likewise.
18538         * sysdeps/x86_64/bits/atomic.h: Likewise.
18540 2012-03-02  David S. Miller  <davem@davemloft.net>
18542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18546         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18547         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18548         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18549         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18551 2012-03-02  Roland McGrath  <roland@hack.frob.com>
18553         [BZ #13792]
18554         * manual/examples/README: New file, says the example source files
18555         can be used under GPL>=2.
18556         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18557         line containing just "*/".
18558         * manual/examples/add.c: Add copyright header (GPL>=2).
18559         * manual/examples/argp-ex1.c: Likewise.
18560         * manual/examples/argp-ex2.c: Likewise.
18561         * manual/examples/argp-ex3.c: Likewise.
18562         * manual/examples/argp-ex4.c: Likewise.
18563         * manual/examples/atexit.c: Likewise.
18564         * manual/examples/db.c: Likewise.
18565         * manual/examples/dir.c: Likewise.
18566         * manual/examples/dir2.c: Likewise.
18567         * manual/examples/execinfo.c: Likewise.
18568         * manual/examples/filecli.c: Likewise.
18569         * manual/examples/filesrv.c: Likewise.
18570         * manual/examples/fmtmsgexpl.c: Likewise.
18571         * manual/examples/genpass.c: Likewise.
18572         * manual/examples/inetcli.c: Likewise.
18573         * manual/examples/inetsrv.c: Likewise.
18574         * manual/examples/isockad.c: Likewise.
18575         * manual/examples/longopt.c: Likewise.
18576         * manual/examples/memopen.c: Likewise.
18577         * manual/examples/memstrm.c: Likewise.
18578         * manual/examples/mkfsock.c: Likewise.
18579         * manual/examples/mkisock.c: Likewise.
18580         * manual/examples/mygetpass.c: Likewise.
18581         * manual/examples/pipe.c: Likewise.
18582         * manual/examples/popen.c: Likewise.
18583         * manual/examples/rprintf.c: Likewise.
18584         * manual/examples/search.c: Likewise.
18585         * manual/examples/select.c: Likewise.
18586         * manual/examples/setjmp.c: Likewise.
18587         * manual/examples/sigh1.c: Likewise.
18588         * manual/examples/sigusr.c: Likewise.
18589         * manual/examples/stpcpy.c: Likewise.
18590         * manual/examples/strdupa.c: Likewise.
18591         * manual/examples/strftim.c: Likewise.
18592         * manual/examples/strncat.c: Likewise.
18593         * manual/examples/subopt.c: Likewise.
18594         * manual/examples/swapcontext.c: Likewise.
18595         * manual/examples/termios.c: Likewise.
18596         * manual/examples/testopt.c: Likewise.
18597         * manual/examples/testpass.c: Likewise.
18598         * manual/examples/timeval_subtract.c: Likewise.
18600         [BZ #13792]
18601         * manual/time.texi (Elapsed Time): Move timeval_subtract example
18602         function to ...
18603         * manual/timeval_subtract.c.texi: ... here, new file.
18605 2012-03-02  David S. Miller  <davem@davemloft.net>
18607         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18609 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
18611         [BZ #3976]
18612         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18613         (__sin): Save and restore rounding mode and use round-to-nearest
18614         for all computations.
18615         (__cos): Save and restore rounding mode and use round-to-nearest
18616         for all computations.
18617         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18618         <fenv.h>.
18619         (tan): Save and restore rounding mode and use round-to-nearest for
18620         all computations.
18621         * math/libm-test.inc (cos_test_tonearest): New function.
18622         (cos_test_towardzero): Likewise.
18623         (cos_test_downward): Likewise.
18624         (cos_test_upward): Likewise.
18625         (sin_test_tonearest): Likewise.
18626         (sin_test_towardzero): Likewise.
18627         (sin_test_downward): Likewise.
18628         (sin_test_upward): Likewise.
18629         (tan_test_tonearest): Likewise.
18630         (tan_test_towardzero): Likewise.
18631         (tan_test_downward): Likewise.
18632         (tan_test_upward): Likewise.
18633         (main): Call the new functions.
18634         * sysdeps/i386/fpu/libm-test-ulps: Update.
18635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18637         [BZ #10135]
18638         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18639         small n, then large n, before computing and testing k+n.
18640         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18641         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18642         Likewise.
18643         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18644         Likewise.
18645         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18646         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18647         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18648         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18649         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18650         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18651         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18652         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18653         * math/libm-test.inc (scalbn_test): Add more tests.
18654         (scalbln_test): Likewise.
18656         * manual/filesys.texi (mode_t): Describe constraints on size and
18657         signedness, not exact equivalence to a particular type.
18658         (ino_t): Likewise.
18659         (ino64_t): Likewise.
18660         (dev_t): Likewise.
18661         (nlink_t): Likewise.
18662         (blkcnt_t): Likewise.
18663         (blkcnt64_t): Likewise.
18664         * manual/llio.texi (off_t): Likewise.
18666         [BZ #3976]
18667         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18668         (__ieee754_exp): Save and restore rounding mode and use
18669         round-to-nearest for all computations.
18670         * math/libm-test.inc (exp_test_tonearest): New function.
18671         (exp_test_towardzero): Likewise.
18672         (exp_test_downward): Likewise.
18673         (exp_test_upward): Likewise.
18674         (main): Call the new functions.
18675         * sysdeps/i386/fpu/libm-test-ulps: Update.
18676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18678 2012-03-01  Chris Demetriou  <cgd@google.com>
18680         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18681         have predictable order.
18683 2012-03-01  David S. Miller  <davem@davemloft.net>
18685         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18687         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18688         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18689         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18690         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18692         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18693         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18694         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18696         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18697         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18698         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18699         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18700         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18704         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18705         * sysdeps/sparc/fpu/libm-test-ulps: to here.
18706         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18708         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18709         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18710         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18711         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18712         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18713         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18714         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18715         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18716         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18717         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18718         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18719         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18720         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18721         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18722         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18723         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18724         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18725         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18726         * sysdeps/sparc/elf/configure: Regenerated.
18728 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
18730         * configure.in (AS, LD): Require binutils 2.20 or later.
18731         * configure: Regenerated.
18732         * manual/install.texi (Tools for Compilation): Give binutils 2.20
18733         as required minimum version.
18734         * INSTALL: Regenerated.
18736         [BZ #2541]
18737         [BZ #4108]
18738         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18739         before squaring exponent.
18740         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18741         bottom long double and 27 bits of top long double before squaring
18742         exponent.
18743         * math/libm-test.inc (erfc_test): Add more tests.
18744         * sysdeps/i386/fpu/libm-test-ulps: Update.
18745         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18748 2012-03-01  Kai Tietz  <ktietz@redhat.com>
18750         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18751         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18752         containing bit-fields.
18753         * soft-fp/extended.h (_FP_UNION_E): Likewise.
18754         * soft-fp/single.h (_FP_UNION_S): Likewise.
18755         * soft-fp/double.h (_FP_UNION_D): Likewise.
18757 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18759         [BZ #13786]
18760         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18761         not include ../strcmp.S.
18762         [USE_AS_STRNCASECMP_L]: Likewise.
18763         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18764         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18765         * sysdeps/i386/i686/multiarch/strncase_l-c.c
18766         (__strncasecmp_l_ia32): Define as alias to
18767         __strncasecmp_l_nonascii.
18769         [BZ #5794]
18770         * math/libm-test.inc (expm1_test): Add test for bug 5794.
18771         * sysdeps/i386/fpu/libm-test-ulps: Update.
18772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18774         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18777 2012-02-29  Jeff Law  <law@redhat.com>
18779         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18780         out of bounds read.
18782 2012-02-29  Marek Polacek  <polacek@redhat.com>
18784         [BZ #13706]
18785         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18786         * elf/Makefile: Add rules to run tst-unused-dep.out.
18788 2012-02-28  David S. Miller  <davem@davemloft.net>
18790         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18791         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18792         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18793         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18794         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18795         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18797 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18799         * math/libm-test.inc (llround_test): Move one test from
18800         lround_test.  Use TEST_f_L in moved test.
18801         (lround_test): Move misplaced test to llround_test.  Add testcase
18802         from bug 2561.
18804 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
18806         * sysdeps/x86_64/fpu/e_expf.S: New file.
18807         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18809 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
18811         [BZ #13637]
18812         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18813         of remain_len that may cause incomplete multi-byte character and
18814         false match.
18815         * posix/bug-regex33.c: New file.
18816         * posix/Makefile (tests): Add bug-regex33.
18818 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
18820         * manual/macros.texi: New file.
18821         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18822         * manual/libc.texinfo: Include macros.texi.
18823         * manual/creatute.texi: Likewise.
18824         * manual/install.texi: Likewise.
18825         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18826         @glibcadj{} in references to the GNU C Library.
18827         * manual/charset.texi: Likewise.
18828         * manual/conf.texi: Likewise.
18829         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
18830         when not using those macros.
18831         * manual/creature.texi: Likewise.
18832         * manual/crypt.texi: Likewise.
18833         * manual/errno.texi: Likewise.
18834         * manual/filesys.texi: Likewise.
18835         * manual/header.texi: Likewise.
18836         * manual/install.texi: Likewise.
18837         * manual/intro.texi: Likewise.
18838         * manual/io.texi: Likewise.
18839         * manual/job.texi: Likewise.
18840         * manual/lang.texi: Likewise.
18841         * manual/libc.texiinfo: Likewise.
18842         * manual/llio.texi: Likewise.
18843         * manual/locale.texi: Likewise.
18844         * manual/maint.texi: Likewise.
18845         * manual/math.texi: Likewise.
18846         * manual/memory.texi: Likewise.
18847         * manual/message.texi: Likewise.
18848         * manual/nss.texi: Likewise.
18849         * manual/pattern.texi: Likewise.
18850         * manual/process.texi: Likewise.
18851         * manual/resource.texi: Likewise.
18852         * manual/search.texi: Likewise.
18853         * manual/setjmp.texi: Likewise.
18854         * manual/signal.texi: Likewise.
18855         * manual/socket.texi: Likewise.
18856         * manual/startup.texi: Likewise.
18857         * manual/stdio.texi: Likewise.
18858         * manual/string.texi: Likewise.
18859         * manual/sysinfo.texi: Likewise.
18860         * manual/syslog.texi: Likewise.
18861         * manual/terminal.texi: Likewise.
18862         * manual/time.texi: Likewise.
18863         * manual/users.texi: Likewise.
18864         * INSTALL: Regenerated.
18865         * NOTES: Regenerated.
18866         * sysdeps/gnu/errlist.c: Regenerated.
18868 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
18870         * include/dirent.h: Include <dirstream.h> before
18871         <dirent/dirent.h>.
18873 2012-02-28  David S. Miller  <davem@davemloft.net>
18875         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18876         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18877         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18878         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18880 2012-02-27  David S. Miller  <davem@davemloft.net>
18882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18884         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18885         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18888         frame pointer instead of stack pointer relative arg slot.
18889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18890         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18891         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18893 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
18895         [BZ #3992]
18896         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18898 2012-02-27  David S. Miller  <davem@davemloft.net>
18900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18904         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18905         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18906         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18907         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18909 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18911         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18912         later.  Allow versions 5-9.
18913         * configure: Regenerated.
18914         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18915         required minimum version and 4.6 as recommended version.  Do not
18916         mention bugs in GCC 2.7 and 2.8.
18917         * INSTALL: Regenerated.
18919 2012-02-27  David S. Miller  <davem@davemloft.net>
18921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18925         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18926         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18927         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18928         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18930         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18931         manipulate bits before adding and subtracting TWO112[sx].
18932         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18934 2012-02-27  Roland McGrath  <roland@hack.frob.com>
18936         [BZ #13775]
18937         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18938         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18939         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18940         being in POSIX, because they are in 1003.1-2008.
18942         * rt/tst-aio.c: Include <fcntl.h>.
18943         * rt/tst-aio7.c: Likewise.
18944         * rt/tst-aio64.c: Likewise.
18946         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18948 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18950         * manual/install.texi (--with-headers): Describe headers as
18951         interface headers, not private headers.
18952         (Specific advice for GNU/Linux systems): Describe use of headers
18953         from "make headers_install", not private headers from older
18954         kernels.
18955         * INSTALL: Regenerated.
18956         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18957         Change to 2.6.19.
18958         * sysdeps/unix/sysv/linux/configure: Regenerated.
18960         * manual/llio.texi (fclean): Remove documentation.
18962         * manual/Makefile (libc-texi-generated): New variable.  Include
18963         version.texi.
18964         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18965         $(libc-texi-generated), not duplicated list of files.
18966         (version.texi, stamp-version): New rules.
18967         (realclean): Remove $(libc-texi-generated), not individual files
18968         from that list.  Do not remove dir-add.texinfo.
18969         * manual/libc.texinfo: Comment out uses of edition numbers and
18970         references to printed manual.  Remove last-updated dates.
18971         (EDITION): Comment out.
18972         (ISBN): Likewise.
18973         (VERSION, UPDATED): Remove.
18974         (version.texi): Include.
18976 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
18978         * sysdeps/posix/spawni.c: Include <signal.h>.
18979         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18980         * sysdeps/pthread/aio_fsync.c: Likewise.
18982 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
18984         * conform/Makefile (tests): Run only when not cross-compiling and
18985         when fast-check is not defined.
18987         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18988         * conform/data/limits.h-data: Fixes for POSIX2008.
18989         * conform/run-conformtest.sh: Run all tests.
18990         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18991         headers.
18992         * include/bits/dlfcn.h: Likewise.
18993         * include/langinfo.h: Likewise.
18994         * include/monetary.h: Likewise.
18995         * include/sys/poll.h: Likewise.
18997         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18998         for __USE_GNU.
18999         * posix/spawn.h: Define __need_sigset_t.
19000         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19001         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19002         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
19003         to get sigevent_t only.
19004         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19005         only for __USE_GNU.
19006         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19007         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19008         process_vm_writev only for __USE_GNU.
19009         * termios/termios.h: Declare tcgetsid also for POSIX2008.
19011         * conform/Makefile: For now ignore errors from run-conformtest.
19012         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
19013         POSIX to avoid namespace pollution.  Don't prepend headers.
19014         * conform/data/aio.h-data: Fixes for POSIX testing.
19015         * conform/data/fcntl.h-data: Likewise.
19016         * conform/data/glob.h-data: Likewise.
19017         * conform/data/grp.h-data: Likewise.
19018         * conform/data/pthread.h-data: Likewise.
19019         * conform/data/pwd.h-data: Likewise.
19020         * conform/data/signal.h-data: Likewise.
19021         * conform/data/spawn.h-data: Likewise.
19022         * conform/data/stdio.h-data: Likewise.
19023         * conform/data/stdlib.h-data: Likewise.
19024         * conform/data/stropts.h-data: Likewise.
19025         * conform/data/sys/mman.h-data: Likewise.
19026         * conform/data/sys/stat.h-data: Likewise.
19027         * conform/data/sys/types.h-data: Likewise.
19028         * conform/data/sys/wait.h-data: Likewise.
19029         * conform/data/time.h-data: Likewise.
19030         * conform/data/unistd.h-data: Likewise.
19031         * conform/data/utime.h-data: Likewise.
19033         * io/sys/stat.h: fchmod was always in POSIX.
19034         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19035         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19036         * rt/aio.h: Define __need_timespec before including <time.h>.
19037         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19038         struct.  Add forward declaration of pthread_attr_t and use it in
19039         sigevent.
19040         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19041         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19042         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19043         always remove CLK_TCK definition.
19045 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
19047         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19049 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
19051         * conform/run-conformtest.sh: New file.
19052         * conform/Makefile: Run run-conformtest for tests.
19053         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
19054         support.
19056         * conform/data/uchar.h-data: New file.
19057         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19058         * conform/data/arpa/inet.h-data: Likewise.
19059         * conform/data/assert.h-data: Likewise.
19060         * conform/data/complex.h-data: Likewise.
19061         * conform/data/cpio.h-data: Likewise.
19062         * conform/data/ctype.h-data: Likewise.
19063         * conform/data/dirent.h-data: Likewise.
19064         * conform/data/dlfcn.h-data: Likewise.
19065         * conform/data/errno.h-data: Likewise.
19066         * conform/data/fcntl.h-data: Likewise.
19067         * conform/data/float.h-data: Likewise.
19068         * conform/data/fmtmsg.h-data: Likewise.
19069         * conform/data/fnmatch.h-data: Likewise.
19070         * conform/data/ftw.h-data: Likewise.
19071         * conform/data/glob.h-data: Likewise.
19072         * conform/data/grp.h-data: Likewise.
19073         * conform/data/iconv.h-data: Likewise.
19074         * conform/data/inttypes.h-data: Likewise.
19075         * conform/data/langinfo.h-data: Likewise.
19076         * conform/data/libgen.h-data: Likewise.
19077         * conform/data/limits.h-data: Likewise.
19078         * conform/data/locale.h-data: Likewise.
19079         * conform/data/math.h-data: Likewise.
19080         * conform/data/monetary.h-data: Likewise.
19081         * conform/data/mqueue.h-data: Likewise.
19082         * conform/data/ndbm.h-data: Likewise.
19083         * conform/data/net/if.h-data: Likewise.
19084         * conform/data/netdb.h-data: Likewise.
19085         * conform/data/netinet/in.h-data: Likewise.
19086         * conform/data/nl_types.h-data: Likewise.
19087         * conform/data/poll.h-data: Likewise.
19088         * conform/data/pthread.h-data: Likewise.
19089         * conform/data/pwd.h-data: Likewise.
19090         * conform/data/regex.h-data: Likewise.
19091         * conform/data/sched.h-data: Likewise.
19092         * conform/data/search.h-data: Likewise.
19093         * conform/data/semaphore.h-data: Likewise.
19094         * conform/data/setjmp.h-data: Likewise.
19095         * conform/data/signal.h-data: Likewise.
19096         * conform/data/spawn.h-data: Likewise.
19097         * conform/data/stdarg.h-data: Likewise.
19098         * conform/data/stdio.h-data: Likewise.
19099         * conform/data/stdlib.h-data: Likewise.
19100         * conform/data/string.h-data: Likewise.
19101         * conform/data/strings.h-data: Likewise.
19102         * conform/data/stropts.h-data: Likewise.
19103         * conform/data/sys/ipc.h-data: Likewise.
19104         * conform/data/sys/mman.h-data: Likewise.
19105         * conform/data/sys/msg.h-data: Likewise.
19106         * conform/data/sys/resource.h-data: Likewise.
19107         * conform/data/sys/select.h-data: Likewise.
19108         * conform/data/sys/sem.h-data: Likewise.
19109         * conform/data/sys/shm.h-data: Likewise.
19110         * conform/data/sys/socket.h-data: Likewise.
19111         * conform/data/sys/stat.h-data: Likewise.
19112         * conform/data/sys/statvfs.h-data: Likewise.
19113         * conform/data/sys/time.h-data: Likewise.
19114         * conform/data/sys/timeb.h-data: Likewise.
19115         * conform/data/sys/times.h-data: Likewise.
19116         * conform/data/sys/types.h-data: Likewise.
19117         * conform/data/sys/uio.h-data: Likewise.
19118         * conform/data/sys/un.h-data: Likewise.
19119         * conform/data/sys/utsname.h-data: Likewise.
19120         * conform/data/sys/wait.h-data: Likewise.
19121         * conform/data/syslog.h-data: Likewise.
19122         * conform/data/tar.h-data: Likewise.
19123         * conform/data/termios.h-data: Likewise.
19124         * conform/data/utime.h-data: Likewise.
19125         * conform/data/utmpx.h-data: Likewise.
19126         * conform/data/varargs.h-data: Likewise.
19127         * conform/data/wchar.h-data: Likewise.
19128         * conform/data/wctype.h-data: Likewise.
19129         * conform/data/wordexp.h-data: Likewise.
19131         * include/stropts.h: New file.
19132         * include/uchar.h: New file.
19133         * include/aio.h: Changes to allow conformtest.pl to use the headers.
19134         * include/assert.h: Likewise.
19135         * include/ctype.h: Likewise.
19136         * include/dirent.h: Likewise.
19137         * include/dlfcn.h: Likewise.
19138         * include/fcntl.h: Likewise.
19139         * include/fnmatch.h: Likewise.
19140         * include/glob.h: Likewise.
19141         * include/grp.h: Likewise.
19142         * include/libio.h: Likewise.
19143         * include/locale.h: Likewise.
19144         * include/math.h: Likewise.
19145         * include/net/if.h: Likewise.
19146         * include/netdb.h: Likewise.
19147         * include/netinet/in.h: Likewise.
19148         * include/pthread.h: Likewise.
19149         * include/pwd.h: Likewise.
19150         * include/regex.h: Likewise.
19151         * include/sched.h: Likewise.
19152         * include/search.h: Likewise.
19153         * include/setjmp.h: Likewise.
19154         * include/signal.h: Likewise.
19155         * include/stdio.h: Likewise.
19156         * include/stdlib.h: Likewise.
19157         * include/string.h: Likewise.
19158         * include/sys/cdefs.h: Likewise.
19159         * include/sys/mman.h: Likewise.
19160         * include/sys/msg.h: Likewise.
19161         * include/sys/resource.h: Likewise.
19162         * include/sys/select.h: Likewise.
19163         * include/sys/socket.h: Likewise.
19164         * include/sys/stat.h: Likewise.
19165         * include/sys/statvfs.h: Likewise.
19166         * include/sys/time.h: Likewise.
19167         * include/sys/times.h: Likewise.
19168         * include/sys/uio.h: Likewise.
19169         * include/sys/utsname.h: Likewise.
19170         * include/sys/wait.h: Likewise.
19171         * include/termios.h: Likewise.
19172         * include/time.h: Likewise.
19173         * include/ulimit.h: Likewise.
19174         * include/unistd.h: Likewise.
19175         * include/utime.h: Likewise.
19176         * include/wchar.h: Likewise.
19177         * include/wctype.h: Likewise.
19178         * include/wordexp.h: Likewise.
19180         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19182         * time/time.h: TIME_UTC must be a macro.
19183         Make timespec_get available for ISO C11 only as well.
19185 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
19187         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19188         Reported by Peng Haitao <penght@cn.fujitsu.com>.
19190 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19192         * configure.in: Use -o not -a in test for unsupported multi-arch.
19194 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19196         * manual/texinfo.tex: Update to version 2012-01-19.16.
19198 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19200         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19202 2012-02-24  Roland McGrath  <roland@hack.frob.com>
19204         [BZ #13738]
19205         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19206         * manual/fdl-1.3.texi: New file.
19207         * manual/fdl-1.1.texi: File removed.
19209         [BZ #13738]
19210         * manual/libc.texinfo (FDL_VERSION): New @set.
19211         Use it for mention of FDL in cover text.
19212         (Documentation License): Use it in @include file name.
19214 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19215             Roland McGrath  <roland@hack.frob.com>
19217         [BZ #5461]
19218         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19219         not LONG_LONG_MAX and LONG_LONG_MIN.
19220         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19221         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
19222         name.
19223         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19225 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19227         [BZ #2547]
19228         [BZ #11365]
19229         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19230         manipulate bits before adding and subtracting TWO23[sx].
19231         * math/libm-test.inc (nearbyint_test): Add more tests.
19233 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19235         [BZ #2548]
19236         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19237         bits before adding and subtracting TWO23[sx].
19238         * math/libm-test.inc (rint_test): Add more tests.
19239         (rint_test_tonearest): Likewise.
19240         (rint_test_towardzero): Likewise.
19241         (rint_test_downward): Likewise.
19242         (rint_test_upward: Likewise.
19244 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19246         [BZ #10110]
19247         * include/stdc-predef.h: New file.  Extracted from features.h.
19248         * include/features.h: Include stdc-predef.h.
19249         * Makefile (headers): Add stdc-predef.h.
19250         * CONFORMANCE (Compiler limitations): Update.
19252 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19254         * manual/libc.texinfo (VERSION, UPDATED): Revert.
19256 2012-02-21  David S. Miller  <davem@davemloft.net>
19258         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19259         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19261 2012-02-20  David S. Miller  <davem@davemloft.net>
19263         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19264         using a normal save/restore sequence, rather than allocating a
19265         dummy stack frame just to store a frame pointer and restore.
19266         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19268 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19270         * manual/install.texi: Fix stray word in line-wrapped comment.
19272 2012-02-20  David S. Miller  <davem@davemloft.net>
19274         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19275         both binutils and gcc support GOTDATA.
19277         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19278         "rd %pc" in the PIC register setup sequences.
19280         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19281         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19282         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19283         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19284         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19285         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19286         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19287         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19289         (SYSCALL_ERROR_HANDLER): Likewise.
19290         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19291         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19292         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19293         (SYSCALL_ERROR_HANDLER): Likewise.
19295         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19296         (HAVE_GCC_GOTDATA): New.
19297         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19298         relocation support in both binutils and gcc.
19299         * sysdeps/sparc/elf/configure: Regenerate.
19301         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19302         * sysdeps/sparc/sparc32/elf/configure: Delete.
19303         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19304         * sysdeps/sparc/sparc64/elf/configure: Delete.
19305         * sysdeps/sparc/elf/configure.in: New file.
19306         * sysdeps/sparc/elf/configure: Generate.
19308         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19309         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19310         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19311         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19312         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19314 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19316         * manual/install.texi: Do not mention specific glibc version
19317         numbers.
19318         * manual/libc.texinfo (VERSION, UPDATED): Update.
19319         (@copying): Use @copyright{} and range of years.
19321 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19323         [BZ #13695]
19324         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19325         [crti.S not in sysdirs] (generated): Do not append.
19326         [crti.S not in sysdirs] (omit-deps): Likewise.
19327         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19328         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19329         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19330         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19331         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19332         Likewise.
19333         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19334         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19335         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19336         * csu/defs.awk: Remove file.
19337         * sysdeps/generic/initfini.c: Likewise.
19338         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19339         variable.
19340         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19341         Likewise.
19343 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19345         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19346         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19347         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19348         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19349         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19350         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19351         <bits/epoll.h>.
19352         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19353         (__EPOLL_PACKED): Define to empty if not defined by
19354         <bits/epoll.h>.
19355         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19356         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19357         bits/epoll.h.
19359 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19361         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19362         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19363         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19364         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19365         <bits/timerfd.h>.
19366         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19367         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19368         bits/timerfd.h.
19370 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19372         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19373         in C locale.
19374         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19375         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19376         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19379 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
19381         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19382         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19384 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
19386         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19387         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19388         defined.
19389         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19390         Likewise.
19391         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19392         entry for 2.16.
19394 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
19396         * math/w_acos.c: Use non-signaling floating-point comparisons.
19397         * math/w_acosf.c: Likewise.
19398         * math/w_acosh.c: Likewise.
19399         * math/w_acoshf.c: Likewise.
19400         * math/w_acoshl.c: Likewise.
19401         * math/w_acosl.c: Likewise.
19402         * math/w_asin.c: Likewise.
19403         * math/w_asinf.c: Likewise.
19404         * math/w_asinl.c: Likewise.
19405         * math/w_atanh.c: Likewise.
19406         * math/w_atanhf.c: Likewise.
19407         * math/w_atanhl.c: Likewise.
19408         * math/w_exp2.c: Likewise.
19409         * math/w_exp2f.c: Likewise.
19410         * math/w_exp2l.c: Likewise.
19411         * math/w_j0.c: Likewise.
19412         * math/w_j0f.c: Likewise.
19413         * math/w_j0l.c: Likewise.
19414         * math/w_j1.c: Likewise.
19415         * math/w_j1f.c: Likewise.
19416         * math/w_j1l.c: Likewise.
19417         * math/w_jn.c: Likewise.
19418         * math/w_jnf.c: Likewise.
19419         * math/w_log.c: Likewise.
19420         * math/w_log10.c: Likewise.
19421         * math/w_log10f.c: Likewise.
19422         * math/w_log10l.c: Likewise.
19423         * math/w_log2.c: Likewise.
19424         * math/w_log2f.c: Likewise.
19425         * math/w_log2l.c: Likewise.
19426         * math/w_logf.c: Likewise.
19427         * math/w_logl.c: Likewise.
19428         * math/w_sqrt.c: Likewise.
19429         * math/w_sqrtf.c: Likewise.
19430         * math/w_sqrtl.c: Likewise.
19431         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19432         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19433         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19434         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19435         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19437 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19439         [BZ #9739]
19440         * manual/string.texi (strnlen): Use correct parameter name in
19441         equivalent expression.
19443 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19445         [BZ #11174]
19446         * manual/users.texi (seteuid): Consistently use neweuid for
19447         argument name.
19449 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19451         [BZ #13704]
19452         * manual/nss.texi (Services in the NSS configuration): Correct
19453         list of services in example configuration file.
19455 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
19457         [BZ #11322]
19458         * manual/arith.texi: Remove statements about negative zero
19459         behaving identically to zero.
19461 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19463         [BZ #5993]
19464         * manual/install.texi: Do not document upgrading from libc5.
19466 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19468         [BZ #4596]
19469         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19471 2012-02-18  David S. Miller  <davem@davemloft.net>
19473         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19474         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19475         %o7 across the call.
19476         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19477         instead.
19478         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19479         SETUP_PIC_REG_LEAF.
19480         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19481         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19482         * sysdeps/sparc/crtn.S: Likewise.
19484 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
19486         * aout/Makefile: Remove.
19488 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
19490         [BZ #13058]
19491         * manual/examples/argp-ex1.c (main): Format definition in GNU
19492         style.
19493         * manual/examples/argp-ex2.c (main): Likewise.
19494         * manual/examples/argp-ex3.c (main): Likewise.
19495         * manual/examples/argp-ex4.c (main): Likewise.
19496         * manual/examples/longopt.c (main): Use new-style prototype
19497         definition.
19498         * manual/examples/strncat.c (main): Specify return type and use
19499         (void) for arguments.
19500         * manual/examples/subopt.c (main): Use char **argv argument.
19502 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19504         [BZ #5077]
19505         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19506         rounding modes.
19508 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
19510         [BZ #6907]
19511         * manual/string.texi (strchr): Change when strchrnul is
19512         recommended.
19514 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
19516         [BZ #174]
19517         * manual/locale.texi (setlocale): Document LOCPATH.
19519 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19521         [BZ #10210]
19522         * manual/process.texi (execle): Move @dots{} before last argument.
19524 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
19526         [BZ #12047]
19527         * manual/charset.texi (Generic Charset Conversion): Fix typo
19528         (LC_TYPE -> LC_CTYPE).
19530 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
19532         [BZ #5805]
19533         * manual/arith.texi (scalbn): Use @var{} on parameter names.
19534         (scalbnf): Likewise.
19535         (scalbnl): Likewise.
19536         (scalbln): Likewise.
19537         (scalblnf): Likewise.
19538         (scalblnl): Likewise.
19539         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19540         (vwarnx): Likewise.
19541         (verr): Likewise.
19542         (verrx): Likewise.
19543         * manual/filesys.texi (telldir): Use braces around return type.
19544         * manual/llio.texi (mmap): Add space after comma.
19545         (mmap64): Likewise.
19546         * manual/math.texi (jn): Use @var{} on parameter names.
19547         (jnf): Likewise.
19548         (jnl): Likewise.
19549         (yn): Likewise.
19550         (ynf): Likewise.
19551         (ynl): Likewise.
19552         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19553         line.
19554         * manual/resource.texi (ulimit): Use @dots{} instead of literal
19555         "...".
19556         (sched_get_priority_min): Remove semicolon on @deftypefun line.
19557         (sched_get_priority_max): Likewise.
19558         * manual/signal.texi (sigvec): Add space after comma.
19559         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19560         names.
19561         (if_indextoname): Likewise.
19562         (if_freenameindex): Likewise.
19563         (sendto): Use ',' instead of '.' in prototype.
19564         * manual/startup.texi (syscall): Use @dots{} instead of literal
19565         "...".
19566         * manual/stdio.texi (__fpending): Separate initial words of
19567         paragraph from @deftypefun line.
19568         * manual/syslog.texi (syslog): Use @dots{} instead of literal
19569         "...".
19570         (vsyslog): Use @var{} on parameter names.
19571         * manual/terminal.texi (stty): Use @var{} on parameter names.
19572         * manual/users.texi (getutmp): Use @var{} on parameter names.
19573         (getutmpx): Likewise.
19575 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19577         [BZ #6884]
19578         * manual/stdio.texi (fopen): Fix typos in description of
19579         ",ccs=STRING".
19581 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
19583         [BZ #4026]
19584         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19585         get clock_id definition.
19587 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
19589         [BZ #4822]
19590         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19591         (madvise): Cast every argument to void on its own.
19593 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19595         [BZ #9902]
19596         * manual/startup.texi (Exit Status): Fix typo.
19598 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19600         [BZ #10140]
19601         * manual/examples/argp-ex1.c: Include <stdlib.h>.
19602         * manual/examples/argp-ex2.c: Likewise.
19603         * manual/examples/argp-ex3.c: Likewise.
19605 2012-02-16  Richard Henderson  <rth@redhat.com>
19607         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19608         * sysdeps/s390/s390-32/initfini.c: Remove.
19609         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19610         * sysdeps/s390/s390-64/initfini.c: Remove.
19612 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19614         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19615         compiler output for sysdeps/generic/initfini.c.
19616         * sysdeps/sh/elf/initfini.c: Remove file.
19618 2012-02-16  David S. Miller  <davem@davemloft.net>
19620         [BZ #11494]
19621         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19623         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19624         * sysdeps/sparc/crti.S: New file.
19625         * sysdeps/sparc/crtn.S: New file.
19626         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19627         * sysdeps/sparc/sparc64/Makefile: Likewise.
19629 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
19631         [BZ #3335]
19632         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19634 2012-02-15  Roland McGrath  <roland@hack.frob.com>
19636         [BZ #4822]
19637         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19639         * mach/devstream.c (cookie_io_functions_t): Macro removed.
19640         (write, read, close): Likewise.
19641         Patch by Aurelien Jarno <aurelien@aurel32.net>.
19643 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
19645         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19646         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19647         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19648         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19649         <bits/signalfd.h>.
19650         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19652         bits/signalfd.h.
19654 2012-02-14  Marek Polacek  <polacek@redhat.com>
19656         * sysdeps/x86_64/crti.S: New file.
19657         * sysdeps/x86_64/crtn.S: New file.
19658         * sysdeps/x86_64/elf/initfini.c: Remove file.
19660 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19662         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19663         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19664         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19665         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19666         <bits/inotify.h>.
19667         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19668         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19669         bits/inotify.h.
19671 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19673         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19674         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19675         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19676         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19677         <bits/eventfd.h>.
19678         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19679         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19680         bits/eventfd.h.
19682 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
19684         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19685         __feraiseexcept instead of feraiseexcept.
19687         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19688         nanosleep invocations.
19689         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19690         strings, and add error checking for a nanosleep invocations.
19692 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
19694         Replace FSF snail mail address with URLs, as per GNU coding standards.
19695         Most of the snail mail addresses were wrong anyway, and omitting
19696         them makes the source code easier to maintain.  Almost all of the
19697         changes are to license notices and to locale LC_IDENTIFICATION
19698         addresses, except for this one:
19699         * manual/libc.texinfo: In "Published by", give the FSF's URL,
19700         not its snail mail address.
19702 2012-02-09  Richard Henderson  <rth@twiddle.net>
19704         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19705         of kernel-features.h.
19707         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19709 2012-02-08  Marek Polacek  <polacek@redhat.com>
19711         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19712         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19713         * sysdeps/gnu/_G_config.h: Likewise.
19714         * sysdeps/generic/_G_config.h: Likewise.
19716 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
19718         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19719         tests.
19720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19722         * sysdeps/powerpc/powerpc32/crti.S: New file.
19723         * sysdeps/powerpc/powerpc32/crtn.S: New file.
19724         * sysdeps/powerpc/powerpc64/crti.S: New file.
19725         * sysdeps/powerpc/powerpc64/crtn.S: New file.
19727         * Makeconfig (have-initfini): Don't set.
19728         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19729         * configure.in (nopic_initfini): Don't substitute.
19730         * config.h.in (HAVE_INITFINI): Don't #undef.
19731         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19732         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19734 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
19736         Support crti.S and crtn.S provided directly by architectures.
19737         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19738         [crti.S in sysdirs] (omit-deps): Likewise.
19739         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19740         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19741         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19742         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19743         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19744         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19745         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19746         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19747         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19748         compiler output for sysdeps/generic/initfini.c.
19749         * sysdeps/i386/elf/Makefile: Remove file.
19750         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19752 2012-02-07  Marek Polacek  <polacek@redhat.com>
19754         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19755         * sysdeps/gnu/_G_config.h: Likewise.
19756         * sysdeps/mach/hurd/_G_config.h: Likewise.
19758 2012-02-07  Marek Polacek  <polacek@redhat.com>
19760         * math/Makefile (tests): Add tst-CMPLX2.
19761         * math/tst-CMPLX2.c: New file.
19763 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
19765         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19767         * math/libm-test.inc (jn_test): Add missing L suffix.
19769 2012-02-06  Marek Polacek  <polacek@redhat.com>
19771         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19772         * sysdeps/i386/fpu/e_powf.S: Likewise.
19773         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19774         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19775         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19776         * sysdeps/i386/fpu/e_pow.S: Likewise.
19777         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19778         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19779         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19780         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19781         * sysdeps/i386/fpu/e_log2.S: Likewise.
19782         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19783         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19784         * sysdeps/i386/fpu/e_powl.S: Likewise.
19785         * sysdeps/i386/fpu/s_log1p.S: Likewise.
19786         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19787         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19788         * sysdeps/i386/fpu/e_logl.S: Likewise.
19789         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19790         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19791         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19792         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19793         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19794         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19795         * sysdeps/i386/fpu/e_log.S: Likewise.
19796         * sysdeps/i386/fpu/s_cexp.S: Likewise.
19797         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19798         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19799         * sysdeps/i386/fpu/e_logf.S: Likewise.
19800         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19801         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19802         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19803         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19804         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19805         * sysdeps/i386/fpu/e_log10.S: Likewise.
19806         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19807         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19808         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19809         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19810         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19811         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19812         * sysdeps/i386/asm-syntax.h: Likewise.
19813         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19814         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19815         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19816         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19817         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19818         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19819         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19820         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19821         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19822         * sysdeps/powerpc/sysdep.h: Likewise.
19823         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19824         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19826 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19828         [BZ #411]
19829         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19831 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19833         * sysdeps/i386/sysdep.h: Include <features.h>.
19834         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19835         version.
19837 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
19839         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19840         Define.
19841         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19842         LOAD_PIC_REG_STR.
19844 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19846         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19847         (SETUP_PIC_REG): Use GET_PC_THUNK.
19848         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19849         macro.
19851 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19853         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19854         for non-PIC compilation.
19855         (SETUP_PIC_REG): Add .p2align directive.
19856         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19857         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19858         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19859         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19860         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19861         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19862         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19863         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19864         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19865         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19866         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19867         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19868         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19869         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19870         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19871         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19872         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19873         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19874         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19875         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19876         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19877         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19878         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19879         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19880         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19881         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19882         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19883         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19884         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19885         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19886         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19887         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19888         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19889         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19890         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19891         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19892         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19893         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19894         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19895         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19896         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19898 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19900         * math/tst-CMPLX.c: Include <stdio.h>.
19902 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
19904         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19905         float.
19906         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19907         * sysdeps/sparc/bits/mathdef.h: Likewise.
19909 2012-01-31  Marek Polacek  <polacek@redhat.com>
19911         * libio/libio.h: Don't define _PARAMS.
19912         * locale/programs/config.h: Don't define PARAMS.
19913         * stdlib/strtol_l.c: Likewise.
19914         (__strtol_l): Remove PARAMS from the prototype.
19916 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
19918         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
19919         names.  Just use the correct names.  Remove unnecessary wrapper
19920         functions.
19921         * malloc/arena.c: Likewise.
19922         * malloc/hooks.c: Likewise.
19924         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19925         ARENA_TEST says not to.  Simplify test for creation of a new arena.
19926         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19928 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
19930         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19931         into tail calls.
19932         (update_get_addr): New function.
19933         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19934         GET_ADDR_MODULE parameter.
19936 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19938         * crypt/cert.c: Remove __STDC__ conditionals.
19939         * crypt/crypt-entry.c: Likewise.
19940         * crypt/crypt_util.c: Likewise.
19941         * libio/filedoalloc.c: Likewise.
19942         * libio/fileops.c: Likewise.
19943         * libio/genops.c: Likewise.
19944         * libio/iofclose.c: Likewise.
19945         * libio/iofdopen.c: Likewise.
19946         * libio/iofopen.c: Likewise.
19947         * libio/iofopen64.c: Likewise.
19948         * libio/iogetdelim.c: Likewise.
19949         * libio/iopopen.c: Likewise.
19950         * libio/obprintf.c: Likewise.
19951         * libio/oldfileops.c: Likewise.
19952         * libio/oldiofclose.c: Likewise.
19953         * libio/oldiofdopen.c: Likewise.
19954         * libio/oldiofopen.c: Likewise.
19955         * libio/oldiopopen.c: Likewise.
19956         * libio/wfiledoalloc.c: Likewise.
19957         * libio/wgenops.c: Likewise.
19958         * locale/programs/xmalloc.c: Likewise.
19959         * misc/syslog.c: Likewise.
19960         * stdio-common/xbug.c: Likewise.
19961         * string/memchr.c: Likewise.
19962         * string/memcmp.c: Likewise.
19963         * string/memrchr.c: Likewise.
19964         * string/rawmemchr.c: Likewise.
19965         * sysdeps/posix/getcwd.c: Likewise.
19966         * time/strftime_l.c: Likewise.
19968 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19970         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19971         * config.make.in (config-cflags-sse2avx): Define.
19972         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19973         Fix typo.
19975 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
19977         * scripts/config.guess: Update from upstream config git repository.
19978         * scripts/config.sub: Likewise.
19980 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
19982         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19983         (EM_NUM): Update.
19984         (R_TILEPRO_*, R_TILEGX_*): New macros.
19986         * scripts/firstversions.awk: Fix bug in version range handling.
19988         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19990         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19992         * include/sys/epoll.h: New file.
19993         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19994         libc_hidden_def.
19996 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
19998         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19999         Avoid unnecessary __WORDSIZE == 64 test.
20000         (fmaxf): Use VEX format if possible.
20001         (fmax): Likewise.
20002         (fminf): Likewise.
20003         (fmin): Likewise.
20005         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20006         * math/math_private.h: Remove libc_fegetround* and
20007         libc_fesetround*.
20008         * sysdeps/i386/configure.in: Check for -msse2avx.
20009         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20010         also if SSE2AVX is defined.
20011         Remove libc_fegetround* and libc_fesetround*.
20012         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20013         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
20014         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20015         of HAS_YMM_USABLE.
20016         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20017         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20018         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20019         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20020         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20022         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20024 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20026         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20027         size is not set.
20028         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20030 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
20032         [BZ #13618]
20033         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20034         relocation.
20035         * Makeconfig (libm): Define.
20036         * elf/Makefile: Add rules to build and run tst-relsort1.
20037         * elf/tst-relsort1.c: New file.
20038         * elf/tst-relsort1mod1.c: New file.
20039         * elf/tst-relsort1mod2.c: New file.
20041 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
20043         * math/s_ldexp.c: Remove __STDC__ conditionals.
20044         * math/s_ldexpf.c: Likewise.
20045         * math/s_ldexpl.c: Likewise.
20046         * math/s_nextafter.c: Likewise.
20047         * math/s_nexttowardf.c: Likewise.
20048         * math/s_significand.c: Likewise.
20049         * math/s_significandf.c: Likewise.
20050         * math/s_significandl.c: Likewise.
20051         * math/w_jnl.c: Likewise.
20052         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20053         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20054         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20055         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20056         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20057         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20058         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20059         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20060         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20061         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20062         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20063         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20064         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20065         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20066         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20067         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20068         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20069         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20070         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20071         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20072         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20073         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20074         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20075         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20076         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20077         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20078         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20079         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20080         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20081         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20082         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20083         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20084         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20085         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20086         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20087         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20088         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20089         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20090         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20091         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20092         * sysdeps/ieee754/k_standard.c: Likewise.
20093         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20094         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20095         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20096         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20097         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20098         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20099         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20100         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20101         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20102         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20103         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20104         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20105         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20106         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20107         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20108         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20109         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20110         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20111         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20112         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20113         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20114         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20115         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20116         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20117         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20118         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20119         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20120         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20121         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20122         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20123         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20124         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20125         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20126         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20127         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20128         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20129         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20130         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20131         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20132         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20133         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20134         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20135         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20136         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20137         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20138         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20139         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20140         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20141         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20142         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20143         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20144         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20145         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20146         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20147         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20148         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20149         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20150         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20151         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20152         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20153         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20154         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20155         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20156         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20157         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20158         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20159         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20160         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20161         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20162         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20163         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20164         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20165         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20166         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20167         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20168         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20169         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20170         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20171         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20172         * sysdeps/ieee754/s_matherr.c: Likewise.
20173         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20174         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20175         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20176         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20178 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20180         * crypt/md5.h: Remove __STDC__ conditionals.
20181         * libio/libioP.h: Likewise.
20182         * locale/programs/config.h: Likewise.
20183         * sysdeps/generic/sysdep.h: Likewise.
20184         * sysdeps/i386/asm-syntax.h: Likewise.
20185         * sysdeps/s390/asm-syntax.h: Likewise.
20186         * sysdeps/unix/sysdep.h: Likewise.
20187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20190 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20192         * libio/libio.h: Remove __STDC__ conditionals.
20193         * malloc/obstack.h: Likewise.
20194         * math/complex.h: Likewise.
20195         * math/math.h: Likewise.
20196         * sysdeps/generic/_G_config.h: Likewise.
20197         * sysdeps/gnu/_G_config.h: Likewise.
20198         * sysdeps/mach/hurd/_G_config.h: Likewise.
20199         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20200         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20201         * sysdeps/sparc/bits/mathdef.h: Likewise.
20203 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
20205         [BZ #13583]
20206         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20207         Clean up HAS_* macros.
20208         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20209         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20210         possible.
20211         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20212         HAS_AVX.
20213         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20214         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20215         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20216         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20217         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20219 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
20221         * elf/tst-unique3.cc (gets): Remove declaration.
20222         * elf/tst-unique3lib.cc (gets): Likewise.
20223         * elf/tst-unique3lib2.cc (gets): Likewise.
20224         * elf/tst-unique4.cc (gets): Likewise.
20226 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
20228         * include/stdio.h: Add C++ protection.  Add gets declarations and
20229         definitions.
20230         * debug/tst-chk1.c: Don't declare gets here.
20231         * stdio-common/tst-gets.c: Likewise.
20233 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20235         * posix/glob: Remove directory.
20237 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20239         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20241 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
20243         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20244         of the non-standard EPFNOSUPPORT.
20246 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20248         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20249         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20250         ANYWHERE set to 1 only on KERN_NO_SPACE error.
20252 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
20254         * wcsmbs/uchar.h: Test __STDC_VERSION__.
20256 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
20258         * nscd/aicache.c (addhstaiX): Do not cache negative results of
20259         transient errors.
20260         * nscd/grpcache.c (cache_addgr): Likewise.
20261         * nscd/hstcache.c (cache_addhst): Likewise.
20262         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20263         * nscd/pwdcache.c (cache_addpw): Likewise.
20264         * nscd/servicescache.c (cache_addserv): Likewise.
20266 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
20268         * malloc/malloc.c: Various cleanups.
20269         * malloc/hooks.c: Likewise.
20271         * stdlib/Makefile (tests): Add bug-fmtmsg1.
20272         * stdlib/bug-fmtmsg1.c: New file.
20274         * stdlib/fmtmsg.c (init): Add missing unlock.
20275         Patch by Peng Haitao <penght@cn.fujitsu.com>.
20277 2012-01-12  Marek Polacek  <polacek@redhat.com>
20279         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20280         and _GNU_SOURCE.
20282 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20284         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20285         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20286         macro to ensure uniqueness of label name.
20287         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20288         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20290 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
20292         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20294         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20295         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20296         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20297         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20299 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
20301         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20303         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20304         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20305         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20307         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20309         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20310         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20311         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20312         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20314         * math/bits/math-finite.h: Add ldexp support.
20316 2012-01-10  Marek Polacek  <polacek@redhat.com>
20318         * locale/programs/localedef.h (show_archive_content): Add noreturn
20319         attribute.
20321 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
20323         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20325 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20327         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20329         * io/Makefile (headers): Add bits/poll2.h.
20331 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
20333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20334         typo #include statement.
20336 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20338         * include/sys/cdefs.h: Define __attribute_alloc_size.
20339         * catgets/gencat.c: Add alloc_size attribute and apply consistently
20340         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20341         * elf/pldd.c: Likewise.
20342         * iconv/iconv_charmap.c: Likewise.
20343         * iconv/iconvconfig.c: Likewise.
20344         * iconv/strtab.c: Likewise.
20345         * locale/programs/locale.c: Likewise.
20346         * locale/programs/localedef.h: Likewise.
20347         * locale/programs/simple-hash.c: Likewise.
20348         * nscd/nscd.h: Likewise.
20349         * nss/makedb.c: Likewise.
20350         * sysdeps/generic/ldconfig.h: Likewise.
20351         * locale/programs/localedef.c: Remove xmalloc prototype.
20352         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20354 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20356         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20357         appropriate.
20359 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20361         * math/Makefile (tests): Add tst-CMPLX.
20362         * math/tst-CMPLX.c: New file.
20364         * math/complex.h (CMPLXL): Fix typo.
20366         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20367         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20368         GLIBC_2.16.
20369         * debug/tst-chk1.c: Add poll and ppoll tests.
20370         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20371         * include/sys/poll.h: Add hidden proto for ppoll.
20372         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20373         * sysdeps/mach/hurd/ppoll.c: Likewise.
20374         * io/ppoll.c: Likewise.
20375         * debug/poll_chk.c: New file.
20376         * debug/ppoll_chk.c: New file.
20377         * include/bits/poll2.h: New file.
20378         * io/bits/poll2.h: New file.
20380         [BZ #1350]
20381         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20383         * configure.in: static is always set to yes.  Remove.
20384         * config.make.in: Don't set build-static.
20385         * Makeconfig: Remove use of build-static.
20386         * dlfcn/Makefile: Likewise.
20387         * elf/Makefile: Likewise.
20388         * math/Makefile: Likewise.
20389         * misc/Makefile: Likewise.
20390         * nptl/Makefile: Likewise.
20391         * sysdeps/mach/hurd/Makefile: Likewise.
20393         * configure.in: PWD_P is not used anymore.
20394         * config.make.in: Remove PWD_P entry.
20396         * configure.in: Remove last remnants of RANLIB.
20397         No need to check for signed size_t anymore.
20398         Don't set libc_commonpagesize and libc_relro_required here for Alpha
20399         and IA-64.
20400         Remove __builtin_expect test because we require at least gcc 3.4.
20401         * aclocal.m4: Likewise.
20403         * wcsmbs/mbrtoc16.c: Implement using towc function.
20404         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20405         * wcsmbs/wcsmbsload.c: Likewise.
20406         * iconv/gconv_simple.c: Likewise.
20407         * iconv/gconv_int.h: Likewise.
20408         * iconv/gconv_builtin.h: Likewise.
20409         * iconv/iconv_prog.c: Remove CHAR16 handling.
20411         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20413         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20415         * configure.in: Remove --with-elf and --enable-bounded options.
20416         Dont set base_machine for ia64.  More non-ELF conditions removed.
20417         Remove testing and setting of leading underscore information.
20418         * config.make.in (build-bounded): Set to no.
20419         * config.h.in: Remove NO_UNDERSCORES entry.
20420         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
20421         them.
20422         * csu/start.c: Remove !NO_UNDERSCORE code.
20423         * locale/localeinfo.h: Likewise.
20424         * sysdeps/generic/machine-gmon.h: Likewise.
20425         * sysdeps/generic/sysdep.h: Likewise.
20426         * sysdeps/i386/sysdep.h: Likewise.
20427         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20428         * sysdeps/mach/sysdep.h: Likewise.
20429         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20430         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20431         * sysdeps/sh/sysdep.h: Likewise.
20432         * sysdeps/sparc/sparc32/alloca.S: Likewise.
20433         * sysdeps/unix/i386/sysdep.S: Likewise.
20434         * sysdeps/unix/sparc/start.c: Likewise.
20435         * sysdeps/unix/sparc/sysdep.S: Likewise.
20436         * sysdeps/unix/sparc/sysdep.h: Likewise.
20437         * sysdeps/unix/start.c: Likewise.
20438         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20439         * sysdeps/x86_64/sysdep.h: Likewise.
20441 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
20443         [BZ #13553]
20444         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20445         for non-gcc.
20446         * argp/argp-fmtstream.h: Use const instead __const.
20447         * argp/argp.h: Likewise.
20448         * assert/assert.h: Likewise.
20449         * bits/fenv.h: Likewise.
20450         * bits/sched.h: Likewise.
20451         * bits/sigset.h: Likewise.
20452         * bits/sigthread.h: Likewise.
20453         * catgets/nl_types.h: Likewise.
20454         * conform/data/pthread.h-data: Likewise.
20455         * crypt/crypt-private.h: Likewise.
20456         * crypt/crypt.h: Likewise.
20457         * crypt/crypt_util.c: Likewise.
20458         * ctype/ctype.h: Likewise.
20459         * debug/execinfo.h: Likewise.
20460         * debug/mbsnrtowcs_chk.c: Likewise.
20461         * debug/mbsrtowcs_chk.c: Likewise.
20462         * debug/wcsnrtombs_chk.c: Likewise.
20463         * debug/wcsrtombs_chk.c: Likewise.
20464         * debug/wcstombs_chk.c: Likewise.
20465         * dirent/dirent.h: Likewise.
20466         * dlfcn/dlfcn.h: Likewise.
20467         * elf/neededtest4.c: Likewise.
20468         * grp/grp.h: Likewise.
20469         * gshadow/gshadow.h: Likewise.
20470         * iconv/gconv.h: Likewise.
20471         * iconv/gconv_int.h: Likewise.
20472         * iconv/gconv_simple.c: Likewise.
20473         * iconv/iconv.h: Likewise.
20474         * iconv/loop.c: Likewise.
20475         * iconv/skeleton.c: Likewise.
20476         * include/aio.h: Likewise.
20477         * include/aliases.h: Likewise.
20478         * include/argz.h: Likewise.
20479         * include/arpa/inet.h: Likewise.
20480         * include/assert.h: Likewise.
20481         * include/dirent.h: Likewise.
20482         * include/dlfcn.h: Likewise.
20483         * include/execinfo.h: Likewise.
20484         * include/fcntl.h: Likewise.
20485         * include/fenv.h: Likewise.
20486         * include/glob.h: Likewise.
20487         * include/grp.h: Likewise.
20488         * include/libintl.h: Likewise.
20489         * include/mntent.h: Likewise.
20490         * include/netdb.h: Likewise.
20491         * include/pwd.h: Likewise.
20492         * include/rpc/netdb.h: Likewise.
20493         * include/sched.h: Likewise.
20494         * include/search.h: Likewise.
20495         * include/shadow.h: Likewise.
20496         * include/signal.h: Likewise.
20497         * include/stdio.h: Likewise.
20498         * include/stdlib.h: Likewise.
20499         * include/string.h: Likewise.
20500         * include/sys/socket.h: Likewise.
20501         * include/sys/stat.h: Likewise.
20502         * include/sys/statfs.h: Likewise.
20503         * include/sys/statvfs.h: Likewise.
20504         * include/sys/syslog.h: Likewise.
20505         * include/sys/time.h: Likewise.
20506         * include/sys/uio.h: Likewise.
20507         * include/time.h: Likewise.
20508         * include/unistd.h: Likewise.
20509         * include/utmp.h: Likewise.
20510         * include/wchar.h: Likewise.
20511         * include/wctype.h: Likewise.
20512         * inet/aliases.h: Likewise.
20513         * inet/arpa/inet.h: Likewise.
20514         * inet/netinet/ether.h: Likewise.
20515         * inet/netinet/in.h: Likewise.
20516         * intl/libintl.h: Likewise.
20517         * io/bits/fcntl2.h: Likewise.
20518         * io/fcntl.h: Likewise.
20519         * io/ftw.h: Likewise.
20520         * io/sys/poll.h: Likewise.
20521         * io/sys/stat.h: Likewise.
20522         * io/sys/statfs.h: Likewise.
20523         * io/sys/statvfs.h: Likewise.
20524         * io/utime.h: Likewise.
20525         * libio/bits/stdio.h: Likewise.
20526         * libio/bits/stdio2.h: Likewise.
20527         * libio/libio.h: Likewise.
20528         * libio/libioP.h: Likewise.
20529         * libio/stdio.h: Likewise.
20530         * locale/lc-ctype.c: Likewise.
20531         * locale/locale.h: Likewise.
20532         * login/utmp.h: Likewise.
20533         * malloc/arena.c: Likewise.
20534         * malloc/malloc.c: Likewise.
20535         * malloc/malloc.h: Likewise.
20536         * malloc/mcheck.c: Likewise.
20537         * malloc/mtrace.c: Likewise.
20538         * math/bits/mathcalls.h: Likewise.
20539         * math/fenv.h: Likewise.
20540         * math/math_private.h: Likewise.
20541         * misc/bits/error.h: Likewise.
20542         * misc/bits/syslog.h: Likewise.
20543         * misc/err.h: Likewise.
20544         * misc/error.h: Likewise.
20545         * misc/fstab.h: Likewise.
20546         * misc/mntent.h: Likewise.
20547         * misc/regexp.h: Likewise.
20548         * misc/search.h: Likewise.
20549         * misc/sgtty.h: Likewise.
20550         * misc/sys/mman.h: Likewise.
20551         * misc/sys/syslog.h: Likewise.
20552         * misc/sys/uio.h: Likewise.
20553         * misc/sys/xattr.h: Likewise.
20554         * misc/ttyent.h: Likewise.
20555         * nis/rpcsvc/ypclnt.h: Likewise.
20556         * nss/nss.h: Likewise.
20557         * posix/bits/unistd.h: Likewise.
20558         * posix/fnmatch.h: Likewise.
20559         * posix/glob.h: Likewise.
20560         * posix/sched.h: Likewise.
20561         * posix/spawn.h: Likewise.
20562         * posix/sys/wait.h: Likewise.
20563         * posix/unistd.h: Likewise.
20564         * posix/wordexp.h: Likewise.
20565         * pwd/pwd.h: Likewise.
20566         * resolv/netdb.h: Likewise.
20567         * resource/sys/resource.h: Likewise.
20568         * rt/aio.h: Likewise.
20569         * rt/bits/mqueue2.h: Likewise.
20570         * rt/mqueue.h: Likewise.
20571         * shadow/shadow.h: Likewise.
20572         * signal/signal.h: Likewise.
20573         * socket/send.c: Likewise.
20574         * socket/sendto.c: Likewise.
20575         * socket/sys/socket.h: Likewise.
20576         * stdio-common/printf.h: Likewise.
20577         * stdlib/bits/stdlib.h: Likewise.
20578         * stdlib/fmtmsg.h: Likewise.
20579         * stdlib/monetary.h: Likewise.
20580         * stdlib/stdlib.h: Likewise.
20581         * stdlib/ucontext.h: Likewise.
20582         * streams/stropts.h: Likewise.
20583         * string/argz.h: Likewise.
20584         * string/bits/string2.h: Likewise.
20585         * string/string.h: Likewise.
20586         * string/strings.h: Likewise.
20587         * sunrpc/rpc/auth.h: Likewise.
20588         * sunrpc/rpc/auth_des.h: Likewise.
20589         * sunrpc/rpc/clnt.h: Likewise.
20590         * sunrpc/rpc/netdb.h: Likewise.
20591         * sunrpc/rpc/pmap_clnt.h: Likewise.
20592         * sunrpc/rpc/xdr.h: Likewise.
20593         * sysdeps/generic/inttypes.h: Likewise.
20594         * sysdeps/generic/net/if.h: Likewise.
20595         * sysdeps/generic/sys/swap.h: Likewise.
20596         * sysdeps/gnu/net/if.h: Likewise.
20597         * sysdeps/gnu/utmpx.h: Likewise.
20598         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20599         * sysdeps/i386/i486/bits/string.h: Likewise.
20600         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20601         * sysdeps/s390/bits/string.h: Likewise.
20602         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20603         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20604         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20605         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20606         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20607         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20608         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20609         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20610         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20611         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20612         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20613         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20614         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20615         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20616         * sysdeps/unix/sysv/linux/readv.c: Likewise.
20617         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20618         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20619         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20620         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20621         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20622         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20623         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20624         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20625         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20626         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20627         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20628         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20629         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20630         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20631         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20632         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20633         * sysvipc/sys/ipc.h: Likewise.
20634         * sysvipc/sys/msg.h: Likewise.
20635         * sysvipc/sys/sem.h: Likewise.
20636         * sysvipc/sys/shm.h: Likewise.
20637         * termios/termios.h: Likewise.
20638         * time/sys/time.h: Likewise.
20639         * time/time.h: Likewise.
20640         * wcsmbs/bits/wchar2.h: Likewise.
20641         * wcsmbs/uchar.h: Likewise.
20642         * wcsmbs/wchar.h: Likewise.
20643         * wctype/wctype.h: Likewise.
20645         [BZ #13551]
20646         * Makeconfig: Remove all but ELF support including AIX support.
20647         * Makerules: Likewise.
20648         * config.h.in: Likewise.
20649         * config.make.in: Likewise.
20650         * configure: Likewise.
20651         * configure.in: Likewise.
20652         * csu/Makefile: Likewise.
20653         * csu/version.c: Likewise.
20654         * debug/Makefile: Likewise.
20655         * dlfcn/Makefile: Likewise.
20656         * elf/Makefile: Likewise.
20657         * extra-lib.mk: Likewise.
20658         * iconv/Makefile: Likewise.
20659         * include/libc-symbols.h: Likewise.
20660         * include/shlib-compat.h: Likewise.
20661         * resolv/Makefile: Likewise.
20662         * resolv/res_libc.c: Likewise.
20663         * rt/Makefile: Likewise.
20664         * sysdeps/i386/asm-syntax.h: Likewise.
20665         * sysdeps/i386/sysdep.h: Likewise.
20666         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20667         * sysdeps/mach/sysdep.h: Likewise.
20668         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20669         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20670         * sysdeps/s390/asm-syntax.h: Likewise.
20671         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20672         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20673         * sysdeps/sh/sysdep.h: Likewise.
20674         * sysdeps/unix/sparc/sysdep.h: Likewise.
20675         * sysdeps/wordsize-32/divdi3.c: Likewise.
20676         * sysdeps/x86_64/sysdep.h: Likewise.
20678         * argp/Versions: Remove _argp_unlock_xxx.
20680         [BZ #13559]
20681         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
20682         * abilist/libBrokenLocale.abilist: Likewise.
20683         * abilist/libanl.abilist: Likewise.
20684         * abilist/libc.abilist: Likewise.
20685         * abilist/libcrypt.abilist: Likewise.
20686         * abilist/libdl.abilist: Likewise.
20687         * abilist/libm.abilist: Likewise.
20688         * abilist/libnsl.abilist: Likewise.
20689         * abilist/libpthread.abilist: Likewise.
20690         * abilist/libresolv.abilist: Likewise.
20691         * abilist/librt.abilist: Likewise.
20692         * abilist/libthread_db.abilist: Likewise.
20693         * abilist/libutil.abilist: Likewise.
20694         * abilist/libnss_db.abilist: New file.
20696         * scripts/abilist.awk: Add support for indirect functions.
20698         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20700         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20702         * shlib-versions: Remove entries for ports architectures.
20704         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
20705         files in ports.
20706         * elf/stackguard-macros.h: Remove support for IA-64.
20707         * elf/tst-auditmod1.c: Likewise.
20708         * sysdeps/generic/ldsodefs.h: Likewise.
20710         * sysdeps/unix/sysv/linux/configure.in: Ports should define
20711         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20712         configure files.
20714         [BZ #13552]
20715         * configure.in: Remove --enable-omitfp support.
20716         * FAQ.in: Adjust.
20717         * config.make.in: Likewise.
20718         * Makeconfig: Likewise.
20719         * manual/install.texi: Likewise.
20721         In case anyone cares, the IA-64 architecture could move to ports.
20722         * sysdeps/ia64/*: Removed.
20723         * sysdeps/unix/sysv/linux/ia64/*: Removed.
20724         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20726         [BZ #13555]
20727         * configure.in: Remove entries for unsupported architectures.
20729         [BZ #13533]
20730         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20731         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
20732         routines.
20733         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20734         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20735         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
20736         fall back to using wcrtomb.
20737         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20738         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
20739         renaming.
20740         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20741         * wcsmbs/tst-c16c32-1.c: New file.
20743         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20744         local variable.
20746         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20748         * elf/tst-unique3.cc: Add explicit declaration of gets.
20749         * elf/tst-unique3lib.cc: Likewise.
20750         * elf/tst-unique3lib2.cc: Likewise.
20751         * elf/tst-unique4.cc: Likewise.
20753         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20755 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
20757         [BZ #13566]
20758         * assert/assert.h (static_assert): Don't define for C++.
20759         * libio/stdio.h (gets): Do declare for C++ <= C++11.
20760         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20762 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
20764         * iconv/loop.c (single loop): Fix assertion in storing of
20765         remaining bytes.
20767         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20769 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
20771         * posix/getconf.c: Update copyright year.
20772         * nss/getent.c: Likewise.
20773         * nss/makedb.c: Likewise.
20774         * iconv/iconvconfig.c: Likewise.
20775         * iconv/iconv_prog.c: Likewise.
20776         * elf/ldconfig.c: Likewise.
20777         * elf/pldd.c: Likewise.
20778         * elf/sotruss.ksh: Likewise.
20779         * catgets/gencat.c: Likewise.
20780         * csu/version.c: Likewise.
20781         * elf/ldd.bash.in: Likewise.
20782         * elf/sprof.c (print_version): Likewise.
20783         * locale/programs/locale.c: Likewise.
20784         * locale/programs/localedef.c: Likewise.
20785         * login/programs/pt_chown.c: Likewise.
20786         * nscd/nscd.c (print_version): Likewise.
20787         * debug/xtrace.sh: Likewise.
20788         * malloc/memusage.sh: Likewise.
20789         * malloc/mtrace.pl: Likewise.
20790         * debug/catchsegv.sh: Likewise.
20792 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
20794         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20795         pure attribute.
20797 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
20799         [BZ #13533]
20800         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20801         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20802         transformations.
20803         * iconv/gconv_int.h: Likewise.
20804         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20805         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20806         from libc for GLIBC_2.16.
20807         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20808         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20809         * wcsmbs/uchar.h: Really define mbstate_t.
20810         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20811         * wcsmbs/c16rtomb.c: New file.
20812         * wcsmbs/mbrtoc16.c: New file.
20813         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20814         for C/POSIX locale.
20815         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20816         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20818         * wcsmbs/wchar.h: Add missing __restrict.
20820 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20822         [BZ #13532]
20823         * time/Makefile (routines): Add timespec_get.
20824         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20825         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
20826         timespec for ISO C11.
20827         * time/timespec_get.c: New file.
20828         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20829         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20831         [BZ #13531]
20832         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20833         * stdlib/stdlib.h: Declare aligned_alloc.
20834         * Versions.def: Add GLIBC_2.16 for libc.
20835         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20837         [BZ 13527]
20838         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20839         ISO C11.
20841         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20842         code.
20844         [BZ #13528]
20845         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20847         [BZ #13529]
20848         * assert/assert.h (static_assert): Define.
20850         * version.h: Update for 2.16 development version.
20852         [BZ #13526]
20853         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20854         _ISOC11_SOURCE.
20856         * version.h (RELEASE): Bump for 2.15 release.
20857         * include/features.h (__GLIBC_MINOR__): Bump to 15.
20859         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20860         Patch by Marek Polacek <mpolacek@redhat.com>.
20862         * bits/byteswap.h: Protect long long constants with __extension__.
20863         * sysdeps/i386/bits/byteswap.h: Likewise.
20864         * sysdeps/ia64/bits/byteswap.h: Likewise.
20865         * sysdeps/s390/bits/byteswap.h: Likewise.
20866         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20868 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20870         [BZ #13540]
20871         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20872         destination buffer.
20873         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20875 2011-12-23  Marek Polacek  <polacek@redhat.com>
20877         * elf/dl-addr.c (determine_info): Add inline keyword.
20878         * elf/tst-auditmod4b.c (check_avx): Likewise.
20879         * elf/tst-auditmod6b.c (check_avx): Likewise.
20880         * elf/tst-auditmod6c.c (check_avx): Likewise.
20881         * elf/tst-auditmod7b.c (check_avx): Likewise.
20883 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20885         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20886         !__SSE_MATH__.
20888 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20890         [BZ #13540]
20891         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20892         processing for last bytes.
20894 2011-08-06  Bruno Haible  <bruno@clisp.org>
20896         [BZ #13061]
20897         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20898         U+0385, not to U+1FEE.
20900         [BZ #13062]
20901         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20902         entry for U+00A5 U+0301.
20904 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20906         [BZ #13166]
20907         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20908         buffer for the output is too small.
20910         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20911         optimization.
20913         [BZ #13185]
20914         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20915         SSE flags if possible.
20917 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20919         [BZ #13540]
20920         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20921         processing for last bytes.
20923 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
20925         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20926         (syscall-list-default-options, syscall-list-default-condition)
20927         (syscall-list-includes): Define.
20928         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20929         list of ABIs and options and #if conditions for each ABI.  Do not
20930         handle common syscalls between ABIs specially.
20931         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20932         Remove.
20933         (syscall-list-variants, syscall-list-32bit-options)
20934         (syscall-list-32bit-condition, syscall-list-64bit-options)
20935         (syscall-list-64bit-condition): Define.
20936         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20937         (syscall-list-variants, syscall-list-32bit-options)
20938         (syscall-list-32bit-condition, syscall-list-64bit-options)
20939         (syscall-list-64bit-condition): Define.
20940         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20941         Remove.
20942         (syscall-list-variants, syscall-list-32bit-options)
20943         (syscall-list-32bit-condition, syscall-list-64bit-options)
20944         (syscall-list-64bit-condition): Define.
20945         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20946         Remove.
20947         (syscall-list-variants, syscall-list-32bit-options)
20948         (syscall-list-32bit-condition, syscall-list-64bit-options)
20949         (syscall-list-64bit-condition): Define.
20951 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20953         * locale/iso-639.def: Add brx entry.
20955         [BZ #13328]
20956         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20957         Proposed by Mariusz_Cukr <marcukr@op.pl>.
20959         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20960         __feraiseexcept_renamed.
20962 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20964         [BZ #13538]
20965         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20966         EPOLLET with unsigned values.
20967         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20968         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20970         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20971         to large cancellation.
20972         * math/s_cacoshf.c: Likewise.
20973         * math/s_cacoshl.c: Likewise.
20975 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
20977         [BZ #13305]
20978         [BZ #12786]
20979         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20980         * math/s_cacoshf.c: Likewise.
20981         * math/s_cacoshl.c: Likewise.
20983 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20985         [BZ #13439]
20986         * iconv/gconv.h: Define __GCONV_SWAP.
20987         * iconvdata/unicode.c: The swap bit must be stored in __flags.
20988         * iconvdata/utf-16.c: Likewise.
20989         * iconvdata/utf-32.c: Likewise.
20991 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20993         [BZ #13524]
20994         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20995         numerator after shifting it by one limb.
20997 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
20999         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21000         under [__USE_EXTERN_INLINES].
21002 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21004         [BZ #13446]
21005         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21007 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21009         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21010         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21011         optimized code.
21012         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21013         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21014         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21015         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21016         for strncasecmp/strncasecmp_l compilation.
21017         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21018         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21020 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
21022         [BZ #13484]
21023         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21024         of __asm__.
21026 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21028         [BZ #13506]
21029         * time/tzfile.c (__tzfile_read): Check values from file header.
21031 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21033         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21034         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21035         * powerpc/powerpc32/dl-start.S: Likewise.
21036         * powerpc/powerpc32/elf/start.S: Likewise.
21037         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21038         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21039         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21040         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21041         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21042         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21043         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21044         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21045         * powerpc/powerpc32/fpu/s_round.S: Likewise.
21046         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21047         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21048         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21049         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21050         * powerpc/powerpc32/memset.S: Likewise.
21051         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21052         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21053         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21054         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21055         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21056         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21057         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21058         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21059         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21060         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21061         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21062         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21063         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21065 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21067         * math/libm-test.inc: Added more nearbyint tests.
21068         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21069         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21070         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21071         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21073 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
21075         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21076         FD_CLOEXEC.
21078 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21080         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21081         Add wcscpy-ssse3 wcscpy-c.
21082         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21083         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21084         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21085         * sysdeps/x86_64/wcschr.S: New file.
21086         * sysdeps/x86_64/wcsrchr.S: New file.
21087         * string/test-strcmp.c: Remove checking of wcscmp function for
21088         wrong alignments.
21089         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21090         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21091         wcsrchr-sse2 wcsrchr-c.
21092         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21093         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21094         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21095         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21096         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21097         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21098         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21099         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21100         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21101         * wcsmbc/wcschr.c (WCSCHR): New macro.
21103 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21105         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21106         * wcsmbs/test-wcsrchr.c: New file.
21107         * string/test-strrchr.c: Add wcsrchr support.
21108         (WIDE): New macro.
21109         * wcsmbs/test-wcscpy.c: New file.
21110         * string/test-strcpy.c: Add wcscpy support.
21111         (WIDE): New macro.
21113 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
21115         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21116         the inner loop.
21118 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
21120         [BZ #13472]
21121         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21123 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
21125         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21126         Minor optimizations.
21128         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21129         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21130         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21132 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
21134         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21135         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21136         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21137         for gcc to avoid warnings.
21138         * inet/Makefile (tests): Add tst-checks.
21139         * inet/tst-checks.c: New file.
21141         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21142         warning.
21144         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21145         __wmemcmp_sse2.
21147         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21148         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21150         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21152 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
21154         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21155         problem.
21157         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21159 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
21161         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21162         conditional on GCC version.
21163         (__arch_compare_and_exchange_val_8_acq)
21164         (__arch_compare_and_exchange_val_16_acq)
21165         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21166         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21167         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21169 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
21171         * sysdeps/sh/backtrace.c: New file.
21173 2011-12-02  Andreas Schwab  <schwab@redhat.com>
21175         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
21176         parenthesis.
21178 2011-12-01  Andreas Schwab  <schwab@redhat.com>
21180         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21181         falling back to utime.
21183 2011-11-30  Andreas Schwab  <schwab@redhat.com>
21185         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21186         expectations for float.
21188 2011-11-29  Andreas Schwab  <schwab@redhat.com>
21190         * locale/weight.h (findidx): Add parameter len.
21191         * locale/weightwc.h (findidx): Likewise.
21192         * posix/fnmatch_loop.c (FCT): Adjust caller.
21193         * posix/regcomp.c (build_equiv_class): Likewise.
21194         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21195         * posix/regexec.c (check_node_accept_bytes): Likewise.
21196         * string/strcoll_l.c (STRCOLL): Likewise.
21197         * string/strxfrm_l.c (STRXFRM): Likewise.
21199 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
21201         * Makefile.in: Remove CVSOPT handling.
21202         * configure.in: Remove use of AC_REVISION.
21203         * iconvdata/Makefile (distribute): No need to filter out CVS.
21204         * scripts/list-sources.sh: Remove CVS, subversion and monotone
21205         handling.
21207 2011-11-16  Andreas Schwab  <schwab@redhat.com>
21209         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21210         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21211         [USE_AS_STRNCASECMP_L]: Likewise.
21212         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21213         NO_TLS_DIRECT_SEG_REFS.
21214         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21215         Fix argument offsets for non-PIC.
21216         [USE_AS_STRNCASECMP_L]: Likewise.
21217         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21218         NO_TLS_DIRECT_SEG_REFS.
21220 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21222         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21223         O_CLOEXEC.
21224         * locale/loadlocale.c (_nl_load_locale): Likewise.
21226 2011-11-15  Andreas Schwab  <schwab@redhat.com>
21228         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21229         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21230         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21231         (SYSCALL_GETTIME): Set errno on error.
21233         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21234         count references to noai6ai_cached.
21236 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21238         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21240         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21241         FD_CLOEXEC for /proc/self/maps.
21243         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21244         FD_CLOEXEC for /proc/meminfo.
21246         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21247         gai.conf.
21249         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
21250         FD_CLOEXEC for given file.
21252         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21254         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21255         FD_CLOEXEC for /etc/hosts.
21256         (_gethtent): Likewise.
21258         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21260         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21261         cancellation and set FD_CLOEXEC for /etc/netgroup.
21263         * nss/nss_files/files-key.c (search): Don't allow cancellation when
21264         reading /etc/publickey.
21266         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21267         allow cancellation when reading /etc/group.
21269         * nss/nss_files/files-alias.c (internal_setent): Don't allow
21270         cancellation.
21271         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
21273         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21274         when using data file.
21276         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21278         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21279         (write_nis_obj): Use "c" and "e" in fopen.
21281         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21283         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21285         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21287         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21289         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21290         locale.alias.
21292         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21294         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21296         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21298         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21299         file parsing and set FD_CLOEXEC.
21301 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21303         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21305 2011-11-14  Andreas Schwab  <schwab@redhat.com>
21307         * malloc/arena.c (arena_get2): Don't call reused_arena when
21308         _int_new_arena failed.
21310 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21312         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21313         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21314         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21315         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21316         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21317         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21318         to compile strcasecmp and strncasecmp.
21319         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21320         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21322         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21324 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
21326         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21327         locale-defines.sym to gen-as-const-headers.
21328         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21329         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21330         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21331         to compile strcasecmp and strncasecmp.
21332         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21333         strcasecmp_l and strncasecmp_l.
21334         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21335         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21336         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21337         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21338         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21339         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21340         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21341         * sysdeps/i386/i686/multiarch/strncase.S: New file.
21342         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21343         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21344         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21346 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
21348         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21349         result of SYSDEP_GETTIME_CPU to retval.
21350         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21351         parameter list to macro.  Remove trailing semicolon.  Adjust users.
21353         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21354         variable.
21356         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21357         mantissa words.
21358         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21360         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21361         from unused variable.
21363         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21364         DWARF definitions.
21365         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21366         for assembling.
21368         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21369         over namespaces.
21371         * sunrpc/rpc_prot.c (rejected): Fix case value.
21373         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21374         unsigned long long int to avoid warnings in shift.
21376         * posix/regex_internal.c (re_string_reconstruct): Actually use result
21377         of use of trans.
21378         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21379         variable tmp.
21381         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21382         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21383         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21385         * nis/nis_table.c (nis_list): Use variable of correct type for
21386         result of __follow_path call.
21388 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21390         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21391         of math functions ceil, trunc, floor, round, and sqrt, when
21392         avaliable on the platform.
21393         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21394         name clash.
21395         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21396         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21397         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21399 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
21401         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21402         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21404 2011-11-11  Roland McGrath  <roland@hack.frob.com>
21406         * include/unistd.h: Fix __readlink return type.
21407         Reported by Chris Metcalf <cmetcalf@tilera.com>.
21409 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
21411         * stdlib/ucontext.h: Undo last change for makecontext.
21413 2011-11-11  Andreas Schwab  <schwab@redhat.com>
21415         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21417         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21418         * setjmp/setjmp.h: Mark functions as non-leaf.
21419         * setjmp/bits/setjmp2.h: Likewise.
21420         * stdlib/ucontext.h: Likewise.
21422 2011-11-10  Andreas Schwab  <schwab@redhat.com>
21424         * malloc/arena.c (_int_new_arena): Don't increment narenas.
21425         (reused_arena): Don't check arena limit.
21426         (arena_get2): Atomically check arena limit.
21428 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
21430         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21431         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21433         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21434         instructions.
21436 2011-11-07  Andreas Schwab  <schwab@redhat.com>
21438         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21439         handler when locking.
21441         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21442         Fix size of allocated buffer.
21444 2011-11-04  Andreas Schwab  <schwab@redhat.com>
21446         [BZ #10103]
21447         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21448         declarations for long double functions.
21449         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21451         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21453 2011-11-03  Andreas Schwab  <schwab@redhat.com>
21455         * nscd/nscd.c (main): Don't start AVC thread until credentials are
21456         installed.
21458         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21459         is disabled.
21461 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21463         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21465 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21467         * include/alloca.h (stackinfo_alloca_round): Define.
21468         (extend_alloca): Use it.
21469         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21470         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21471         here.
21473         * scripts/check-local-headers.sh: Ignore libaudit.h.
21475         * nscd/Makefile (extra-objs): Make recursively expanded.
21477 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
21479         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21480         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21482         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21483         * posix/tst-rfc3484-2.c: Likewise.
21484         * posix/tst-rfc3484-3.c: Likewise.
21486         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21487         process_vm_writev.
21488         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21489         process_vm_writev.
21490         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21491         process_vm_writev from libc using GLIBC_2.15 version.
21493         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21495 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
21497         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21498         stack usage.
21500 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
21502         [BZ #13367]
21503         * nss/getent.c (initgroups_keys): Show error message in case no group
21504         names are given.
21506         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21507         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21508         __bump_nl_timestamp.
21509         * nscd/connections (nscd_init): When host database is served open
21510         netlink socket and request notification about configuration changes.
21511         (main_loop_poll): Track netlink file descriptor and bump timestamp
21512         in case data becomes available.
21513         (main_loop_epoll): Likewise.
21514         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21515         (database_pers_head): Add extra_data fileds.
21516         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21517         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21518         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21519         Adjust caller.
21520         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21521         in6ai data, call __free_in6ai.
21522         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21523         Add -DHAVE_NETLINK.
21524         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
21525         interface information.  Reuse previous data if netlink timestamp
21526         is not changed.
21527         (__bump_nl_timestamp): New function.
21528         (__free_in6ai): New function.
21530 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
21532         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21533         close_not_cancel_no_status here.
21534         (__check_pf): Reorganize code a bit to not call close twice if OOM.
21536 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21538         [BZ #13276]
21539         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21540         return value.
21542         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21543         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21544         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21546 2011-07-03  Andreas Jaeger  <aj@suse.de>
21548         [BZ #10709]
21549         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21550         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21551         * math/libm-test.inc (sin_test): Add test case.
21553 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21555         [BZ #13337]
21556         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21557         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21559         * elf/chroot_canon.c (chroot_canon): Cleanups.
21561         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21563         [BZ #13335]
21564         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21565         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21567         * string/test-strchr.c: Make usable for strchrnul testing.
21568         * string/test-strchrnul.c: New file.
21569         * string/Makefile (strop-tests): Add strchrnul.
21571         * po/it.po: Update from translation team.
21572         * po/es.po: Likewise.
21574 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
21576         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21577         the three constants needed as parameters.  Drop the others.
21578         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21579         __m128i_strloadu_tolower.
21580         Create and initialize variable zero and use it in all the places
21581         where _mm_setzero_si128 was used.
21583         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21584         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21585         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21586         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21587         anymore.
21588         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21589         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21590         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21591         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21592         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21593         __mpranred, __mptan.
21594         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21595         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21596         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21597         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21598         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21599         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21600         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21601         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21602         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21604 2011-10-28  Andreas Schwab  <schwab@redhat.com>
21606         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21607         redefine if SHARED.
21608         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21610         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21611         wide char related routines to wcsmbs subdir.
21613 2011-10-27  Andreas Schwab  <schwab@redhat.com>
21615         [BZ #13344]
21616         * misc/sys/cdefs.h (__THROWNL): Define.
21617         * posix/unistd.h: Use __THREADNL instead of __THREAD
21618         for memory synchronization functions.
21620 2011-10-26  Roland McGrath  <roland@hack.frob.com>
21622         [BZ #13349]
21623         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21624         doesn't exist.
21625         * manual/stdio.texi (Obstack Streams): Node removed.
21627 2011-10-26  Andreas Schwab  <schwab@redhat.com>
21629         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21630         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21631         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21633         * math/math_private.h (math_force_eval): Allow non-addressable
21634         arguments.
21635         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21637 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21639         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21640         file is not needed.
21642         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21643         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21644         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21645         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21646         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21647         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21648         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21649         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21650         Add AVX variants.
21651         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21652         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21653         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21654         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21655         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21656         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21657         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21658         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21659         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21660         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21661         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21662         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21663         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21664         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21665         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21666         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21667         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21668         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21669         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21671         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21672         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
21674         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21675         place.  Use VEX encoding when compiling for AVX.
21677 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21679         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21680         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21682         * string/test-strchr.c (do_test): Don't generate NUL bytes.
21684 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21686         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21687         useless if() expression.
21688         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21689         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21690         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21691         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21692         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21693         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21694         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21695         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21696         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21697         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21698         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21699         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21700         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21701         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21702         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21703         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21704         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21705         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21706         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21708         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21710 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21712         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21713         condition.
21714         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21716 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21718         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21719         .text section.  Avoid duplicate constants.
21720         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21721         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21722         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21723         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21724         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21725         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21726         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21727         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21728         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21729         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21730         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21731         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21732         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21733         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21734         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21735         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21736         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21737         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21738         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21739         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21740         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21741         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21742         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21743         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21744         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21745         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21746         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21747         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21748         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21749         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21750         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21751         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21752         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21753         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21754         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21755         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21756         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21757         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21758         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21759         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21760         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21761         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21762         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21763         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21764         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21766 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
21768         * sysdeps/x86_64/dla.h: Move to ...
21769         * sysdeps/x86_64/fpu/dla.h: ...here.
21770         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21771         situations.  Use __builtin_fma only for gcc 4.6 and up.
21773         * config.make.in: Add have-mfma4 entry.
21774         * configure.in: Substitute libc_cv_cc_fma4.
21775         * math/Makefile (dbl-only-routines): Add sincostab.
21776         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21777         Use __sincostab not sincos.
21778         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21779         name is a macro.
21780         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21781         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21782         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21783         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
21784         using __copysign.
21785         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
21786         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
21787         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21788         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21789         and __inv.
21790         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21791         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21792         __copysign.
21793         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
21794         define aliases when function name is a macro.
21795         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21796         sysdeps/ieee754/dbl-64/sincos.tbl.
21797         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21798         fma4-enabled routines.
21799         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21800         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21801         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21802         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21803         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21804         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21805         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21806         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21807         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21808         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21809         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21810         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21811         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21812         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21813         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21814         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21815         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21816         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21817         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21818         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21819         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21820         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21821         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21822         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21823         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21824         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21825         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21826         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21827         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21828         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21830         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21831         rename.
21832         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21833         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21834         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21835         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21836         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21837         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21838         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21839         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21841 2011-10-24  Andreas Schwab  <schwab@redhat.com>
21843         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21845 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21847         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21849         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21850         prediction.
21851         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21853         * string/strnlen.c: Don't define STRNLEN, reverse logic.
21854         Remove unused variable magic_bits.
21855         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21857         * string/strnlen.c: Define and use STRNLEN macro.
21858         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21859         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21860         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21861         * wcsmbs/wcslen.c: Define and use WCSLEN.
21862         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21863         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21864         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21865         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21866         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21867         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21868         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21870 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21872         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21873         strnlen-sse2-no-bsf.
21874         Rename strlen-no-bsf to strlen-sse2-no-bsf.
21875         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21876         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21877         Add strnlen support.
21878         (USE_AS_STRNLEN): New macro.
21879         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21880         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21881         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21882         * sysdeps/x86_64/wcslen.S: New file.
21884 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
21886         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21887         XMM-moves are used for copying on small sizes.
21889 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21891         * wcsmbs/Makefile (strop-tests): Add wcschr.
21892         * wcsmbs/test-wcschr.c: New file.
21893         * string/test-strchr.c: Update.
21894         Add wcschr support.
21895         (WIDE): New macro.
21897 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21899         * wcsmbs/Makefile (strop-tests): Add wcslen.
21900         * wcsmbs/test-wcslen.c: New file.
21901         * string/test-strlen.c: Update.
21902         Add wcslen support.
21903         (WIDE): New macro.
21905 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21907         * po/it.po: Update from translation team.
21909 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21911         * sysdeps/x86_64/wcscmp.S: Update.
21912         Fix wrong comparison semantics.
21913         wcscmp shall use signed comparison not unsigned.
21914         Don't use substraction to avoid overflow bug.
21915         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21916         * wcsmbc/wcscmp.c: Likewise.
21917         * string/test-strcmp.c: Likewise.
21918         Add new tests to check cases with negative values.
21920 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21922         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21923         * sysdeps/x86_64/dla.h: ...here.  New file.
21924         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21925         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21926         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21927         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21928         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21929         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21930         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21931         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21932         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21934 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
21936         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21937         __ynl_finite aliases.
21939 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21941         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21943         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21944         define DLA_FMA.
21945         [DLA_FMA] (EMULV): Use DLA_FMA.
21946         [DLA_FMA] (MUL12): Use EMULV.
21947         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21948         that are not needed.
21949         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21950         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21951         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21952         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21953         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21954         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21955         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21957 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
21959         * math/s_nan.c: Undef __nan.
21960         * math/s_nanf.c: Undef __nanf.
21961         * math/s_nanl.c: Undef __nanl.
21962         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21963         "math_private.h".
21965 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21967         * math/s_catan.c: Add branch predictions.
21968         * math/s_catanf.c: Likewise.
21969         * math/s_catanh.c: Likewise.
21970         * math/s_catanhf.c: Likewise.
21971         * math/s_catanhl.c: Likewise.
21972         * math/s_catanl.c: Likewise.
21973         * math/s_cexp.c: Likewise.
21974         * math/s_cexpf.c: Likewise.
21975         * math/s_cexpl.c: Likewise.
21976         * math/s_clog.c: Likewise.
21977         * math/s_clog10.c: Likewise.
21978         * math/s_clog10f.c: Likewise.
21979         * math/s_clog10l.c: Likewise.
21980         * math/s_clogf.c: Likewise.
21981         * math/s_clogl.c: Likewise.
21982         * math/s_csqrt.c: Likewise.
21983         * math/s_csqrtf.c: Likewise.
21984         * math/s_csqrtl.c: Likewise.
21985         * math/s_ctanf.c: Likewise.
21986         * math/s_ctanh.c: Likewise.
21987         * math/s_ctanhf.c: Likewise.
21988         * math/s_ctanhl.c: Likewise.
21989         * math/s_ctanl.c: Likewise.
21991         * math/math_private.h: Define __nan, __nanf, __nanl.
21992         * math/s_cacosh.c: Include <math_private.h>.
21993         * math/s_cacoshl.c: Likewise.
21994         * math/s_casinh.c: Likewise.
21995         * math/s_casinhf.c: Likewise.
21996         * math/s_casinhl.c: Likewise.
21997         * math/s_ccos.c: Rely entire on ccosh.
21998         * math/s_ccosf.c: Rely entire on ccoshf.
21999         * math/s_ccosl.c: Rely entirely on ccoshl.
22000         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
22001         Remove tests for FE_INVALID.
22002         * math/s_ccoshf.c: Likewise.
22003         * math/s_ccoshl.c: Likewise.
22004         * math/s_csin.c: Likewise.
22005         * math/s_csinf.c: Likewise.
22006         * math/s_csinh.c Likewise.
22007         * math/s_csinhf.c: Likewise.
22008         * math/s_csinhl.c: Likewise.
22009         * math/s_csinl.c: Likewise.
22010         * math/s_ctan.c: Likewise.
22011         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22012         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22013         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22015 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
22017         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22018         compilation problems.
22020         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22021         __builtin_expect.
22023 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
22025         * sysdeps/i386/configure.in: Test for -mfma4 option.
22026         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22027         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22028         COMMON_CPUID_INDEX_80000001.
22029         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22030         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22031         use it if FMA3 is not supported.
22032         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22034         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22035         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22037 2011-10-20  Andreas Schwab  <schwab@redhat.com>
22039         [BZ #12892]
22040         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22041         it would create a cycle with a link time dependency.
22043 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
22045         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22046         instruction.
22047         * string/Makefile (strop-tests): Add rawmemchr.
22048         * string/test-rawmemchr.c: New file.
22050         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22051         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
22052         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
22053         when compiling str{,n}casecmp and when AVX is available.  Hook up
22054         new optimized code in initializers.
22056 2011-10-19  Andreas Schwab  <schwab@redhat.com>
22058         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22059         __feraiseexcept instead of feraiseexcept.
22061 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
22063         * math/math_private.h: Define defaults for libc_fetestexcept and
22064         libc_feupdateenv.
22065         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22066         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22067         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22068         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22069         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22070         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22071         libc_fetestexcept and libc_feupdateenv.
22073         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22074         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22075         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22076         * sysdeps/x86_64/fpu/math_private.h: Define special version of
22077         libc_feholdexcept_setround.
22079         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22080         Add s_nearbyint-c and s_nearbyintf-c.
22081         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22082         nearbyintf inlines.
22083         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22084         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22085         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22086         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22088         * math/math_private.h: Define defaults for libc_fegetround,
22089         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22090         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22091         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22092         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22093         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22094         standard functions.
22095         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22096         Remove comments and hacks for old compiler versions.
22097         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22098         libc_fegetround, libc_fesetround, libc_feholdexcept, and
22099         libc_feholdexceptl.
22101 2011-10-18  Andreas Schwab  <schwab@redhat.com>
22103         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22104         (__feraiseexcept_renamed): Add __NTH.
22105         (feraiseexcept): Add __NTH.  Rename local variables to fix
22106         namespace violations.
22108 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
22110         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22112         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22114         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22115         recently added interfaces.
22116         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22118         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22119         about macro parameter expansion.
22121         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22122         __NO_MATH_INLINES is defined.  Cleanups.
22124         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22125         and __floorf is target has SSE4.1.
22126         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22127         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22128         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22129         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22131         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22132         name.
22133         (floorf): Likewise.
22135         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22137 2011-10-17  Andreas Schwab  <schwab@redhat.com>
22139         * misc/sys/cdefs.h: Fix last change.
22141         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22142         database lookup.
22144 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
22146         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22148         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22149         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22150         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22151         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22152         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22153         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22154         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22155         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22156         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22157         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22158         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22159         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22160         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22161         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22162         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22163         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22164         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22165         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22166         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22167         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22168         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22169         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22171         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22172         ceil, ceilf, floor, floorf.
22174         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22175         Perform IRELATIVE relocations last.
22177         * elf/do-rel.h: Add another parameter nrelative, replacing the
22178         local variable with the same name.  Change name of the function
22179         to end in Rel or Rela (uppercase).
22180         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22181         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
22182         elf_dynamic_do_##reloc function.
22184 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22186         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22187         is sufficient, at least on modern CPUs.
22189         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22191         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22192         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22194         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22195         __expl_finite.
22196         * math/bits/math-finite.h: Add entries for exp.
22197         * math/e_expl.c: Add __*_finite alias.
22198         * sysdeps/i386/fpu/e_exp.S: Likewise.
22199         * sysdeps/i386/fpu/e_expf.S: Likewise.
22200         * sysdeps/i386/fpu/e_expl.c: Likewise.
22201         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22202         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22203         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22204         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22205         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22206         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22207         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22209         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22210         is sufficient, at least on modern CPUs.
22212         * ctype/ctype-info.c (__ctype_init): Define.
22213         * include/ctype.h (__ctype_init): Declare.
22214         (__ctype_b_loc): The variable is always initialized.
22215         (__ctype_toupper_loc): Likewise.
22216         (__ctype_tolower_loc): Likewise.
22217         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22218         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22220 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
22222         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22224         * configure.in: Also look in $cxxmachine/include for C++ system
22225         headers.
22227 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22229         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22230         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22231         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22232         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
22233         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22234         (USE_AS_WMEMCMP): New macro.
22235         Fixing indents.
22236         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22237         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22238         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22239         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22240         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22241         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22242         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22243         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22244         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22245         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22246         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22247         (USE_AS_WMEMCMP): New macro.
22248         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22249         * sysdeps/string/test-memcmp.c: Update.
22250         Fix simple_wmemcmp.
22251         Add new tests.
22252         * wcsmbs/wmemcmp.c: Update.
22253         (WMEMCMP): New macro.
22254         Fix overflow bug.
22256 2011-10-12  Andreas Jaeger  <aj@suse.de>
22258         [BZ #13268]
22259         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22261 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22263         * libio/iofwide.c (do_length): Avoid warning.
22265         * ctype/ctype.h (__isctype_f): Add missing __THROW.
22267 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
22269         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22271         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22272         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22273         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22274         * sysdeps/i386/i686/fpu/e_log.S: New file.
22275         * sysdeps/i386/i686/fpu/e_logf.S: New file.
22276         * sysdeps/i386/i686/fpu/e_logl.S: New file.
22278         * ctype/ctype.h: Add support for inlined isXXX functions when
22279         compiling C++ code.
22281 2011-10-14  Andreas Schwab  <schwab@redhat.com>
22283         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22285         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22287 2011-10-13  Roland McGrath  <roland@hack.frob.com>
22289         [BZ #13291]
22290         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22292 2011-10-13  Andreas Schwab  <schwab@redhat.com>
22294         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22295         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22296         feraiseexcept.
22298         * sysdeps/x86_64/memrchr.S: Check for zero size.
22300         * string/stratcliff.c: Add memrchr tests.
22302 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22304         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22305         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22306         rawmemchr-sse2 rawmemchr-sse2-bsf.
22307         * sysdeps/i386/i686/multiarch/memchr.S: New file.
22308         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22309         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22310         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22311         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22312         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22313         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22314         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22315         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22316         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22317         * string/memrchr.c (MEMRCHR): New macro.
22319 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
22321         Add integration with gcc's -ffinite-math-only and optimize wrapper
22322         functions in libm.
22323         * Versions.def: Define GLIBC_2.15 version for libm.
22324         * math/Makefile (headers): Add bits/math-finite.h.
22325         * math/bits/math-finite.h: New file.
22326         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22327         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22328         * math/e_acoshl.c: Add __*_finite alias.
22329         * math/e_acosl.c: Likewise.
22330         * math/e_asinl.c: Likewise.
22331         * math/e_atan2l.c: Likewise.
22332         * math/e_atanhl.c: Likewise.
22333         * math/e_coshl.c: Likewise.
22334         * math/e_exp10.c: Likewise.
22335         * math/e_exp10f.c: Likewise.
22336         * math/e_exp10l.c: Likewise.
22337         * math/e_exp2l.c: Likewise.
22338         * math/e_fmodl.c: Likewise.
22339         * math/e_gammal_r.c: Likewise.
22340         * math/e_hypotl.c: Likewise.
22341         * math/e_j0l.c: Likewise.
22342         * math/e_j1l.c: Likewise.
22343         * math/e_jnl.c: Likewise.
22344         * math/e_lgammal_r.c: Likewise.
22345         * math/e_log10l.c: Likewise.
22346         * math/e_log2l.c: Likewise.
22347         * math/e_logl.c: Likewise.
22348         * math/e_powl.c: Likewise.
22349         * math/e_sinhl.c: Likewise.
22350         * math/e_sqrtl.c: Likewise.
22351         * math/e_scalb.c: Completely rewritten and optimized.
22352         * math/e_scalbf.c: Likewise.
22353         * math/e_scalbl.c: Likewise.
22354         * math/w_acos.c: Likewise.
22355         * math/w_acosf.c: Likewise.
22356         * math/w_acosl.c: Likewise.
22357         * math/w_acosh.c: Likewise.
22358         * math/w_acoshf.c: Likewise.
22359         * math/w_acoshl.c: Likewise.
22360         * math/w_asin.c: Likewise.
22361         * math/w_asinf.c: Likewise.
22362         * math/w_asinl.c: Likewise.
22363         * math/w_atan2.c: Likewise.
22364         * math/w_atan2f.c: Likewise.
22365         * math/w_atan2l.c: Likewise.
22366         * math/w_atanh.c: Likewise.
22367         * math/w_atanhf.c: Likewise.
22368         * math/w_atanhl.c: Likewise.
22369         * math/w_exp10.c: Likewise.
22370         * math/w_exp10f.c: Likewise.
22371         * math/w_exp10l.c: Likewise.
22372         * math/w_fmod.c: Likewise.
22373         * math/w_fmodf.c: Likewise.
22374         * math/w_fmodl.c: Likewise.
22375         * math/w_j0.c: Likewise.
22376         * math/w_j0f.c: Likewise.
22377         * math/w_j0l.c: Likewise.
22378         * math/w_j1.c: Likewise.
22379         * math/w_j1f.c: Likewise.
22380         * math/w_j1l.c: Likewise.
22381         * math/w_jn.c: Likewise.
22382         * math/w_jnf.c: Likewise.
22383         * math/w_log.c: Likewise.
22384         * math/w_logf.c: Likewise.
22385         * math/w_logl.c: Likewise.
22386         * math/w_log10.c: Likewise.
22387         * math/w_log10f.c: Likewise.
22388         * math/w_log10l.c: Likewise.
22389         * math/w_log2.c: Likewise.
22390         * math/w_log2f.c: Likewise.
22391         * math/w_log2l.c: Likewise.
22392         * math/w_pow.c: Likewise.
22393         * math/w_powf.c: Likewise.
22394         * math/w_powl.c: Likewise.
22395         * math/w_remainder.c: Likewise.
22396         * math/w_remainderf.c: Likewise.
22397         * math/w_remainderl.c: Likewise.
22398         * math/w_scalb.c: Likewise.
22399         * math/w_scalbf.c: Likewise.
22400         * math/w_scalbl.c: Likewise.
22401         * math/w_sqrt.c: Likewise.
22402         * math/w_sqrtf.c: Likewise.
22403         * math/w_sqrtl.c: Likewise.
22404         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22405         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
22406         used.
22407         * math/math_private.h: Declare __kernel_standard_f.
22408         * math/w_cosh.c: Remove cruft and optimize a bit.
22409         * math/w_coshf.c: Likewise.
22410         * math/w_coshl.c: Likewise.
22411         * math/w_exp2.c: Likewise.
22412         * math/w_exp2f.c: Likewise.
22413         * math/w_exp2l.c: Likewise.
22414         * math/w_hypot.c: Likewise.
22415         * math/w_hypotf.c: Likewise.
22416         * math/w_hypotl.c: Likewise.
22417         * math/w_lgamma.c: Likewise.
22418         * math/w_lgamma_r.c: Likewise.
22419         * math/w_lgammaf.c: Likewise.
22420         * math/w_lgammaf_r.c: Likewise.
22421         * math/w_lgammal.c: Likewise.
22422         * math/w_lgammal_r.c: Likewise.
22423         * math/w_sinh.c: Likewise.
22424         * math/w_sinhf.c: Likewise.
22425         * math/w_sinhl.c: Likewise.
22426         * math/w_tgamma.c: Likewise.
22427         * math/w_tgammaf.c: Likewise.
22428         * math/w_tgammal.c: Likewise.
22429         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22430         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22431         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22432         Minor optimizations.  Pretty printing.  Remove cruft.
22433         * sysdeps/i386/fpu/e_acosf.S: Likewise.
22434         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22435         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22436         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22437         * sysdeps/i386/fpu/e_acosl.c: Likewise.
22438         * sysdeps/i386/fpu/e_asin.S: Likewise.
22439         * sysdeps/i386/fpu/e_asinf.S: Likewise.
22440         * sysdeps/i386/fpu/e_atan2.S: Likewise.
22441         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22442         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22443         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22444         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22445         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22446         * sysdeps/i386/fpu/e_exp10.S: Likewise.
22447         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22448         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22449         * sysdeps/i386/fpu/e_exp2.S: Likewise.
22450         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22451         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22452         * sysdeps/i386/fpu/e_fmod.S: Likewise.
22453         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22454         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22455         * sysdeps/i386/fpu/e_hypot.S: Likewise.
22456         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22457         * sysdeps/i386/fpu/e_log.S: Likewise.
22458         * sysdeps/i386/fpu/e_log10.S: Likewise.
22459         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22460         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22461         * sysdeps/i386/fpu/e_log2.S: Likewise.
22462         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22463         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22464         * sysdeps/i386/fpu/e_logf.S: Likewise.
22465         * sysdeps/i386/fpu/e_logl.S: Likewise.
22466         * sysdeps/i386/fpu/e_pow.S: Likewise.
22467         * sysdeps/i386/fpu/e_powf.S: Likewise.
22468         * sysdeps/i386/fpu/e_powl.S: Likewise.
22469         * sysdeps/i386/fpu/e_remainder.S: Likewise.
22470         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22471         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22472         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22473         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22474         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22475         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22476         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22477         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22478         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22479         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22480         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22481         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22482         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22483         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22484         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22485         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22486         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22487         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22488         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22489         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22490         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22491         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22492         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22493         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22494         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22495         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22496         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22497         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22498         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22499         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22500         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22501         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22502         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22503         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22504         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22505         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22506         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22507         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22508         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22509         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22510         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22511         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22512         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22513         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22514         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22515         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22516         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22517         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22518         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22519         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22520         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22521         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22522         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22523         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22524         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22525         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22526         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22527         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22528         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22529         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22530         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22531         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22532         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22533         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22534         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22535         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22536         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22537         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22538         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22539         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22540         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22541         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22542         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22543         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22544         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22545         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22546         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22547         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22548         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22549         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22550         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22551         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22552         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22553         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22554         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22555         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22556         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22557         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22558         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22559         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22560         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22561         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22562         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22563         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22564         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22565         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22566         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22567         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22568         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22569         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22570         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22571         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22572         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22573         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22574         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22575         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22576         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22577         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22578         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22579         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22580         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22581         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22582         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22583         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22584         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22585         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22586         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22587         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22588         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
22589         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22590         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22591         (__isnanf): Likewise.
22592         (__isinf_ns): Likewise.
22593         (__isinf_nsf): Likewise.
22594         (__finite): Likewise.
22595         (__finitef): Likewise.
22596         (__ieee754_sqrt): Define as macro.
22597         (__ieee754_sqrtf): Define as macro.
22598         (__ieee754_sqrtl): Define as macro.
22599         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22600         inlined copy.
22601         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22602         __FINITE_MATH_ONLY__ consistent.
22603         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22605 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
22607         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22608         of rawmemchr.
22610         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22612 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
22614         * po/ja.po: Update from translation team.
22616 2011-10-08  Roland McGrath  <roland@hack.frob.com>
22618         * locale/programs/locarchive.c (prepare_address_space): New function.
22619         (create_archive, enlarge_archive, open_archive): Use it.
22621         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22622         inside [SHARED], where it is used.
22624         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22626         * nss/getent.c (netgroup_keys): Remove unused variable.
22627         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22629 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
22631         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22632         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22633         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22634         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22635         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22636         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22637         * math/Makefile (libm-calls): Add s_isinf_ns.
22638         * math/divtc3.c: Use __isinf_nsl instead of isinf.
22639         * math/multc3.c: Likewise.
22640         * math/s_casin.c: Likewise.
22641         * math/s_casinf.c: Likewise.
22642         * math/s_casinl.c: Likewise.
22643         * math/s_ccos.c: Likewise.
22644         * math/s_ccosf.c: Likewise.
22645         * math/s_ccosl.c: Likewise.
22646         * math/s_ctan.c: Likewise.
22647         * math/s_ctanf.c: Likewise.
22648         * math/s_ctanh.c: Likewise.
22649         * math/s_ctanhf.c: Likewise.
22650         * math/s_ctanhl.c: Likewise.
22651         * math/s_ctanl.c: Likewise.
22652         * math/w_fmod.c: Likewise.
22653         * math/w_fmodf.c: Likewise.
22654         * math/w_fmodl.c: Likewise.
22655         * math/w_remainder.c: Likewise.
22656         * math/w_remainderf.c: Likewise.
22657         * math/w_remainderl.c: Likewise.
22658         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22659         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22660         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22661         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22662         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22663         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22664         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22665         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22667         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22668         of the number.
22669         * stdio-common/printf_fphex.c: Likewise.
22670         * stdio-common/printf_size.c: Likewise.
22672         * math/e_exp10.c: Include math_private.h using <...> not "...".
22673         * math/e_exp10f.c: Likewise.
22674         * math/e_exp10l.c: Likewise.
22675         * math/e_exp2l.c: Likewise.
22676         * math/e_j0l.c: Likewise.
22677         * math/e_j1l.c: Likewise.
22678         * math/e_jnl.c: Likewise.
22679         * math/e_lgammal_r.c: Likewise.
22680         * math/e_rem_pio2l.c: Likewise.
22681         * math/e_scalb.c: Likewise.
22682         * math/e_scalbf.c: Likewise.
22683         * math/e_scalbl.c: Likewise.
22684         * math/k_cosl.c: Likewise.
22685         * math/k_sinl.c: Likewise.
22686         * math/k_tanl.c: Likewise.
22687         * math/s_cacoshf.c: Likewise.
22688         * math/s_catan.c: Likewise.
22689         * math/s_catanf.c: Likewise.
22690         * math/s_catanh.c: Likewise.
22691         * math/s_catanhf.c: Likewise.
22692         * math/s_catanhl.c: Likewise.
22693         * math/s_catanl.c: Likewise.
22694         * math/s_ccosh.c: Likewise.
22695         * math/s_ccoshf.c: Likewise.
22696         * math/s_ccoshl.c: Likewise.
22697         * math/s_cexp.c: Likewise.
22698         * math/s_cexpf.c: Likewise.
22699         * math/s_cexpl.c: Likewise.
22700         * math/s_clog.c: Likewise.
22701         * math/s_clog10.c: Likewise.
22702         * math/s_clog10f.c: Likewise.
22703         * math/s_clog10l.c: Likewise.
22704         * math/s_clogf.c: Likewise.
22705         * math/s_clogl.c: Likewise.
22706         * math/s_csin.c: Likewise.
22707         * math/s_csinf.c: Likewise.
22708         * math/s_csinh.c: Likewise.
22709         * math/s_csinhf.c: Likewise.
22710         * math/s_csinhl.c: Likewise.
22711         * math/s_csinl.c: Likewise.
22712         * math/s_csqrt.c: Likewise.
22713         * math/s_csqrtf.c: Likewise.
22714         * math/s_csqrtl.c: Likewise.
22715         * math/s_ctan.c: Likewise.
22716         * math/s_ctanf.c: Likewise.
22717         * math/s_ctanh.c: Likewise.
22718         * math/s_ctanhf.c: Likewise.
22719         * math/s_ctanhl.c: Likewise.
22720         * math/s_ctanl.c: Likewise.
22721         * math/s_ldexp.c: Likewise.
22722         * math/s_ldexpf.c: Likewise.
22723         * math/s_ldexpl.c: Likewise.
22724         * math/s_significand.c: Likewise.
22725         * math/s_significandf.c: Likewise.
22726         * math/s_significandl.c: Likewise.
22727         * math/w_acos.c: Likewise.
22728         * math/w_acosf.c: Likewise.
22729         * math/w_acosh.c: Likewise.
22730         * math/w_acoshf.c: Likewise.
22731         * math/w_acoshl.c: Likewise.
22732         * math/w_acosl.c: Likewise.
22733         * math/w_asin.c: Likewise.
22734         * math/w_asinf.c: Likewise.
22735         * math/w_asinl.c: Likewise.
22736         * math/w_atan2.c: Likewise.
22737         * math/w_atan2f.c: Likewise.
22738         * math/w_atan2l.c: Likewise.
22739         * math/w_atanh.c: Likewise.
22740         * math/w_atanhf.c: Likewise.
22741         * math/w_atanhl.c: Likewise.
22742         * math/w_cosh.c: Likewise.
22743         * math/w_coshf.c: Likewise.
22744         * math/w_coshl.c: Likewise.
22745         * math/w_dremf.c: Likewise.
22746         * math/w_exp10.c: Likewise.
22747         * math/w_exp10f.c: Likewise.
22748         * math/w_exp10l.c: Likewise.
22749         * math/w_exp2.c: Likewise.
22750         * math/w_exp2f.c: Likewise.
22751         * math/w_fmod.c: Likewise.
22752         * math/w_fmodf.c: Likewise.
22753         * math/w_fmodl.c: Likewise.
22754         * math/w_hypot.c: Likewise.
22755         * math/w_hypotf.c: Likewise.
22756         * math/w_hypotl.c: Likewise.
22757         * math/w_j0.c: Likewise.
22758         * math/w_j0f.c: Likewise.
22759         * math/w_j0l.c: Likewise.
22760         * math/w_j1.c: Likewise.
22761         * math/w_j1f.c: Likewise.
22762         * math/w_j1l.c: Likewise.
22763         * math/w_jn.c: Likewise.
22764         * math/w_jnf.c: Likewise.
22765         * math/w_jnl.c: Likewise.
22766         * math/w_lgamma.c: Likewise.
22767         * math/w_lgamma_r.c: Likewise.
22768         * math/w_lgammaf.c: Likewise.
22769         * math/w_lgammaf_r.c: Likewise.
22770         * math/w_lgammal.c: Likewise.
22771         * math/w_lgammal_r.c: Likewise.
22772         * math/w_log.c: Likewise.
22773         * math/w_log10.c: Likewise.
22774         * math/w_log10f.c: Likewise.
22775         * math/w_log10l.c: Likewise.
22776         * math/w_log2.c: Likewise.
22777         * math/w_log2f.c: Likewise.
22778         * math/w_log2l.c: Likewise.
22779         * math/w_logf.c: Likewise.
22780         * math/w_logl.c: Likewise.
22781         * math/w_pow.c: Likewise.
22782         * math/w_powf.c: Likewise.
22783         * math/w_powl.c: Likewise.
22784         * math/w_remainder.c: Likewise.
22785         * math/w_remainderf.c: Likewise.
22786         * math/w_remainderl.c: Likewise.
22787         * math/w_scalb.c: Likewise.
22788         * math/w_scalbf.c: Likewise.
22789         * math/w_scalbl.c: Likewise.
22790         * math/w_sinh.c: Likewise.
22791         * math/w_sinhf.c: Likewise.
22792         * math/w_sinhl.c: Likewise.
22793         * math/w_sqrt.c: Likewise.
22794         * math/w_sqrtf.c: Likewise.
22795         * math/w_sqrtl.c: Likewise.
22796         * math/w_tgamma.c: Likewise.
22797         * math/w_tgammaf.c: Likewise.
22798         * math/w_tgammal.c: Likewise.
22800         * po/ja.po: Update from translation team.
22802 2011-09-29  Andreas Jaeger  <aj@suse.de>
22804         [BZ #13179]
22805         * sunrpc/netname.c (netname2host): Fix logic.
22807         [BZ #6779]
22808         [BZ #6783]
22809         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22810         correctly.
22811         * math/w_remainder.c (__remainder): Likewise.
22812         * math/w_remainderf.c (__remainderf): Likewise.
22813         * math/libm-test.inc (remainder_test): Add test cases.
22815 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22817         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
22818         sdiv_qrnnd.
22820 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22822         * string/test-memcmp.c: Avoid unncessary #defines.
22823         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22825 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22827         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22828         Use new sse2 version for core i3 - i7 as it's faster
22829         than sse42 version.
22830         (bit_Prefer_PMINUB_for_stringop): New.
22831         * sysdeps/x86_64/rawmemchr.S: Update.
22832         Replace with faster SSE2 version.
22833         * sysdeps/x86_64/memrchr.S: New file.
22834         * sysdeps/x86_64/memchr.S: Update.
22835         Replace with faster SSE2 version.
22837 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
22839         * elf/dl-load.c (lose): Add cast to avoid warning.
22841 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22843         * po/ca.po: Update from translation team.
22845         * inet/getnetgrent_r.c: Hook up nscd.
22846         * nscd/Makefile (routines): Add nscd_netgroup.
22847         (nscd-modules): Add netgroupcache.
22848         (CFLAGS-netgroupcache.c): Define.
22849         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22850         (cache_search): Add const to second parameter.
22851         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22852         INNETGR.
22853         (dbs): Add netgrdb entry.
22854         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22855         (verify_persistent_db): Handle netgrdb.
22856         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22857         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22858         GETFDNETGR.
22859         (netgroup_response_header): Define.
22860         (innetgroup_response_header): Define.
22861         (datahead): Add netgroup_response_header and innetgroup_response_header
22862         elements.
22863         * nscd/nscd.conf: Add entries for netgroup cache.
22864         * nscd/nscd.h (dbtype): Add netgrdb.
22865         (_PATH_NSCD_NETGROUP_DB): Define.
22866         (netgroup_iov_disabled): Declare.
22867         (xmalloc, xcalloc, xrealloc): Move declarations here.
22868         (cache_search): Adjust prototype.
22869         Add netgroup-related prototypes.
22870         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22871         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22872         (__nscd_innetgr): Declare.
22873         * nscd/selinux.c (perms): Use access_vector_t as element type and
22874         add netgroup-related initializers.
22875         * nscd/netgroupcache.c: New file.
22876         * nscd/nscd_netgroup.c: New file.
22877         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22878         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22879         For four parameters use innetgr.
22880         * nss/nss_files/files-init.c: Add definition and callback for netgr.
22881         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22882         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22883         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22885         * nscd/connections.c (register_traced_file): Don't register file
22886         for disabled databases.
22888 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
22890         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22892         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22893         from tree and freeing node.
22895 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
22897         * nss/nsswitch.c (__nss_database_lookup): Handle
22898         nss_parse_service_list out of memory case.
22900 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
22902         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22903         out of memory case.
22905 2011-10-04  Andreas Schwab  <schwab@redhat.com>
22907         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22908         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22909         pass it down.
22910         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22911         elf_machine_rela, elf_machine_lazy_rel.
22912         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22913         (ELF_DYNAMIC_DO_REL): Likewise.
22914         (ELF_DYNAMIC_DO_RELA): Likewise.
22915         (ELF_DYNAMIC_RELOCATE): Likewise.
22916         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22917         to ELF_DYNAMIC_DO_REL.
22918         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22919         (dl_main): In trace mode always set __RTLD_NOIFUNC.
22920         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22921         elf_machine_rela.
22922         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22923         skip_ifunc, don't call ifunc function if non-zero.
22924         (elf_machine_rela): Likewise.
22925         (elf_machine_lazy_rel): Likewise.
22926         (elf_machine_lazy_rela): Likewise.
22927         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22928         (elf_machine_lazy_rel): Likewise.
22929         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22930         Likewise.
22931         (elf_machine_lazy_rel): Likewise.
22932         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22933         Likewise.
22934         (elf_machine_lazy_rel): Likewise.
22935         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22936         (elf_machine_lazy_rel): Likewise.
22937         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22938         (elf_machine_lazy_rel): Likewise.
22939         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22940         (elf_machine_lazy_rel): Likewise.
22941         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22942         (elf_machine_lazy_rel): Likewise.
22943         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22944         (elf_machine_lazy_rel): Likewise.
22945         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22946         (elf_machine_lazy_rel): Likewise.
22948 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
22950         * nss/nss_files/files-init.c (_nss_files_init): Use static
22951         initialization for all the *_traced_file variables.
22953 2011-09-28  Andreas Schwab  <schwab@redhat.com>
22955         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22957 2011-09-27  Roland McGrath  <roland@hack.frob.com>
22959         [BZ #13226]
22960         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22962 2011-09-27  Andreas Schwab  <schwab@redhat.com>
22964         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22965         Reread the line before reparsing it.
22967 2011-09-26  Andreas Schwab  <schwab@redhat.com>
22969         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22971 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
22972             Maxim Kuvyrkov  <maxim@codesourcery.com>
22973             Joseph Myers  <joseph@codesourcery.com>
22975         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22976         if needed for __stack_chk_guard.
22978 2011-09-19  Roland McGrath  <roland@hack.frob.com>
22980         * sysdeps/posix/spawni.c (script_execute): Always define it.
22981         It will be optimized away if unused.
22982         (maybe_script_execute): New function.
22983         (__spawni): Call it.
22985         * Makerules: Don't include tls.make.
22986         (config-tls): Always set to thread.
22987         * tls.make.c: File removed.
22989 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
22991         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22992         * config.make.in (CPPFLAGS-config): New substituted variable.
22994 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22996         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22998         [BZ #13192]
22999         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23000         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23002 2011-09-15  Roland McGrath  <roland@hack.frob.com>
23004         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23005         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23006         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23007         (CALL_FAIL): Likewise.
23008         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23009         (CALL_FAIL): Macro removed.
23010         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23012 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23014         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23015         for __FINITE_MATH_ONLY__ == 1.
23017 2011-09-15  Andreas Schwab  <schwab@redhat.com>
23019         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23020         __ieee754_sqrt instead of sqrt.
23021         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23022         __ieee754_sqrtf instead of sqrtf.
23023         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23024         __floorf instead of floorf.
23025         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23026         __floorf, __truncf instead of floorf, truncf.
23028 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
23030         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23032         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23033         __extern_always_inline.
23034         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23035         32-bit.
23037 2011-09-14  Andreas Schwab  <schwab@redhat.com>
23039         * elf/rtld.c (dl_main): Also relocate in dependency order when
23040         doing symbol dependency testing.
23042 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
23044         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23045         Always define `refsym'.
23047 2011-09-13  Andreas Schwab  <schwab@redhat.com>
23049         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23050         (__FD_ELT): Renamed from __FDELT.
23051         * misc/bits/select2.h (__FD_ELT): Likewise.
23052         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23053         __FD_MASK instead of __FDELT, __FDMASK.
23054         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23055         Likewise.
23056         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23057         Likewise.
23059         * elf/Makefile (gen-ldd): Fix pattern.
23061         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23062         (init_tls): Likewise.
23064 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
23066         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23068 2011-09-12  Andreas Schwab  <schwab@redhat.com>
23070         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23071         `struct cmsghdr *' instead of `void *'.
23072         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23073         Likewise.
23075 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
23077         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23078         if non-absolute.
23079         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23080         ldd_rewrite_script.
23082 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
23084         * configure.in: Remove --with-tls option.
23085         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23086         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23087         out in case it is missing.
23088         * sysdeps/ia64/elf/configure.in: Likewise.
23089         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23090         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23091         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23092         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23093         * sysdeps/sh/elf/configure.in: Likewise.
23094         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23095         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23096         * sysdeps/x86_64/elf/configure.in: Likewise.
23097         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23098         * sysdeps/mach/hurd/tls.h: Likewise.
23100         [BZ #13067]
23101         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23103         [BZ #13090]
23104         * configure.in: Fix use of AC_INIT.
23106         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23108 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
23110         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23111         __set_errno.
23112         * malloc/hooks.c: Likewise.
23114         [BZ #11929]
23115         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
23116         variables statically.
23117         (narenas): Initialize.
23118         (list_lock): Initialize.
23119         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
23120         initializtion of main_arena and list_lock.  Small cleanups.
23121         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23122         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
23123         Add initializers to main_arena and mp_.
23124         (malloc_state): Remove pagesize member.  Change all users to use
23125         GLRO(dl_pagesize).
23127         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23128         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
23129         is always initialized.
23131         * malloc/malloc.c: Removed unused configurations and dead code.
23132         * malloc/arena.c: Likewise.
23133         * malloc/hooks.c: Likewise.
23134         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23136         * include/tls.h: Removed.  USE___THREAD must always be defined.
23137         * bits/libc-tsd.h: Don't handle !USE___THREAD.
23138         * elf/dl-libc.c: Likewise.
23139         * elf/dl-tsd.c: Likewise.
23140         * include/errno.h: Likewise.
23141         * include/netdb.h: Likewise.
23142         * include/resolv.h: Likewise.
23143         * inet/herrno-loc.c: Likewise.
23144         * inet/herrno.c: Likewise.
23145         * malloc/arena.c: Likewise.
23146         * malloc/hooks.c: Likewise.
23147         * malloc/malloc.c: Likewise.
23148         * resolv/res-state.c: Likewise.
23149         * resolv/res_libc.c: Likewise.
23150         * sysdeps/i386/dl-machine.h: Likewise.
23151         * sysdeps/ia64/dl-machine.h: Likewise.
23152         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23153         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23154         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23155         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23156         * sysdeps/sh/dl-machine.h: Likewise.
23157         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23158         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23159         * sysdeps/unix/i386/sysdep.S: Likewise.
23160         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23161         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23162         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23163         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23164         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23165         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23166         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23167         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23168         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23169         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23170         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23171         * sysdeps/x86_64/dl-machine.h: Likewise.
23172         * tls.make.c: Likewise.
23174         * configure.in: Remove --with-__thread option.  Make tests for
23175         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23176         tls_model attribute fail if no support is available.  Remove
23177         USE_IN_LIBIO.
23178         * Makeconfig: Adjust for dropped configure option.  All features are
23179         now mandatory.
23180         * Makerules: Likewise.
23181         * Versions.def: Likewise.
23182         * argp/argp-fmtstream.c: Likewise.
23183         * argp/argp-fmtstream.h: Likewise.
23184         * argp/argp-help.c: Likewise.
23185         * assert/assert.c: Likewise.
23186         * config.h.in: Likewise.
23187         * config.make.in: Likewise.
23188         * configure: Likewise.
23189         * configure.in: Likewise.
23190         * csu/Versions: Likewise.
23191         * csu/init.c: Likewise.
23192         * elf/tst-audit2.c: Likewise.
23193         * elf/tst-tls10.c: Likewise.
23194         * elf/tst-tls10.h: Likewise.
23195         * elf/tst-tls11.c: Likewise.
23196         * elf/tst-tls12.c: Likewise.
23197         * elf/tst-tls14.c: Likewise.
23198         * elf/tst-tlsmod11.c: Likewise.
23199         * elf/tst-tlsmod12.c: Likewise.
23200         * elf/tst-tlsmod13.c: Likewise.
23201         * elf/tst-tlsmod13a.c: Likewise.
23202         * elf/tst-tlsmod14a.c: Likewise.
23203         * elf/tst-tlsmod15b.c: Likewise.
23204         * elf/tst-tlsmod16a.c: Likewise.
23205         * elf/tst-tlsmod16b.c: Likewise.
23206         * elf/tst-tlsmod7.c: Likewise.
23207         * elf/tst-tlsmod8.c: Likewise.
23208         * elf/tst-tlsmod9.c: Likewise.
23209         * gmon/gmon.c: Likewise.
23210         * grp/fgetgrent_r.c: Likewise.
23211         * grp/putgrent.c: Likewise.
23212         * hurd/fopenport.c: Likewise.
23213         * include/libc-symbols.h: Likewise.
23214         * include/tls.h: Likewise.
23215         * intl/gettextP.h: Likewise.
23216         * intl/loadinfo.h: Likewise.
23217         * locale/global-locale.c: Likewise.
23218         * locale/localeinfo.h: Likewise.
23219         * mach/devstream.c: Likewise.
23220         * malloc/arena.c: Likewise.
23221         * malloc/set-freeres.c: Likewise.
23222         * misc/err.c: Likewise.
23223         * misc/getttyent.c: Likewise.
23224         * misc/mntent_r.c: Likewise.
23225         * posix/getopt.c: Likewise.
23226         * posix/wordexp.c: Likewise.
23227         * pwd/fgetpwent_r.c: Likewise.
23228         * resolv/Versions: Likewise.
23229         * resolv/res_hconf.c: Likewise.
23230         * shadow/fgetspent_r.c: Likewise.
23231         * shadow/putspent.c: Likewise.
23232         * stdio-common/printf_fphex.c: Likewise.
23233         * stdio-common/tmpfile.c: Likewise.
23234         * stdlib/abort.c: Likewise.
23235         * stdlib/fmtmsg.c: Likewise.
23236         * sunrpc/auth_unix.c: Likewise.
23237         * sunrpc/clnt_perr.c: Likewise.
23238         * sunrpc/clnt_tcp.c: Likewise.
23239         * sunrpc/clnt_udp.c: Likewise.
23240         * sunrpc/clnt_unix.c: Likewise.
23241         * sunrpc/openchild.c: Likewise.
23242         * sunrpc/svc_simple.c: Likewise.
23243         * sunrpc/svc_tcp.c: Likewise.
23244         * sunrpc/svc_udp.c: Likewise.
23245         * sunrpc/svc_unix.c: Likewise.
23246         * sunrpc/xdr.c: Likewise.
23247         * sunrpc/xdr_array.c: Likewise.
23248         * sunrpc/xdr_rec.c: Likewise.
23249         * sunrpc/xdr_ref.c: Likewise.
23250         * sunrpc/xdr_stdio.c: Likewise.
23252 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23254         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23256 2011-07-03  Andreas Jaeger  <aj@suse.de>
23258         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23259         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23260         regenerate with gen-libm-tests.pl.
23262 2010-05-12  Petr Baudis  <pasky@suse.cz>
23264         [BZ #11589]
23265         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23266         around j0() zero points by switching to j1().
23267         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23268         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23269         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23270         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23272 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23274         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23275         instead of 0.
23276         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23277         instead of 0.
23278         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23279         Patch in part by Pavel Roskin <proski@gnu.org>.
23281         [BZ #13138]
23282         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23283         realloc.
23284         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
23285         Free memory block if necessary.
23287         [BZ #12847]
23288         * libio/genops.c (INTDEF): For string streams the _lock pointer can
23289         be NULL.  Don't lock in this case.
23291 2011-09-09  Roland McGrath  <roland@hack.frob.com>
23293         * elf/elf.h (ELFOSABI_GNU): New macro.
23294         (ELFOSABI_LINUX): Define to that.
23296 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
23298         * string/strncat.c (strncat): Undef the symbol in case it has been
23299         defined in bits/string.h.
23301 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23303         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23305         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23306         link map.
23308 2011-08-17  Andreas Jaeger  <aj@suse.de>
23310         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23312 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23313             Ian Lance Taylor  <iant@google.com>
23315         * math/libm-test.inc (lround_test): New testcase.
23316         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23318 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
23320         * Makefile: Remove support for automatic cvs check-ins.
23321         * Makerules: Likewise.
23322         * config.make.in: Likewise.
23323         * configure.in: Likewise.
23324         * intl/Makefile: Likewise.
23325         * locale/Makefile: Likewise.
23326         * po/Makefile: Likewise.
23327         * posix/Makefile: Likewise.
23328         * sysdeps/gnu/Makefile: Likewise.
23329         * sysdeps/mach/hurd/Makefile: Likewise.
23330         * sysdeps/sparc/sparc32/Makefile: Likewise.
23332         [BZ #13118]
23333         * posix/Makefile (bug-regex32-ENV): Define.
23334         Patch by John Stanley <jpsinthemix@verizon.net>.
23336         * misc/Makefile (headers): Add bits/select2.h.
23337         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23338         * misc/bits/select2.h: New file.
23339         * include/bits/select2.h: New file.
23340         * debug/Makefile (routines): Add fdelt_chk.
23341         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23342         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23343         FD_ISSET.
23344         * debug/fdelt_chk.c: New file.
23346         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
23347         * wcsmbs/test-wmemcmp.c: Likewise.
23348         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23349         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23351 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23353         * string/Makefile (strop-tests): Add memcmp.
23354         * string/test-wmemcmp.c: New file.
23355         * string/test-memcmp.c: Add wmemcmp support.
23357 2011-09-08  Roland McGrath  <roland@hack.frob.com>
23359         [BZ #13153]
23360         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23361         2011-07-19 change.
23363         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23364         garbage value in a __mach_port_mod_refs call in the cases of the
23365         task-self and thread-self ports.
23367 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23369         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23371 2011-09-08  Andreas Schwab  <schwab@redhat.com>
23373         * elf/dl-load.c (lose): Check for non-null L.
23375 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23377         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23379         * elf/dl-libc.c (dlerror_run): Pass back error code from
23380         dl_catch_error.
23382         [BZ #13123]
23383         * elf/dl-load.c (lose): Free l_origin if it is valid.
23385         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23386         names.
23387         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23388         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23389         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23390         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23391         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23392         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23394 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23396         * sysdeps/powerpc/fpu/e_hypot.c: New file.
23397         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23398         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23399         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23400         * sysdeps/powerpc/fpu/k_cosf.c: New file.
23401         * sysdeps/powerpc/fpu/k_sinf.c: New file.
23402         * sysdeps/powerpc/fpu/s_cosf.c: New file.
23403         * sysdeps/powerpc/fpu/s_sinf.c: New file.
23404         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23405         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23407 2011-08-15  Alan Modra  <amodra@gmail.com>
23409         [BZ #13092]
23410         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23411         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23412         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
23413         ppc_mcount to static-only-routines.
23414         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23415         __mcount_internal.
23416         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23417         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
23419 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
23421         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23422         for finite and infinity parameters.
23424 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23426         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23427         and add nop instructions for throughput optimization.
23428         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23430 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
23432         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23433         aligned copy for power7 with vector-scalar instructions.
23434         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23436 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
23438         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23439         AVX check.
23441 2011-09-07  Andreas Schwab  <schwab@redhat.com>
23443         [BZ #13144]
23444         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23445         last change.
23447 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23449         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23450         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23451         syscall wrapper around clock_gettime in __vdso_clock_gettime.
23452         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23453         clock_gettime.
23455 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23457         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23458         Forgot to demangle the pointer.
23460         * sysdeps/i386/sysdep.h: Define atom_text_section.
23461         * sysdeps/x86_64/sysdep.h: Likewise.
23462         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23463         section with atom_text_section.
23464         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23465         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23466         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23467         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23468         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23470         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23471         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23472         already be defined.  Change to take two parameters and don't assign
23473         result to variable.  Adjust all users.
23474         Define INTERNAL_GETTIME if not already defined.
23475         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23476         call.
23477         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23478         HAVE_CLOCK_GETTIME_VSYSCALL.
23479         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23481         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23482         gettimeofday vsyscall, just use time.
23484 2011-09-06  Andreas Schwab  <schwab@redhat.com>
23486         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23487         <errno.h>.
23489 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23491         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23492         syscall on x86-64.
23493         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23494         syscall.
23495         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23496         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23497         syscall if possible.
23499 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23501         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23502         e_ident.  Don't pass to find_mapsXX.
23503         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23505 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23508         strchr-sse2-no-bsf strrchr-sse2-no-bsf
23509         * sysdeps/x86_64/multiarch/strchr.S: Update.
23510         Check bit_slow_BSF bit.
23511         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23512         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23513         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23515 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23517         [BZ #13134]
23518         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23519         before glibc 2.15.
23520         (tryshell): Define.
23521         (__spawni): Change last parameter to be flag.  Test
23522         SPAWN_XFLAGS_USE_PATH flag to use path or not.
23523         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23524         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23525         * posix/spawni.c: Likewise.
23526         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23527         * posix/spawnp.c: Likewise.  Change normal version to use
23528         SPAWN_XFLAGS_USE_PATH.
23529         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23530         SPAWN_XFLAGS_TRY_SHELL.
23532         [BZ #13150]
23533         * posix/glob.h: Remove gcc 1.x support.
23535         [BZ #13068]
23536         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23538 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23540         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23541         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23542         strrchr-sse2-bsf
23543         * sysdeps/i386/i686/multiarch/strchr.S: New file.
23544         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23545         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23546         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23547         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23548         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23550 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23552         * sysdeps/x86_64/wcscmp.S: New file.
23554         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23555         wcscmp-c wcscmp-sse2
23556         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23557         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23558         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23559         * wcsmbs/wcscmp.c: Allow renaming.
23561 2011-09-05  David S. Miller  <davem@davemloft.net>
23563         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23564         stack slot, rather than the struct return pointer slot.
23565         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23566         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23568         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23570 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23572         * po/ja.po: Update from translation team.
23574         [BZ #13144]
23575         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23576         kernel in 64-bit binaries.
23578 2011-09-01  David S. Miller  <davem@davemloft.net>
23580         * elf/elf.h (HWCAP_SPARC_*): Move to..
23581         * sysdeps/sparc/sysdep.h: this new file and add new values.
23582         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23583         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23584         _DL_HWCAP_COUNT to 24.
23585         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23586         entries.
23587         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23588         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23589         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23590         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23591         instead of magic constants.
23592         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23594 2011-08-31  David S. Miller  <davem@davemloft.net>
23596         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23597         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23598         Reimplement to do errno handling inline.
23599         (SYSCALL_ERROR_HANDLER): New macro.
23600         (__SYSCALL_STRING): Do not do errno handling in asm.
23601         (__CLONE_SYSCALL_STRING): Delete.
23602         (__INTERNAL_SYSCALL_STRING): Delete.
23603         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23604         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23605         (PSEUDO): Reimplement to do errno handling inline.
23606         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23607         (SYSCALL_ERROR_HANDLER): New macro.
23608         (__SYSCALL_STRING): Do not do errno handling in asm.
23609         (__CLONE_SYSCALL_STRING): Delete.
23610         (__INTERNAL_SYSCALL_STRING): Delete.
23611         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23612         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23613         i386.
23614         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23615         (inline_syscall*): Add 'err' argument.
23616         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23617         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23618         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23619         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23621         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23622         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23624 2011-08-30  Andreas Schwab  <schwab@redhat.com>
23626         * elf/rtld.c (dl_main): Relocate objects in dependency order.
23628 2011-08-29  Jiri Olsa <jolsa@redhat.com>
23630         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23631         directive.
23633 2011-08-24  David S. Miller  <davem@davemloft.net>
23635         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23637 2011-08-24  Andreas Schwab  <schwab@redhat.com>
23639         * elf/Makefile: Add rules to build and run unload8 test.
23640         * elf/unload8.c: New file.
23641         * elf/unload8mod1.c: New file.
23642         * elf/unload8mod1x.c: New file.
23643         * elf/unload8mod2.c: New file.
23644         * elf/unload8mod3.c: New file.
23646         * elf/dl-close.c (_dl_close_worker): Reset private search list if
23647         it wasn't used.
23649 2011-08-23  David S. Miller  <davem@davemloft.net>
23651         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23652         subtract stack bias.
23653         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23654         %sp not %fp in calculations.
23655         (_JMPBUF_UNWINDS_ADJ): Likewise.
23657         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23658         (aio_suspend): Call it to force an exception region around the
23659         AIO_MISC_WAIT() invocation.
23661 2011-08-23  Andreas Schwab  <schwab@redhat.com>
23663         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23664         backslash.
23666 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
23668         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23669         protection macro.
23670         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23671         and <dl-machine.h>.
23672         (Elf64_FuncDesc): Remove.
23674 2011-08-22  David S. Miller  <davem@davemloft.net>
23676         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23677         sigaltstack check, add missing cfi directives.
23678         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23679         missing cfi directives, and sigaltstack handling.
23681 2011-08-16  Andreas Schwab  <schwab@redhat.com>
23683         [BZ #11724]
23684         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23685         object is seen twice.
23686         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23688         * elf/Makefile (distribute): Add tst-initorder2.c.
23689         (tests): Add tst-initorder2.
23690         (modules-names): Add tst-initorder2a tst-initorder2b
23691         tst-initorder2c tst-initorder2d.  Add rules to build them.
23692         ($(objpfx)tst-initorder2.out): New rule.
23693         * elf/tst-initorder2.c: New file.
23694         * elf/tst-initorder2.exp: New file.
23696 2011-08-22  Andreas Schwab  <schwab@redhat.com>
23698         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23700         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23701         dependencies back to end of function.
23703         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23704         $(elfobjdir)/ld.so.
23706 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
23708         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23709         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23710         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23711         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23712         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23713         of __vdso_gettimeofday.
23714         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23715         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
23716         attribute_hidden.
23717         (_libc_vdso_platform_setup): Remove initialization of
23718         __vdso_gettimeofday and __vdso_time.
23720 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23722         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23723         and fgetc_unlocked.
23724         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23725         getc_unlocked.
23727         * elf/dl-open.c (add_to_global): Report additions to the global scope
23728         for LD_DEBUG=scopes.
23729         (dl_open_worker): Also print scope of newly loaded dependencies.
23730         (_dl_show_scope): Indicate if there is no scope.
23732         [BZ #13114]
23733         * stdio-common/Makefile (tests): Add bug24.
23734         * stdio-common/bug24.c: New file.
23736 2011-08-19  Andreas Jaeger  <aj@suse.de>
23738         [BZ #13114]
23739         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23740         non-existant file when using close-on-exec mode.
23742 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23744         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23745         the very first instruction.
23747         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23748         the CFI state in the end.
23749         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23750         inclusion of dl-trampoline.h.
23751         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23753 2011-08-19  Andreas Schwab  <schwab@redhat.com>
23755         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23756         expectations for long double.
23758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23759         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23761 2011-08-14  David S. Miller  <davem@davemloft.net>
23763         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23764         artificual limit depends upon the system page size.
23766 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23768         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23769         * resolv/Makefile: Define CFLAGS-libresolv.
23771 2011-08-17  Andreas Schwab  <schwab@redhat.com>
23773         * nss/makedb.c (compute_tables): Make variables used in nested
23774         function static.
23776 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23778         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23779         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23780         if buffer was too small.
23782         * elf/pldd.c (main): Attach to all threads in the process.
23783         Rewrite /proc handling to use *at functions.
23785 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
23787         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23788         specifies first scope to show.
23789         (dl_open_worker): Update callers.  Move printing scope of new
23790         object to before the relocation.
23791         * elf/rtld.c (dl_main): Update _dl_show_scope call.
23792         * sysdeps/generic/ldsodefs.h: Update declaration.
23794         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23795         string for the scope number.
23797 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
23799         * nscd/servicescache.c (cache_addserv): Make sure written is always
23800         initialized.
23802 2011-08-14  Roland McGrath  <roland@hack.frob.com>
23804         * sysdeps/i386/i486/bits/atomic.h
23805         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23806         statement expression, so as to suppress "set but not used" warning.
23807         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23809         * string/strncat.c (STRNCAT): Use prototype definition.
23811         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23812         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23813         -Iprograms here.
23814         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23815         (localedef-modules): Add localedef.
23816         (locale-modules): Add locale.
23818         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23819         * elf/rtld.c (dl_main): Invert order of assignment in last change,
23820         to avoid a warning.
23822 2011-08-14  David S. Miller  <davem@davemloft.net>
23824         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23825         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23827 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
23829         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23830         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23831         * elf/rtld.c (dl_main): Set l_name of vDSO.
23832         Call _dl_show_scope when DL_DEBUG_SCOPES.
23833         (process_dl_debug): Recognize scopes flag and also set it for all.
23834         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23835         Declare _dl_show_scope.
23837         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23838         (do_dlopen): Pass caller_dlopen to dl_open.
23839         (__libc_dlopen_mode): Initialize caller_dlopen.
23841         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23842         of libc.  Make tolower call locale-independent.  Optimize a bit by
23843         using isdigit instead of isalnum.
23844         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23846 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
23848         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23849         was a dependency or dynamically loaded.
23851 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
23853         * intl/l10nflist.c: Allow architecture-specific pop function.
23854         * sysdeps/x86_64/l10nflist.c: New file.
23856         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23857         classification.
23859 2011-08-10  Andreas Schwab  <schwab@redhat.com>
23861         * include/dirent.h: Add libc_hidden_proto for scandirat and
23862         scandirat64.  Don't declare __scandirat64.
23863         * dirent/scandirat.c: Add libc_hidden_def.
23864         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23865         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23867 2011-08-10  David S. Miller  <davem@davemloft.net>
23869         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23870         enum.
23871         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23872         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23873         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23875 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
23877         * Versions.def [libc]: Add GLIBC_2.15.
23878         * dirent/Makefile (routines): Add scandirat and scandirat64.
23879         * dirent/Versions [libc]: Export scandirat and scandirat64 for
23880         GLIBC_2.15.
23881         * dirent/dirent.h: Declare scandirat and scandirat64.
23882         * dirent/scandirat.c: New file.
23883         * dirent/scandirat64.c: New file.
23884         * sysdeps/wordsize-64/scandirat.c: New file.
23885         * sysdeps/wordsize-64/scandirat64.c: New file.
23886         * dirent/opendir.c: Define opendirat.
23887         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
23888         using scandirat.
23889         * dirent/scandir64.c: Adjust for scandir.c change.
23890         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
23891         __scandirat64, and __scandir_cancel_handler.
23892         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
23893         additional parameter and use openat instead of open (outside of ld.so).
23894         Add new __opendir as wrapper around __opendirat.
23895         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23896         here without requiring old scandirat implementation.
23898 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
23900         * dirent/scandir.c (cancel_handler): Renamed to
23901         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
23902         defined.  Adjust users.
23903         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23904         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23906 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
23908         * string/test-string.h (IMPL): Use __STRING to expand name and then
23909         stringify it.
23911         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
23912         of cleanups.
23914 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23916         * string/Makefile: Update.
23917         (strop-tests): Append strncat.
23918         * string/test-wcscmp.c: New file.
23919         New comprehensive test for wcscmp.
23920         * string/test-strcmp.c: Update.
23921         (WIDE): New define.
23923 2011-07-22  Andreas Schwab  <schwab@redhat.com>
23925         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23926         line.
23928 2011-07-26  Andreas Schwab  <schwab@redhat.com>
23930         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23931         encoding to ACE if AI_IDN.
23933 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
23935         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23936         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23938 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23940         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23941         Fix overflow bug in strncat.
23942         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23944         * string/test-strncat.c: Update.
23945         Add new tests for checking overflow bugs.
23947 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23949         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23950         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23951         * sysdeps/i386/i686/multiarch/strcat.S: New file.
23952         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23953         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23954         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23955         * sysdeps/i386/i686/multiarch/strncat.S: New file.
23956         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23957         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23959         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23960         (USE_AS_STRCAT): Define.
23961         Add strcat and strncat support.
23962         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23964 2011-07-25  Andreas Schwab  <schwab@redhat.com>
23966         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23967         __n bigger than INT_MAX+1.
23968         (__strncmp_g): Likewise.
23970 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
23972         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23973         * libio/stido.h: Likewise.
23975         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23976         (AF_NFC): Define.
23977         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23978         (AF_NFC): Define.
23980         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23981         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23982         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23983         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23984         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23986         [BZ #13021]
23987         * scripts/test-installation.pl: Don't expect libnss_test1 to be
23988         installed.
23990         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23991         typo.
23992         (_dl_x86_64_save_sse): Likewise.
23994 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
23996         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23997         OSXSAVE.
23998         (_dl_x86_64_save_sse): Likewise.
24000         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24002         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24004 2011-07-21  Andreas Schwab  <schwab@redhat.com>
24006         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24007         change.
24008         (_dl_x86_64_save_sse): Use correct AVX check.
24010 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24012         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24013         bug in strncpy/strncat.
24014         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24016 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
24018         * string/tester.c (test_strcat): Add tests for different alignments
24019         of source and destination.
24020         (test_strncat): Likewise.
24022 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24024         [BZ #12852]
24025         * posix/glob.c (glob): Check passed in values before using them in
24026         expressions to avoid some overflows.
24027         (glob_in_dir): Likewise.
24029         [BZ #13007]
24030         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24031         check for AVX enablement so that we don't crash with old kernels and
24032         new hardware.
24033         * elf/tst-audit4.c: Add same checks here.
24034         * elf/tst-audit6.c: Likewise.
24036         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24038 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
24040         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24042 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24044         * po/cs.po: Update from translation team.
24045         * po/bg.po: Likewise.
24047 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
24049         * misc/sys/cdefs.h: Add support for const attribute.
24050         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24051         to gnu_dev_{major,minor,makedev} functions.
24053 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
24055         * intl/dcigettext.c (get_output_charset): Add missing bracket.
24057 2011-07-20  Andreas Schwab  <schwab@redhat.com>
24059         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24060         strlen results.
24062 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24064         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24065         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24066         register in order to avoid conflicts with the soft frame pointer
24067         being held in r11 when necessary.
24068         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24069         (INTERNAL_VSYSCALL_NCS): Likewise.
24071 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
24073         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24074         * elf/dl-fini.c (_dl_fini): Adjust caller.
24075         * elf/dl-close.c (_dl_close_worker): Likewise.
24076         * sysdeps/generic/ldsodefs.h: Adjust declaration.
24078 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24080         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24081         "aux_cache->nlibs < 0".
24083         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24084         in the reload-count case.
24086 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24088         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24089         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24090         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24091         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24092         * sysdeps/x86_64/multiarch/strcat.S: New file.
24093         * sysdeps/x86_64/multiarch/strncat.S: New file.
24094         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24095         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24096         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24097         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24098         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24099         (USE_AS_STRCAT): Define.
24100         Add strcat and strncat support.
24101         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24102         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24103         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24104         * string/strncat.c: Update.
24105         (USE_AS_STRNCAT): Define.
24106         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24107         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24108         and i7.
24109         * sysdeps/x86_64/multiarch/init-arch.h
24110         (bit_Prefer_PMINUB_for_stringop): New.
24111         (index_Prefer_PMINUB_for_stringop): Likewise.
24112         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24113         bit_Prefer_PMINUB_for_stringop.
24115 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24117         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24118         buffer64.
24119         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24120         of casting of buffer.
24121         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24122         buffer32 and buffer64.
24123         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24124         writes instead of casting of buffer.
24125         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24126         buffer32.
24127         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24128         casting of buffer.
24130 2011-07-19  Andreas Schwab  <schwab@redhat.com>
24132         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24134 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24136         * nscd/nscd.c (termination_handler): Don't do anything for a database
24137         if it has not yet been initialized.
24139 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24141         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24143 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24145         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24147 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24149         * po/nl.po: Update from translation team.
24150         * po/sv.po: Likewise.
24152 2011-07-16  Roland McGrath  <roland@hack.frob.com>
24154         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24155         now disallowed by GCC.
24157         * configure.in (use-default-link): Default to yes if a test -shared
24158         link meets our qualifications.
24159         * configure: Regenerated.
24161         * config.make.in (output-format): New variable.
24162         * configure.in: Check for ld --print-output-format support.
24163         * configure: Regenerated.
24164         * Makerules ($(common-objpfx)format.lds)
24165         [$(output-format) != unknown]: Just use $(output-format),
24166         instead of the linker-script munging.
24168 2011-07-14  Roland McGrath  <roland@hack.frob.com>
24170         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24171         of $(common-objpfx)shlib.lds.
24172         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24174         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24175         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24177         * configure.in (-z relro check): Adjust test code to add a large
24178         writable data section after it.
24179         * configure: Regenerated.
24181 2011-07-11  Roland McGrath  <roland@hack.frob.com>
24183         * configure.in (-z relro check): Fix test code to make the variable
24184         truly const.
24185         * configure: Regenerated.
24187 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
24189         * nscd/nscd.h (struct traced_file): Define.
24190         (struct database_dyn): Remove inotify_descr, reset_res, and filename
24191         elements.  Add traced_files.
24192         (inotify_fd): Declare.
24193         (register_traced_file): Declare.
24194         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24195         (inotify_fd): Export.
24196         (resolv_conf_descr): Remove.
24197         (nscd_init): Move inotify descriptor creation to main.
24198         Don't register files for notification here.
24199         (register_traced_file): New function.
24200         (invalidate_cache): Don't use reset_res to determine whether to call
24201         res_init, go through the list of registered files.
24202         (main_loop_poll): The inotify descriptors are now stored in the
24203         structures for the traced files.
24204         (main_loop_epoll): Likewise
24205         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
24206         to __nss_disable_nscd.
24207         * nscd/cache.c (prune_cache): There is no single inotify descriptor
24208         for a database anymore.  Check the records for all the registered
24209         files instead.
24210         * nss/Makefile (libnss_files-routines): Add files-init.
24211         (libnss_db-routines): Add db-init.
24212         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24213         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24214         * nss/nss_db/db-init.c: New file.
24215         * nss/nss_files/files-init.c: New file.
24216         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
24217         __nss_lookup_function.
24218         (__nss_lookup_function): Call nss_load_library.
24219         (nss_load_all_libraries): New function.
24220         (__nss_disable_nscd): Take parameter with callback function for files
24221         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
24222         used for the cached services.
24223         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24224         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24225         options for features to all the files in nscd.
24227         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24229 2011-07-10  Roland McGrath  <roland@hack.frob.com>
24231         * csu/elf-init.c (__libc_csu_init): Comment typo.
24233 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
24235         * po/pl.po: Update from translation team.
24236         * po/ja.po: Likewise.
24237         * po/ru.po: Likewise.
24238         * po/ko.po: Likewise.
24239         * po/fr.po: Likewise.
24241 2011-07-09  Roland McGrath  <roland@hack.frob.com>
24243         * configure.in (.ctors/.dtors header and trailer check):
24244         Use an empirical test on a built program.
24245         * configure: Regenerated.
24247         * configure.in (-z relro check): Use an empirical test on a built DSO.
24248         Detect, but do not require, on ia64.
24249         * configure: Regenerated.
24251         * configure.in (READELF): Find it with AC_CHECK_TOOL.
24252         Update tests that use readelf to use $READELF instead.
24253         * configure: Regenerated.
24255 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
24257         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24258         if the result is not used.
24260 2011-07-05  Andreas Jaeger  <aj@suse.de>
24262         [BZ#9696]
24263         * stdlib/tst-strtod.c: Add testcase.
24265 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
24267         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24268         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24269         The latter has a higher limit.  Take additional parameter to pass to
24270         the new function.
24271         (__pathconf): Pass file to __statfs_link_max.
24272         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24273         __statfs_link_max.
24274         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24275         __statfs_link_max.
24277         [BZ #12868]
24278         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24279         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24280         Handle Lustre.
24281         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24282         (__statfs_filesize_max): Likewise.
24283         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24285 2011-07-05  Andreas Jaeger  <aj@suse.de>
24287         * resolv/res_comp.c (dn_skipname): Remove unused variable.
24289 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
24291         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24292         `status' variable.
24293         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24294         Likewise.
24296 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
24298         * Makefile (strop-tests): Add strncat.
24299         * string/test-strncat.c: New file.
24301 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
24303         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24305 2011-06-21  Andreas Jaeger  <aj@suse.de>
24307         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24308         Copy rule from iconvdata/Makefile.
24310 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24312         [BZ #12922]
24313         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24314         but no long options are defined, just return 'W'.
24316 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
24318         [BZ #9696]
24319         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24321 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24323         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24324         netgroups to read.
24325         (innetgr): Likewise.
24327 2011-07-05  Roland McGrath  <roland@hack.frob.com>
24329         * config.make.in (install_root): Default to $(DESTDIR).
24331 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
24333         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24335 2011-07-02  Roland McGrath  <roland@hack.frob.com>
24337         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24339         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24340         containing directory rather than embedding absolute directory names.
24342         * scripts/check-local-headers.sh: Rewritten using awk.
24343         Match by word, not by line.  Print error messages for matches.
24344         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24346         * Makerules [shlib-lds-flags empty]:
24347         ($(common-objpfx)libc_pic.opts): New target.
24348         ($(common-objpfx)libc_pic.os.clean): New target.
24349         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24351         * config.make.in (OBJCOPY): New variable.
24352         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24353         * configure: Regenerated.
24355         * config.make.in (use-default-link): New variable.
24356         * configure.in (use_default_link): Grok --with-default-link to set it.
24357         * configure: Regenerated.
24358         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24359         (shlib-lds, shlib-lds-flags): Define to empty.
24361         * Makerules (shlib-lds): New variable.
24362         (shlib-lds-flags): New variable.
24363         (build-shlib, build-moduile, build-module-asneeded): Use it.
24364         ($(common-objpfx)libc.so): Use $(shlib-lds).
24365         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24366         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24368         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24369         DT_FLAGS/DT_FLAGS_1 with zero flags.
24371         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24372         linker script munging.
24374 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
24376         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24377         as 128-bit value.
24378         * crypt/sha512.c (sha512_process_block): Perform total addition using
24379         128-bit if possible.
24380         (__sha512_finish_ctx): Likewise.
24381         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24382         as 64-bit value.
24383         * crypt/sha256.c (SWAP64): Define.
24384         (sha256_process_block): Perform total addition using 64-bit if
24385         possible.
24386         (__sha256_finish_ctx): Likewise.
24388 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
24390         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
24391         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24392         * nscd/hstcache.c (cache_addhst): Likewise.
24393         * nscd/grpcache.c (cache_addgr): Likewise.
24394         * nscd/aicache.c (addhstaiX): Likewise
24395         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24397 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
24399         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24400         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24401         * nscd/hstcache.c (cache_addhst): Likewise.
24402         * nscd/grpcache.c (cache_addgr): Likewise.
24403         * nscd/aicache.c (addhstaiX): Likewise
24405 2011-07-01  Andreas Schwab  <schwab@redhat.com>
24407         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24408         domain only when needed.
24410 2011-06-30  Andreas Schwab  <schwab@redhat.com>
24412         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24413         is always restored.
24415 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
24417         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24418         are re-adding the entry.
24419         * nscd/servicescache.c (cache_addserv): Likewise.
24421 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
24423         * sysdeps/generic/dl-irel.h: fix protection against multiple
24424         inclusions.
24425         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24427 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
24429         [BZ #12935]
24430         * malloc/memusage.sh: Fix quoting in message.
24431         * debug/xtrace.sh: Likewise.
24433         * configure.in: Remove support for --experimental-malloc option, make
24434         it the default.
24435         * config.make.in: Likewise.
24436         * malloc/Makefile: Likewise.
24438 2011-06-27  Andreas Schwab  <schwab@redhat.com>
24440         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24441         two-byte characters.
24443 2011-06-27  Roland McGrath  <roland@hack.frob.com>
24445         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24446         AC_CACHE_CHECK invocation.
24447         * configure: Regenerated.
24449         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24451 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
24453         [BZ #12350]
24454         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
24455         bit from old_res_options.
24457         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24459         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24460         value type for setfct.
24462 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
24464         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24465         __gettimeofday instead of gettimeofday.
24467 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
24469         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24471 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24473         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24475         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24476         info.
24478 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24480         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24481         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24482         strcpy-sse2-unaligned strncpy-sse2-unaligned
24483         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24484         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24485         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24486         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24487         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24488         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24489         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24490         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24491         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24492         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24493         (STRCPY): Support SSE2 and SSSE3 versions.
24495 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
24497         [BZ #12874]
24498         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24499         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24500         kernels which artificially limit size of requests.
24502 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24504         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24505         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24506         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24507         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24508         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24509         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24510         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24511         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24512         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24513         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24514         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24515         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24516         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24517         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24518         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24520         Enable unaligned load optimization for Intel Core i3, i5 and i7
24521         processors.
24522         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24523         Define.
24524         (index_Fast_Unaligned_Load): Define.
24525         (HAS_FAST_UNALIGNED_LOAD): Define.
24527 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
24529         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24531 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24533         [BZ #12907]
24534         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24535         until it is clear that the information is realy needed.
24536         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24538 2011-06-22  Andreas Schwab  <schwab@redhat.com>
24540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24542 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24544         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24545         /sys/devices/system/cpu/online if it is usable.
24547         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24548         reading the information from the /proc filesystem to once a second.
24550 2011-06-21  Andreas Jaeger  <aj@suse.de>
24552         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24553         NULL after inclusion of kernel headers.
24555 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
24557         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24558         calls to internal_setent.
24560         [BZ #12885]
24561         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24562         addresses using gethostbyname4_r ignore IPv4 addresses.
24564         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24565         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
24567         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24569 2011-06-20  David S. Miller  <davem@davemloft.net>
24571         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24572         inclusions.
24573         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24575         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24576         (elf_irel): Use it.
24577         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24578         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24579         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24580         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24581         * sysdeps/x86_64/dl-irel.h: Likewise.
24583         * elf/dl-runtime.c: Use elf_ifunc_invoke.
24584         * elf/dl-sym.c: Likewise.
24586 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24588         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
24589         need to dereference resplen2.
24591 2011-06-14  Andreas Schwab  <schwab@redhat.com>
24593         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24595 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24597         * Makeconfig: Define vardbdir and inst_vardbdir.
24598         * nss/Makefile: Add rules to install db-Makefile.
24600         * nss/nss_db/db-XXX.c: Cleanup.
24602         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24603         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24604         GLIBC_PRIVATE.
24605         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24606         * nss/makedb.c: Implement -g option to specify that value strings
24607         are generated and should not be added to table iterated over for
24608         get*ent calls.
24609         * nss/nss_db/db-initgroups.c: New file.
24611         * nss/getent.c: Add support for initgroups lookups through getgrouplist
24612         interface.
24614         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24615         (internal_getgrouplist): Adjust to name change.
24616         Update use_initgroups_entry if this is not the first call.
24617         * nss/databases.def: Add initgroups entry.
24619         * nss/makedb.c (compute_tables): Check result of multiple hash table
24620         sizes to minimize maximum chain length.
24622 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
24624         * Versions.def: Add entry for libnss_db.
24625         * shlib-versions: Likewise.
24626         * nss/Makefile: Add rules to build libnss_db.
24627         * nss/Versions: Add libnss_db information.  Organize libnss_files
24628         entries better.
24629         * nss/db-Makefile: Add gshadow support.  Change rules for the new
24630         makedb progra.  Some minor improvements to generate smaller files.
24631         * nss/nss_db/nss_db.h: Move NSS database header data structures to
24632         here from...
24633         * nss/makedb.c: ...here.
24634         Improve database format to be smaller and require less memory at
24635         runtime.
24636         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
24637         db anymore.
24638         * nss/nss_db/db-netgrp.c: Likewise.
24639         * nss/nss_db/db-open.c: Likewise.
24640         * nss/nss_files/flies-XXX.x: Adjust comments.
24641         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24642         * nss/nss_files/files-grp.c: Likewise.
24643         * nss/nss_files/files-hosts.c: Likewise.
24644         * nss/nss_files/files-network.c: Likewise.
24645         * nss/nss_files/files-proto.c: Likewise.
24646         * nss/nss_files/files-pwd.c: Likewise.
24647         * nss/nss_files/files-rpc.c: Likewise.
24648         * nss/nss_files/files-service.c: Likewise.
24649         * nss/nss_files/files-sgrp.c: Likewise.
24650         * nss/nss_files/files-spwd.c: Likewise.
24651         * nss/nss_db/db-alias.c: Removed.
24652         * nss/nss_db/dummy-db.h: Removed.
24654 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
24656         * nss/makedb.c: Rewritten to not use database library.
24657         * nss/Makefile: Update to build new makedb program.
24659 2011-06-14  Andreas Jaeger  <aj@suse.de>
24661         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24662         memset declaration.
24664 2011-06-10  Andreas Schwab  <schwab@redhat.com>
24666         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24667         tmpbuf.
24669 2011-06-10  Roland McGrath  <roland@hack.frob.com>
24671         * Makerules (shlib.lds): Fail if the linker script comes out empty.
24672         * elf/Makefile ($(objpfx)ld.so): Likewise.
24674         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24675         Don't list ld.so twice in dependencies.
24677         * posix/bug-regex31.c: Include <stdlib.h>.
24679         * nscd/hstcache.c (cache_addhst): Remove unused variable.
24681         * nis/nss_compat/compat-spwd.c
24682         (getspent_next_nss_netgr): Remove unused variable.
24683         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24685         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24686         nonmembers" output to use the right array.
24688         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24690         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24692         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24693         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24694         * catgets/gencat.c (read_input_file): Likewise.
24695         * locale/programs/locarchive.c (enlarge_archive): Likewise.
24697         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24698         variable definition inside #if's controlling its use.
24700         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24702         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24704         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24706         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24707         unreachable code.
24709         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24711         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24712         * configure: Regenerated.
24714         * Makerules: Revert last change.
24715         * elf/Makefile: Likewise.
24717 2011-06-09  Roland McGrath  <roland@hack.frob.com>
24719         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24720         * elf/Makefile ($(objpfx)librtld.os): Likewise.
24721         (reloc-link): Likewise.
24723 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
24725         * elf/Makefile: Add rules to build pldd.
24726         * elf/pldd.c: New file.
24727         * elf/pldd-xx.c: New file.
24729 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
24731         * version.h: Update for 2.15 development version.
24733 2011-06-07  David S. Miller  <davem@davemloft.net>
24735         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24736         ifuncs.
24737         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24738         elf_machine_lazy_rel): Likewise.
24739         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24740         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24741         elf_machine_lazy_rel): Likewise.
24742         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24743         dl_hwcap via passed in argument.
24744         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24745         Likewise.
24747 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24749         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
24751 2011-06-06  Roland McGrath  <roland@hack.frob.com>
24753         [BZ #12849]
24754         * manual/fdl-1.1.texi: New file, verbatim from:
24755         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24756         * manual/lgpl-2.1.texi: New file, verbatim from:
24757         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24758         * manual/Makefile (licenses): New variable, list those new file names.
24759         (texis): Use it.
24760         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24762         * manual/fdl.texi: File removed.
24763         * manual/lesser.texi: File removed.
24764         * manual/libc.texinfo (Copying, Documentation License):
24765         Use new @include file names, put @appendix directive before @include.
24767 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
24769         [BZ #12841]
24770         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24771         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24772         (mq_open): Add __NTH.
24774 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
24776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24777         Assume Intel Core i3/i5/i7 processor if AVX is available.
24779 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24781         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24782         typo.
24784 2011-05-31  Andreas Schwab  <schwab@redhat.com>
24786         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24787         memory.  Use alloca_account.  Fix memory leak when retrying.
24789 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24791         * version.h (RELEASE): Bump for 2.14 release.
24792         * include/features.h (__GLIBC_MINOR__): Bump to 14.
24794         * config.make.in (RANLIB): Remove entry.
24796 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
24798         * po/Makefile (po-sed-cmd): Add ksh to extensions.
24799         (libc.pot): Work around missing support for .ksh extension in xgettext.
24801         [BZ #12684]
24802         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24803         if both request failed.
24804         (send_dg): In case of server errors clear resplen or *resplen2.
24806         [BZ #12454]
24807         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24808         when there are multiple maps.
24809         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24810         (_dl_fini): Remove test here.
24812         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24814 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
24816         [BZ #12350]
24817         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24818         bit from old_res_options.
24819         (gaih_inet): Likewise.
24821         [BZ #11099]
24822         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24823         as signed.
24825         * resolv/res_init.c (res_setoptions): Make the code more compact.
24827         [BZ #11558]
24828         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24829         set RES_USEVC.
24831         [BZ #11634]
24832         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24834         * malloc/malloc.h: Mark malloc hook variables as deprecated.
24836         [BZ #11781]
24837         * malloc/malloc.h: Declare malloc hook variables as volatile.
24839         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24840         in last patch.
24842         [BZ #11799]
24843         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24844         raise in the comment.
24845         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24846         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24847         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24849 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
24851         [BZ #12811]
24852         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24853         grow the buffers more if it already has to be sufficient.
24854         (build_wcs_upper_buffer): Likewise.
24855         * posix/regexec.c (check_matching): Likewise.
24856         (clean_state_log_if_needed): Likewise.
24857         (extend_buffers): Don't enlarge buffers beyond size of the input
24858         buffer.
24859         Patches mostly by Emil Wojak <emil@wojak.eu>.
24860         * posix/bug-regex32.c: New file.
24861         * posix/Makefile (tests): Add bug-regex32.
24863         * locale/findlocale.c (_nl_find_locale): Return right away if
24864         _nl_explode_name failed.
24865         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24867         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24869         * debug/xtrace.sh: Unify messages.
24870         * malloc/memusage.sh: Likewise.
24872         [BZ #12813]
24873         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24874         time symbol from vDSO.  Substitute with vsyscall if not available.
24875         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24876         __vdso_time.
24878         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24879         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24880         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24881         Add sendmmsg and internal_sendmmsg.
24882         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24883         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24884         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24886         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24887         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24888         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24890 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
24892         [BZ #12813]
24893         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24894         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
24895         available.
24896         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24897         __vdso_getcpu.
24899         [BZ #12814]
24900         * iconvdata/Makefile (tests): Add bug-iconv9.
24901         * iconvdata/bug-iconv9.c: New file.
24903 2011-05-27  Andreas Schwab  <schwab@redhat.com>
24905         [BZ #12814]
24906         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24908 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
24910         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24911         (struct user_regs_struct): Change intcs field back to cs.
24913 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
24915         * po/ja.po: Update from translation team.
24917 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
24919         [BZ #12795]
24920         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24921         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24923 2011-05-20  Andreas Schwab  <schwab@redhat.com>
24925         * stdlib/longlong.h: Update from GCC.
24927 2011-05-23  Andreas Schwab  <schwab@redhat.com>
24929         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24930         parameter name.
24931         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24932         Add parameter name.
24933         (__sysconf): Pass it down.
24935 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
24937         [BZ #12671]
24938         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24939         some situations.
24940         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24941         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24942         add in in __libc_use_alloca calls.  Adjust callers.
24943         (glob): Use malloc in some situations.
24945         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24946         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24947         pltexit.
24949 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
24951         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24952         and CLOCK_BOOTTIME_ALARM.
24954         [BZ #12782]
24955         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24956         is returned.
24958         * string/_strerror.c (__strerror_r): Print negative errors as signed
24959         numbers.
24961         [BZ #12777]
24962         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24963         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24964         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24966         * configure.in: Fix typo in redirection and correct removal of test
24967         files in two cases.
24969         [BZ #12788]
24970         * locale/setlocale.c (new_composite_name): Fix test to check for
24971         identical name of all categories.
24973         [BZ #12792]
24974         * libio/filedoalloc.c (local_isatty): New function.
24975         (_IO_file_doallocate): Use local_isatty.
24976         * stdio-common/perror.c (perror): In case a new stream is used
24977         forward the stream error.
24978         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24979         error flag.
24981 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
24983         [BZ #11869]
24984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24985         alloca.
24986         * include/alloca.h (extend_alloca_account): Define.
24988         [BZ #11857]
24989         * posix/regex.h: Fix comments with documentation of user-accessible
24990         fields after compilation and describe correct free'ing of pattern
24991         after re_compile_pattern.
24992         Patch by Reuben Thomas <rrt@sc3d.org>.
24994 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
24996         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24997         and -mno-altivec to prevent the compiler from using Altivec and/or
24998         VSX instructions when the corresponding registers are not available.
25000 2011-05-19  Andreas Schwab  <schwab@redhat.com>
25002         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25004 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
25006         * libio/freopen.c (freopen): Use __dup2, not dup2.
25007         * libio/freopen64.c (freopen64): Likewise.
25009 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25011         [BZ #12775]
25012         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25013         * math/Makefile (tests): Add test-powl.
25014         (CFLAGS-test-powl.c): Define.
25015         * math/test-powl.c: New file.
25017 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25019         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25021 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
25023         [BZ #11837]
25024         * iconvdata/gb18030.c: Update to GB18020-2005.
25026 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
25028         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25029         RE_SYNTAX_POSIX_AWK): Update to match recent development.
25030         Patch by Aharon Robbins <arnold@skeeve.com>.
25032         [BZ #11892]
25033         * stdlib/putenv.c (putenv): Don't always create copy of the variable
25034         on the stack.
25036         [BZ #11895]
25037         * misc/pselect.c (__pselect): Handle timeout value errors hidden
25038         through underflows.
25040         [BZ #12766]
25041         * misc/error.c (error_at_line): Ensure file_name and old_file_name
25042         point to strings before performing equality test for error_one_per_line
25043         mode.
25045         [BZ #11697]
25046         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25048         [BZ #11820]
25049         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25050         (struct user_fpregs_struct): Avoid __uint*_t types.
25052         [BZ #6420]
25053         * malloc/mtrace.c (tr_where): Add additional parameter to point to
25054         symbol info.  Use it instead of calling _dl_addr locally.
25055         (lock_and_info): New function.
25056         (tr_freehook): Call lock_and_info and pass symbol info as additional
25057         parameter to tr_where.
25058         (tr_mallochook): Likewise.
25059         (tr_reallochook): Likewise.
25060         (tr_memalignhook): Likewise.
25062         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
25063         used and couldn't be at all thread-safe.
25065 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
25067         * libio/freopen.c (freopen): Don't close old file descriptor
25068         before the new one is opened.  Instead dup the new file descriptor
25069         to the old one after the new stream is created.
25070         * libio/freopen64.c (freopen64): Likewise.
25071         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25072         * libio/fileops.c (_IO_new_file_close_it): Handle new
25073         _IO_FLAGS2_NOCLOSE flag.
25074         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25075         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25076         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25077         _IO_FLAGS2_NOCLOSE flag.
25078         * include/unistd.h: Add hidden_proto for dup3.
25079         Define __have_dup3.
25080         * io/dup3.c: Define hidden symbol.
25081         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25083         [BZ #7101]
25084         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25085         when an incomplete long option is used.
25086         * posix/tst-getopt_long1.c: New file.
25087         * posix/Makefile (tests): Add tst-getopt_long1.
25089         [BZ #10138]
25090         * scripts/config.guess: Update from autoconf-2.68.
25091         * scripts/config.sub: Likewise.
25093         [BZ #10157]
25094         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25095         tests into ...
25096         (has_cpuclock): ...this.  New function.
25097         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25098         macro here based on has_cpuclock code.
25100         [BZ #10149]
25101         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25102         First byte (not low byte) is now always NUL.
25103         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25105         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25106         Use non-cancelable interfaces.
25108         [BZ #9809]
25109         * locale/iso-639.def: Add entry for Sorani.
25111         [BZ #11901]
25112         * include/stdlib.h: Move include protection to the right place.
25113         Define abort_msg_s.  Declare __abort_msg with it.
25114         * stdlib/abort.c (__abort_msg): Adjust type.
25115         * assert/assert.c (__assert_fail_base): New function.  Majority
25116         of code from __assert_fail.  Allocate memory for __abort_msg with
25117         mmap.
25118         (__assert_fail): Now call __assert_fail_base.
25119         * assert/assert-perr.c: Remove bulk of implementation.  Use
25120         __assert_fail_base.
25121         * include/assert.hL Declare __assert_fail_base.
25122         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25123         mmap.
25124         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25126 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
25128         [BZ #11952]
25129         [BZ #12453]
25130         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25131         until all modules are registered in the DTV.
25132         * elf/Makefile: Add rules to build and run tst-tls19.
25133         * elf/tst-tls19.c: New file.
25134         * elf/tst-tls19mod1.c: New file.
25135         * elf/tst-tls19mod2.c: New file.
25136         * elf/tst-tls19mod3.c: New file.
25137         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25139         [BZ #12083]
25140         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25141         correctly.
25143         [BZ #12601]
25144         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25145         two-byte sequence errors.
25146         * iconvdata/Makefile (tests): Add bug-iconv8.
25147         * iconvdata/bug-iconv8.c: New file.
25149         [BZ #12626]
25150         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25151         buf2 definition.
25153         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25155         [BZ #12432]
25156         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25157         (dummy_getcfa): New function.
25158         (init): Get _Unwind_GetCFA address, use dummy if not found.
25159         (backtrace_helper): In recursion check, also check whether CFA changes.
25160         (__backtrace): Completely initialize arg.
25162         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25163         storing incomplete byte sequence in state object.  Avoid testing for
25164         guaranteed too small input if we know there is enough data available.
25166 2011-05-11  Andreas Schwab  <schwab@redhat.com>
25168         * Makeconfig (+link-pie): Indent.
25169         * Rules (binaries-pie): Define if $(have-fpie) and
25170         $(build-shared).
25171         (binaries-shared): Also filter out $(binaries-pie).
25172         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25173         * nscd/Makefile (others-pie): Add nscd.
25174         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25175         ($(objpfx)nscd): Remove command override.
25176         * login/Makefile (others-pie): Add pt_chown.
25177         ($(objpfx)pt_chown): Remove command override.
25178         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25179         remove command overrides.
25181 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
25183         * libio/tst_putwc.c: Fix error messages.
25185         [BZ #12724]
25186         * libio/fileops.c (_IO_new_file_close_it): Always flush when
25187         currently writing and seek to current position when not.
25188         * libio/Makefile (tests): Add bug-fclose1.
25189         * libio/bug-fclose1.c: New file.
25191 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
25193         [BZ #12511]
25194         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25195         don't set DF_1_NODELETE here.
25196         (do_lookup_x): When entering new entry test for copy relocation
25197         and if necessary set DF_1_NODELETE flag.
25198         * elf/tst-unique4.cc: New file.
25199         * elf/tst-unique4.h: New file.
25200         * elf/tst-unique4lib.cc: New file.
25201         * elf/Makefile: Add rules to build and run tst-unique4.
25202         Patch by Piotr Bury <pbury@goahead.com>.
25204 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
25206         [BZ #12052]
25207         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25209         [BZ #12625]
25210         * misc/mntent_r.c (addmntent): Flush the stream after the output
25212         [BZ #12393]
25213         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25214         (is_trusted_path_normalize): Skip initial colon.  Append slash
25215         to empty buffer.  Duplicate is_trusted_path code but allow
25216         constructed patch to be prefix.
25217         (is_dst): Allow $ORIGIN followed by /.
25218         (_dl_dst_substitute): Correct clearing of check_for_trusted.
25219         Correct testing of result of is_trusted_path_normalize
25220         (decompose_rpath): Fix warning.
25222 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
25224         [BZ #11257]
25225         * grp/initgroups.c (internal_getgrouplist): When we found the service
25226         list through the initgroups entry in nsswitch.conf do not always
25227         continue on a successful lookup.  Don't always use the
25228         __nss_group_database value if it is set.
25229         * nss/nsswitch.conf (initgroups): Change action for successful db
25230         lookup to continue for compatibility.
25232 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
25234         [BZ #11532]
25235         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25236         and CP774 modules.
25237         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25238         and CP774 modules.
25239         * iconvdata/tst-tables.sh: Likewise.
25240         * iconvdata/cp770.c: New file.
25241         * iconvdata/cp771.c: New file.
25242         * iconvdata/cp772.c: New file.
25243         * iconvdata/cp773.c: New file.
25244         * iconvdata/cp774.c: New file.
25245         * iconvdata/testdata/CP770: New file.
25246         * iconvdata/testdata/CP770..UTF8: New file.
25247         * iconvdata/testdata/CP771: New file.
25248         * iconvdata/testdata/CP771..UTF8: New file.
25249         * iconvdata/testdata/CP772: New file.
25250         * iconvdata/testdata/CP772..UTF8: New file.
25251         * iconvdata/testdata/CP773: New file.
25252         * iconvdata/testdata/CP773..UTF8: New file.
25253         * iconvdata/testdata/CP774: New file.
25254         * iconvdata/testdata/CP774..UTF8: New file.
25256         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25257         END CHARMAP line.
25258         * iconvdata/gen-8bit-gap.sh: Likewise.
25259         * iconvdata/gen-8bit.sh: Likewise.
25261         * locale/iso-639.def: Add ary entry.
25263         [BZ #11258]
25264         * locale/C-translit.h.in: Add U20A1 transliteration.
25266         [BZ #12178]
25267         * locale/iso-639.def: Add wae entry.
25268         Patch by Kevin Bortis <bortis@translate-wae.ch>.
25270         [BZ #12545]
25271         * locale/programs/localedef.c (construct_output_path): Use ssize_t
25272         for n.
25274         [BZ #12711]
25275         * locale/C-translit.h.in: Add entry for U20B9.
25276         Patch by pravin.d.s@gmail.com.
25278 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
25280         [BZ #12713]
25281         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25282         ENAMETOOLONG use generic getcwd.
25283         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
25284         in rtld.  Use *stat64.
25285         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25286         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25287         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25288         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25289         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25290         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25291         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25292         __fstatat64 macros.
25293         * include/dirent.h: Add libc_hidden_proto for rewinddir.
25294         * dirent/rewinddir.c: Add libc_hidden_def.
25295         * sysdeps/mach/hurd/rewinddir.c: Likewise.
25296         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
25298         * include/dirent.h (__alloc_dir): Add flags parameter.
25299         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25300         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25301         __alloc_dir.
25302         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
25303         from fdopendir if O_CLOEXEC is already set.
25305 2011-03-15  Alan Modra  <amodra@gmail.com>
25307         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25308         l_tls_firstbyte_offset non-zero.  Save padding offset in
25309         l_tls_firstbyte_offset for later use.
25310         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25311         freeing static tls block.
25313 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
25315         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25316         where #ifdef was intended.  The intent is to prevent ARG_MAX from
25317         being defined by the kernel headers.
25319 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
25321         [BZ #12734]
25322         * resolv/resolv.h: Define RES_NOTLDQUERY.
25323         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25324         no-tld-query and set RES_NOTLDQUERY.
25325         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25326         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25327         modern BIND to search name as TLD unless forbidden.
25329 2011-05-07  Petr Baudis  <pasky@suse.cz>
25330             Ulrich Drepper  <drepper@gmail.com>
25332         [BZ #12393]
25333         * elf/dl-load.c (fillin_rpath): Move trusted path check...
25334         (is_trusted_path): ...to here.
25335         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25336         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25337         using is_trusted_path_normalize() in setuid scripts.
25339 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25341         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25342         __BEGIN/__END_DECLS.
25344 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
25346         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25347         NSS_STATUS_NOTFOUND if no record was found.
25349 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25351         * sunrpc/Makefile (headers): Add rpc/netdb.h.
25352         (headers-not-in-tirpc): Remove rpc/netdb.h
25353         * resolv/netdb.h: Revert last change.
25355 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25357         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25358         circular dependency between libgcc.a and libc.a.
25360 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25362         * resolv/netdb.h: Don't include <rpc/netdb.h>.
25363         * nis/Makefile: Don't install rpcsvc/*.
25364         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25365         instead of <rpc/types.h>.
25366         (MAXHOSTNAMELEN): Define.
25368 2011-05-03  Andreas Schwab  <schwab@redhat.com>
25370         * elf/ldconfig.c (add_dir): Don't crash on empty path.
25372 2011-04-28  Maciej Babinski  <mbabinski@google.com>
25374         [BZ #12714]
25375         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25376         gethostbyname4_r when IPv6 results are possible.
25378 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
25380         [BZ #12723]
25381         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25382         _PC_PIPE_BUF handling.
25384 2011-04-30  Bruno Haible  <bruno@clisp.org>
25386         [BZ #12717]
25387         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25388         * resolv/netdb.h (getnameinfo): Change type of flags parameter
25389         to 'int'.
25390         * inet/getnameinfo.c (getnameinfo): Likewise.
25392 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
25394         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25395         to groups setting in database lookup.
25396         * nss/nsswitch.conf: Add initgroups entry.
25398 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
25400         [BZ #12685]
25401         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25402         mode string.
25403         Patch by Eric Blake <eblake@redhat.com>.
25405 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
25407         * sunrpc/Makefile (need-export-routines): Add svc_run.
25408         (routines): Remove svc_run.
25409         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25410         * sunrpc/clnt_perr.c (clnt_perrno): Export.
25411         * sunrpc/svc_run.c (svc_run): Likewise.
25412         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25414 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
25416         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25417         problem in reallocation in last patch.
25419 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
25421         * sunrpc/Makefile: Move inclusion of Rules.
25423 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25425         * nss/nss_files/files-initgroups.c: New file.
25426         * nss/Makefile (libnss_files-routines): Add files-initgroups.
25427         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25428         _nss_files_initgroups_dyn.
25430 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
25432         * elf/elf.h (R_ARM_IRELATIVE): Define.
25434 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25436         * po/ru.po: Update from translation team.
25438 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25440         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25441         dependencies.
25443 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
25445         [BZ #12653]
25446         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25447         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25448         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25449         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25450         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25452 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
25454         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25455         differing bytes.
25456         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25457         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25458         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25460 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25462         [BZ #12420]
25463         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25464         storing it.
25465         * stdlib/bug-getcontext.c: New file.
25466         * stdlib/Makefile: Add rules to build and run bug-getcontext.
25468 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25470         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25471         instructions into .machine "z9-109".
25472         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25473         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25475 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25477         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25478         between environment variables and auxiliary vector.
25480 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
25482         * Makefile: Add rules to build linkobj/libc.so.
25483         * include/libc-symbols.h: Define libc_hidden_nolink.
25484         * include/rpc/auth.h: Mark functions which are to be hidden.
25485         * include/rpc/auth_des.h: Likewise.
25486         * include/rpc/auth_unix.h: Likewise.
25487         * include/rpc/clnt.h: Likewise.
25488         * include/rpc/des_crypt.h: Likewise.
25489         * include/rpc/key_prot.h: Likewise.
25490         * include/rpc/pmap_clnt.h: Likewise.
25491         * include/rpc/pmap_prot.h: Likewise.
25492         * include/rpc/pmap_rmt.h: Likewise.
25493         * include/rpc/rpc_msg.h: Likewise.
25494         * include/rpc/svc.h: Likewise.
25495         * include/rpc/svc_auth.h: Likewise.
25496         * include/rpc/xdr.h: Likewise.
25497         * nis/Makefile: Link all DSOs against linkobj/libc.so.
25498         * nss/Makefile: Likewise.
25499         * sunrpc/Makefile: Don't install headers.  Build library with normal
25500         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
25501         * sunrpc/auth_des.c: Hide exported symbols by default, export some
25502         for the compat linking library.  Remove use of INTDEF/INTUSE.
25503         * sunrpc/auth_none.c: Likewise.
25504         * sunrpc/auth_unix.c: Likewise.
25505         * sunrpc/authdes_prot.c: Likewise.
25506         * sunrpc/authuxprot.c: Likewise.
25507         * sunrpc/clnt_gen.c: Likewise.
25508         * sunrpc/clnt_perr.c: Likewise.
25509         * sunrpc/clnt_raw.c: Likewise.
25510         * sunrpc/clnt_simp.c: Likewise.
25511         * sunrpc/clnt_tcp.c: Likewise.
25512         * sunrpc/clnt_udp.c: Likewise.
25513         * sunrpc/clnt_unix.c: Likewise.
25514         * sunrpc/des_crypt.c: Likewise.
25515         * sunrpc/des_soft.c: Likewise.
25516         * sunrpc/get_myaddr.c: Likewise.
25517         * sunrpc/key_call.c: Likewise.
25518         * sunrpc/key_prot.c: Likewise.
25519         * sunrpc/netname.c: Likewise.
25520         * sunrpc/pm_getmaps.c: Likewise.
25521         * sunrpc/pm_getport.c: Likewise.
25522         * sunrpc/pmap_clnt.c: Likewise.
25523         * sunrpc/pmap_prot.c: Likewise.
25524         * sunrpc/pmap_prot2.c: Likewise.
25525         * sunrpc/pmap_rmt.c: Likewise.
25526         * sunrpc/publickey.c: Likewise.
25527         * sunrpc/rpc_cmsg.c: Likewise.
25528         * sunrpc/rpc_common.c: Likewise.
25529         * sunrpc/rpc_dtable.c: Likewise.
25530         * sunrpc/rpc_prot.c: Likewise.
25531         * sunrpc/rpc_thread.c: Likewise.
25532         * sunrpc/rtime.c: Likewise.
25533         * sunrpc/svc.c: Likewise.
25534         * sunrpc/svc_auth.c: Likewise.
25535         * sunrpc/svc_authux.c: Likewise.
25536         * sunrpc/svc_raw.c: Likewise.
25537         * sunrpc/svc_run.c: Likewise.
25538         * sunrpc/svc_simple.c: Likewise.
25539         * sunrpc/svc_tcp.c: Likewise.
25540         * sunrpc/svc_udp.c: Likewise.
25541         * sunrpc/svc_unix.c: Likewise.
25542         * sunrpc/svcauth_des.c: Likewise.
25543         * sunrpc/xcrypt.c: Likewise.
25544         * sunrpc/xdr.c: Likewise.
25545         * sunrpc/xdr_array.c: Likewise.
25546         * sunrpc/xdr_float.c: Likewise.
25547         * sunrpc/xdr_intXX_t.c: Likewise.
25548         * sunrpc/xdr_mem.c: Likewise.
25549         * sunrpc/xdr_rec.c: Likewise.
25550         * sunrpc/xdr_ref.c: Likewise.
25551         * sunrpc/xdr_sizeof.c: Likewise.
25552         * sunrpc/xdr_stdio.c: Likewise.
25554 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
25556         [BZ #12650]
25557         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25558         * sysdeps/ia64/dl-tls.h: Likewise.
25559         * sysdeps/powerpc/dl-tls.h: Likewise.
25560         * sysdeps/s390/dl-tls.h: Likewise.
25561         * sysdeps/sh/dl-tls.h: Likewise.
25562         * sysdeps/sparc/dl-tls.h: Likewise.
25563         * sysdeps/x86_64/dl-tls.h: Likewise.
25564         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25566 2011-03-14  Andreas Schwab  <schwab@redhat.com>
25568         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25569         rpath element also skip the following colon.
25570         (expand_dynamic_string_token): Add is_path parameter and pass
25571         down to DL_DST_REQUIRED and _dl_dst_substitute.
25572         (decompose_rpath): Call expand_dynamic_string_token with
25573         non-zero is_path.  Ignore empty rpaths.
25574         (_dl_map_object_from_fd): Call expand_dynamic_string_token
25575         with zero is_path.
25577 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
25579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25580         Make cancelable.
25582 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
25584         [BZ #12655]
25585         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25586         Patch by Filipe David Manana <fdmanana@apache.org>.
25588 2011-04-07  Andreas Schwab  <schwab@redhat.com>
25590         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25591         Maintain aligned stack.
25592         (CHECK_RSP): Remove unused macro.
25594 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
25596         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25597         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25599 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
25601         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25603         * include/features.h: Mention __USE_XOPEN2K8 in comment.
25605 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
25607         [BZ #12518]
25608         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25609         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25610         * sysdeps/x86_64/memmove.c: New file.
25611         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25612         (memcpy): Renamed to ...
25613         (__new_memcpy): This.
25614         (memcpy): Provide GLIBC_2_14 memcpy.
25615         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25616         (memcpy): Provide GLIBC_2_2_5 memcpy.
25618 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25620         [BZ #12631]
25621         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25623 2011-03-30  Andreas Schwab  <schwab@redhat.com>
25625         * misc/syncfs.c: New file.
25626         * misc/Makefile (routines): Add syncfs.
25627         * posix/unistd.h: Declare syncfs.
25628         * sysdeps/unix/syscalls.list: Add syncfs.
25630 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25632         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25633         open_by_handle_at.
25634         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25635         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25636         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25637         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25638         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25639         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25640         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25642 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25644         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25645         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25646         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25647         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25648         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25649         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25650         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25652         * io/Makefile: Compile fallocate.c, fallocate64.c, and
25653         sync_file_range.c with -fexceptions.
25654         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25655         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25656         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25657         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25658         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25659         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25660         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25661         sync_file_range as cancellation point
25662         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
25663         now a wrapper around __call_sync_file_range with cancellation handling.
25664         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25665         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
25666         function name to __call_sync_file_range.
25667         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25668         Add call_sync_file_range.
25670 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25672         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25673         bits/timex.h.
25675 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25677         * iconv/iconv.h: Fix typo in comment.
25678         * io/fcntl.h: Likewise.
25679         * libio/stdio.h: Likewise.
25680         * posix/spawn.h: Likewise.
25681         * posix/unistd.h: Likewise.
25682         * stdlib/stdlib.h: Likewise.
25683         * time/time.h: Likewise.
25684         * wcsmbs/wchar.h: Likewise.
25686         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25687         open_by_handle): Add.
25688         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25689         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
25690         Augment a few comments.
25691         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25692         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25693         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25694         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25695         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25696         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25697         open_by_handle.
25699         * io/fcntl.h (AT_EMPTY_PATH): Define.
25701 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
25703         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25704         * sysdeps/unix/sysv/linux/bits/time.h: New file.
25705         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25706         to...
25707         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
25708         * Versions.def: Add GLIBC_2.14.
25709         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25710         Export.
25712 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
25714         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25715         round counter.
25716         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25718 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25720         [BZ #12597]
25721         * string/test-strncmp.c (do_page_test): New function.
25722         (check2): Likewise.
25723         (test_main): Call check2.
25724         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25726 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
25728         [BZ #12587]
25729         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25730         Handle cache information in CPU leaf 4.
25731         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25733 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
25735         [BZ #12583]
25736         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25737         character representation.
25738         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25740 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
25742         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25743         END(__isnan) to END(__isnanf) to match function entry point/label
25744         EALIGN(__isnanf,...).
25746 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
25748         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25750 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
25752         [BZ #12510]
25753         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25754         copy from the symbol referenced in the relocation to initialize the
25755         used variable.
25756         Patch by Piotr Bury <pbury@goahead.com>.
25757         * elf/Makefile: Add rules to build and tst-unique3.
25758         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25759         * elf/tst-unique3.cc: New file.
25760         * elf/tst-unique3.h: New file.
25761         * elf/tst-unique3lib.cc: New file.
25762         * elf/tst-unique3lib2.cc: New file.
25764         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25766 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
25768         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25769         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
25770         to _start.
25772 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
25774         * elf/dl-load.c (_dl_map_object): If we are looking for the first
25775         to-be-loaded object along a path to loader is ld.so.
25777 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25778             Ulrich Drepper  <drepper@gmail.com>
25780         * sysdeps/x86_64/memset.S: After aligning destination, code
25781         branches to different locations depending on the value of
25782         misalignment, when multiarch is enabled. Fix this.
25784 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25786         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25787         Set _x86_64_preferred_memory_instruction for AMD processsors.
25788         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25789         Set bit_Prefer_SSE_for_memop for AMD processors.
25791 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
25793         * libio/fmemopen.c (fmemopen): Optimize a bit.
25795 2011-03-03  Andreas Schwab  <schwab@redhat.com>
25797         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25799 2011-03-03  Roland McGrath  <roland@redhat.com>
25801         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25803 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
25805         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25806         __bzero_ultra1 instead of __memset_ultra1.
25808 2011-02-23  Andreas Schwab  <schwab@redhat.com>
25809             Ulrich Drepper  <drepper@gmail.com>
25811         [BZ #12509]
25812         * include/link.h (struct link_map): Add l_orig_initfini.
25813         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25814         returning unsuccessfully.
25815         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25816         close of a file loaded at startup, restore the original l_initfini
25817         list.
25818         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25819         list, store the pointer.
25820         * elf/Makefile ($(objpfx)noload-mem): New rule.
25821         (noload-ENV): Define.
25822         (tests): Add $(objpfx)noload-mem.
25823         * elf/noload.c: Include <memcheck.h>.
25824         (main): Call mtrace.  Close all opened handles.
25826 2011-02-17  Andreas Schwab  <schwab@redhat.com>
25828         [BZ #12454]
25829         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25830         dependencies are missing.
25832 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25834         Fix __if_freereq crash: Unlike the generic version which uses free,
25835         Hurd needs munmap.
25836         * sysdeps/mach/hurd/ifreq.h: New file.
25838 2011-01-27  Petr Baudis  <pasky@suse.cz>
25839             Ulrich Drepper  <drepper@gmail.com>
25841         [BZ 12445]#
25842         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25843         to extend_alloca().
25844         * stdio-common/bug23.c: New file.
25845         * stdio-common/Makefile (tests): Add bug23.
25847 2010-09-28  Andreas Schwab  <schwab@redhat.com>
25848             Ulrich Drepper  <drepper@gmail.com>
25850         [BZ #12489]
25851         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25852         before performing relro protection.  At old place add assertion
25853         to make sure nothing changed.
25855 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
25856             Glauber de Oliveira Costa  <glommer@gmail.com>
25858         * elf/elf.h: Add new ARM TLS relocs.
25860 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
25862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25863         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25864         cast from r3.
25865         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
25866         'tests' variable.
25867         * sysdeps/wordsize-64/tst-writev.c: New file.
25869 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
25871         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25872         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25873         insns in _dl_start to prevent a TOC reference before relocs are
25874         resolved.
25876 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
25878         [BZ #12469]
25879         * Makeconfig: Remove RANLIB definition.
25880         * Makerules: Don't use RANLIB.
25881         * aclocal.m4: Remove ranlib test.
25882         * configure.in: No need to check for ranlib.
25883         * elf/rtld-Rules: Don't use RANLIB.
25885 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25887         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25888         protection macro.
25889         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25890         inclusion protection macro.
25892         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25893         SIGRTMIN and SIGRTMAX and print information in that case only when
25894         SIGRTMIN is defined.
25896 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
25898         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25899         arginfo fn returning -1.
25901         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25902         and thousands string is zero terminated.
25904 2011-02-03  Andreas Schwab  <schwab@redhat.com>
25906         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25907         sysdeps/unix/sysv/linux/bits/socket.h.
25909 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25911         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25912         (__CPU_COUNT): Remove old macros.
25913         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25914         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25915         (__CPU_ALLOC, __CPU_FREE): Add macros.
25916         (__sched_cpualloc, __sched_cpufree): Add declarations.
25918 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
25920         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25921         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25922         * nscd/aicache.c (addhstaiX): Return timeout of added value.
25923         (readdhstai): Return value of addhstaiX call.
25924         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25925         (addgrbyX): Return value returned by cache_addgr.
25926         (readdgrbyname): Return value returned by addgrbyX.
25927         (readdgrbygid): Likewise.
25928         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25929         (addpwbyX): Return value returned by cache_addpw.
25930         (readdpwbyname): Return value returned by addhstbyX.
25931         (readdpwbyuid): Likewise.
25932         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25933         (addservbyX): Return value returned by cache_addserv.
25934         (readdservbyname): Return value returned by addservbyX:
25935         (readdservbyport): Likewise.
25936         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25937         (addhstbyX): Return value returned by cache_addhst.
25938         (readdhstbyname): Return value returned by addhstbyX.
25939         (readdhstbyaddr): Likewise.
25940         (readdhstbynamev6): Likewise.
25941         (readdhstbyaddrv6): Likewise.
25942         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25943         (readdinitgroups): Return value returned by addinitgroupsX.
25944         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25945         (prune_cache): Keep track of timeout value of re-added entries.
25946         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25947         * nscd/nscd.h: Adjust prototypes of readd* functions.
25949 2011-02-04  Roland McGrath  <roland@redhat.com>
25951         * nis/nis_server.c (nis_servstate): Use the right name for 0.
25952         (nis_stats): Likewise.
25953         * nis/nis_modify.c (nis_modify): Likewise.
25954         * nis/nis_remove.c (nis_remove): Likewise.
25955         * nis/nis_add.c (nis_add): Likewise.
25957         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25959         * posix/fnmatch_loop.c: Add some consts.
25961         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25963 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
25965         [BZ #12460]
25966         * config.make.in (config-cflags-novzeroupper): Define.
25967         * configure.in: Substitute libc_cv_cc_novzeroupper.
25968         * elf/Makefile (AVX-CFLAGS): Define.
25969         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25970         (CFLAGS-tst-auditmod4a.c): Likewise.
25971         (CFLAGS-tst-auditmod4b.c): Likewise.
25972         (CFLAGS-tst-auditmod6b.c): Likewise.
25973         (CFLAGS-tst-auditmod6c.c): Likewise.
25974         (CFLAGS-tst-auditmod7b.c): Likewise.
25975         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25977 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
25979         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25980         function to the callback.
25981         Patch partly by Jiri Olsa <jolsa@redhat.com>.
25983 2011-02-02  Andreas Schwab  <schwab@redhat.com>
25985         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25986         of errno.
25988 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
25990         [BZ #11724]
25991         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25992         of constructors.
25993         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25994         of destructors.
25995         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25997         [BZ #11724]
25998         * elf/Makefile: Add rules to build and run new test.
25999         * elf/tst-initorder.c: New file.
26000         * elf/tst-initorder.exp: New file.
26001         * elf/tst-initordera1.c: New file.
26002         * elf/tst-initordera2.c: New file.
26003         * elf/tst-initordera3.c: New file.
26004         * elf/tst-initordera4.c: New file.
26005         * elf/tst-initorderb1.c: New file.
26006         * elf/tst-initorderb2.c: New file.
26007         * elf/tst-order-a1.c: New file.
26008         * elf/tst-order-a2.c: New file.
26009         * elf/tst-order-a3.c: New file.
26010         * elf/tst-order-a4.c: New file.
26011         * elf/tst-order-b1.c: New file.
26012         * elf/tst-order-b2.c: New file.
26013         * elf/tst-order-main.c: New file.
26014         New test case by George Gensure <werkt0@gmail.com>.
26016 2010-10-01  Andreas Schwab  <schwab@redhat.com>
26018         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26019         decoding ACE if AI_CANONIDN.
26021 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
26023         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26025 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
26027         * version.h (RELEASE): Bump for 2.13 release.
26028         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26030         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26032         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26033         MADV_NOHUGEPAGE.
26034         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26035         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26036         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26037         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26038         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26039         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26041         * posix/getconf.c: Update copyright year.
26042         * catgets/gencat.c: Likewise.
26043         * csu/version.c: Likewise.
26044         * debug/catchsegv.sh: Likewise.
26045         * debug/xtrace.sh: Likewise.
26046         * elf/ldconfig.c: Likewise.
26047         * elf/ldd.bash.in: Likewise.
26048         * elf/sprof.c (print_version): Likewise.
26049         * iconv/iconv_prog.c: Likewise.
26050         * iconv/iconvconfig.c: Likewise.
26051         * locale/programs/locale.c: Likewise.
26052         * locale/programs/localedef.c: Likewise.
26053         * malloc/memusage.sh: Likewise.
26054         * malloc/mtrace.pl: Likewise.
26055         * nscd/nscd.c (print_version): Likewise.
26056         * nss/getent.c: Likewise.
26058         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26059         PF_CAIF, and PF_ALG.
26060         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26062 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
26064         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26065         (modules-names): Use them.
26066         (ifunc-test-modules, ifunc-pie-tests): Define.
26067         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26068         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26069         (test-extras): Likewise.
26070         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26071         $(compile-command.c).
26072         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26073         (all-built-dso): Define.
26074         (check-textrel.out, check-execstack.out): Depend on it.
26076         * configure.in: Don't override --enable-multi-arch.
26078 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
26080         [BZ #6812]
26081         * nscd/hstcache.c (tryagain): Define.
26082         (cache_addhst): Return tryagain not notfound for temporary errors.
26083         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26084         failed.
26086 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
26088         [BZ #10563]
26089         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26090         to make the syscall.
26091         * sysdeps/unix/sysv/linux/setgroups.c: New file.
26093         [BZ #12378]
26094         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26095         and fall back to matching as normal character if the string ends before
26096         the matching ']' is found.  This is what POSIX requires.
26097         * posix/testfnm.c: Adjust test result.
26098         * posix/globtest.sh: Adjust test result.  Add new test.
26099         * posix/tst-fnmatch.input: Likewise.
26100         * posix/tst-fnmatch2.c: Add new test.
26102 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
26104         * elf/Makefile (check-execstack): Revert last change.  Depend on
26105         check-execstack.h.
26106         (check-execstack.h): New target.
26107         (generated): Add check-execstack.h.
26108         * elf/check-execstack.c: Include "check-execstack.h".
26109         (main): Revert last change.
26110         (handle_file): Return zero if GNU_STACK is absent and
26111         DEFAULT_STACK_PERMS doesn't include PF_X.
26113 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
26115         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26116         in child fails because the descriptor is already closed.
26117         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26118         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26119         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26121         [BZ #12397]
26122         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26123         syscall.
26125         [BZ #10484]
26126         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26127         temporary buffer used to handle multi lookups locally.
26128         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26130 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26132         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26133         loader is ld.so.
26135 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
26137         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26138         alignment for SSE2.
26140 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26142         [BZ #12394]
26143         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26144         characters.  When rounding increased number of integer digits recompute
26145         number of groups.
26146         * stdio-common/tst-grouping.c: New file.
26147         * stdio-common/Makefile: Add rules to build and run tst-grouping.
26149 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
26151         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26152         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
26154         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26155         void.
26156         * bits/select.h: Likewise.
26158 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
26160         * po/ja.po: Update from translation team.
26162 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
26164         [BZ #11155]
26165         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26166         implementation just like for lxstat, fxstatat, et al.
26168 2010-12-27  Jim Meyering  <meyering@redhat.com>
26170         [BZ #12348]
26171         * posix/regexec.c (build_trtable): Return failure indication upon
26172         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
26174 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
26176         [BZ #12201]
26177         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26178         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26179         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26180         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26182         [BZ #12207]
26183         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26185         [BZ #12204]
26186         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26187         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26189 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
26191         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26192         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26193         script has SORT_BY_INIT_PRIORITY.
26194         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26195         NO_CTORS_DTORS_SECTIONS is defined.
26196         * elf/soinit.c: Likewise.
26197         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26198         NO_CTORS_DTORS_SECTIONS is defined.
26199         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26200         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26201         * sysdeps/sh/init-first.c: Likewise.
26202         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26204 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
26206         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26207         always use the slow path.
26209 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
26211         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26212         similar rule which adds the sysdep directories to the header search in
26213         order to pick up the correct platform stackinfo.h.
26214         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26215         perform test if it is, otherwise return successfully without testing.
26216         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26217         DEFAULT_STACK_PERMS define in stackinfo.h.
26218         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26219         defined in stackinfo.h.
26220         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26221         DEFAULT_STACK_PERMS defined in stackinfo.h.
26222         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26223         * sysdeps/ia64/stackinfo.h: Likewise.
26224         * sysdeps/s390/stackinfo.h: Likewise.
26225         * sysdeps/sh/stackinfo.h: Likewise.
26226         * sysdeps/sparc/stackinfo.h: Likewise.
26227         * sysdeps/x86_64/stackinfo.h: Likewise.
26228         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26229         PF_X for powerpc64.  Retain PF_X for powerpc32.
26231 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
26233         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26234         accurately.
26235         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26236         GETDENTS_64BIT_ALIGNED.
26238 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
26240         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26242 2010-12-10  Andreas Schwab  <schwab@redhat.com>
26244         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26245         _GNU_SOURCE.
26247         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26248         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26249         Remove __restrict.
26250         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26251         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26253 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
26255         [BZ #11655]
26256         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26257         are initialized.
26259 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
26261         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26263 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
26265         * po/it.po: Update from translation team.
26267 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26269         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26270         unused codes.
26272 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
26274         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26276 2010-11-24  Andreas Schwab  <schwab@redhat.com>
26278         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26279         specially.
26280         (gaih_getanswer_slice): Likewise.
26282 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
26284         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26286 2010-05-31  Petr Baudis  <pasky@suse.cz>
26288         [BZ #11149]
26289         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26290         silently even in the chroot mode.
26292 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
26294         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26295         last patch a bit.  Pretty printing
26297 2010-05-31  Petr Baudis <pasky@suse.cz>
26299         [BZ #10085]
26300         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26301         initialization of skip_initgroups_dyn.
26303 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
26305         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26306         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26308 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
26310         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26312 2010-11-11  Andreas Schwab  <schwab@redhat.com>
26314         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26315         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26316         (tst-fnmatch-ENV): Set MALLOC_TRACE.
26317         ($(objpfx)tst-fnmatch-mem): New rule.
26318         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26319         * posix/tst-fnmatch.c (main): Call mtrace.
26321 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
26323         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26324         Support Intel processor model 6 and model 0x2c.
26326 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
26328         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26329           signed comparison.
26331 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
26333         [BZ #12205]
26334         * string/test-strncasecmp.c (check_result): New function.
26335         (do_one_test): Use it.
26336         (check1): New function.
26337         (test_main): Use it.
26338         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26339         Support strcasecmp and strncasecmp.
26341 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
26343         [BZ #12194]
26344         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26345         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26347 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26349         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26350         IFUNC support.
26351         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26352         memset-x86-64.
26353         * sysdeps/x86_64/multiarch/bzero.S: New file.
26354         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26355         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26356         * sysdeps/x86_64/multiarch/memset.S: New file.
26357         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26358         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26359         Set bit_Prefer_SSE_for_memop for Intel processors.
26360         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26361         Define.
26362         (index_Prefer_SSE_for_memop): Define.
26363         (HAS_PREFER_SSE_FOR_MEMOP): Define.
26365 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
26367         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26368         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26370 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
26372         [BZ #12191]
26373         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26374         (__x86_64_raw_data_cache_size_half): Likewise.
26375         (__x86_64_raw_shared_cache_size): Likewise.
26376         (__x86_64_raw_shared_cache_size_half): Likewise.
26378         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26379         (__x86_64_raw_data_cache_size_half): Likewise.
26380         (__x86_64_raw_shared_cache_size): Likewise.
26381         (__x86_64_raw_shared_cache_size_half): Likewise.
26382         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26383         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26384         and __x86_64_raw_shared_cache_size_half.  Round
26385         __x86_64_data_cache_size_half, __x86_64_data_cache_size
26386         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26387         to multiple of 256 bytes.
26389 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
26391         [BZ #12167]
26392         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26393         of inacessible symlinks.  Verify result of symlink before returning it.
26394         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26395         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26397 2010-10-28  Erich Ritz  <erichritz@gmail.com>
26399         * math/math.h (isinf): Fix typo in comment.
26401 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
26403         * po/da.po: Update from translation team.
26405 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
26407         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26408         is added to the list.
26410 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26411             Ulrich Drepper  <drepper@gmail.com>
26413         * elf/dl-object.c (_dl_new_object): Don't append the new object to
26414         the global list here.  Move code to...
26415         (_dl_add_to_namespace_list): ...here.  New function.
26416         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26417         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26418         * elf/dl-load.c (lose): Don't remove the element from the list.
26419         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26420         (_dl_map_object): Likewise.
26422 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
26424         [BZ #12159]
26425         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26426         into all bytes of SSE register.
26427         Patch by Richard Li <richardpku@gmail.com>.
26429 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
26431         [BZ #12140]
26432         * malloc/malloc.c (_int_free): Fill correct number of bytes when
26433         perturbing.
26435 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
26437         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26438         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26439         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26440         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26442         submachine.
26443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26445 2010-10-22  Andreas Schwab  <schwab@redhat.com>
26447         * include/dlfcn.h (__RTLD_SECURE): Define.
26448         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
26449         mode & __RTLD_SECURE instead.
26450         (open_path): Rename preloaded parameter to secure.
26451         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26452         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26453         * elf/dl-deps.c (openaux): Likewise.
26454         * elf/rtld.c (struct map_args): Remove is_preloaded.
26455         (map_doit): Don't use it.
26456         (dl_main): Likewise.
26457         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26458         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26460 2010-09-09  Andreas Schwab  <schwab@redhat.com>
26462         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26463         (sysd-rules-targets): Remove duplicates.
26464         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26465         rtld-%.$o dependency.
26467 2010-10-18  Andreas Schwab  <schwab@redhat.com>
26469         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26470         _dl_map_object do it.
26472 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
26474         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26475         fast fma builtins, define the macros in the C99 standard.
26476         (FP_FAST_FMAF): Likewise.
26477         (FP_FAST_FMAL): Likewise.
26478         * sysdeps/x86_64/bits/mathdef.h: Likewise.
26480         * bits/mathdef.h: Update copyright year.
26481         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26483 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
26485         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26486         builtins, define the macros in the C99 standard.
26487         (FP_FAST_FMAF): Likewise.
26488         (FP_FAST_FMAL): Likewise.
26489         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26490         multiply/add.
26491         (FP_FAST_FMAF): Likewise.
26493 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
26495         [BZ #3268]
26496         * math/libm-test.inc (fma_test): Some new testcases.
26497         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26498         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26499         y and infinite z.  Do multiplication by C already in long double.
26500         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26501         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26502         y and infinite z.  Do bitwise or of inexact bit into u.d.
26503         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26504         * sysdeps/i386/fpu/s_fmaf.S: Removed.
26505         * sysdeps/i386/fpu/s_fma.S: Removed.
26506         * sysdeps/i386/fpu/s_fmal.S: Removed.
26508 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
26510         [BZ #3268]
26511         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26512         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26513         computation is not scheduled after fetestexcept.  Fix value
26514         of minimum denormal long double.
26516 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
26518         [BZ #3268]
26519         * math/libm-test.inc (fma_test): Add some more tests.
26520         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26521         correctly.
26523 2010-10-15  Andreas Schwab  <schwab@redhat.com>
26525         * scripts/data/localplt-s390-linux-gnu.data: New file.
26526         * scripts/data/localplt-s390x-linux-gnu.data: New file.
26528 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
26530         [BZ #3268]
26531         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26532         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26533         instead of dbl-64.
26534         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26535         inlines.
26536         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26537         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26538         if one of x and y is very large and the other is subnormal.
26539         * sysdeps/s390/fpu/s_fmaf.c: New file.
26540         * sysdeps/s390/fpu/s_fma.c: New file.
26541         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26542         * sysdeps/powerpc/fpu/s_fma.S: New file.
26543         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26544         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26545         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26547 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
26549         [BZ #3268]
26550         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26551         fma tests.
26552         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26553         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26554         * sysdeps/i386/i686/multiarch/s_fma.c: Include
26555         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26556         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26557         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26558         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26560 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
26562         [BZ #12078]
26563         * posix/regcomp.c (parse_branch): One more memory leak plugged.
26564         * posix/bug-regex31.input: Add test case.
26566 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26568         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26569         * posix/bug-regex31.input: New file.
26571         [BZ #12078]
26572         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26573         (parse_sub_exp): Fix last change, use postorder.
26575         * posix/bug-regex31.c: New file.
26576         * posix/Makefile: Add rules to build and run bug-regex31.
26578         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26580         [BZ #12078]
26581         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26583         [BZ #12108]
26584         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26585         to have entries in sys_siglist.
26587         [BZ #12093]
26588         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26589         be NULL.
26591 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
26593         [BZ #3268]
26594         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26595         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26596         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26597         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26598         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26599         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26600         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26601         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26602         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26603         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26604         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26605         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26606         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26607         * math/ftestexcept.c (fetestexcept): Likewise.
26608         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26609         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26610         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26611         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26612         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26613         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26614         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26616 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26618         [BZ #12107]
26619         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26620         newline.
26622 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
26624         * string/bug-strstr1.c: New file.
26625         * string/Makefile: Add rules to build and run bug-strstr1.
26627 2010-10-05  Eric Blake  <eblake@redhat.com>
26629         [BZ #12092]
26630         * string/str-two-way.h (two_way_long_needle): Always clear memory
26631         when skipping input due to the shift table.
26633 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
26635         [BZ #12005]
26636         * malloc/mcheck.c: Handle large requests.
26638         [BZ #12077]
26639         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26640         for strncmp and strncasecmp.
26641         * string/stratcliff.c: Add tests for strcmp and strncmp.
26642         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26644 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26646         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26647         __set_fpscr.
26649 2010-09-30  Andreas Jaeger  <aj@suse.de>
26651         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26652         (CGROUP_SUPER_MAGIC): Define.
26653         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26654         Handle btrfs and cgroup file systems.
26655         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26656         Likewise.
26658 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
26660         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26661         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26663 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26665         [BZ #12067]
26666         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26667         trying to locate the ELF header.
26669 2010-09-27  Andreas Schwab  <schwab@redhat.com>
26671         [BZ #11611]
26672         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26673         Mask out sign-bit copies when constructing f_fsid.
26675 2010-09-24  Petr Baudis <pasky@suse.cz>
26677         * debug/stack_chk_fail_local.c: Add missing licence exception.
26678         * debug/warning-nop.c: Likewise.
26680 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
26682         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26683         implementing getdents64 using getdents syscall, set d_type if
26684         __ASSUME_GETDENTS32_D_TYPE.
26686 2010-09-16  Andreas Schwab  <schwab@redhat.com>
26688         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26689         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26691 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
26693         [BZ #12037]
26694         * posix/unistd.h: Undo change of feature selection for ftruncate from
26695         2010-01-11.
26697 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
26699         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26700         detection.
26702 2010-09-20  Andreas Schwab  <schwab@redhat.com>
26704         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26705         fanotify_mark.
26706         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26708 2010-09-14  Andreas Schwab  <schwab@redhat.com>
26710         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26711         variables after CHECK_SP call.
26712         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26714 2010-09-13  Andreas Schwab  <schwab@redhat.com>
26715             Ulrich Drepper  <drepper@redhat.com>
26717         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26718         re-relocationg ld.so.
26719         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26720         _dl_init_paths call.
26721         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
26722         here anymore.
26724 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
26726         * resolv/res_init.c (__res_vinit): Count the default server we added.
26728 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
26729             Ulrich Drepper  <drepper@redhat.com>
26731         [BZ #11968]
26732         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26733         (____longjmp_chk): Use %ebx for saving value across system call.
26734         Add unwind info.
26736 2010-09-06  Andreas Schwab  <schwab@redhat.com>
26738         * manual/Makefile: Don't mix pattern rules with normal rules.
26740 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26742         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26743         operation.
26744         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26745         * libio/iofopncook.c (_IO_cookie_init): Likewise.
26746         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26747         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26748         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26749         Likewise.
26751 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
26753         [BZ #11979]
26754         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26755         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26757 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
26759         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26760         * sysdeps/x86_64/addmul_1.S: Likewise.
26761         * sysdeps/x86_64/lshift.S: Likewise.
26762         * sysdeps/x86_64/mul_1.S: Likewise.
26763         * sysdeps/x86_64/rshift.S: Likewise.
26764         * sysdeps/x86_64/sub_n.S: Likewise.
26765         * sysdeps/x86_64/submul_1.S: Likewise.
26767 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26769         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26770         Define __sched_param instead of SCHED_* and sched_param when
26771         <bits/sched.h> is included with __need_schedparam defined.
26772         * bits/sched.h [__need_schedparam]
26773         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26774         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26775         (__defined_schedparam): Define to 1.
26776         (__sched_param): New structure, identical to sched_param.
26777         (__need_schedparam): Undefine.
26779 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
26781         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26782         (epoll_create1): Declare.
26784         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26786 2010-08-31  Andreas Schwab  <schwab@redhat.com>
26788         [BZ #7066]
26789         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26790         shifting retval into place.
26792 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
26794         * nis/rpcsvc/nis.h: Update copyright notice.
26795         * nis/rpcsvc/nis.x: Likewise.
26796         * nis/rpcsvc/nis_callback.h: Likewise.
26797         * nis/rpcsvc/nis_callback.x: Likewise.
26798         * nis/rpcsvc/nis_object.x: Likewise.
26799         * nis/rpcsvc/nis_tags.h: Likewise.
26800         * nis/rpcsvc/yp.h: Likewise.
26801         * nis/rpcsvc/yp.x: Likewise.
26802         * nis/rpcsvc/ypupd.h: Likewise.
26803         * nis/yp_xdr.c: Likewise.
26804         * nis/ypupdate_xdr.c: Likewise.
26806         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
26807         mainly the body of pmap_getport.  Add parameters to specify timeouts.
26808         (pmap_getport): Use __libc_rpc_getport.
26809         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26810         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26811         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26813 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
26815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26816         fanotify_mark.
26818 2010-08-27  Roland McGrath  <roland@redhat.com>
26820         * sysdeps/i386/i686/multiarch/Makefile
26821         (CFLAGS-varshift.c): New variable.
26823 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
26825         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26826         * sysdeps/i386/i686/multiarch/varshift.c: New file.
26828         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26830         * sysdeps/x86_64/strlen.S: Minimal code improvement.
26832 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26834         * sysdeps/x86_64/strlen.S: Unroll the loop.
26835         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26836         strlen-sse2 strlen-sse2-bsf.
26837         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26838         __strlen_no_bsf if bit_Slow_BSF is set.
26839         (__strlen_sse42): Removed.
26840         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26841         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26843 2010-08-25  Roland McGrath  <roland@redhat.com>
26845         * sysdeps/x86_64/multiarch/varshift.S: File removed.
26846         * sysdeps/x86_64/multiarch/varshift.c: New file.
26847         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26848         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26849         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26850         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26852 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26854         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26855         strlen-sse2 strlen-sse2-bsf.
26856         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26857         __strlen_sse2_bsf if bit_Slow_BSF is unset.
26858         (__strlen_sse2): Removed.
26859         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26860         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26861         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26862         bit_Slow_BSF for Atom.
26863         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26864         (index_Slow_BSF): Define.
26865         (HAS_SLOW_BSF): Define.
26867 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
26869         [BZ #10851]
26870         * resolv/res_init.c (__res_vinit): When no server address at all
26871         is given default to loopback.
26873 2010-08-24  Roland McGrath  <roland@redhat.com>
26875         * configure.in: Remove config-name.h generation.
26876         * configure: Regenerated.
26877         * config-name.in: File removed.
26878         * scripts/config-uname.sh: New file.
26879         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26880         ($(objdir)config-name.h): New target.
26882         * sunrpc/rpc_parse.h: Avoid nested comment.
26884 2010-08-24  Richard Henderson  <rth@redhat.com>
26885             Ulrich Drepper  <drepper@redhat.com>
26886             H.J. Lu  <hongjiu.lu@intel.com>
26888         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26889         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26890         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26891         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
26892         _mm_alignr_epi8 with _mm_loadu_si128.
26893         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26894         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26895         (__m128i_shift_right): Removed.
26896         * sysdeps/i386/i686/multiarch/varshift.h: New file.
26897         * sysdeps/i386/i686/multiarch/varshift.S: New file.
26898         * sysdeps/x86_64/multiarch/varshift.h: New file.
26899         * sysdeps/x86_64/multiarch/varshift.S: New file.
26901 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
26903         * configure.in: Move assembler checks to before sysdep dir checking.
26905 2010-08-20  Petr Baudis  <pasky@suse.cz>
26907         * LICENSES: Sync the sunrpc license.
26909 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
26911         * sunrpc/auth_des.c: Update copyright notice once again.
26912         * sunrpc/auth_none.c: Likewise.
26913         * sunrpc/auth_unix.c: Likewise.
26914         * sunrpc/authdes_prot.c: Likewise.
26915         * sunrpc/authuxprot.c: Likewise.
26916         * sunrpc/bindrsvprt.c: Likewise.
26917         * sunrpc/clnt_gen.c: Likewise.
26918         * sunrpc/clnt_perr.c: Likewise.
26919         * sunrpc/clnt_raw.c: Likewise.
26920         * sunrpc/clnt_simp.c: Likewise.
26921         * sunrpc/clnt_tcp.c: Likewise.
26922         * sunrpc/clnt_udp.c: Likewise.
26923         * sunrpc/clnt_unix.c: Likewise.
26924         * sunrpc/des_crypt.c: Likewise.
26925         * sunrpc/des_soft.c: Likewise.
26926         * sunrpc/get_myaddr.c: Likewise.
26927         * sunrpc/getrpcport.c: Likewise.
26928         * sunrpc/key_call.c: Likewise.
26929         * sunrpc/key_prot.c: Likewise.
26930         * sunrpc/openchild.c: Likewise.
26931         * sunrpc/pm_getmaps.c: Likewise.
26932         * sunrpc/pm_getport.c: Likewise.
26933         * sunrpc/pmap_clnt.c: Likewise.
26934         * sunrpc/pmap_prot.c: Likewise.
26935         * sunrpc/pmap_prot2.c: Likewise.
26936         * sunrpc/pmap_rmt.c: Likewise.
26937         * sunrpc/rpc/auth.h: Likewise.
26938         * sunrpc/rpc/auth_unix.h: Likewise.
26939         * sunrpc/rpc/clnt.h: Likewise.
26940         * sunrpc/rpc/des_crypt.h: Likewise.
26941         * sunrpc/rpc/key_prot.h: Likewise.
26942         * sunrpc/rpc/netdb.h: Likewise.
26943         * sunrpc/rpc/pmap_clnt.h: Likewise.
26944         * sunrpc/rpc/pmap_prot.h: Likewise.
26945         * sunrpc/rpc/pmap_rmt.h: Likewise.
26946         * sunrpc/rpc/rpc.h: Likewise.
26947         * sunrpc/rpc/rpc_des.h: Likewise.
26948         * sunrpc/rpc/rpc_msg.h: Likewise.
26949         * sunrpc/rpc/svc.h: Likewise.
26950         * sunrpc/rpc/svc_auth.h: Likewise.
26951         * sunrpc/rpc/types.h: Likewise.
26952         * sunrpc/rpc/xdr.h: Likewise.
26953         * sunrpc/rpc_clntout.c: Likewise.
26954         * sunrpc/rpc_cmsg.c: Likewise.
26955         * sunrpc/rpc_common.c: Likewise.
26956         * sunrpc/rpc_cout.c: Likewise.
26957         * sunrpc/rpc_dtable.c: Likewise.
26958         * sunrpc/rpc_hout.c: Likewise.
26959         * sunrpc/rpc_main.c: Likewise.
26960         * sunrpc/rpc_parse.c: Likewise.
26961         * sunrpc/rpc_parse.h: Likewise.
26962         * sunrpc/rpc_prot.c: Likewise.
26963         * sunrpc/rpc_sample.c: Likewise.
26964         * sunrpc/rpc_scan.c: Likewise.
26965         * sunrpc/rpc_scan.h: Likewise.
26966         * sunrpc/rpc_svcout.c: Likewise.
26967         * sunrpc/rpc_tblout.c: Likewise.
26968         * sunrpc/rpc_util.c: Likewise.
26969         * sunrpc/rpc_util.h: Likewise.
26970         * sunrpc/rpcinfo.c: Likewise.
26971         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26972         * sunrpc/rpcsvc/key_prot.x: Likewise.
26973         * sunrpc/rpcsvc/klm_prot.x: Likewise.
26974         * sunrpc/rpcsvc/mount.x: Likewise.
26975         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26976         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26977         * sunrpc/rpcsvc/rex.x: Likewise.
26978         * sunrpc/rpcsvc/rstat.x: Likewise.
26979         * sunrpc/rpcsvc/rusers.x: Likewise.
26980         * sunrpc/rpcsvc/sm_inter.x: Likewise.
26981         * sunrpc/rpcsvc/spray.x: Likewise.
26982         * sunrpc/rpcsvc/yppasswd.x: Likewise.
26983         * sunrpc/rtime.c: Likewise.
26984         * sunrpc/svc.c: Likewise.
26985         * sunrpc/svc_auth.c: Likewise.
26986         * sunrpc/svc_authux.c: Likewise.
26987         * sunrpc/svc_raw.c: Likewise.
26988         * sunrpc/svc_run.c: Likewise.
26989         * sunrpc/svc_simple.c: Likewise.
26990         * sunrpc/svc_tcp.c: Likewise.
26991         * sunrpc/svc_udp.c: Likewise.
26992         * sunrpc/svc_unix.c: Likewise.
26993         * sunrpc/svcauth_des.c: Likewise.
26994         * sunrpc/xcrypt.c: Likewise.
26995         * sunrpc/xdr.c: Likewise.
26996         * sunrpc/xdr_array.c: Likewise.
26997         * sunrpc/xdr_float.c: Likewise.
26998         * sunrpc/xdr_mem.c: Likewise.
26999         * sunrpc/xdr_rec.c: Likewise.
27000         * sunrpc/xdr_ref.c: Likewise.
27001         * sunrpc/xdr_sizeof.c: Likewise.
27002         * sunrpc/xdr_stdio.c: Likewise.
27004         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27005         handling.
27007 2010-08-19  Andreas Schwab  <schwab@redhat.com>
27009         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27011 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
27013         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27014         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27015         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27016         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27017         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27018         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27019         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27020         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27021         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27022         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27023         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27024         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27025         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27026         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27028 2010-07-26  Anton Blanchard  <anton@samba.org>
27030         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27031         * malloc/arena.c (heap_trim): Likewise.
27033 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
27035         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27036         here.  Not...
27037         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27038         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27040 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27042         * sysdeps/i386/elf/Makefile: New file.
27044 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27046         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27047         from fanotify_init.
27048         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27049         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27051 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
27053         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27054         of strncasecmp_l.
27055         * sysdeps/multiarch/strcmp.S: Likewise.
27057 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
27059         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27060         strncase_l-nonascii.
27061         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27062         Add strncase_l-ssse3.
27063         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27064         * sysdeps/x86_64/strcmp.S: Likewise.
27065         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27066         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27067         * sysdeps/x86_64/strncase.S: New file.
27068         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27069         * sysdeps/x86_64/strncase_l.S: New file.
27070         * string/Makefile (strop-tests): Add strncasecmp.
27071         * string/test-strncasecmp.c: New file.
27073         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27074         warning.
27076         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27077         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27079 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27081         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27083 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
27085         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27086         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27087         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27089 2010-05-01  Alan Modra  <amodra@gmail.com>
27091         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27092         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27093         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27094         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27095         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27096         tidying.  Don't tail-call __sigjmp_save for static lib.
27097         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27098         save location.
27099         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27100         (CALL_MCOUNT): Add eh info, and nop after bl.
27101         (TAIL_CALL_SYSCALL_ERROR): New macro.
27102         (PSEUDO_RET): Use it.
27103         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27104         Correct save location of integer regs and cr.
27105         (_dl_profile_resolve): Correct cr save location.  Delete nops
27106         after bl when SHARED.  Reduce cfi size a little by better
27107         placement of cfi directives.
27108         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27109         make a stack frame.  Instead use parm save area as a temp.
27110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27111         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
27112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27113         Don't make a stack frame for parent, use parm save area.
27114         Increase child stack frame to 112 bytes.  Don't save unused reg,
27115         and adjust reg usage.  Set up cfi on error recovery and
27116         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27118         (__makecontext): Add dummy nop after jump to exit.
27119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27120         Use correct parm save area and cr save, reduce stack frame.
27121         Correct cfi for possible PSEUDO_RET frame setup.
27122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27123         Branch to local label emitted by PSEUDO_RET rather than
27124         __syscall_error.
27126 2010-08-12  Andreas Schwab  <schwab@redhat.com>
27128         [BZ #11904]
27129         * locale/programs/locale.c (print_assignment): New function.
27130         (show_locale_vars): Use it.
27132 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
27134         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27135         field.
27136         (struct statfs64): Likewise.
27137         (_STATFS_F_FLAGS): Define.
27138         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27139         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27140         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27141         (ST_VALID): Define locally.
27142         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27143         __statvfs_getflags, use the provided value.
27144         * sysdeps/unix/sysv/linux/kernel-features.h: Define
27145         __ASSUME_STATFS_F_FLAGS.
27147         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27149         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27150         Add sys/fanotify.h.
27151         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27152         fanotify_mask for GLIBC_2.13.
27153         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27154         fanotify_init and fanotify_mark.
27155         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27156         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27158         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27159         Add prlimit.
27160         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27161         prlimit64 for GLIBC_2.13.
27162         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27163         prlimit64.
27164         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27165         syscall.
27166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27167         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27168         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27169         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27170         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
27171         add prlimit alias.
27172         * sysdeps/unix/sysv/linux/prlimit.c: New file.
27174         [BZ #11903]
27175         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27176         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27178         * nss/Makefile: Add rules to build and run tst-nss-test1.
27179         * shlib-versions: Add entry for libnss_test1.
27180         * nss/nss_test1.c: New file.
27181         * nss/tst-nss-test1.c: New file.
27183         * nss/nsswitch.c (__nss_database_custom): Define new variable.
27184         (__nss_configure_lookup): Set appropriate entry in
27185         __nss_configure_lookup to true.
27186         * nss/nsswitch.h: Define enum with indeces of databases in
27187         databases and __nss_database_custom arrays.  Declare
27188         __nss_database_custom.
27189         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27190         to avoid using nscd when custom rules are installed.
27191         * nss/getXXbyYY_r.c: Likewise.
27192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27194         * nss/nss_files/files-parse.c: Whitespace fixes.
27196 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
27198         [BZ #11883]
27199         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27200         * posix/fnmatch_loop.c: Likewise.
27202 2010-07-17  Andi Kleen  <ak@linux.intel.com>
27204         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27205         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27206         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27207         * Versions.def [GLIBC_2.13]: Add.
27209 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
27211         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27212         Also fail if tpwd after pwuid call is NULL.
27214 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27216         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27217         when converting to ms.
27219 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27221         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27222         EOPNOTSUPP errors with ENOTTY.
27223         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27224         EOPNOTSUPP errors with ENOTTY.
27226 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
27228         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27229         Add strcasecmp_l-ssse3.
27230         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27231         strcasecmp.
27232         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27233         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27234         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27236 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
27238         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27240         * string/Makefile (strop-tests): Add strcasecmp.
27241         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27242         strcasecmp_l-nonascii.
27243         (gen-as-const-headers): Add locale-defines.sym.
27244         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27245         * sysdeps/x86_64/strcasecmp.S: New file.
27246         * sysdeps/x86_64/strcasecmp_l.S: New file.
27247         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27248         * sysdeps/x86_64/locale-defines.sym: New file.
27249         * string/test-strcasecmp.c: New file.
27251         * string/test-strcasestr.c: Test both ends of the range of characters.
27252         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27254 2010-07-29  Roland McGrath  <roland@redhat.com>
27256         [BZ #11856]
27257         * manual/locale.texi (Yes-or-No Questions): Fix example code.
27259 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
27261         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27262         for ld.so.
27264 2010-07-27  Andreas Schwab  <schwab@redhat.com>
27266         * manual/memory.texi (Malloc Tunable Parameters): Document
27267         M_PERTURB.
27269 2010-07-26  Roland McGrath  <roland@redhat.com>
27271         [BZ #11840]
27272         * configure.in (-fgnu89-inline check): Set and substitute
27273         gnu89_inline, not libc_cv_gnu89_inline.
27274         * configure: Regenerated.
27275         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27277 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
27279         * string/test-strnlen.c: New file.
27280         * string/Makefile (strop-tests): Add strnlen.
27281         * string/tester.c (test_strnlen): Add a few more test cases.
27282         * string/tst-strlen.c: Better error reporting.
27284         * sysdeps/x86_64/strnlen.S: New file.
27286 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
27288         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27289         lower-latency instructions.
27291 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
27293         * string/test-strcasestr.c: New file.
27294         * string/test-strstr.c: New file.
27295         * string/Makefile (strop-tests): Add strstr and strcasestr.
27296         * string/str-two-way.h: Don't undefine MAX.
27297         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27299 2010-07-21  Andreas Schwab  <schwab@redhat.com>
27301         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27302         strcasestr-nonascii.
27303         (CFLAGS-strcasestr-nonascii.c): Define.
27304         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27305         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27306         Remove unused attribute.
27308 2010-07-20  Roland McGrath  <roland@redhat.com>
27310         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27311         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
27312         ld.so.cache was broken.  With it, there is no way to disable dsocaps
27313         like LD_HWCAP_MASK can disable hwcaps.
27315 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27317         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27319 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
27321         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27322         call in strcasestr.
27323         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27324         __strcasestr_sse42_nonascii.
27325         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27326         strcasestr-nonascii.c.
27327         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27329 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
27331         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27332         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27333         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27334         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27336 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
27338         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27339         fcntl.
27341 2010-07-06  Andreas Schwab  <schwab@redhat.com>
27343         [BZ #11577]
27344         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27345         dl_signal_cerror.
27347 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
27349         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27350         _PC_PIPE_BUF using F_GETPIPE_SZ.
27352 2010-07-05  Roland McGrath  <roland@redhat.com>
27354         * manual/arith.texi (Rounding Functions): Fix rint description
27355         implicit in round description.
27357 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
27359         * elf/Makefile: Fix linking for a few tests to make recent linker
27360         happy.
27362 2010-06-30  Andreas Schwab  <schwab@redhat.com>
27364         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27365         $(common-objpfx)libc_nonshared.a.
27367 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
27369         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27370         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27371         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27372         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27373         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27374         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27375         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27376         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27391         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27392         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27393         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27394         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27395         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27396         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27397         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27398         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27399         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27400         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27401         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27402         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27418 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27420         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27421         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
27422         * string/memmove.c (memmove): Renamed to ...
27423         (MEMMOVE): ...this.  Default to memmove.
27424         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27425         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27426         (END_CHK): Define.
27427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27428         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27429         mempcpy-ssse3-back memmove-ssse3-back.
27430         * sysdeps/x86_64/multiarch/bcopy.S: New file .
27431         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27432         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27433         * sysdeps/x86_64/multiarch/memcpy.S: New file.
27434         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27435         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27436         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27437         * sysdeps/x86_64/multiarch/memmove.c: New file.
27438         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27439         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27440         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27441         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27442         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27443         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27444         Define.
27445         (index_Fast_Copy_Backward): Define.
27446         (HAS_ARCH_FEATURE): Define.
27447         (HAS_FAST_REP_STRING): Define.
27448         (HAS_FAST_COPY_BACKWARD): Define.
27450 2010-06-21  Andreas Schwab  <schwab@redhat.com>
27452         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27453         Restore proper fallback handling.
27455 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
27457         [BZ #11701]
27458         * posix/group_member.c (__group_member): Correct checking loop.
27460         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27461         OOM in getpwuid_r correctly.  Return error number when the caller
27462         should return, otherwise -1.
27463         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27464         call returning > 0 value.
27465         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27467 2010-06-07  Andreas Schwab  <schwab@redhat.com>
27469         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27470         libc_nonshared.a from targets in modules-names.
27472 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
27474         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27475         requires it.
27477 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
27479         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27480         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27481         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27482         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27484 2010-06-02  Andreas Schwab  <schwab@redhat.com>
27486         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27488 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
27490         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27491         and F_GETPIPE_SZ.
27492         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27493         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27494         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27495         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27496         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27497         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27499 2010-06-14  Roland McGrath  <roland@redhat.com>
27501         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27503 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
27505         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27506         __REDIRECT followed by __THROW.
27507         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27508         * posix/getopt.h (getopt): Likewise.
27510 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27512         * hurd/lookup-at.c (__file_name_lookup_at): Accept
27513         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
27514         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27515         in AT_FLAGS.
27516         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27517         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27519 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
27521         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27523 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
27525         [BZ #11640]
27526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27527         Properly check family and model.
27529 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
27531         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27533 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
27535         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27537 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
27539         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27540         symbol reference.
27542 2010-05-19  Andreas Schwab  <schwab@redhat.com>
27544         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27545         symbol reference.
27547 2010-05-21  Andreas Schwab  <schwab@redhat.com>
27549         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27550         and internal_recvmmsg.
27551         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27552         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27553         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27554         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27556         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27557         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27558         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27560 2010-05-20  Andreas Schwab  <schwab@redhat.com>
27562         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27564 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
27566         POWER7 optimizations.
27567         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27568         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27570 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
27572         * version.h: Update for 2.13 development version.
27574 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
27576         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27577         exceptions.  Return 0.
27579 2010-05-07  Roland McGrath  <roland@redhat.com>
27581         * elf/ldconfig.c (main): Add a const.
27583 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
27585         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27586         (args_options): Add no-idn option.
27587         (ahosts_keys_int): Add idn_flags to ai_flags.
27588         (parse_option): Handle 'i' option to clear idn_flags.
27590         * malloc/malloc.c (_int_free): Possible race in the most recently
27591         added check.  Only act on the data if no current modification
27592         happened.
27594 See ChangeLog.17 for earlier changes.