Use mantissa_t in mpexp
[glibc.git] / ChangeLog
blob22b8214c11699ea72a482890f7e9835967e2b6a6
1 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6         * bench/Makefile (bench): Add sin and slowsin.
7         * benchtests/sin-inputs: New file.
8         * benchtests/slowsin-inputs: New file.
9         * benchtests/slowsin.c: New file.
11         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12         (bench): Add slowexp and slowpow.
13         (exp-ITER): Increase iterations.
14         (pow-ITER): Likewise.
15         * benchtests/exp-inputs: Change input.
16         * benchtests/pow-inputs: Likewise.
17         * benchtests/slowexp-inputs: New file.
18         * benchtests/slowexp.c: New file.
19         * benchtests/slowpow-inputs: New file.
20         * benchtests/slowpow.c: New file.
22 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25         instructions.
26         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29         * benchtests/Makefile: Add rint benchtest.
30         * benchtests/rint-inputs: Input for rint benchtest.
32 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34         * Versions.def (libm): Add GLIBC_2.18.
35         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36         hidden libm prototypes.
37         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
38         * math/Makefile (libm-calls): Add s_issignaling.
39         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
40         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
41         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
42         declaration.
43         * math/math.h [__USE_GNU] (issignaling): New macro.
44         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
46         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
47         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50         * manual/arith.texi (issignaling): New section.
51         * manual/libm-err-tab.pl (@all_functions): Update comment.
52         * math/gen-libm-test.pl (parse_args): Apply special handling for
53         issignaling.
54         * math/libm-test.inc (print_float, issignaling_test): New
55         functions.
56         (check_float_internal): Add issignaling checks.
57         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58         default definition.
59         * sysdeps/powerpc/math-tests.h: New file.
60         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
61         tests.
62         * math/test-snan.c (TEST_FUNC): Likewise.
64 2013-03-30  David S. Miller  <davem@davemloft.net>
66         * po/de.po: Update from translation team.
68 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
70         [BZ #10357]
71         * math/k_casinh.c (__kernel_casinh): Handle arguments with
72         imaginary part less than 1.0 and real part less than 0.5
73         specially.
74         * math/k_casinhf.c (__kernel_casinhf): Likewise.
75         * math/k_casinhl.c (__kernel_casinhl): Likewise.
76         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
77         (cacos_test): Add more tests.
78         (casin_test): Likewise.
79         (casinh_test): Likewise.
80         * sysdeps/i386/fpu/libm-test-ulps: Update.
81         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
85         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
86         ONE with its value.
88         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
89         (__pow_mp): Replace ONE and MONE with their values.
90         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
91         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
92         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
93         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
94         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
95         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
97         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
99         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
100         (__pow_mp): Replace ZERO and MZERO with their values.
101         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
102         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
103         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
104         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
105         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
106         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
107         (__sqr): Likewise.
109         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
111         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
113 2013-03-28  Roland McGrath  <roland@hack.frob.com>
115         * include/stdlib.h [!SHARED] (__call_tls_dtors):
116         Declare with __attribute__ ((weak)).
117         * stdlib/exit.c (__libc_atexit) [!SHARED]:
118         Call __call_tls_dtors only if it's not NULL.
120 2013-03-28  Roland McGrath  <roland@hack.frob.com>
122         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
123         didn't do it already, then set _dl_phdr and _dl_phnum based on the
124         magic __ehdr_start linker symbol if it's defined.
125         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
126         them up here if it was already done.
128         * elf/dl-support.c (_dl_phdr): Make pointer to const.
129         (_dl_aux_init): Use const in cast when setting it.
130         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
131         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
132         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
134         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
135         Declare them here.
136         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
137         * csu/libc-tls.c: Nor here.
138         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
140         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
141         (__libc_message): Never call vsyslog.
143 2013-03-28  Alan Modra  <amodra@gmail.com>
145         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
146         Define as empty.
147         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
148         Likewise.
150 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
152         [BZ #15214]
153         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
154         underflow.
155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
157 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
159         [BZ #15304]
160         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
161         Don't add gid passed as argument.
163         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
165 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
167         [BZ #15307]
168         * math/k_casinh.c (__kernel_casinh): Handle arguments with
169         imaginary part between 1.0 and 1.5 and real part less than 0.5
170         specially.
171         * math/k_casinhf.c (__kernel_casinhf): Likewise.
172         * math/k_casinhl.c (__kernel_casinhl): Likewise.
173         * math/libm-test.inc (cacos_test): Add more tests.
174         (casin_test): Likewise.
175         (casinh_test): Likewise.
176         * sysdeps/i386/fpu/libm-test-ulps: Update.
177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
179 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
181         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
182         constants.
183         (norm): Likewise.
184         (denorm): Likewise.
185         (__dbl_mp): Likewise.
186         (add_magnitudes): Likewise.
187         (sub_magnitudes): Likewise.
188         (__add): Likewise.
189         (__sub): Likewise.
190         (__mul): Likewise.
191         (__sqr): Likewise.
192         (__inv): Likewise.
193         (__dvd): Likewise.
195         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
196         commented code.
197         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
198         (__dubcos): Likewise.
199         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
200         (__ieee754_acos): Likewise.
201         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
202         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
203         (__exp1): Likewise.
204         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
205         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
206         (log1): Likewise.
207         (my_log2): Likewise.
208         (checkint): Likewise.
209         * sysdeps/ieee754/dbl-64/e_remainder.c
210         (__ieee754_remainder): Likewise.
211         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
212         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
213         (bsloww): Likewise.
214         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
216         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
217         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
218         MANTISSA_STORE_T to store computations on mantissa.  Use
219         macros for rounding and division.
220         (denorm): Likewise.
221         (__dbl_mp): Likewise.
222         (add_magnitudes): Likewise.
223         (sub_magnitudes): Likewise.
224         (__mul): Likewise.
225         (__sqr): Likewise.
226         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
227         powers of two in terms of TWOPOW macro.
228         (mp_no): Make type of mantissa as MANTISSA_T.
229         [!RADIXI]: Define RADIXI.
230         [!TWO52]: Define TWO52.
231         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
233 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
235         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
236         llroundl symbol when building for PPC32.
238 2013-03-24  Mark H Weaver  <mhw@netris.org>
240         * manual/arith.texi (Normalization Functions): Fix prototypes for
241         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
243 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
245         [BZ #13889]
246         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
247         high value to check if expl overflow.
248         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
249         to check for underflow and overflow.
250         * math/libm-test.inc: Add exp test.
252 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
254         [BZ #11120]
255         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
256         with NOT_IN_libc.
258 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
260         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
261         symbol.
263 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
265         * math/gen-libm-test.pl (parse_args, special_functions): Properly
266         wrap blocks consisting of several statements.
268         * sysdeps/generic/math-tests.h: New file.
269         * sysdeps/i386/fpu/math-tests.h: Likewise.
270         * math/test-snan.c: Include it.
271         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
273 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
275         [BZ #15285]
276         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
277         (__ieee754_j0l): Do not improve calculations using cos of twice
278         input for inputs above LDBL_MAX / 2.0L.
279         (__ieee754_y0l): Likewise.
280         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
281         (__ieee754_j1l): Do not improve calculations using cos of twice
282         input for inputs above LDBL_MAX / 2.0L.
283         (__ieee754_y1l): Likewise.
284         * math/libm-test.inc (j0_test): Add another test.
285         (j1_test): Likewise.
286         (y0_test): Likewise.
287         (y1_test): Likewise.
288         * sysdeps/i386/fpu/libm-test-ulps: Update.
290 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
292         * Rules ($(objpfx)bench-%.c): Include code from a C source
293         file.
295 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
297         [BZ #15287]
298         * math/k_casinh.c (__kernel_casinh): Handle arguments with
299         imaginary part 1.0 and real part less than 0.5 specially.
300         * math/k_casinhf.c (__kernel_casinhf): Likewise.
301         * math/k_casinhl.c (__kernel_casinhl): Likewise.
302         * math/libm-test.inc (cacos_test): Add more tests.
303         (casin_test): Likewise.
304         (casinh_test): Likewise.
305         * sysdeps/i386/fpu/libm-test-ulps: Update.
306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
308 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
310         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
311         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
313 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
315         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
316         * config.make.in (config-cflags-sse4): Remove variable.
317         (config-cflags-avx): Likewise.
318         (config-cflags-sse2avx): Likewise.
319         (config-cflags-novzeroupper): Likewise.
320         (config-asflags-i686): Likewise.
321         (have-mfma4): Likewise.
322         (have-as-vis3): Likewise.
323         (MIG): Likewise.
324         * configure.in (MIG): Do not AC_SUBST.
325         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
326         (libc_cv_cc_sse4): Do not AC_SUBST.
327         (libc_cv_cc_avx): Likewise.
328         (libc_cv_cc_sse2avx): Likewise.
329         (libc_cv_cc_novzeroupper): Likewise.
330         (libc_cv_cc_fma4): Likewise.
331         (libc_cv_as_i686): Likewise.
332         (libc_cv_sparc_as_vis3): Likewise.
333         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
334         LIBC_CONFIG_VAR.
335         (config-asflags-i686): Likewise.
336         (config-cflags-avx): Likewise.
337         (config-cflags-sse2avx): Likewise.
338         (have-mfma4): Likewise.
339         (config-cflags-novzeroupper): Likewise.
340         * sysdeps/mach/configure.in (MIG): Likewise.
341         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
342         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
343         LIBC_CONFIG_VAR.
344         (config-cflags-avx): Likewise.
345         (config-cflags-sse2avx): Likewise.
346         (have-mfma4): Likewise.
347         (config-cflags-novzeroupper): Likewise.
348         * configure: Regenerated.
349         * sysdeps/i386/configure: Likewise.
350         * sysdeps/mach/configure: Likewise.
351         * sysdeps/sparc/configure: Likewise.
352         * sysdeps/x86_64/configure: Likewise.
354 2013-03-20  Roland McGrath  <roland@hack.frob.com>
356         [BZ #14812]
357         * locale/programs/localedef.c (options): Put N_ translation marker
358         on argument names, not just descriptions.
360 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
362         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
364 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
366         [BZ #14176]
367         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
369 2013-03-19  Roland McGrath  <roland@hack.frob.com>
371         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
372         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
373         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
374         [!BEFORE_ABORT] (before_abort): New function.
375         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
376         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
377         (writev_for_fatal): New function.
378         (WRITEV_FOR_FATAL): New macro; call that.
379         (backtrace_and_maps): New function.
380         (BEFORE_ABORT): New macro; call that.
381         (struct str_list): Type removed.
382         (__libc_message, __libc_fatal): Functions removed.
383         Include <sysdeps/posix/libc_fatal.c> instead.
385 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
387         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
388         constants.
389         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
390         double constants.
392 2013-03-19  Andreas Schwab  <schwab@suse.de>
394         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
395         * sysdeps/gnu/configure: Regenerate.
397         * configure.in: Substitute libc_cv_rtlddir.
398         * configure: Regenerate.
399         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
400         * Makeconfig (rtlddir, inst_rtlddir): New variables.
401         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
402         * elf/Makefile (install-others, CFLAGS-interp.c)
403         (ldso_install, common-ldd-rewrite): Likewise.
404         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
405         $(inst_slibdir)/$(rtld-installed-name).
406         * scripts/rellns-sh: Add -p option.
407         * Makerules (make-shlib-link): Use rellns-sh to get relative name
408         for source.
410 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
412         * manual/nptl.texi: Renamed to ...
413         * manual/threads.texi: ... this.
414         * manual/Makefile (chapters): Update.
416 2013-03-18  Roland McGrath  <roland@hack.frob.com>
418         [BZ #14812]
419         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
420         on argument names, not just descriptions.
421         * malloc/memusagestat.c (options): Likewise.
422         * nss/getent.c (options): Likewise.
424 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
426         [BZ #14812]
427         * iconv/iconv_prog.c (options): Put N_ translation marker
428         on argument names, not just descriptions.
429         * iconv/iconvconfig.c (options): Likewise.
431 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
433         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
434         implementation which is faster on all x86_64 architectures.
435         Tested on AMD, Intel Nehalem, SNB, IVB.
436         * sysdeps/x86_64/strnlen.S: Likewise.
438         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
439         Remove all multiarch strlen and strnlen versions.
440         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
441         Remove strlen and strnlen related parts.
443         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
444         Inline strlen part.
445         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
447         * sysdeps/x86_64/multiarch/strlen.S: Remove.
448         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
449         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
450         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
451         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
452         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
454 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
456         * manual/memory.texi (Malloc Tunable Parameters):
457         Sort parameters alphabetically. Add comments for missing entries.
459 2013-03-17  David S. Miller  <davem@davemloft.net>
461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
463 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
465         [BZ #15283]
466         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
467         for arguments at most half maximum finite value.
468         * math/libm-test.inc (j0_test): Add more tests.
469         (j1_test): Likewise.
470         (y0_test): Likewise.
471         (y1_test): Likewise.
472         * sysdeps/i386/fpu/libm-test-ulps: Update.
473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
475         [BZ #14155]
476         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
477         1 / x and functions P and Q for arguments above 0x1p256L.
478         (__ieee754_y0l): Likewise.
479         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
480         (__ieee754_y1l): Likewise.
481         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
482         (j1_test): Likewise.
483         (y0_test): Likewise.
484         (y1_test): Likewise.
486 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
488         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
489         variable.
491 2013-03-15  Roland McGrath  <roland@hack.frob.com>
493         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
494         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
495         zero since it's initialized to EXEC_PAGESIZE.
497         * sysdeps/unix/sysv/linux/ldsodefs.h
498         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
499         * sysdeps/generic/ldsodefs.h: ... here.
501 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
503         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
505         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
506         math/test-snan.c.
507         * math/test-snan.c: Renamed from
508         sysdeps/powerpc/fpu/test-powerpc-snan.c.
509         * math/Makefile (tests): Add test-snan.
510         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
511         test-powerpc-snan.
513         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
514         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
515         functions.
516         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
517         __builtin_nan family of functions.
518         * math/libm-test.inc (initialize): Initialize qnan_value with
519         __builtin_nan family of functions.
520         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
521         Remove variables.
522         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
523         Remove functions.
524         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
525         storage class.  Initialize qNaN_var and sNaN_var with
526         __builtin_nan and __builtin_nans families of functions,
527         respectively.
529         * math/libm-test.inc (acosh_test): Also test with qNaN input.
530         (sqrt_test): Remove duplicate test with qNaN input.
531         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
532         (round_test, signbit_test, significand_test): Note missing +/-Inf
533         as well as qNaN tests.
535         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
536         qNaN_var.  Fix a few strings, too.
537         * math/libm-test.inc (nan_value): Rename to qnan_value.
538         * math/gen-libm-test.pl (%beautify): Adjust to that.
539         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
540         * math/test-misc.c (main): Likewise.
541         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
542         to __qnan_bytes, and __qnan_union, respectively.
543         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
544         Likewise.
545         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
546         and lqnanval, respectively.
547         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
548         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
549         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
550         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
552         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
553         * math/test-misc.c (main) [__x86_64__]: Enable test for long
554         doubles.
556         * math/test-misc.c (main): Fix copy'n'pastos.
557         * misc/tst-efgcvt.c (special): Likewise.
559         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
560         Remove declarations.
562 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
564         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
565         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
566         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
567         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
569 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
571         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
572         macro to return vdso values correctly in IFUNC implementations.
573         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
574         Optimization by using IFUNC.
576 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
577             Richard Henderson  <rth@redhat.com>
578             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
580         * Makefile.in (bench): New target.
581         * NEWS: Mention the benchmark framework.
582         * Rules (bench): Likewise.
583         (binaries-bench): Generate binaries for functions to
584         benchmark.
585         * benchtests/Makefile: New makefile for benchmark tests.
586         * benchtests/bench-skeleton.c: New skeleton file for benchmark
587         programs.
588         * benchtests/exp-inputs: New input file for EXP function.
589         * benchtests/pow-inputs: New input file for POW function.
590         * scripts/bench.pl: New script to generate source files for
591         benchmark programs.
593 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
595         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
596         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
597         computations on mantissa.  Use macros for rounding and
598         division.
599         (denorm): Likewise.
600         (__dbl_mp): Likewise.
601         (add_magnitudes): Likewise.
602         (sub_magnitudes): Likewise.
603         (__mul): Likewise.
604         (__sqr): Likewise.
605         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
606         powers of two in terms of TWOPOW macro.
607         (mp_no): Make type of mantissa as MANTISSA_T.
608         [!RADIXI]: Define RADIXI.
609         [!TWO52]: Define TWO52.
610         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
612         * manual/nptl.texi (cindex): Modify threads to pthreads.
614 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
616         * sysdeps/x86_64/preconfigure: Regenerated.
618 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
620         [BZ #14155]
621         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
622         0x1p28 and above.
623         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
624         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
625         0x1p28 and above.
626         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
627         * math/libm-test.inc (j0_test): Do not allow one spurious
628         underflow exception.
629         (y1_test): Likewise.
631 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
633         * manual/Makefile (chapters): Add nptl.
634         * manual/debug.texi (Debugging Support): Add link to Threads
635         chapter.
636         * manual/nptl.texi: New file.
638         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
640 2013-03-14  Petr Baudis  <pasky@ucw.cz>
642         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
643         for non-NULL pointer before the memory validity test. Pointed
644         out by Holger Brunck <holger.brunck@keymile.com>.
646 2013-03-13  Andreas Schwab  <schwab@suse.de>
648         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
649         instead of .os.
651 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
653         * timezone/zic.c: Update from tzcode 2013b.
655 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
657         * manual/install.texi (Configuring and compiling):
658         Mention i686 and i586.
659         * INSTALL: Regenerate.
661 2013-03-12  Roland McGrath  <roland@hack.frob.com>
663         * sysdeps/init_array/elf-init.c: New file.
664         * csu/elf-init.c
665         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
666         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
668         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
669         __gmon_start__ as global, but as static with a .preinit_array pointer.
670         * sysdeps/init_array/gmon-start.c: New file.  Use that.
671         * sysdeps/init_array/crti.S: New file, empty except for comments.
672         * sysdeps/init_array/crtn.S: Likewise.
674 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
676         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
677         definining bcopy.
678         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
679         Remove Prefer_SSE_for_memop.
680         * sysdeps/x86_64/multiarch/init-arch.h: Remove
681         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
682         HAS_PREFER_SSE_FOR_MEMOP.
683         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
684         memset-x86-64.
685         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
686         Remove bzero, memset ifunc support.
687         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
688         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
689         * sysdeps/x86_64/multiarch/memset.S: Likewise.
690         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
692 2013-03-11  Andreas Schwab  <schwab@suse.de>
694         [BZ #15234]
695         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
696         by SHLIB_COMPAT.
697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
698         (GLIBC_2.16): Remove pthread_atfork.
700 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
702         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
703         (ptestcases.h): Likewise.
705 2013-03-08  Roland McGrath  <roland@hack.frob.com>
707         * Makeconfig ($(common-objpfx)config.status): Depend on
708         sysdeps/*/preconfigure{,.in} too.
710 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
712         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
713         (__free_hook): Use void * instead of __malloc_ptr_t.
714         (__malloc_hook): Likewise.
715         (__realloc_hook): Likewise.
716         (__memalign_hook): Likewise.
717         (__after_morecore_hook): Likewise.
718         * malloc/arena.c (save_malloc_hook): Likewise.
719         (save_free_hook): Likewise.
720         * malloc/hooks.c (malloc_hook_ini): Likewise.
721         (realloc_hook_ini): Likewise.
722         (memalign_hook_ini): Likewise.
723         * malloc/malloc.c (malloc_hook_ini): Likewise.
724         (realloc_hook_ini): Likewise.
725         (memalign_hook_ini): Likewise.
726         (__free_hook): Likewise.
727         (__malloc_hook): Likewise.
728         (__realloc_hook): Likewise.
729         (__memalign_hook): Likewise.
730         (__libc_malloc): Likewise.
731         (__libc_free): Likewise.
732         (__libc_realloc): Likewise.
733         (__libc_memalign): Likewise.
734         (__libc_valloc): Likewise.
735         (__libc_pvalloc): Likewise.
736         (__libc_calloc): Likewise.
737         (__posix_memalign): Likewise.
738         * malloc/morecore.c (__sbrk): Likewise.
739         (__default_morecore): Likewise.
741         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
743         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
744         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
745         __malloc_ptrdiff_t.
747         * malloc/malloc.h (__malloc_size_t): Remove macro.
748         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
749         __malloc_size_t.
750         (old_memalign_hook): Likewise.
751         (old_realloc_hook): Likewise.
752         (struct hdr): Likewise.
753         (flood): Likewise.
754         (mallochook): Likewise.
755         (memalignhook): Likewise.
756         (reallochook): Likewise.
757         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
758         (tr_old_realloc_hook): Likewise.
759         (tr_old_memalign_hook): Likewise.
760         (tr_mallochook): Likewise.
761         (tr_reallochook): Likewise.
762         (tr_memalignhook): Likewise.
764 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
766         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
767         default_ldbl_pack and using as default implementation.
768         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
769         implementation.
770         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
771         redundant definition.
772         (ldbl_insert_mantissa): Likewise.
773         (ldbl_canonicalize): Likewise.
774         (ldbl_nearbyint): Likewise.
775         (ldbl_pack): Rename to ldbl_pack_ppc.
776         (ldbl_unpack): Rename to ldbl_unpack_ppc.
777         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
778         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
780 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
783         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
784         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
785         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
786         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
787         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
788         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
789         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
791 2013-03-07  Andreas Jaeger  <aj@suse.de>
793         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
794         bits/mman-linux.h.
796 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
798         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
799         Include mpa.h and declare __MPEXP.
800         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
801         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
802         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
803         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
804         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
805         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
806         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
808         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
809         (__slowpow): Use long double EXPL and LOGL functions to
810         compute POW.
811         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
812         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
813         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
814         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
815         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
816         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
818         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
819         intermediate variable to calculate exponent.
820         (__sqr): Likewise.
821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
822         Likewise.
823         (__sqr): Likewise.
825         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
826         [!NO__SQR]: Define __sqr.
827         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
828         and NO__SQR.  Remove all code except __mul and __sqr.  Include
829         sysdeps/ieee754/dbl-64/mpa.c.
830         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
832         [BZ #12723]
833         * posix/Makefile (tests): Add tst-pathconf.
834         * posix/tst-pathconf.c: New test case.
835         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
836         _PC_PIPE_BUF.
837         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
839 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
841         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
843 2013-03-06  Andreas Jaeger  <aj@suse.de>
845         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
846         definition via __MAP_ANONYMOUS.
848         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
849         it's not part of Linux headers.
851         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
852         (MAP_HUGE_MASK): Define.
854         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
855         Define.
856         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
857         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
858         Define.
859         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
860         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
861         Define.
862         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
863         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
864         Define.
865         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
867         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
868         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
869         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
870         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
871         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
872         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
874         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
875         Handle f2fs.
877         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
878         Handle f2fs and efivarfs.
880         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
881         f2fs.
883         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
884         (EFIVARFS_MAGIC): Add.
885         (F2FS_LINK_MAX): Add.
887 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
889         * stdio-common/vfprintf.c: Replace __builtin_expect with
890         __glibc_unlikely.
892 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
894         [BZ #13550]
895         * sysdeps/generic/bp-sym.h: Remove file.
896         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
897         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
898         <bp-sym.h> and <bp-asm.h>.
899         (__longjmp): Don't use BP_SYM.
900         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
901         and <bp-asm.h>.
902         (memcpy): Don't use BP_SYM.
903         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
904         <bp-sym.h> and <bp-asm.h>.
905         (memcpy): Don't use BP_SYM.
906         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
907         <bp-asm.h>.
908         (memcpy): Don't use BP_SYM.
909         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
910         <bp-asm.h>.
911         (memset): Don't use BP_SYM.
912         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
913         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
914         (__bzero): Don't use BP_SYM.
915         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
916         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
917         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
918         <bp-sym.h> and <bp-asm.h>.
919         (memcmp): Don't use BP_SYM.  Remove comment about bounded
920         pointers.
921         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
922         <bp-sym.h> and <bp-asm.h>.
923         (memcpy): Don't use BP_SYM.
924         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
925         <bp-sym.h> and <bp-asm.h>.
926         (memset): Don't use BP_SYM.
927         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
928         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
929         (__bzero): Don't use BP_SYM.
930         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
931         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
932         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
933         <bp-sym.h> and <bp-asm.h>.
934         (strncmp): Don't use BP_SYM.  Remove comment about bounded
935         pointers.
936         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
937         <bp-sym.h> and <bp-asm.h>.
938         (memcpy): Don't use BP_SYM.
939         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
940         <bp-sym.h> and <bp-asm.h>.
941         (memset): Don't use BP_SYM.
942         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
943         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
944         (__bzero): Don't use BP_SYM.
945         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
946         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
947         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
948         <bp-sym.h> and <bp-asm.h>.
949         (__memchr): Don't use BP_SYM.
950         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
951         <bp-sym.h> and <bp-asm.h>.
952         (memcmp): Don't use BP_SYM.  Remove comment about bounded
953         pointers.
954         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
955         <bp-sym.h> and <bp-asm.h>.
956         (memcpy): Don't use BP_SYM.
957         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
958         <bp-sym.h> and <bp-asm.h>.
959         (__mempcpy): Don't use BP_SYM.
960         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
961         <bp-sym.h> and <bp-asm.h>.
962         (__memrchr): Don't use BP_SYM.
963         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
964         <bp-sym.h> and <bp-asm.h>.
965         (memset): Don't use BP_SYM.
966         (__bzero): Likewise.
967         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
968         <bp-sym.h> and <bp-asm.h>.
969         (__rawmemchr): Don't use BP_SYM.
970         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
971         <bp-sym.h> and <bp-asm.h>.
972         (__STRCMP): Don't use BP_SYM.
973         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
974         <bp-sym.h> and <bp-asm.h>.
975         (strchr): Don't use BP_SYM.
976         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
977         <bp-sym.h> and <bp-asm.h>.
978         (__strchrnul): Don't use BP_SYM.
979         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
980         <bp-sym.h> and <bp-asm.h>.
981         (strlen): Don't use BP_SYM.
982         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
983         <bp-sym.h> and <bp-asm.h>.
984         (strncmp): Don't use BP_SYM.  Remove comment about bounded
985         pointers.
986         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
987         <bp-sym.h> and <bp-asm.h>.
988         (__strnlen): Don't use BP_SYM.
989         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
990         <bp-sym.h> and <bp-asm.h>.
991         (__GI__setjmp): Don't use BP_SYM.
992         (_setjmp): Likewise.
993         (__sigsetjmp): Likewise.
994         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
995         (L(start_addresses)): Don't use BP_SYM.
996         (_start): Likewise.
997         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
998         <bp-asm.h>.
999         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1000         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1001         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1002         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1003         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1004         <bp-asm.h>.
1005         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1006         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
1007         about bounded pointers.
1008         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1009         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1010         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1011         <bp-asm.h>.
1012         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1013         about bounded pointers.  Remove GKM FIXME comments.
1014         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1015         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1016         <bp-asm.h>.
1017         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1018         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
1019         Remove GKM FIXME comments.
1020         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1021         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1022         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1023         <bp-asm.h>.
1024         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1025         about bounded pointers.  Remove GKM FIXME comment.
1026         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1027         and <bp-asm.h>.
1028         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1029         pointers.
1030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1031         <bp-sym.h> and <bp-asm.h>.
1032         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1034         <bp-sym.h> and <bp-asm.h>.
1035         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1036         comment.
1038 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1040         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1041         call free(NULL).
1043 2013-03-05  David S. Miller  <davem@davemloft.net>
1045         * po/es.po: Update from translation team.
1047 2013-03-05  Andreas Jaeger  <aj@suse.de>
1049         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1050         <bits/mman-linux.h>.
1051         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1052         is fine.
1053         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1054         <bits/mman-linux.h> to end of file.
1055         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1056         is fine.
1057         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1058         <bits/mman-linux.h> to end of file.
1059         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1060         is fine.
1061         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1062         <bits/mman-linux.h> to end of file.
1064         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1065         (MCL_CURRENT, MCL_FUTURE): Define here.
1067 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1069         [BZ #15232]
1070         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1071         attribute_hidden.
1072         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1074 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1076         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1077         fourth parameter needed for rt_sigprocmask syscall.
1078         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1079         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1080         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1081         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1082         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1083         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1085 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
1087         [BZ #13550]
1088         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1089         comment about bounded pointers.
1090         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1091         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1093 2013-03-04  Andreas Jaeger  <aj@suse.de>
1095         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1096         common definitions.
1098         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1099         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1100         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1101         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1102         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1103         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1105 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1107         [BZ #15055]
1108         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1109         __ieee754_sqrl instead of __sqrl.
1111 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
1113         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1114         * sysdeps/powerpc/fpu_control.h: ... here.
1115         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1116         * sysdeps/powerpc/bits/fenvinline.h: ... here.
1117         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1118         * sysdeps/powerpc/bits/mathinline.h: ... here.
1120 2013-03-01  Roland McGrath  <roland@hack.frob.com>
1122         * elf/dl-hwcaps.c (_dl_important_hwcaps):
1123         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1124         to just [NEED_DL_SYSINFO_DSO].
1125         * elf/dl-support.c: Likewise.
1126         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1127         * elf/rtld.c (dl_main): Likewise.
1128         * elf/setup-vdso.h (setup_vdso): Likewise.
1129         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1130         * sysdeps/unix/sysv/linux/dl-sysdep.c
1131         (_dl_discover_osversion): Likewise.
1133 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
1135         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1136         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1138 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1140         * NEWS: Mention libm performance improvements and non-x86 PI
1141         futex support.
1143         * csu/libc-start.c (__pthread_initialize_minimal): Change
1144         function arguments.
1145         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1147 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
1149         [BZ #13550]
1150         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1151         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1152         <bp-sym.h> and <bp-asm.h>.
1153         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1154         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1155         and <bp-asm.h>.
1156         (memcpy): Don't use BP_SYM.
1157         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1158         <bp-asm.h>.
1159         (__mpn_add_n): Don't use BP_SYM.
1160         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1161         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1162         and <bp-asm.h>.
1163         (__mpn_addmul_1): Don't use BP_SYM.
1164         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1165         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1166         <bp-sym.h>.
1167         (_setjmp): Don't use BP_SYM.
1168         (__novmx_setjmp): Likewise.
1169         (__GI__setjmp): Likewise.
1170         (__vmx_setjmp): Likewise.
1171         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1172         <bp-sym.h>.
1173         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1174         (__bzero): Don't use BP_SYM.
1175         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1176         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1177         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1178         <bp-sym.h> and <bp-asm.h>.
1179         (memcpy): Don't use BP_SYM.
1180         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1181         <bp-sym.h> and <bp-asm.h>.
1182         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1183         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1184         <bp-sym.h> and <bp-asm.h>.
1185         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1186         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1187         <bp-asm.h>.
1188         (__mpn_lshift): Don't use BP_SYM.
1189         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1190         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1191         <bp-asm.h>.
1192         (memset): Don't use BP_SYM.
1193         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1194         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1195         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1196         <bp-asm.h>.
1197         (__mpn_mul_1): Don't use BP_SYM.
1198         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1199         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1200         <bp-sym.h> and <bp-asm.h>.
1201         (memcmp): Don't use BP_SYM.
1202         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1203         <bp-sym.h> and <bp-asm.h>.
1204         (memcpy): Don't use BP_SYM.
1205         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1206         <bp-sym.h> and <bp-asm.h>.
1207         (memset): Don't use BP_SYM.
1208         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1209         <bp-sym.h> and <bp-asm.h>.
1210         (strncmp): Don't use BP_SYM.
1211         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1212         <bp-sym.h> and <bp-asm.h>.
1213         (memcpy): Don't use BP_SYM.
1214         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1215         <bp-sym.h> and <bp-asm.h>.
1216         (memset): Don't use BP_SYM.
1217         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1218         <bp-sym.h> and <bp-asm.h>.
1219         (__memchr): Don't use BP_SYM.
1220         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1221         <bp-sym.h> and <bp-asm.h>.
1222         (memcmp): Don't use BP_SYM.
1223         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1224         <bp-sym.h> and <bp-asm.h>.
1225         (memcpy): Don't use BP_SYM.
1226         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1227         <bp-sym.h> and <bp-asm.h>.
1228         (__mempcpy): Don't use BP_SYM.
1229         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1230         <bp-sym.h> and <bp-asm.h>.
1231         (__memrchr): Don't use BP_SYM.
1232         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1233         <bp-sym.h> and <bp-asm.h>.
1234         (memset): Don't use BP_SYM.
1235         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1236         <bp-sym.h> and <bp-asm.h>.
1237         (__rawmemchr): Don't use BP_SYM.
1238         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1239         <bp-sym.h> and <bp-asm.h>.
1240         (__STRCMP): Don't use BP_SYM.
1241         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1242         <bp-sym.h> and <bp-asm.h>.
1243         (strchr): Don't use BP_SYM.
1244         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1245         <bp-sym.h> and <bp-asm.h>.
1246         (__strchrnul): Don't use BP_SYM.
1247         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1248         <bp-sym.h> and <bp-asm.h>.
1249         (strlen): Don't use BP_SYM.
1250         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1251         <bp-sym.h> and <bp-asm.h>.
1252         (strncmp): Don't use BP_SYM.
1253         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1254         <bp-sym.h> and <bp-asm.h>.
1255         (__strnlen): Don't use BP_SYM.
1256         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1257         <bp-asm.h>.
1258         (__mpn_rshift): Don't use BP_SYM.
1259         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1260         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1261         <bp-sym.h> and <bp-asm.h>.
1262         (__sigsetjmp): Don't use BP_SYM.
1263         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1264         (L(start_addresses)): Don't use BP_SYM.
1265         (_start): Likewise.
1266         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1267         <bp-asm.h>.
1268         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1269         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1270         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1271         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1272         <bp-asm.h>.
1273         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1274         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1275         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1276         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1277         <bp-asm.h>.
1278         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1279         comments.
1280         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1281         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1282         <bp-asm.h>.
1283         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
1284         FIXME comments.
1285         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1286         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1287         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1288         <bp-asm.h>.
1289         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1290         comment.
1291         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1292         and <bp-asm.h>.
1293         (strncmp): Don't use BP_SYM,
1294         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1295         <bp-asm.h>.
1296         (__mpn_sub_n): Don't use BP_SYM.
1297         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1298         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1299         and <bp-asm.h>.
1300         (__mpn_submul_1): Don't use BP_SYM.
1301         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1303         <bp-sym.h> and <bp-asm.h>.
1304         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1306         <bp-sym.h> and <bp-asm.h>.
1307         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1308         comment.
1310 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1312         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1313         Use ZK to minimize writes to Z.
1314         (sub_magnitudes): Simplify code a bit.
1315         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1316         Use ZK to minimize writes to Z.
1317         (sub_magnitudes): Simplify code a bit.
1319 2013-02-27  Roland McGrath  <roland@hack.frob.com>
1321         * csu/gmon-start.c: Add special exception to license text.
1323 2013-02-27  Richard Henderson  <rth@redhat.com>
1325         * scripts/config.guess: Update from config.git.
1326         * scripts/config.sub: Likewise.
1328 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1330         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1332         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1334         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1336         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1338         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1340 2013-02-26  Roland McGrath  <roland@hack.frob.com>
1342         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1343         [$(build-shared = yes].
1345 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1347         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1348         (__mul): Reduce iterations for calculating mantissa.
1350         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1351         MPTWO.
1352         (__mpranred): Likewise.
1354         [BZ #15160]
1355         * malloc/memusagestat.c (main): Draw graphs for heap and stack
1356         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1358 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
1360         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1361         Define __attribute__.
1363 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1365         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1366         unused.
1367         * posix/regex_internal.h (__attribute): Remove.
1368         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1369         (re_string_context_at): Likewise.
1370         (bitset_not): Use __attribute__ and mark function as possibly
1371         unused.
1372         (bitset_merge): Likewise.
1373         (bitset_mask): Likewise.
1374         (re_string_char_size_at): Likewise.
1375         (re_string_wchar_at): Likewise.
1376         (re_string_elem_size_at): Likewise.
1378 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1380         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1381         code.
1382         (cc32): Likewise.
1384         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1385         (__acr): Likewise.
1386         (__cpy): Likewise.
1387         (norm): Likewise.
1388         (denorm): Likewise.
1389         (__dbl_mp): Likewise.
1390         (add_magnitudes): Likewise.
1391         (sub_magnitudes): Likewise.
1392         (__mul): Likewise.
1393         (__inv): Likewise.
1395         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1396         style.
1398         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1399         style.
1401         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1402         code.
1404         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1405         up changes with default code.
1406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1407         Likewise.
1409 2013-02-24  Allan McRae  <allan@archlinux.org>
1411         * manual/socket.texi (The Internet Namespace): Order menu items
1412         to match that in the file.
1414         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1415         node listing of the info page menu.
1417 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
1419         [BZ #13550]
1420         * sysdeps/i386/bp-asm.h: Remove file.
1421         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1422         (PARMS): Do not use macros from bp-asm.h.
1423         (S1): Likewise.
1424         (S2): Likewise.
1425         (SIZE): Likewise.
1426         (__mpn_add_n): Do not use BP_SYM
1427         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1428         "bp-asm.h".
1429         (PARMS): Do not use macros from bp-asm.h.
1430         (S1): Likewise.
1431         (SIZE): Likewise.
1432         (__mpn_addmul_1): Do not use BP_SYM
1433         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1434         "bp-asm.h".
1435         (PARMS): Do not use macros from bp-asm.h.
1436         (SIGMSK): Likewise.
1437         (_setjmp): Likewise.  Do not use BP_SYM.
1438         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1439         "bp-asm.h".
1440         (PARMS): Do not use macros from bp-asm.h.
1441         (SIGMSK): Likewise.
1442         (setjmp): Likewise.  Do not use BP_SYM.
1443         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1444         "bp-asm.h".
1445         (PARMS): Do not use macros from bp-asm.h.
1446         (__frexp): Do not use BP_SYM.
1447         (frexp): Likewise.
1448         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1449         "bp-asm.h".
1450         (PARMS): Do not use macros from bp-asm.h.
1451         (__frexpf): Do not use BP_SYM.
1452         (frexpf): Likewise.
1453         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1454         "bp-asm.h".
1455         (PARMS): Do not use macros from bp-asm.h.
1456         (__frexpl): Do not use BP_SYM.
1457         (frexpl): Likewise.
1458         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1459         "bp-asm.h".
1460         (PARMS): Do not use macros from bp-asm.h.
1461         (__remquo): Do not use BP_SYM.
1462         (remquo): Likewise.
1463         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1464         "bp-asm.h".
1465         (PARMS): Do not use macros from bp-asm.h.
1466         (__remquof): Do not use BP_SYM.
1467         (remquof): Likewise.
1468         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1469         "bp-asm.h".
1470         (PARMS): Do not use macros from bp-asm.h.
1471         (__remquol): Do not use BP_SYM.
1472         (remquol): Likewise.
1473         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1474         "bp-asm.h".
1475         (PARMS): Do not use macros from bp-asm.h.
1476         (DEST): Likewise.
1477         (SRC): Likewise.
1478         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
1479         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1480         "bp-asm.h".
1481         (PARMS): Do not use macros from bp-asm.h.
1482         (strlen): Do not use BP_SYM.
1483         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1484         "bp-asm.h".
1485         (PARMS): Do not use macros from bp-asm.h.
1486         (S1): Likewise.
1487         (S2): Likewise.
1488         (SIZE): Likewise.
1489         (__mpn_add_n): Do not use BP_SYM.
1490         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1491         "bp-asm.h".
1492         (PARMS): Do not use macros from bp-asm.h.
1493         (S1): Likewise.
1494         (SIZE): Likewise.
1495         (__mpn_addmul_1): Do not use BP_SYM.
1496         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1497         weak_alias.
1498         (bzero): Likewise.
1499         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1500         "bp-asm.h".
1501         (PARMS): Do not use macros from bp-asm.h.
1502         (S): Likewise.
1503         (SIZE): Likewise.
1504         (__mpn_lshift): Do not use BP_SYM.
1505         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1506         "bp-asm.h".
1507         (PARMS): Do not use macros from bp-asm.h.
1508         (DEST): Likewise.
1509         (SRC): Likewise.
1510         (LEN): Likewise.
1511         (memcpy): Likewise.  Do not use BP_SYM.
1512         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1513         libc_hidden_def and weak_alias.
1514         (mempcpy): Do not use BP_SYM in weak_alias.
1515         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1516         "bp-asm.h".
1517         (PARMS): Do not use macros from bp-asm.h.
1518         (DEST): Likewise.
1519         (LEN): Likewise.
1520         [!BZERO_P] (CHR): Likewise.
1521         (memset): Likewise.  Do not use BP_SYM.
1522         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1523         "bp-asm.h".
1524         (PARMS): Do not use macros from bp-asm.h.
1525         (S1): Likewise.
1526         (SIZE): Likewise.
1527         (__mpn_mul_1): Do not use BP_SYM.
1528         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1529         "bp-asm.h".
1530         (PARMS): Do not use macros from bp-asm.h.
1531         (S): Likewise.
1532         (SIZE): Likewise.
1533         (__mpn_rshift): Do not use BP_SYM.
1534         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1535         "bp-asm.h".
1536         (PARMS): Do not use macros from bp-asm.h.
1537         (STR): Likewise.
1538         (CHR): Likewise.
1539         (strchr): Likewise.  Do not use BP_SYM.
1540         (index): Do not use BP_SYM in weak_alias.
1541         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1542         "bp-asm.h".
1543         (PARMS): Do not use macros from bp-asm.h.
1544         (DEST): Likewise.
1545         (SRC): Likewise.
1546         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
1547         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1548         "bp-asm.h".
1549         (PARMS): Do not use macros from bp-asm.h.
1550         (strlen): Do not use BP_SYM.
1551         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1552         "bp-asm.h".
1553         (PARMS): Do not use macros from bp-asm.h.
1554         (S1): Likewise.
1555         (S2): Likewise.
1556         (SIZE): Likewise.
1557         (__mpn_sub_n): Do not use BP_SYM.
1558         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1559         "bp-asm.h".
1560         (PARMS): Do not use macros from bp-asm.h.
1561         (S1): Likewise.
1562         (SIZE): Likewise.
1563         (__mpn_submul_1): Do not use BP_SYM.
1564         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1565         "bp-asm.h".
1566         (PARMS): Do not use macros from bp-asm.h.
1567         (S1): Likewise.
1568         (S2): Likewise.
1569         (SIZE): Likewise.
1570         (__mpn_add_n): Do not use BP_SYM.
1571         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1572         weak_alias.
1573         (bzero): Likewise.
1574         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1575         "bp-asm.h".
1576         (PARMS): Do not use macros from bp-asm.h.
1577         (BLK2): Likewise.
1578         (LEN): Likewise.
1579         (memcmp): Do not use BP_SYM.
1580         (bcmp): Do not use BP_SYM in weak_alias.
1581         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1582         "bp-asm.h".
1583         (PARMS): Do not use macros from bp-asm.h.
1584         (DEST): Likewise.
1585         (SRC): Likewise.
1586         (LEN): Likewise.
1587         (memcpy): Likewise.  Do not use BP_SYM.
1588         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1589         "bp-asm.h".
1590         (PARMS): Do not use macros from bp-asm.h.
1591         (DEST): Likewise.
1592         (SRC): Likewise.
1593         (LEN): Likewise.
1594         (memmove): Likewise.  Do not use BP_SYM.
1595         * sysdeps/i386/i686/mempcpy.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         (SRC): Likewise.
1600         (LEN): Likewise.
1601         (__mempcpy): Likewise.  Do not use BP_SYM.
1602         (mempcpy): Do not use BP_SYM in weak_alias.
1603         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1604         "bp-asm.h".
1605         (PARMS): Do not use macros from bp-asm.h.
1606         (DEST): Likewise.
1607         (LEN): Likewise.
1608         [!BZERO_P] (CHR): Likewise.
1609         (memset): Likewise.  Do not use BP_SYM.
1610         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1611         "bp-asm.h".
1612         (PARMS): Do not use macros from bp-asm.h.
1613         (STR2): Likewise.
1614         (strcmp): Do not use BP_SYM.
1615         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1616         "bp-asm.h".
1617         (PARMS): Do not use macros from bp-asm.h.
1618         (STR): Likewise.
1619         (DELIM): Likewise.
1620         [USE_AS_STRTOK_R] (SAVE): Likewise.
1621         (FUNCTION): Likewise.  Do not use BP_SYM.
1622         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1623         aliases.
1624         (strtok_r): Likewise.
1625         (__GI___strtok_r): Likewise.
1626         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1627         (PARMS): Do not use macros from bp-asm.h.
1628         (S): Likewise.
1629         (SIZE): Likewise.
1630         (__mpn_lshift): Do not use BP_SYM.
1631         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1632         (PARMS): Do not use macros from bp-asm.h.
1633         (STR): Likewise.
1634         (CHR): Likewise.
1635         (__memchr): Do not use BP_SYM.
1636         (memchr): Do not use BP_SYM in weak_alias.
1637         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1638         (PARMS): Do not use macros from bp-asm.h.
1639         (BLK2): Likewise.
1640         (LEN): Likewise.
1641         (memcmp): Do not use BP_SYM.
1642         (bcmp): Do not use BP_SYM in weak_alias.
1643         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1644         (PARMS): Do not use macros from bp-asm.h.
1645         (S1): Likewise.
1646         (SIZE): Likewise.
1647         (__mpn_mul_1): Do not use BP_SYM.
1648         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1649         "bp-asm.h".
1650         (PARMS): Do not use macros from bp-asm.h.
1651         (STR): Likewise.
1652         (CHR): Likewise.
1653         (__rawmemchr): Do not use BP_SYM.
1654         (rawmemchr): Do not use BP_SYM in weak_alias.
1655         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1656         (PARMS): Do not use macros from bp-asm.h.
1657         (S): Likewise.
1658         (SIZE): Likewise.
1659         (__mpn_rshift): Do not use BP_SYM.
1660         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1661         (PARMS): Do not use macros from bp-asm.h.
1662         (SIGMSK): Likewise.
1663         (__sigsetjmp): Likewise.  Do not use BP_SYM.
1664         * sysdeps/i386/start.S: Do not include "bp-sym.h".
1665         (_start): Do not use BP_SYM.
1666         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1667         (PARMS): Do not use macros from bp-asm.h.
1668         (DEST): Likewise.
1669         (SRC): Likewise.
1670         (__stpcpy): Likewise.  Do not use BP_SYM.
1671         (stpcpy): Do not use BP_SYM in weak_alias.
1672         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1673         "bp-asm.h".
1674         (PARMS): Do not use macros from bp-asm.h.
1675         (DEST): Likewise.
1676         (SRC): Likewise.
1677         (LEN): Likewise.
1678         (__stpncpy): Likewise.  Do not use BP_SYM.
1679         (stpncpy): Do not use BP_SYM in weak_alias.
1680         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1681         (PARMS): Do not use macros from bp-asm.h.
1682         (STR): Likewise.
1683         (CHR): Likewise.
1684         (strchr): Likewise.  Do not use BP_SYM.
1685         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1686         "bp-asm.h".
1687         (PARMS): Do not use macros from bp-asm.h.
1688         (STR): Likewise.
1689         (CHR): Likewise.
1690         (__strchrnul): Likewise.  Do not use BP_SYM.
1691         (strchrnul): Do not use BP_SYM in weak_alias.
1692         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1693         "bp-asm.h".
1694         (PARMS): Do not use macros from bp-asm.h.
1695         (STOP): Likewise.
1696         (strcspn): Do not use BP_SYM.
1697         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1698         "bp-asm.h".
1699         (PARMS): Do not use macros from bp-asm.h.
1700         (STR): Likewise.
1701         (STOP): Likewise.
1702         (strpbrk): Likewise.  Do not use BP_SYM.
1703         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1704         "bp-asm.h".
1705         (PARMS): Do not use macros from bp-asm.h.
1706         (STR): Likewise.
1707         (CHR): Likewise.
1708         (strrchr): Likewise.  Do not use BP_SYM.
1709         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1710         (PARMS): Do not use macros from bp-asm.h.
1711         (SKIP): Likewise.
1712         (strspn): Do not use BP_SYM.
1713         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1714         (PARMS): Do not use macros from bp-asm.h.
1715         (STR): Likewise.
1716         (DELIM): Likewise.
1717         (SAVE): Likewise.
1718         (FUNCTION): Likewise.  Do not use BP_SYM.
1719         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1720         aliases.
1721         (strtok_r): Likewise.
1722         (__GI___strtok_r): Likewise.
1723         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1724         (PARMS): Do not use macros from bp-asm.h.
1725         (S1): Likewise.
1726         (S2): Likewise.
1727         (SIZE): Likewise.
1728         (__mpn_sub_n): Do not use BP_SYM.
1729         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1730         "bp-asm.h".
1731         (PARMS): Do not use macros from bp-asm.h.
1732         (S1): Likewise.
1733         (SIZE): Likewise.
1734         (__mpn_submul_1): Do not use BP_SYM.
1735         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1736         <bp-sym.h>.
1737         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1738         and <bp-asm.h>.
1739         (PARMS): Do not use macros from bp-asm.h.
1740         (FLAGS): Likewise.
1741         (PTID): Likewise.
1742         (TLS): Likewise.
1743         (CTID): Likewise.
1744         (__clone): Do not use BP_SYM.
1745         (clone): Do not use BP_SYM in weak_alias.
1746         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1747         and <bp-asm.h>.
1748         (PARMS): Do not use macros from bp-asm.h.
1749         (LEN): Likewise.
1750         (__mmap64): Do not use BP_SYM.
1751         (mmap64): Do not use BP_SYM in weak_alias.
1752         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1753         <bp-sym.h> and <bp-asm.h>.
1754         (PARMS): Do not use macros from bp-asm.h.
1755         (__posix_fadvise64_l64): Do not use BP_SYM.
1756         * sysdeps/unix/sysv/linux/i386/semtimedop.S
1757         (PARMS): Do not use macros from bp-asm.h.
1758         (NSOPS): Likewise.
1759         (semtimedop): Do not use BP_SYM.
1760         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1761         and <bp-asm.h>.
1763 2013-02-21  Allan McRae  <allan@archlinux.org>
1765         * manual/message.texi (Charset conversion in gettext):
1766         Move @end statement to beginning of line.
1768 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1770         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1771         static.
1772         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1773         Likewise.
1775         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1776         (denorm): Likewise.
1777         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1780 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1782         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1783         tail-call to the resolved function if pltexit isn't needed.
1785 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1787         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1788         or Y being zero as being unlikely.
1789         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1790         Likewise.
1792 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
1794         * manual/nss.texi (System Databases and Name Service Switch):
1795         Remove frobnicate @pxref.
1797 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1799         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1800         __attribute__ ((unused)) to __attribute__ ((__unused__)).
1802 2013-02-20  Petr Machata  <pmachata@redhat.com>
1804         * elf/elf.h (R_ARM_TARGET1): New macro.
1805         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1806         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1807         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1808         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1809         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1810         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1811         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1812         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1813         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1814         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1815         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1816         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1817         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1818         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1819         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1820         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1821         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1822         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1823         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1824         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1825         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1826         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1827         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1828         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1829         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1830         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1831         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1832         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1833         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1834         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1835         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1836         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1837         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1838         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1839         (R_ARM_THM_GOT_BREL12): Likewise.
1840         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1841         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1842         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1843         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1844         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1845         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1846         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1847         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1848         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1850 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1852         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1853         __attribute_used__ to __attribute__ ((unused)).
1855 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1857         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1858         powerpc mpa.c.
1859         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1860         comment formatting.
1861         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1863 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
1865         [BZ #13550]
1866         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1867         Remove macro.
1868         (ENTER): Remove both macro definitions.
1869         (LEAVE): Likewise.
1870         (CHECK_BOUNDS_LOW): Likewise.
1871         (CHECK_BOUNDS_HIGH): Likewise.
1872         (CHECK_BOUNDS_BOTH): Likewise.
1873         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1874         (RETURN_BOUNDED_POINTER): Likewise.
1875         (RETURN_NULL_BOUNDED_POINTER): Likewise.
1876         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1877         (POP_ERRNO_LOCATION_RETURN): Likewise.
1878         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1879         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1880         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1881         macros.
1882         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1883         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1884         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1885         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1886         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1887         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1888         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1889         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1890         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1891         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1892         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1893         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1894         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1895         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1896         removed macros.
1897         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1898         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1899         macros.
1900         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1901         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1902         * sysdeps/i386/i586/memset.S (memset): Likewise.
1903         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1904         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1905         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1906         macros.
1907         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1908         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1909         Change uses of L(2) to L(out).
1910         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1911         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1912         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1913         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1914         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1915         removed macros.
1916         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1917         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1918         macros.
1919         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1920         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1921         (RETURN): Do not use macro LEAVE.
1922         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1923         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1924         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1925         * sysdeps/i386/i686/memset.S (memset): Likewise.
1926         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1927         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1928         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1929         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1930         Likewise.
1931         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1932         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
1933         L(1_2) and L(1_3) into L(1).
1934         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1935         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1936         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1937         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1938         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1939         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1940         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1941         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1942         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1943         macros.
1944         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1945         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1946         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1947         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1948         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1949         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1950         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1951         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1952         * sysdeps/i386/strcspn.S (strcspn): Likewise.
1953         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1954         * sysdeps/i386/strrchr.S (strrchr): Likewise.
1955         * sysdeps/i386/strspn.S (strspn): Likewise.
1956         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1957         conditional code.
1958         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1959         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1960         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1961         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
1962         L(1_3) into L(1_1).
1963         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1964         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1965         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1966         macros.
1967         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1969 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
1971         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1972         macro.
1974 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1976         * math/atest-exp.c (exp_mpn): Remove ROUND.
1977         * math/atest-exp2.c (exp_mpn): Likewise.
1978         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1980         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1981         * stdlib/tst-tls-atexit-lib.c: Likewise.
1982         * stdlib/tst-tls-atexit.c: Likewise.
1984 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1986         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1987         and __attribute_alloc_size__.
1989 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1991         * include/programs/xmalloc.h: Change __attribute_alloc_size to
1992         __attribute_alloc_size__.
1993         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1994         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1996 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1998         * include/programs/xmalloc.h: New file.
1999         * catgets/gencat.c: Include it.
2000         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2001         * elf/pldd.c: Likewise.
2002         * iconv/iconv_charmap.c: Likewise.
2003         * iconv/iconvconfig.c: Likewise.
2004         * iconv/strtab.c: Likewise.
2005         * locale/programs/locale.c: Likewise.
2006         * locale/programs/localedef.h: Likewise.
2007         * locale/programs/simple-hash.c: Likewise.
2008         * nscd/nscd.h: Likewise.
2009         * nss/makedb.c: Likewise.
2010         * sysdeps/generic/ldconfig.h: Likewise.
2012 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2014         * Versions.def: Add GLIBC_2.18.
2015         * include/link.h (struct link_map): New member l_tls_dtor_count.
2016         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2017         (__call_tls_dtors): Likewise.
2018         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2019         __cxa_thread_atexit_impl.
2020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2021         Likewise.
2022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2023         Likewise.
2024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2025         Likewise.
2026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2027         Likewise.
2028         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2030         Likewise.
2031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2032         Likewise.
2033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2035         Likewise.
2036         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2037         (tests): Add test case tst-tls-atexit.
2038         (modules-names): Add shared library for tst-tls-atexit.
2039         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2040         (GLIBC_PRIVATE): Add __call_tls_dtors.
2041         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2042         for libstdc++.
2043         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2044         * stdlib/tst-tls-atexit.c: New test case.
2045         * stdlib/tst-tls-atexit-lib.c: New test case.
2047         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2049         * elf/Versions (ld): Add _dl_find_dso_for_object.
2050         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2051         * elf/dl-open.c (_dl_find_dso_for_object): New function.
2052         (dl_open_worker): Use _dl_find_dso_for_object.
2053         * elf/dl-sym.c (do_sym): Likewise.
2054         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2056 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2058         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2059         Syntactic changes only.
2060         (_dl_runtime_profile): Do a tail-call to the resolved function.
2062 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
2064         [BZ #13550]
2065         * sysdeps/x86_64/bp-asm.h: Remove file.
2066         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2067         <bp-sym.h> and <bp-asm.h>.
2068         (__clone): Do not use BP_SYM.
2069         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2070         <bp-sym.h> and <bp-asm.h>.
2071         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2072         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2073         "bp-asm.h".
2074         (_setjmp): Do not use BP_SYM.
2075         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2076         "bp-asm.h".
2077         (setjmp): Do not use BP_SYM.
2078         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2079         libc_hidden_def.
2080         (mempcpy): Do not use BP_SYM in weak_alias.
2081         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2082         "bp-asm.h".
2083         (strchr): Do not use BP_SYM.
2084         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2085         "bp-asm.h".
2086         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2087         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2088         (_start): Do not use BP_SYM.
2089         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2090         "bp-asm.h".
2091         (strcat): Do not use BP_SYM.
2092         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2093         "bp-asm.h".
2094         (STRCMP): Do not use BP_SYM.
2095         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2096         "bp-asm.h".
2097         (STRCPY): Do not use BP_SYM.
2098         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2099         "bp-asm.h".
2100         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2101         "bp-asm.h".
2102         (FUNCTION): Do not use BP_SYM.
2103         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2104         weak_alias.
2105         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2107 2013-02-17  Andreas Jaeger  <aj@suse.de>
2109         * time/Versions: Sort entries.
2110         * string/Versions: Likewise.
2111         * resolv/Versions: Likewise.
2112         * posix/Versions: Likewise.
2113         * iconv/Versions: Likewise.
2114         * elf/Versions: Likewise.
2115         * wcsmbs/Versions: Likewise.
2117 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2119         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2120         loop termination condition.
2122         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2123         variable to calculate EZ.
2124         (__sqr): Likewise.
2126         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2127         the lower precision input.
2129 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
2131         [BZ #13550]
2132         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2133         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2134         (run-via-rtld-prefix): Do not handle %-bp tests.
2135         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2136         (all-object-suffixes): Remove .ob.
2137         (bppfx): Remove variable.
2138         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2139         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2140         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2141         [$(build-bounded) = yes] (libtype.ob): Likewise.
2142         * Makerules (elide-routines.ob): Remove variable.
2143         (do-tests-clean): Do not handle *-bp.out.
2144         (common-mostlyclean): Do not handle *-bp and *-bp.out.
2145         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2146         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2147         (tests): Do not include $(tests-bp.out).
2148         (xtests): Do not include $(xtests-bp.out).
2149         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2150         [$(build-bounded) = yes] ($(addprefix
2151         $(objpfx),$(binaries-bounded))): Remove rule.
2152         ($(objpfx)%-bp.out): Remove rule.
2153         * config.make.in (build-bounded): Remove variable.
2154         * crypt/Makefile [$(build-bounded) = yes]
2155         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2156         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2157         append to variable.
2158         [$(build-bounded) = yes] (install-lib): Likewise.
2159         [$(build-bounded) = yes] (generated): Likewise.
2160         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2161         Remove rule.
2162         * intl/Makefile [$(build-bounded) = yes]
2163         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2164         * math/Makefile [$(build-bounded) = yes]
2165         ($(tests:%=$(objpfx)%-bp): Likewise.
2166         * misc/Makefile [$(build-bounded) = yes]
2167         ($(objpfx)tst-tsearch-bp): Likewise.
2168         * nptl/Makeconfig (bounded-thread-library): Remove variable.
2169         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2170         Remove dependency.
2171         * string/Makefile (o-objects.ob): Remove variable.
2172         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2173         (CFLAGS-.ob): Remove variable.
2174         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2175         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2176         both definitions of variable.
2177         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2178         (ASFLAGS-.ob): Remove variable.
2180 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
2182         [BZ #13550]
2183         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2184         Remove __BOUNDED_POINTERS__ from condition.
2185         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2186         * string/bits/string2.h [!__NO_STRING_INLINES &&
2187         !__BOUNDED_POINTERS__]: Likewise.
2188         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2189         Likewise.
2190         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2191         Remove conditional code.
2192         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2193         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2194         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2195         condition.
2197         [BZ #13550]
2198         * csu/libc-start.c: Do not include <bp-sym.h>.
2199         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2200         * elf/dl-open.c: Do not include <bp-sym.h>.
2201         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2202         * math/fegetenv.c: Do not include <bp-sym.h>.
2203         (fegetenv): Do not use BP_SYM in versioned symbols.
2204         * nptl/sysdeps/pthread/bits/libc-lockP.h
2205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2206         <bp-sym.h>.
2207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2208         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2210         (__pthread_mutex_destroy): Likewise.
2211         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2212         (__pthread_mutex_lock): Likewise.
2213         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2214         (__pthread_mutex_trylock): Likewise.
2215         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2216         (__pthread_mutex_unlock): Likewise.
2217         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2218         (__pthread_mutexattr_init): Likewise.
2219         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2220         (__pthread_mutexattr_destroy): Likewise.
2221         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2222         (__pthread_mutexattr_settype): Likewise.
2223         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2224         (__pthread_rwlock_init): Likewise.
2225         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2226         (__pthread_rwlock_destroy): Likewise.
2227         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2228         (__pthread_rwlock_rdlock): Likewise.
2229         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2230         (__pthread_rwlock_tryrdlock): Likewise.
2231         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2232         (__pthread_rwlock_wrlock): Likewise.
2233         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2234         (__pthread_rwlock_trywrlock): Likewise.
2235         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2236         (__pthread_rwlock_unlock): Likewise.
2237         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2238         (__pthread_key_create): Likewise.
2239         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2240         (__pthread_setspecific): Likewise.
2241         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2242         (__pthread_getspecific): Likewise.
2243         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2244         Likewise.
2245         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2246         (_pthread_cleanup_push_defer): Likewise.
2247         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2248         (_pthread_cleanup_pop_restore): Likewise.
2249         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2250         (pthread_setcancelstate): Likewise.
2251         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2252         <bp-sym.h>.
2253         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2254         (memchr): Do not use BP_SYM in weak_alias.
2255         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2256         (fegetenv): Do not use BP_SYM in versioned symbols.
2257         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2258         (fesetenv): Do not use BP_SYM in versioned symbols.
2259         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2260         (feupdateenv): Do not use BP_SYM in versioned symbols.
2261         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2262         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2263         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2264         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2265         (open64): Do not use BP_SYM in weak_alias.
2266         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2267         (fegetenv): Do not use BP_SYM in versioned symbols.
2268         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2269         (fesetenv): Do not use BP_SYM in versioned symbols.
2270         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2271         (feupdateenv): Do not use BP_SYM in versioned symbols.
2272         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2273         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2274         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2275         (feraiseexcept): Do not use BP_SYM in versioned symbols.
2276         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2277         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2278         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2279         <bp-sym.h>.
2280         (__libc_start_main): Do not use BP_SYM.
2282 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2284         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2285         redundant return line.
2286         (norm): Likewise.
2287         (denorm): Likewise.
2288         (dbl_mp): Likewise.
2289         (sub_magnitudes): Likewise.
2290         (__add): Likewise.
2291         (__sub): Likewise.
2292         (__mul): Likewise.
2293         (__inv): Likewise.
2294         (__dvd): Likewise.
2295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2296         (norm): Likewise.
2297         (denorm): Likewise.
2298         (dbl_mp): Likewise.
2299         (sub_magnitudes): Likewise.
2300         (__add): Likewise.
2301         (__sub): Likewise.
2302         (__mul): Likewise.
2303         (__inv): Likewise.
2304         (__dvd): Likewise.
2306         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2307         instead of __mul.
2308         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2309         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2310         (cc32): Likewise.
2312         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2313         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2314         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2315         of __mul for squares.
2316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2317         function
2318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2319         Likewise.
2320         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2321         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2323 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
2325         [BZ #13550]
2326         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2327         code.
2328         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2329         prototype or function definition.  Rename ubp_* variables and
2330         parameters.  Remove argv definitions conditional on
2331         [__BOUNDED_POINTERS__].
2332         * debug/backtrace.c (__backtrace): Do not use __unbounded.
2333         * elf/dl-runtime.c (_dl_fixup): Likewise.
2334         * include/set-hooks.h (RUN_HOOK): Likewise.
2335         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2336         definition.
2337         * string/strcpy.c (strcpy): Do not use __unbounded.
2338         * sysdeps/generic/frame.h (struct layout): Likewise.
2339         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2340         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2341         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2342         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2343         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2344         (__backtrace): Likewise.
2345         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2346         use __ptrvalue.
2347         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2348         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2349         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2350         Likewise.
2351         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2352         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2353         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2354         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2355         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2356         Do not use __unbounded.
2357         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2358         Rename __unboundedrlimits parameter to rlimits in prototype.
2359         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2360         Do not use __unbounded.
2361         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2362         not use __ptrvalue.
2363         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2364         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2365         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2366         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2367         __ptrvalue or __unbounded.
2368         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2369         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2370         use __unbounded.
2371         (__new_msgctl): Do not use __ptrvalue.
2372         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2373         __unbounded.
2374         (__libc_msgrcv): Do not use __ptrvalue.
2375         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2376         startup_info): Do not use __unbounded.
2377         (__libc_start_main): Likewise.  Rename ubp_* variables and
2378         parameters.  Remove argv definitions conditional on
2379         [__BOUNDED_POINTERS__].
2380         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2381         __ptrvalue.
2382         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2383         use __unbounded.
2384         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2385         or __ptrvalue.
2386         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2387         use __unbounded.
2388         (__new_shmctl): Do not use __ptrvalue.
2389         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2390         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2391         Likewise.
2392         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2393         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2394         (__libc_sigaction): Likewise.
2395         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2396         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2397         Likewise.
2398         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2400 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
2402         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2404         * string/mempcpy.c: Implement by calling memcpy.
2406 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2408         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2410         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2411         evaluation.
2413         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2414         values in the mantissa.
2416         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2417         minimize writes to Z.
2418         (sub_magnitudes): Simplify code a bit.
2420 2013-02-12  Roland McGrath  <roland@hack.frob.com>
2422         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2423         from the message.  The linker prefixes all warnings with that already.
2425 2013-02-12  Andreas Schwab  <schwab@suse.de>
2427         [BZ #15078]
2428         * posix/regexec.c (extend_buffers): Add parameter min_len.
2429         (check_matching): Pass minimum needed length.
2430         (clean_state_log_if_needed): Likewise.
2431         (get_subexp): Likewise.
2432         * posix/Makefile (tests): Add bug-regex34.
2433         (bug-regex34-ENV): Define.
2434         * posix/bug-regex34.c: New file.
2436         [BZ #11561]
2437         * posix/regcomp.c (parse_bracket_exp): When looking up collating
2438         elements compare against the byte sequence of it, not its name.
2439         * posix/Makefile (tests): Add bug-regex35.
2440         (bug-regex35-ENV): Define.
2441         * posix/bug-regex35.c: New file.
2443 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2445         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
2446         comment.
2447         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2448         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2449         (CHECK_EOL): Add undef.
2451 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
2453         * bits/stdlib-bsearch.h: New file.
2454         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2455         * stdlib/stdlib.h: Likewise.
2457 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2459         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2460         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2461         declaration.
2462         * manual/search.texi (Array Search Function): Add missing const in
2463         lfind prototype.
2464         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2465         declaration to use rlim_t.
2466         (Basic Scheduling Functions): Remove erroneous const from
2467         sched_getparam prototype.  Remove erroneous * from
2468         sched_get_priority_max and sched_get_priority_min prototypes.
2469         (Resource Usage): Fix summary @comment on vtimes to refer to
2470         sys/vtimes.h rather than vtimes.h.
2471         Add missing *s in vtimes prototype.
2472         (Limits on Resources): Fix ulimit prototype to return long int.
2473         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2474         prototypes to use long int rather than double.
2475         (BSD Random): Fix initstate and setstate to use char *, not void *.
2476         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2477         prototype to make second argument 'struct aiocb64 *const[]'.
2478         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2479         (Status of AIO Operations): Remove erroneous const in aio_return and
2480         aio_return64 prototypes.
2481         (Synchronizing I/O): Fix sync prototype to return void.
2482         * manual/startup.texi (Suboptions): Remove an erroneous const in
2483         getsubopt prototype.
2484         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2485         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2486         use size_t rather than int.
2487         (Scanning All Users): Likewise for getpwent_r.
2488         (Setting Groups): Add missing const to setgroups prototype.
2489         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2490         * manual/socket.texi (Host Names): Fix gethostbyaddr and
2491         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2492         'const void *' rather than 'const char *'.
2493         (Host Address Functions): Likewise for inet_ntop.
2494         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2495         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2496         ssize_t for return value.
2497         (Sending Data): Likewise for send, sendto, sendmsg.
2498         (Socket Option Functions): Add a missing const in setsockopt prototype.
2499         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2500         use wchar_t for the argument.
2501         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2502         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2503         take no arguments.
2504         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2505         double/float/long double for second argument.
2506         Fix return types of significand, significandf, significandl.
2507         * manual/filesys.texi (Setting Permissions): Use mode_t for second
2508         argument in fchmod prototype.
2509         (File Owner): Use uid_t and gid_t in fchown prototype.
2510         (File Times): Add const to utimes, futimes, and lutimes prototypes.
2511         (Making Special Files): Use mode_t and dev_t in mknod prototype.
2512         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2513         use 'const struct dirent **' as argument types to CMP function pointer
2514         argument.
2515         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2516         (File Times): Fix summary magic @comment for struct utimbuf and utime
2517         to refer to utime.h, not time.h.
2518         * manual/string.texi (Argz Functions): Add missing const in
2519         argz_extract and argz_next prototypes.
2520         (Finding Tokens in a String): Likewise for basename.
2521         (String/Array Comparison): Fix typo in wcscasecmp prototype.
2522         (Copying and Concatenation): Fix typo in wmemmove prototype.
2523         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2524         (Signal Stack): Remove erroneous const in sigstack prototype.
2525         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2526         prototype.
2527         (Simple Calendar Time): Likewise for stime.
2528         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2529         prototype.
2530         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2531         say sys/sysctl.h instead.
2532         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2533         and vsyslog prototypes.
2535 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2537         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2538         Remove.
2540 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2542         * misc/sys/mman.h: Fix typo in mremap comment.
2544 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2546         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2547         the '\0' terminator.
2549 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2551         [BZ #13550]
2552         * debug/segfault.c: Don't include <bp-checks.h>.
2553         * sysdeps/generic/bp-checks.h: Remove file.
2554         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2555         (__GETDENTS): Don't use CHECK_N.
2556         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2557         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2558         (__getgroups): Don't use CHECK_N.
2559         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2560         (setgroups): Don't use CHECK_N.
2561         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2562         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2563         (__libc_msgrcv): Don't use CHECK_N.
2564         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2565         (__libc_msgsnd): Don't use CHECK_N.
2566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2567         <bp-checks.h>.
2568         (__libc_pread): Don't use CHECK_N.
2569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2570         include <bp-checks.h>.
2571         (__libc_pread64): Don't use CHECK_N.
2572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2573         include <bp-checks.h>.
2574         (__libc_pwrite): Don't use CHECK_N.
2575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2576         include <bp-checks.h>.
2577         (__libc_pwrite64): Don't use CHECK_N.
2578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2579         <bp-checks.h>.
2580         (__libc_pread): Don't use CHECK_N.
2581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2582         include <bp-checks.h>.
2583         (__libc_pread64): Don't use CHECK_N.
2584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2585         include <bp-checks.h>.
2586         (__libc_pwrite): Don't use CHECK_N.
2587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2588         include <bp-checks.h>.
2589         (__libc_pwrite64): Don't use CHECK_N.
2590         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2591         (do_pread): Don't use CHECK_N.
2592         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2593         (do_pread64): Don't use CHECK_N.
2594         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2595         (do_pwrite): Don't use CHECK_N.
2596         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2597         (do_pwrite64): Don't use CHECK_N.
2598         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2599         (__libc_readv): Don't use CHECK_N.
2600         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2601         (semop): Don't use CHECK_N.
2602         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2603         <bp-checks.h>.
2604         (semtimedop): Don't use CHECK_N.
2605         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2606         (__libc_pread): Don't use CHECK_N.
2607         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2608         <bp-checks.h>.
2609         (__libc_pread64): Don't use CHECK_N.
2610         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2611         <bp-checks.h>.
2612         (__libc_pwrite): Don't use CHECK_N.
2613         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2614         <bp-checks.h>.
2615         (__libc_pwrite64): Don't use CHECK_N.
2616         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2617         <bp-checks.h>.
2618         (__libc_msgrcv): Don't use CHECK_N.
2619         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2620         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
2621         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2622         (__libc_writev): Don't use CHECK_N.
2624 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2626         * string/strcpy.c: Removed unused variable.
2628         * Makeconfig (+sysdep-includes): Define with := rather than =.
2629         Use an existing include/ subdir of each sysdeps dir before it.
2631 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2633         * nscd/connection.c (register_traced_file): Comment function.
2634         [HAVE_INOTIFY] (union __inev): Define.
2635         [HAVE_INOTIFY] (inotify_check_files): New function.
2636         [HAVE_INOTIFY] (clear_db_cache): Likewise.
2637         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2638         clear_db_cache.
2639         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2641 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2643         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2644         loaded if not already and that a failure is permanent.
2646 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2648         [BZ #15006]
2649         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2650         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2652 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2654         [BZ #13550]
2655         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2656         (CHECK_1_NULL_OK): Likewise.
2657         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2658         (__fxstat): Do not use CHECK_1.
2659         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2660         <bp-checks.h>.
2661         (___fxstat64): Do not use CHECK_1.
2662         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2663         <bp-checks.h>.
2664         (__fxstatat): Do not use CHECK_1.
2665         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2666         <bp-checks.h>.
2667         (__fxstatat64): Do not use CHECK_1.
2668         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2669         <bp-checks.h>.
2670         (__fxstat): Do not use CHECK_1.
2671         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2672         <bp-checks.h>.
2673         (__fxstatat): Do not use CHECK_1.
2674         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2675         <bp-checks.h>.
2676         (__getresgid): Do not use CHECK_1.
2677         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2678         <bp-checks.h>.
2679         (__getresuid): Do not use CHECK_1.
2680         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2681         <bp-checks.h>.
2682         (__lxstat): Do not use CHECK_1.
2683         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2684         <bp-checks.h>.
2685         (__old_msgctl): Do not use CHECK_1.
2686         (__new_msgctl): Likewise.
2687         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2688         <bp-checks.h>.
2689         (__new_setrlimit): Do not use CHECK_1.
2690         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2691         <bp-checks.h>.
2692         (__old_shmctl): Do not use CHECK_1.
2693         (__new_shmctl): Likewise.
2694         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2695         <bp-checks.h>.
2696         (__xstat): Do not use CHECK_1.
2697         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2698         (__lxstat): Do not use CHECK_1.
2699         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2700         <bp-checks.h>.
2701         (___lxstat64): Do not use CHECK_1.
2702         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2703         (__old_msgctl): Do not use CHECK_1.
2704         (__new_msgctl): Likewise.
2705         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2706         <bp-checks.h>.
2707         (__gettimeofday): Do not use CHECK_1.
2708         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2709         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2710         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2711         <bp-checks.h>.
2712         (__gettimeofday): Do not use CHECK_1.
2713         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2714         (__old_shmctl): Do not use CHECK_1_NULL_OK.
2715         (__new_shmctl): Do not use CHECK_1.
2716         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2717         <bp-checks.h>.
2718         (do_sigtimedwait): Do not use CHECK_1.
2719         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2720         <bp-checks.h>.
2721         (do_sigwaitinfo): Do not use CHECK_1.
2722         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2723         <bp-checks.h>.
2724         (msgctl): Do not use CHECK_1.
2725         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2726         <bp-checks.h>.
2727         (shmctl): Do not use CHECK_1.
2728         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2729         (ustat): Do not use CHECK_1.
2730         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2731         <bp-checks.h>.
2732         (__fxstat): Do not use CHECK_1.
2733         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2734         <bp-checks.h>.
2735         (__fxstatat): Do not use CHECK_1.
2736         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2737         <bp-checks.h>.
2738         (__lxstat): Do not use CHECK_1.
2739         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2740         <bp-checks.h>.
2741         (__xstat): Do not use CHECK_1.
2742         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2743         (__xstat): Do not use CHECK_1.
2744         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2745         (___xstat64): Do not use CHECK_1.
2747         [BZ #13550]
2748         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2749         definitions.
2750         (CHECK_BOUNDS_HIGH): Likewise.
2751         * string/strcpy.c: Do not include <bp-checks.h>.
2752         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2754 2013-02-07  Roland McGrath  <roland@hack.frob.com>
2756         * nscd/nscd-client.h (__nscd_drop_map_ref):
2757         Add __attribute__ ((unused)).
2758         * nis/nss-nisplus.h (niserr2nss): Likewise.
2760         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2761         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2763         * csu/libc-tls.c (init_static_tls, init_slotinfo):
2764         Remove inline keyword.
2765         * include/rounding-mode.h (round_away): Likewise.
2766         * libio/wfileops.c (adjust_wide_data): Likewise.
2767         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2768         (__m128i_strloadu_tolower): Likewise.
2769         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2770         (__m128i_strloadu_tolower): Likewise.
2771         * time/mktime.c (ydhms_diff): Likewise.
2772         * locale/elem-hash.h (elem_hash): Likewise.
2773         * locale/setlocale.c (setdata): Likewise.
2774         * posix/regex_internal.h (re_string_char_size_at): Likewise.
2775         (re_string_wchar_at): Likewise.
2776         (bitset_not, bitset_merge, bitset_mask): Likewise.
2777         [!(__GNUC__ > 3)] (inline): Remove macro.
2778         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2779         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2780         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2781         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2782         * string/memcmp.c (memcmp_bytes): Likewise.
2783         * locale/programs/locarchive.c (compute_hashval): Likewise.
2784         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2785         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2786         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2787         * nss/getent.c (print_rpc, print_protocols): Likewise.
2788         (print_passwd, print_group, print_aliases): Likewise.
2789         * nis/nss-nisplus.h (niserr2nss): Likewise.
2790         * nscd/connections.c (restart_p): Likewise.
2791         Change return type to bool.
2793 2013-02-05  Roland McGrath  <roland@hack.frob.com>
2795         * Makeconfig (all-Depend-files): Add existing
2796         $(sorted-subdirs:=/Depend) files.
2797         (all-subdirs): Remove nss.
2798         * sysdeps/unix/inet/Subdirs: Add it here instead.
2799         * hesiod/Depend: New file.
2801         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2802         instead of calling alloca.
2804         * io/lseek.c (__lseek): Rename to __libc_lseek.
2805         Define __lseek as an alias.
2807         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2809 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
2811         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2812         else clause and remove check for non-standard endianness.
2814 2013-02-04  David S. Miller  <davem@davemloft.net>
2816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2818 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
2820         [BZ #13550]
2821         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2822         (__ubp_memchr): Remove prototype.
2823         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2824         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2825         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2826         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2827         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2828         Remove alias.
2829         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2830         (__ubp_memchr): Likewise.
2831         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2832         (__ubp_memchr): Likewise.
2833         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2834         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2835         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2836         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2837         CHECK_STRING.
2838         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2839         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2840         (__getcwd): Do not use CHECK_STRING.
2841         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2842         <bp-checks.h>.
2843         (__real_chown): Do not use CHECK_STRING.
2844         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2845         <bp-checks.h>.
2846         (fchownat): Do not use CHECK_STRING.
2847         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2848         CHECK_STRING.
2849         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2850         <bp-checks.h>.
2851         (__lchown): Do not use CHECK_STRING.
2852         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2853         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2854         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2855         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2857         include <bp-checks.h>.
2858         (truncate64): Do not use CHECK_STRING.
2859         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2860         <bp-checks.h>.
2861         (__real_chown): Do not use CHECK_STRING.
2862         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2863         <bp-checks.h>.
2864         (__lchown): Do not use CHECK_STRING.
2865         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2866         <bp-checks.h>.
2867         (__chown): Do not use CHECK_STRING.
2868         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2869         <bp-checks.h>.
2870         (truncate64): Do not use CHECK_STRING.
2871         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2872         Likewise.
2873         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2874         (__xmknod): Do not use CHECK_STRING.
2875         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2876         <bp-checks.h>.
2877         (__xmknodat): Do not use CHECK_STRING.
2878         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2879         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2881 2013-02-04  Andreas Schwab  <schwab@suse.de>
2883         [BZ #14142]
2884         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2885         * include/netdb.h: Likewise for h_errno.
2886         * elf/tst-stackguard1.c: Include <tls.h>.
2888 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2890         * elf/link.h (struct link_map): Extend the l_addr comment.
2891         * include/link.h (struct link_map): Likewise.
2893 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
2895         [BZ #13550]
2896         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2897         (BOUNDED_1): Remove macro.
2898         * debug/backtrace.c: Don't include <bp-checks.h>.
2899         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2900         (__backtrace): Likewise.
2901         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2902         <bp-checks.h>.
2903         (__backtrace): Don't use BOUNDED_1.
2904         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2905         <bp-checks.h>.
2906         (__backtrace): Don't use BOUNDED_1.
2907         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2908         (__backtrace): Don't use BOUNDED_1.
2909         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2910         (shmat): Don't use BOUNDED_N.
2912 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
2914         [BZ #13550]
2915         * sysdeps/generic/bp-start.h: Remove file.
2916         * csu/libc-start.c: Don't include <bp-start.h>.
2917         (LIBC_START_MAIN): Set up __environ directly instead of using
2918         INIT_ARGV_and_ENVIRON.
2919         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2920         <bp-start.h>.
2922         [BZ #13550]
2923         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2924         definitions.
2925         (CHECK_FCNTL): Likewise.
2926         (CHECK_N_PAGES): Likewise.
2928         [BZ #13550]
2929         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2930         definitions.
2931         (CHECK_SIGSET_NULL_OK): Likewise.
2932         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2933         <bp-checks.h>.
2934         (sigpending): Don't use CHECK_SIGSET.
2935         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2936         <bp-checks.h>.
2937         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2938         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2939         <bp-checks.h>.
2940         (do_sigsuspend): Don't use CHECK_SIGSET.
2941         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2942         use CHECK_SIGSET.
2943         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2944         (do_sigwait): Don't use CHECK_SIGSET.
2945         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2946         use CHECK_SIGSET.
2947         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2948         include <bp-checks.h>.
2949         (sigpending): Don't use CHECK_SIGSET.
2950         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2951         include <bp-checks.h>.
2952         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2953         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2954         <bp-checks.h>.
2955         (sigpending): Don't use CHECK_SIGSET.
2956         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2957         <bp-checks.h>.
2958         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2960         [BZ #13550]
2961         * sysdeps/generic/bp-semctl.h: Remove file.
2962         * sysdeps/unix/sysv/linux/i386/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/semctl.c: Don't include <bp-checks.h>
2967         and <bp-semctl.h>.
2968         (__old_semctl): Don't use CHECK_SEMCTL.
2969         (__new_semctl): Likewise.
2970         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2971         <bp-checks.h> and <bp-semctl.h>.
2972         (__old_semctl): Don't use CHECK_SEMCTL.
2973         (__new_semctl): Likewise.
2974         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2975         <bp-checks.h> and <bp-semctl.h>.
2976         (semctl): Don't use CHECK_SEMCTL.
2978         [BZ #13550]
2979         * Makerules (elide-bp-thunks): Remove variable.
2980         (elide-routines.oS): Don't use $(elide-bp-thunks).
2981         (elide-routines.os): Likewise.
2982         (elide-routines.o): Likewise.
2983         (elide-routines.op): Likewise.
2984         (elide-routines.og): Likewise.
2985         (objects): Don't use $(bp-thunks).
2986         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2987         include.
2988         (common-generated): Do not add s-proto-bp.d.
2989         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2990         (int): Likewise.
2991         (typ): Likewise.
2992         Do not generate makefile rules for bounded-pointer thunks.
2993         * sysdeps/generic/bp-thunks.h: Remove file.
2994         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2995         * sysdeps/unix/s-proto-bp.S: Likewise.
2997         [BZ #15062]
2998         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2999         parts of result separately when argument is not close to line from
3000         -i to i and one part of argument is small.
3001         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3002         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3003         * math/libm-test.inc (cacos_test): Add more tests.
3004         (casin_test): Likewise.
3005         (casinh_test): Likewise.
3006         * sysdeps/i386/fpu/libm-test-ulps: Update.
3007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3009 2013-01-31  David S. Miller  <davem@davemloft.net>
3011         * po/de.po: Update from translation team.
3013 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
3015         * time/tzfile.c: Include stdint.h for SIZE_MAX.
3017 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
3019         * configure.in (_AC_PROG_CC_C89): New definition.
3020         * configure: Regenerate.
3022         * configure.in (AC_PROG_CPP): New definition.
3023         * configure: Regenerate.
3025 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3027         * debug/tst-backtrace.h: New file.
3028         * debug/tst-backtrace2.c: Include tst-backtrace.h.
3029         (ret): Remove variable.
3030         (x): Likewise.
3031         (FAIL): Remove macro.
3032         (NO_INLINE): Likewise.
3033         (fn1): Use match function instead of strstr.
3034         * debug/tst-backtrace3.c: Include tst-backtrace.h.
3035         (ret): Remove variable.
3036         (x): Likewise.
3037         (FAIL): Remove macro.
3038         (NO_INLINE): Likewise.
3039         (fn): Use match function instead of strstr.
3040         * debug/tst-backtrace4.c: Include tst-backtrace.h.
3041         (ret): Remove variable.
3042         (x): Likewise.
3043         (FAIL): Remove macro.
3044         (NO_INLINE): Likewise.
3045         (handle_signal): Use match function instead of strstr.
3046         * debug/tst-backtrace5.c: Include tst-backtrace.h.
3047         (ret): Remove variable.
3048         (x): Likewise.
3049         (FAIL): Remove macro.
3050         (NO_INLINE): Likewise.
3051         (handle_signal): Use match function instead of strstr.
3053 2013-01-23  Roland McGrath  <roland@hack.frob.com>
3055         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3057 2013-01-23  David S. Miller  <davem@davemloft.net>
3059         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3060         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3061         argument of CAS if possible.
3062         * sysdeps/sparc/sparc64/bits/atomic.h
3063         (__arch_compare_and_exchange_val_32_acq): Likewise.
3064         (__arch_compare_and_exchange_val_64_acq): Likewise.
3066 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
3068         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3069         * sysdeps/posix/ulimit.c: ... this.
3070         Include <limits.h>.
3071         * sysdeps/unix/bsd/ulimit.c: Remove file.
3073 2013-01-23  Adam Conrad  <adconrad@0c3.net>
3075         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3076         (LDFLAGS-tst-array5): Likewise.
3078 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3080         [BZ #15036]
3081         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3082         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3083         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3084         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3086 2013-01-21  David S. Miller  <davem@davemloft.net>
3088         * sysdeps/sparc/backtrace.c: New file.
3089         * sysdeps/sparc/sparc32/backtrace.h: New file.
3090         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3091         * sysdeps/sparc/sparc64/backtrace.h: New file.
3092         * sysdeps/sparc/sparc64/backtrace.c: Delete.
3093         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3094         -funwind-tables.
3096 2013-01-21  Andreas Schwab  <schwab@suse.de>
3098         [BZ #15020]
3099         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3100         closed its stdout.
3102 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
3104         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3105         "mpa2.h".
3106         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3108 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
3109             Mark Mitchell  <mark@codesourcery.com>
3110             Tom de Vries  <tom@codesourcery.com>
3111             Paul Pluzhnikov  <ppluzhnikov@google.com>
3113         * debug/tst-backtrace2.c: New file.
3114         * debug/tst-backtrace3.c: Likewise.
3115         * debug/tst-backtrace4.c: Likewise.
3116         * debug/tst-backtrace5.c: Likewise.
3117         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3118         (CFLAGS-tst-backtrace3.c): Likewise.
3119         (CFLAGS-tst-backtrace4.c): Likewise.
3120         (CFLAGS-tst-backtrace5.c): Likewise.
3121         (LDFLAGS-tst-backtrace2): Likewise.
3122         (LDFLAGS-tst-backtrace3): Likewise.
3123         (LDFLAGS-tst-backtrace4): Likewise.
3124         (LDFLAGS-tst-backtrace5): Likewise.
3125         (tests): Add new tests tst-backtrace2, tst-backtrace3,
3126         tst-backtrace4 and tst-backtrace5.
3128 2013-01-18  Anton Blanchard  <anton@samba.org>
3129             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3131         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3132         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3133         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3134         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3136         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3137         "+r" and remove output regs list as redundant.  Add explicit inline
3138         asm to specify register of return val to work around compiler codegen
3139         bug.  Remove (int) cast on return value.  Add return type parameter to
3140         use in macro so that this macro does not truncate return value for
3141         64-bit values.
3142         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3143         pass to INTERNAL_VSYSCALL_NCS.
3144         (INLINE_VSYSCALL): Add 'long int' as return type to
3145         INTERNAL_VSYSCALL_NCS macro invocation.
3146         (INTERNAL_VSYSCALL): Add 'long int' as return type to
3147         INTERNAL_VSYSCALL_NCS macro invocation.
3148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3150 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3152         [BZ #14496]
3153         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3154         Fix application of SIMD FP exception mask.
3156         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3157         mp_no from a power of two.
3158         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3159         __mpexp_twomm1.  Use __pow_mp.
3161         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3162         multiplication.
3164 2013-01-17  David S. Miller  <davem@davemloft.net>
3166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3168 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3170         [BZ #15023]
3171         * include/complex.h: Condition contents on [!_COMPLEX_H].
3172         (__kernel_casinhf): New prototype.
3173         (__kernel_casinh): Likewise.
3174         (__kernel_casinhl): Likewise.
3175         * math/Makefile (libm_calls): Add k_casinh.
3176         * math/k_casinh.c: New file.
3177         * math/k_casinhf.c: Likewise.
3178         * math/k_casinhl.c: Likewise.
3179         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3180         finite nonzero arguments.
3181         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3182         finite nonzero arguments.
3183         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3184         finite nonzero arguments.
3185         * math/s_casinh.c: Do not include <float.h>.
3186         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3187         * math/s_casinhf.c: Do not include <float.h>.
3188         (__casinhf): Move code for finite nonzero arguments to
3189         k_casinhf.c.
3190         * math/s_casinhl.c: Do not include <float.h>.
3191         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3192         redefine.
3193         (__casinhl): Move code for finite nonzero arguments to
3194         k_casinhl.c.
3195         * math/libm-test.inc (cacos_test): Add more tests.
3196         * sysdeps/i386/fpu/libm-test-ulps: Update.
3197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3199 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
3201         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3202         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3203         [!HAVE_MREMAP]: Remove [defined linux] case.
3204         * malloc/arena.c: Do not include <malloc-sysdep.h>.
3206 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3208         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3210 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
3212         * elf/elf.h (R_386_SIZE32): New relocation.
3213         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3214         R_386_SIZE32.
3215         (elf_machine_rela): Likewise.
3216         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3217         R_X86_64_SIZE64 and R_X86_64_SIZE32.
3219 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3221         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3222         (FP_FAST_FMA): Do not define.
3223         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3224         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3225         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3226         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3227         !_SOFT_FLOAT]: Likewise.
3228         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3229         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3230         value.
3231         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3232         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3233         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3234         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3235         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3236         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3237         file.
3239 2013-01-16  Andreas Schwab  <schwab@suse.de>
3241         [BZ #14327]
3242         * include/stdlib.h (__mktemp): Add declaration.
3243         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3244         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3246 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3248         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3249         definitions.
3250         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3251         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3252         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3253         definitions here.
3254         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3255         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3256         definitions.
3257         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3258         and ONE.
3259         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3260         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3261         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3262         definitions.
3263         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3264         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3265         definitions.
3266         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3268         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3270 2013-01-15  David S. Miller  <davem@davemloft.net>
3272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3273         trunc{,f} to libm-sysdep_routes.
3274         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3276         file.
3277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3279         file.
3280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3281         file.
3282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3284         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3285         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3286         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3287         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3288         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3289         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3292         nearbyint{,f} to libm-sysdep_routes.
3293         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3295         New file.
3296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3297         file.
3298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3299         New file.
3300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3301         file.
3302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3304         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3305         file.
3306         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3307         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3308         file.
3309         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3310         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3311         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3313         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3314         libc_feholdexcept and libc_fesetenv.
3316 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
3318         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3320 2013-01-14  David S. Miller  <davem@davemloft.net>
3322         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3323         (SPARC_ASM_VIS2_IFUNC): Likewise.
3324         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3326         use of 'siam' instruction.
3327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3328         Likewise.
3329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3330         Likewise.
3331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3332         Likewise.
3333         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3334         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3335         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3336         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3338         file.
3339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3340         file.
3341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3342         file.
3343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3344         file.
3345         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3346         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3347         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3348         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3350         new VIS2 routines.
3351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3354         Likewise.
3355         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3356         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3357         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3358         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3360         routines to libm-sysdep_routines.
3361         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3364         fdim/fdimf to libm-sysdep_routines.
3365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3366         file.
3367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3369         file.
3370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3373         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3374         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3375         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3376         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3378 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3380         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3381         to optimize copies.
3383         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3384         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3385         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3387         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3388         local variable MPTWO.
3389         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3390         Likewise.
3392 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3394         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3395         GLOB_NOESCAPE.
3397 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3399         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3401 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3403         * manual/pattern.texi (glob_t): Document gl_flags.
3404         (glob64_t): Likewise.
3406 2013-01-11  David S. Miller  <davem@davemloft.net>
3408         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3409         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3410         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
3411         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3412         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3413         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3414         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3415         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3416         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3417         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3418         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3419         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3420         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3422         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3423         sparc V9 rather than using V8 code.
3424         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3425         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3427         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3428         Move to...
3429         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3430         Here.
3432 2013-01-11  Roland McGrath  <roland@hack.frob.com>
3434         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3435         not in the main loop.
3436         * configure: Regenerated.
3438 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
3440         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3441         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3442         to just #else.
3443         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
3444         [!__GLIBC_HAVE_LONG_LONG] case.
3445         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3446         condition to just #else.
3447         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3448         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3449         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3450         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3451         unconditional.
3452         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3453         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3454         #elif condition to just #else.
3455         * sysdeps/unix/sysv/linux/sys/sysmacros.h
3456         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3457         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3458         #elif condition to just #else.
3460 2013-01-11  Steve Ellcey  <sellcey@mips.com>
3462         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3463         (EF_MIPS_ARCH_64): Fix value.
3464         (EF_MIPS_ARCH_32R2): New.
3465         (EF_MIPS_ARCH_64R2): New.
3467 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
3469         * Makeconfig (+link-pie-before-libc): New.
3470         (+link-pie-after-libc): Likewise.
3471         (+link-pie-tests): Likewise.
3472         (+link-pie): Rewritten.
3473         (link-before-libc): Remove $(config-LDFLAGS).
3474         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3475         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3476         (config-LDFLAGS): Renamed to ...
3477         (rtld-LDFLAGS): This.
3478         (rtld-tests-LDFLAGS): New macro.
3479         (link-libc-rpath-link): Likewise.
3480         (link-libc-tests-rpath-link): Likewise.
3481         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3482         (link-libc): Prepand $(link-libc-rpath-link).
3483         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3484         (test-program-prefix): New macro.
3485         (test-via-rtld-prefix): Likewise.
3486         (test-program-cmd): Likewise.
3487         (host-test-program-cmd): Likewise.
3488         * Makefile ($(common-objpfx)testrun.sh): Replace
3489         $(run-program-prefix) with $(test-program-prefix).
3490         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3491         $(rtld-LDFLAGS).
3492         ($(common-objpfx)shlib.lds): Likewise.
3493         (build-module-helper): Likewise.
3494         ($(common-objpfx)format.lds): Likewise.
3495         * Rules (binaries-pie-tests): New.
3496         (binaries-pie-notests): Likewise.
3497         (binaries-pie): Rewritten.
3498         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3499         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3500         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3501         (make-test-out): Replace $(host-built-program-cmd) with
3502         $(host-test-program-cmd).
3503         * config.make.in (build-hardcoded-path-in-tests): New variable.
3504         * configure.in (--enable-hardcoded-path-in-tests): New configure
3505         option.
3506         (hardcoded_path_in_tests): New AC_SUBST.
3507         * configure: Regenerated.
3508         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3509         $(built-program-cmd) with $(test-program-cmd).
3510         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3511         (test_program_cmd): This.
3512         * elf/Makefile ($(objpfx)order.out): Run test with
3513         $(test-program-prefix).
3514         ($(objpfx)order2.out): Likewise.
3515         ($(objpfx)tst-initorder.out): Likewise.
3516         ($(objpfx)tst-initorder2.out): Likewise.
3517         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3518         $(test-program-cmd).
3519         ($(objpfx)tst-array1-static.out): Likewise.
3520         ($(objpfx)tst-array2.out): Likewise.
3521         ($(objpfx)tst-array3.out): Likewise.
3522         ($(objpfx)tst-array4.out): Likewise.
3523         ($(objpfx)tst-array5.out): Likewise.
3524         ($(objpfx)tst-array5-static.out): Likewise.
3525         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3526         $(test-program-cmd).
3527         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3528         $(run-program-prefix) with $(test-program-prefix).
3529         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3530         (test_program_prefix): This.
3531         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3532         $(run-program-prefix) with $(test-program-prefix).
3533         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3534         (test_program_prefix): This.
3535         * iconvdata/tst-tables.sh: Likewise.
3536         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3537         $(run-program-prefix) with $(test-program-prefix).
3538         ($(objpfx)tst-translit.out): Likewise.
3539         ($(objpfx)tst-gettext2.out): Likewise.
3540         ($(objpfx)tst-gettext4.out): Likewise.
3541         ($(objpfx)tst-gettext6.out): Likewise.
3542         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3543         (test_program_prefix): This.
3544         * intl/tst-gettext2.sh: Likewise.
3545         * intl/tst-gettext4.sh  Likewise.
3546         * intl/tst-gettext6.sh: Likewise.
3547         * intl/tst-translit.sh: Likewise.
3548         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3549         with $(test-program-cmd).
3550         * libio/Makefile ($(objpfx)test-freopen.out): Replace
3551         $(run-program-prefix) with $(test-program-prefix).
3552         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3553         (test_program_prefix): This.
3554         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3555         $(run-program-prefix) with $(test-program-prefix).
3556         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3557         (test_program_prefix): This.
3558         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3559         * posix/Makefile ($(objpfx)globtest.out): Replace
3560         $(run-via-rtld-prefix) and $(test-wrapper) with
3561         $(test-program-prefix) and $(test-via-rtld-prefix).
3562         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3563         $(test-program-prefix).
3564         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3565         $(host-test-program-cmd).
3566         (tst-spawn-ARGS): Likewise.
3567         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3568         $(test-program-prefix).
3569         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3570         (test_via_rtld_prefix): This.
3571         (test_wrapper): Renamed to ...
3572         (test_program_prefix): This.
3573         (run_program_prefix): Replaced by test_program_prefix.
3574         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3575         (test_program_prefix): This.
3576         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3577         with $(host-test-program-cmd).
3578         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3579         $(run-program-prefix) with $(test-program-prefix).
3580         ($(objpfx)tst-printf.out): Likewise.
3581         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3582         $(test-program-cmd).
3583         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3584         (test_program_prefix): This.
3585         * stdio-common/tst-unbputc.sh: Likewise.
3586         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3587         $(run-program-prefix) with $(test-program-prefix).
3588         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3589         (test_program_prefix): This.
3590         * string/Makefile ($(objpfx)tst-svc.out):  Replace
3591         $(built-program-cmd) with $(test-program-cmd).
3593 2013-01-11  Andreas Jaeger  <aj@suse.de>
3595         [BZ #15003]
3596         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3597         value. Sync with Linux 3.7.
3599 2013-01-10  David S. Miller  <davem@davemloft.net>
3601         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3602         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3603         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3605 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3607         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3608         never set.
3609         * configure: Regenerated.
3611 2013-01-10  David S. Miller  <davem@davemloft.net>
3613         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3614         sparc V9 rather than using V8 code.
3615         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3616         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3618 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3620         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3621         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3622         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3623         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3624         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3625         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3626         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3627         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3628         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3629         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3630         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3631         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3632         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3633         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3634         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3635         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3636         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3637         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3638         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3639         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3640         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3641         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3642         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3643         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3644         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3645         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3646         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3648 2013-01-10  David S. Miller  <davem@davemloft.net>
3650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3652 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3654         * posix/Makefile (tests-static): New variable.
3655         (tests): Add $(tests-static).
3656         (tst-exec-static-ARGS): New variable.
3657         (tst-spawn-static-ARGS): Likewise.
3658         * posix/tst-exec-static.c: New file.
3659         * posix/tst-spawn-static.c: Likewise.
3660         * posix/tst-exec.c: Support run directly.
3661         * posix/tst-spawn.c: Likewise.
3663 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
3665         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3666         long.
3667         * math/bits/mathcalls.h (llrint): Likewise.
3668         (llround): Likewise.
3669         * stdlib/stdlib.h (struct drand48_data): Likewise.
3670         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3671         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3672         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3673         Likewise.
3674         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3675         Likewise.
3676         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3677         (elf_greg_t): Likewise.
3678         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3679         (__jmp_buf): Likewise.
3680         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3681         definitions.
3682         (llrint): Likewise, for all definitions.
3683         (llrintl): Likewise.
3685         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3686         Remove [__GNUC__] condition.
3687         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3688         condition to just [__USE_ISOC99].
3689         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3691 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3693         [BZ #14200]
3694         * sysdeps/unix/sysv/linux/x86/bits/environments.h
3695         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3696         defined.
3697         (_POSIX_V6_ILP32_OFF32): Likewise.
3698         (_XBS5_ILP32_OFF32): Likewise.
3699         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3700         (__ILP32_OFFBIG_LDFLAGS): Likewise.
3702 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3704         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3706         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3707         doubles __mpexp_twomm1.  Adjust usage.
3708         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3709         Remove.
3711 2013-01-10  Andreas Schwab  <schwab@suse.de>
3713         [BZ #14964]
3714         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3715         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3717 2013-01-09  David S. Miller  <davem@davemloft.net>
3719         [BZ #15003]
3720         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3721         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3722         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3723         TCP_FASTOPEN): Define.
3724         (tcp_repair_opt): New structure.
3725         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3726         enum values.
3727         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3728         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3729         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3730         (tcp_cookie_transactions): New structure.
3732 2013-01-09  Anton Blanchard  <anton@samba.org>
3734         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3735         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3736         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3737         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3739 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
3741         * include/features.h (__USE_ANSI): Remove.
3743 2013-01-09  Roland McGrath  <roland@hack.frob.com>
3745         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3747         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3749 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3751         * sysdeps/s390/fpu/libm-test-ulps: Update.
3753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3755         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3756         (__acr): Likewise.
3757         (__cpy): Likewise.
3758         (norm): Likewise.
3759         (denorm): Likewise.
3760         (__mp_dbl): Likewise.
3761         (__dbl_mp): Likewise.
3762         (add_magnitudes): Likewise.
3763         (sub_magnitudes): Likewise.
3764         (__add): Likewise.
3765         (__sub): Likewise.
3766         (__mul): Likewise.
3767         (__inv): Likewise.
3768         (__dvd): Likewise.
3769         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3770         (__acr): Likewise.
3771         (__cpy): Likewise.
3772         (norm): Likewise.
3773         (denorm): Likewise.
3774         (__mp_dbl): Likewise.
3775         (__dbl_mp): Likewise.
3776         (add_magnitudes): Likewise.
3777         (sub_magnitudes): Likewise.
3778         (__add): Likewise.
3779         (__sub): Likewise.
3780         (__mul): Likewise.
3781         (__inv): Likewise.
3782         (__dvd): Likewise.
3783         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3784         (__acr): Likewise.
3785         (__cpy): Likewise.
3786         (norm): Likewise.
3787         (denorm): Likewise.
3788         (__mp_dbl): Likewise.
3789         (__dbl_mp): Likewise.
3790         (add_magnitudes): Likewise.
3791         (sub_magnitudes): Likewise.
3792         (__add): Likewise.
3793         (__sub): Likewise.
3794         (__mul): Likewise.
3795         (__inv): Likewise.
3796         (__dvd): Likewise.
3798 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
3800         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3801         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3802         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3803         2 && __USE_EXTERN_INLINES]: Likewise.
3805 2013-01-08  Andreas Jaeger  <aj@suse.de>
3807         [BZ# 14985]
3808         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3809         Remove.
3810         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3811         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3813 2013-01-07  Anton Blanchard  <anton@samba.org>
3815         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3816         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3817         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3818         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3819         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3820         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3821         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3822         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3823         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3824         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3825         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3826         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3827         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3828         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3829         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3830         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3831         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3832         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3833         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3834         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3835         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3836         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3837         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3838         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3839         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3840         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3841         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3842         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3843         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3844         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3845         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3847         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3848         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3849         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3850         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3851         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3852         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3853         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3854         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3855         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3856         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3857         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3859 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
3861         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3862         (__MALLOC_PMT): Likewise.
3863         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3864         [__GNUC__], only on [_LIBC].
3865         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3866         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3867         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3868         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3869         forward declaration.
3870         (realloc_hook_ini): Likewise.
3871         (memalign_hook_ini): Likewise.
3872         (__libc_memalign): Do not use __MALLOC_PMT in variable
3873         declaration.
3874         (__libc_valloc): Likewise.
3875         (__libc_pvalloc): Likewise.
3876         (__libc_calloc): Likewise.
3877         (__posix_memalign): Likewise.
3879         [BZ #14996]
3880         * math/s_casinh.c: Include <float.h>.
3881         (__casinh): Do not do computation with squaring and square root
3882         for large arguments.
3883         * math/s_casinhf.c: Include <float.h>.
3884         (__casinhf): Do not do computation with squaring and square root
3885         for large arguments.
3886         * math/s_casinhl.c: Include <float.h>.
3887         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3888         (__casinhl): Do not do computation with squaring and square root
3889         for large arguments.
3890         * math/libm-test.inc (casin_test): Add more tests.
3891         (casinh_test): Likewise.
3892         * sysdeps/i386/fpu/libm-test-ulps: Update.
3893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3895 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
3897         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3898         (__x86_64_raw_data_cache_size): Likewise.
3899         (__x86_64_data_cache_size_half): Likewise.
3900         (__x86_64_raw_data_cache_size_half): Likewise.
3901         (__x86_64_shared_cache_size): Likewise.
3902         (__x86_64_raw_shared_cache_size): Likewise.
3903         (__x86_64_shared_cache_size_half): Likewise.
3904         (__x86_64_raw_shared_cache_size_half): Likewise.
3905         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3906         to ...
3907         (__x86_data_cache_size): This.
3908         (__x86_64_raw_data_cache_size): Renamed to ...
3909         (__x86_raw_data_cache_size): This.
3910         (__x86_64_data_cache_size_half): Renamed to ...
3911         (__x86_data_cache_size_half): This.
3912         (__x86_64_raw_data_cache_size_half): Renamed to ...
3913         (__x86_raw_data_cache_size_half): This.
3914         (__x86_64_shared_cache_size): Renamed to ...
3915         (__x86_shared_cache_size): This.
3916         (__x86_64_raw_shared_cache_size): Renamed to ...
3917         (__x86_raw_shared_cache_size): This.
3918         (__x86_64_shared_cache_size_half): Renamed to ...
3919         (__x86_shared_cache_size_half): This.
3920         (__x86_64_raw_shared_cache_size_half): Renamed to ...
3921         (__x86_raw_shared_cache_size_half): This.
3922         * sysdeps/x86_64/memcpy.S: Updated.
3923         * sysdeps/x86_64/memset.S: Likewise.
3924         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3925         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3926         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3928 2013-01-04  David S. Miller  <davem@davemloft.net>
3930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3932 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
3934         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3935         1 to avoid redefinition warning.
3936         (__USE_GNU): Don't define.
3937         (init_signaling_nan): Protoize.
3939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3941 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3943         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3944         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3945         (__cpymn): Likewise.
3946         (norm): Remove commented code.
3947         (denorm): Likewise.
3948         (__mp_dbl): Likewise.
3949         (__inv): Likewise.
3950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3951         (__cpymn): Likewise.
3952         (norm): Remove commented code.
3953         (denorm): Likewise.
3954         (__mp_dbl): Likewise.
3955         (__inv): Likewise.
3957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3958         mp_no value for 1.0 and 2.0.
3959         (norm): Use RADIXI instead of radixi.d.
3960         (denorm): Likewise.
3961         (__mul): Use 0.0 instead of zero.d.
3962         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3963         mp_no value for 1.0 and 2.0.
3964         (norm): Use RADIXI instead of radixi.d.
3965         (denorm): Likewise.
3966         (__mul): Use 0.0 instead of zero.d.
3968 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
3970         [BZ #14994]
3971         * math/s_casinh.c (__casinh): Reduce finite argument to first
3972         quadrant then set signs of results at the end.
3973         * math/s_casinhf.c (__casinhf): Likewise.
3974         * math/s_casinhl.c (__casinhl): Likewise.
3975         * math/libm-test.inc (casin_test): Add more tests.
3976         (casinh_test): Likewise.
3977         * sysdeps/i386/fpu/libm-test-ulps: Update.
3978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3980 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3982         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3984         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3986         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3987         declarations.
3988         (denorm): Likewise.
3989         (__mp_dbl): Likewise.
3990         (__inv): Likewise.
3992         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3993         and adjust the header comment.
3995         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3996         variable name from declaration.
3998 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
4000         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4001         Initialize COMMON_CPUID_INDEX_7 element.
4002         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4003         (CPUID_RTM): Likewise.
4004         (HAS_RTM): Likewise.
4005         (COMMON_CPUID_INDEX_7): New enum.
4007 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
4009         [BZ #14981]
4010         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4011         size is zero, record memory as freed.
4013 2013-01-03  Andreas Jaeger  <aj@suse.de>
4015         * po/ia.po: Add new Interlingua translation.
4017 2012-01-03  Allan McRae  <allan@archlinux.org>
4019         * locale/programs/localedef.c: Fix description of '--posix' flag.
4021 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
4023         * NEWS: Update dates in second copyright notice.
4024         * README: Update copyright dates in example.
4025         * manual/libc.texinfo: Update copyright dates.
4026         * scripts/test-installation.pl: Update copyright date in --version
4027         output.
4029         * hurd/ctty-input.c: Fix copyright notice formatting.
4030         * hurd/ctty-output.c: Likewise.
4031         * hurd/dtable.c: Likewise.
4032         * hurd/hurd-raise.c: Likewise.
4033         * hurd/hurdprio.c: Likewise.
4034         * hurd/msgportdemux.c: Likewise.
4035         * misc/sys/file.h: Likewise.
4036         * misc/sys/ioctl.h: Likewise.
4037         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4038         * sysdeps/mach/hurd/chdir.c: Likewise.
4039         * sysdeps/mach/hurd/fchdir.c: Likewise.
4040         * sysdeps/mach/hurd/rename.c: Likewise.
4041         * sysdeps/mach/hurd/rmdir.c: Likewise.
4042         * sysdeps/mach/hurd/seekdir.c: Likewise.
4043         * sysdeps/mach/hurd/setsid.c: Likewise.
4044         * sysdeps/posix/wait3.c: Likewise.
4046         * All files with FSF copyright notices: Update copyright dates
4047         using scripts/update-copyrights.
4048         * intl/plural.c: Regenerated.
4049         * locale/programs/charmap-kw.h: Likewise.
4050         * locale/programs/locfile-kw.h: Likewise.
4052 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4054         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4055         four values.
4057         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4058         calculation loop and add branch prediction.
4060         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4061         check access beyond bounds of m1np.
4063         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4064         MPTWO.
4065         (__inv): Remove local variable MPTWO to use the global
4066         constant.
4067         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4068         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4069         variable MPTWO.
4070         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4071         MP3HALFS static const.
4073 2013-01-01  David S. Miller  <davem@davemloft.net>
4075         * po/ca.po: Update from translation team.
4077 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
4079         * scripts/update-copyrights: New file.
4080         * Makeconfig: Reformat copyright notice.
4081         * ctype/ctype.h: Likewise.
4082         * debug/swprintf_chk.c: Likewise.
4083         * elf/dl-cache.c: Likewise.
4084         * elf/dl-debug.c: Likewise.
4085         * elf/dl-object.c: Likewise.
4086         * grp/initgroups.c: Likewise.
4087         * hurd/Makefile: Likewise.
4088         * hurd/hurd/signal.h: Likewise.
4089         * hurd/hurdfault.c: Likewise.
4090         * hurd/hurdioctl.c: Likewise.
4091         * hurd/hurdlookup.c: Likewise.
4092         * hurd/intr-msg.c: Likewise.
4093         * iconv/gconv_open.c: Likewise.
4094         * libio/swprintf.c: Likewise.
4095         * locale/lc-ctype.c: Likewise.
4096         * locale/nl_langinfo.c: Likewise.
4097         * mach/Machrules: Likewise.
4098         * mach/Makefile: Likewise.
4099         * malloc/obstack.h: Likewise.
4100         * manual/Makefile: Likewise.
4101         * manual/tsort.awk: Likewise.
4102         * misc/bits/stab.def: Likewise.
4103         * nis/nis_print_group_entry.c: Likewise.
4104         * nis/nis_table.c: Likewise.
4105         * nis/nss_compat/compat-pwd.c: Likewise.
4106         * nis/nss_compat/compat-spwd.c: Likewise.
4107         * po/Makefile: Likewise.
4108         * posix/fnmatch.c: Likewise.
4109         * posix/regex.h: Likewise.
4110         * resolv/Makefile: Likewise.
4111         * resolv/nss_dns/dns-network.c: Likewise.
4112         * resolv/res_hconf.c: Likewise.
4113         * scripts/gen-sorted.awk: Likewise.
4114         * soft-fp/soft-fp.h: Likewise.
4115         * stdio-common/printf.h: Likewise.
4116         * stdlib/monetary.h: Likewise.
4117         * stdlib/random.c: Likewise.
4118         * stdlib/random_r.c: Likewise.
4119         * sysdeps/generic/Makefile: Likewise.
4120         * sysdeps/gnu/Makefile: Likewise.
4121         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4122         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4123         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4124         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4125         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4126         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4127         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4128         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4129         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4130         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4131         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4132         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4133         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4134         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4135         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4136         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4137         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4138         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4139         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4140         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4141         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4142         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4143         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4144         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4145         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4146         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4147         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4148         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4149         * sysdeps/mach/hurd/errnos.awk: Likewise.
4150         * sysdeps/mach/hurd/fork.c: Likewise.
4151         * sysdeps/mach/hurd/getcwd.c: Likewise.
4152         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4153         * sysdeps/mach/hurd/mmap.c: Likewise.
4154         * sysdeps/mach/hurd/utimes.c: Likewise.
4155         * sysdeps/mach/hurd/xmknod.c: Likewise.
4156         * sysdeps/posix/profil.c: Likewise.
4157         * sysdeps/posix/readdir_r.c: Likewise.
4158         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4159         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4160         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4161         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4163         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4164         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4165         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4166         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4167         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4168         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4169         * sysdeps/pthread/lio_listio.c: Likewise.
4170         * sysdeps/sparc/dl-procinfo.h: Likewise.
4171         * sysdeps/unix/i386/sysdep.S: Likewise.
4172         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4173         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4174         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4175         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4177         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4178         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4179         * sysdeps/unix/sysv/linux/speed.c: Likewise.
4180         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4181         * sysdeps/wordsize-32/divdi3.c: Likewise.
4182         * time/sys/time.h: Likewise.
4183         * wcsmbs/Makefile: Likewise.
4185 2013-01-01  David S. Miller  <davem@davemloft.net>
4187         * po/fr.po: Update from translation team.
4189         * catgets/gencat.c: Update copyright year.
4190         * csu/version.c: Likewise.
4191         * debug/catchsegv.sh: Likewise.
4192         * debug/pcprofiledump.c: Likewise.
4193         * debug/xtrace.sh: Likewise.
4194         * elf/ldconfig.c: Likewise.
4195         * elf/ldd.bash.in: Likewise.
4196         * elf/pldd.c: Likewise.
4197         * elf/sotruss.ksh: Likewise.
4198         * elf/sprof.c: Likewise.
4199         * iconv/iconv_prog.c: Likewise.
4200         * iconv/iconvconfig.c: Likewise.
4201         * locale/programs/locale.c: Likewise.
4202         * locale/programs/localedef.c: Likewise.
4203         * login/programs/pt_chown.c: Likewise.
4204         * malloc/memusage.sh: Likewise.
4205         * malloc/memusagestat.c: Likewise.
4206         * malloc/mtrace.pl: Likewise.
4207         * nscd/nscd.c: Likewise.
4208         * nss/getent.c: Likewise.
4209         * nss/makedb.c: Likewise.
4210         * posix/getconf.c: Likewise.
4212 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4214         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4215         numbers.
4217 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
4219         * math/bits/mathcalls.h (modf): Use __nonnull.
4221 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4223         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4224         (split): Use macro CN instead of the bare value.
4225         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4226         could be used.
4227         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4228         instead of the bare value.
4229         (power1): Likewise.
4231 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4233         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4234         __ATAN_TWOM.
4235         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4237         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4238         their values.
4239         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4240         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4241         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4242         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4244 2012-12-28  Andreas Jaeger  <aj@suse.de>
4246         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
4247         values are from Linux 3.7.
4249         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4250         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
4252 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4254         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4255         TRUE case.
4257         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4258         (norm): Likewise.
4259         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4260         variables with preprocessor constants.
4261         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4262         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4263         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4265 2012-12-27  Bruno Haible  <bruno@clisp.org>
4267         [BZ #14317]
4268         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4269         only if needed.
4271 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4273         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4274         and use variable directly.
4275         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4277         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4278         MPONE.
4279         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4280         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4281         variable MPONE.
4282         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4283         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4284         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4285         include directive.  Remove local variable MPONE.
4286         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4287         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4288         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4290 2012-12-25  David S. Miller  <davem@davemloft.net>
4292         * version.h (RELEASE): Set to "development".
4293         (VERSION): Set to "2.17.90".
4294         * NEWS: Add 2.18 section.
4296 2012-12-21  David S. Miller  <davem@davemloft.net>
4298         * po/hr.po: Update from translation team.
4300 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4302         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4304 2012-12-19  Steve Ellcey  <sellcey@mips.com>
4306         * NEWS:  Mention new memcpy for MIPS.
4308 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4310         * manual/contrib.texi (Contributors): Spelling correction.
4312 2012-12-15  David S. Miller  <davem@davemloft.net>
4314         * po/ru.po: Update from translation team.
4316 2012-12-13  David S. Miller  <davem@davemloft.net>
4318         * NEWS: Mention IFUNC testsuite enhancements.
4320         * po/pl.po: Update from translation team.
4321         * po/bg.po: Likewise.
4323         * manual/contrib.texi (Contributors): Update entries for Hongjiu
4324         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
4326 2012-12-11  David S. Miller  <davem@davemloft.net>
4328         * po/sv.po: Update from translation team.
4330         * po/vi.po: Update from translation team.
4332         * po/cs.po: Update from translation team.
4334         * po/de.po: Update from translation team.
4335         * po/eo.po: Likewise.
4336         * po/nl.po: Likewise.
4338 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4340         [BZ #14246]
4341         * manual/argp.texi (Argp Helper Functions): Move node to follow
4342         Argp Parsing State.
4344         [BZ #14872]
4345         * manual/conf.texi (Limits on File System Capacity): Mention if
4346         terminating null is included in the max size.
4348 2012-12-10  Andreas Jaeger  <aj@suse.de>
4350         * po/cs.po: Update from translation team.
4352 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4354         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4355         void pointer and cast to uintptr_t.
4356         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4357         path.
4358         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4359         * sysdeps/s390/s390-64/memset.S: Likewise.
4361 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
4363         [BZ #14833]
4364         * menual/message.texi (Message Translation): Fix typos.
4365         (Helper programs for gettext): Likewise.
4367 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
4369         [BZ #14898]
4370         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4371         Change to -1.
4373 2012-12-07  David S. Miller  <davem@davemloft.net>
4375         * po/libc.pot: Update.
4377 2012-12-07  Richard Henderson  <rth@redhat.com>
4379         [BZ #10114]
4380         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4381         normal/normal case to before the switch.
4382         (_FP_DIV): Likewise.
4384 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
4385             Mike Frysinger  <vapier@gentoo.org>
4387         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4388         check for __NR_fadvise64_64.
4390 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
4392         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4393         0, not just to plain "0" as a statement.
4394         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4395         with cw.
4397 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
4399         * NEWS: Use sourceware.org in Bugzilla URL.
4401 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4404         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4406         * stdio-common/tst-put-error.c (do_test): Add newline to the
4407         padded test to ensure flush.
4409 2012-12-05  Jeff Law  <law@redhat.com>
4411         * sunrpc/etc.rpc (fedfs_admin): Add entry.
4413 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
4415         * README: Don't refer to ports add-on as distributed separately.
4416         Mention AArch64 in list of systems supported in the ports add-on.
4418         * LICENSES: Add more non-FSF copyright and license notices.
4420         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4421         ((unused)).
4423         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4425         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4426         10000 as width of padded output.
4428 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4430         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4432         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4433         variable LX with __attribute__ ((unused)).
4434         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4435         Likewise.
4436         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4437         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4438         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4439         with __attribute__ ((unused)).
4441 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
4443         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4445 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4447         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4448         (CFLAGS-nldbl-acos.c): New variable.
4449         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4450         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4451         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4452         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4453         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4454         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4455         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4456         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4457         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4458         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4459         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4460         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4461         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4462         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4463         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4464         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4465         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4466         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4467         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4468         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4469         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4470         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4471         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4472         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4473         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4474         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4475         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4476         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4477         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4478         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4479         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4480         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4481         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4482         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4483         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4484         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4485         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4486         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4487         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4488         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4489         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4490         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4491         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4492         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4493         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4494         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4495         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4496         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4497         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4498         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4499         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4500         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4501         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4502         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4503         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4504         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4505         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4506         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4507         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4508         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4509         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4510         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4511         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4512         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4513         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4514         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4515         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4516         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4517         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4518         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4519         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4520         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4521         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4522         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4523         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4524         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4525         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4526         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4527         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4528         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4529         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4530         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4531         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4532         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4533         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4534         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4535         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4536         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4537         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4538         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4539         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4540         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4541         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4542         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4543         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4544         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4545         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4548         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4550         [BZ #14914]
4551         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4552         whole low double instead of just low 47 bits when splitting values
4553         into two parts.
4555 2012-12-03  Allan McRae  <allan@archlinux.org>
4557         * manual/stdio.texi (Predefined Printf Handlers): Remove
4558         @hsep and @vsep usage.
4560 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
4562         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4563         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4565 2012-12-03  Jeff Law  <law@redhat.com>
4567         * time/sys/time.h (settimeofday): Do not mark TV argument
4568         as __nonnull.
4570 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
4572         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4573         when currently writing and seek to current position when not.
4574         * libio/Makefile (tests): Remove bug-fclose1.
4575         * libio/bug-fclose1.c: Delete.
4577 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
4579         * manual/arith.texi (feenableexcept): Fix typo.
4580         (fedisableexcept): Likewise.
4582 2012-11-30  Roland McGrath  <roland@hack.frob.com>
4584         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4585         second, differently-typed declaration, rather than a cast.
4587 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4589         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4590         * include/rpc/svc.h: ... here.
4592 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
4594         [BZ #13013]
4595         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4596         depending n and resplen2 to catch cases where answer
4597         equals answerp2.
4599 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
4601         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4602         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4604 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
4606         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4608 2012-11-29  Roland McGrath  <roland@hack.frob.com>
4610         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4612 2012-11-28  Jeff Law  <law@redhat.com>
4614         [BZ #13761]
4615         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4616         dataset_temporary.  Track alloca usage into alloca_used.
4617         If dataset is large allocate and release it via malloc/free.
4619 2012-06-04  Florian Weimer  <fweimer@redhat.com>
4621         [BZ #14197]
4622         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4624 2012-11-28  David S. Miller  <davem@davemloft.net>
4626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4628 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4630         [BZ #14803]
4631         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4632         of pi/2 rounded to nearest to 64 bits.
4633         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4634         nearest to 64 bits.
4635         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4636         bits.
4638 2012-11-28  Jeff Law <law@redhat.com>
4639             Martin Osvald <mosvald@redhat.com>
4641         [BZ #14889]
4642         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4643         * sunrpc/svc.c: Include time.h.
4644         (__svc_accept_failed): New function.
4645         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4646         any reason other than EINTR, call __svc_accept_failed.
4647         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4648         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4650 2012-11-28  Andreas Schwab  <schwab@suse.de>
4652         * scripts/abilist.awk: Also handle indirect functions in .opd
4653         section.
4655 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4657         [BZ #13881]
4658         * sysdeps/x86/fpu/powl_helper.c: New file.
4659         * sysdeps/x86/fpu/Makefile: Likewise.
4660         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4661         (p3): New object.
4662         (__ieee754_powl): Use __powl_helper for finite arguments except
4663         integer exponents below 8.
4664         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4665         (p3): New object.
4666         (__ieee754_powl): Use __powl_helper for finite arguments except
4667         integer exponents below 8.
4668         * math/libm-test.inc (pow_test): Add more tests and enable some
4669         previously disabled tests.
4670         * sysdeps/i386/fpu/libm-test-ulps: Update.
4671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4673 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4674             Carlos O'Donell  <carlos_odonell@mentor.com>
4676         * nss/makedb.c (is_prime): Assert that input is odd and greater
4677         than 4.  Note that fact in a comment too.
4678         (next_prime): Add 4 to input.
4680 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4682         [BZ #11741]
4683         * libio/Makefile (tests): Add test case tst-fwrite-error.
4684         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4685         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4686         * libio/tst-fwrite-error.c: New test case.
4688 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
4690         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4691         before casting to void *.
4692         * include/libc-internal.h (__pointer_type): New macro.
4693         (__integer_if_pointer_type_sub): Likewise.
4694         (__integer_if_pointer_type): Likewise.
4695         (cast_to_integer): Likewise.
4696         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4697         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4698         before casting to atomic64_t.
4699         (atomic_exchange_acq): Likewise.
4700         (__arch_exchange_and_add_body): Likewise.
4701         (__arch_add_body): Likewise.
4702         (atomic_add_negative): Likewise.
4703         (atomic_add_zero): Likewise.
4705 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
4707         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4708         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4709         (add_fdes): Likewise.
4710         (linear_search_fdes): Likewise.
4711         (binary_search_unencoded_fdes): Likewise.
4713 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
4715         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4717 2012-11-24  Adam Conrad  <adconrad@0c3.net>
4719         * configure.in: Autodetect C++ header directories.
4720         * configure: Regenerated.
4722 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
4724         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4726 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
4728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4730 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
4732         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4733         LDBL_MANT_DIG == 106]: Disable some tests.
4734         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4735         Likewise.
4736         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4737         Likewise.
4739         [BZ #14871]
4740         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4741         input for small inputs.  Return +/- pi/2 for large inputs.
4742         * math/libm-test.inc (atan_test): Add more tests.
4744         * sysdeps/generic/unwind-dw2-fde-glibc.c
4745         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4746         __attribute__ ((unused)).
4748         [BZ #14645]
4749         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4750         x * y if x and y are nonzero and z is zero.
4752         [BZ #14811]
4753         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4754         nonzero exponents with absolute value below 0x1p-117 to +/-
4755         0x1p-117.
4757         [BZ #14869]
4758         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4759         up arguments below 2**-450, not just those below 2**-500.
4760         * math/libm-test.inc (hypot_test): Add another test.
4762         [BZ #14868]
4763         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4764         Return a+b for ratio over 2**120, not 2**60.
4765         * math/libm-test.inc (hypot_test): Add another test.
4767         * math/libm-test.inc (clog_test): Use
4768         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4769         (clog10_test): Likewise.
4771         [BZ #6778]
4772         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4774 2012-11-22  Andreas Schwab  <schwab@suse.de>
4776         * sysdeps/i386/fpu/libm-test-ulps: Update.
4778 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
4780         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4781         printf output with newline.
4783 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
4785         [BZ #14865]
4786         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4787         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4788         -z nodlopen, -z initfirst and -z execstack support.
4789         * configure: Regenerated.
4791         * elf/elf.h (DF_1_NODIRECT): New macro.
4792         (DF_1_IGNMULDEF): Likewise.
4793         (DF_1_NOKSYMS): Likewise.
4794         (DF_1_NOHDR): Likewise.
4795         (DF_1_EDITED): Likewise.
4796         (DF_1_NORELOC): Likewise.
4797         (DF_1_SYMINTPOSE): Likewise.
4798         (DF_1_GLOBAUDIT): Likewise.
4799         (DF_1_SINGLETON): Likewise.
4800         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4801         DT_1_SUPPORTED_MASK bits.
4802         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4804 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
4806         * sysdeps/unix/make-syscalls.sh: Document prefixes.
4808 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
4810         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4811         macro.
4813         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4814         (sendmmsg): Move declarations...
4815         * socket/sys/socket.h: ... here.
4816         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4817         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4818         include it from...
4819         * socket/recvmmsg.c: ... this new file.
4820         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4821         (sendmmsg): Rename to __sendmmsg, create weak alias and make
4822         definition of __sendmmsg hidden.
4823         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4824         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4825         Move ENOSYS stub into and include it from...
4826         * socket/sendmmsg.c: ... this new file.
4827         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4828         (sysdep_routines): Move recvmmsg and sendmmsg...
4829         * socket/Makefile (routines): ... here.
4830         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4831         (GLIBC_PRIVATE): Add __sendmmsg.
4832         * include/sys/socket.h (__sendmmsg): Add declarations.
4833         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4834         sendmmsg.
4836 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
4838         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4839         variable I1 with __attribute__ ((unused)).
4840         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4842 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4844         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4845         DUMMY variables with __attribute__ ((unused)).
4847         * bits/byteswap.h: Include <bits/types.h>.
4848         (__bswap_64): Use __uint64_t instead of unsigned long long int.
4850 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4852         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4853         string_t.  Do not manually set errno.
4854         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4855         length with __strnlen.  Make sure to both set errno and return it on
4856         failure.
4858 2012-11-19  David S. Miller  <davem@davemloft.net>
4860         With help from Joseph Myers.
4861         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4862         very large arguments properly.
4863         * math/libm-test.inc (atan_test): New tests.
4864         (atan2_test): New tests.
4865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4866         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4868 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4870         [BZ #14856]
4871         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4872         Define to 3.
4874         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4875         [POSIX] (EADDRNOTAVAIL): Likewise.
4876         [POSIX] (EAFNOSUPPORT): Likewise.
4877         [POSIX] (EALREADY): Likewise.
4878         [POSIX] (ECONNABORTED): Likewise.
4879         [POSIX] (ECONNREFUSED): Likewise.
4880         [POSIX] (ECONNRESET): Likewise.
4881         [POSIX] (EDESTADDRREQ): Likewise.
4882         [POSIX] (EDQUOT): Likewise.
4883         [POSIX] (EHOSTUNREACH): Likewise.
4884         [POSIX] (EIDRM): Likewise.
4885         [POSIX] (EISCONN): Likewise.
4886         [POSIX] (ELOOP): Likewise.
4887         [POSIX] (EMULTIHOP): Likewise.
4888         [POSIX] (ENETDOWN): Likewise.
4889         [POSIX] (ENETUNREACH): Likewise.
4890         [POSIX] (ENOBUFS): Likewise.
4891         [POSIX] (ENODATA): Likewise.
4892         [POSIX] (ENOLINK): Likewise.
4893         [POSIX] (ENOMSG): Likewise.
4894         [POSIX] (ENOPROTOOPT): Likewise.
4895         [POSIX] (ENOSR): Likewise.
4896         [POSIX] (ENOSTR): Likewise.
4897         [POSIX] (ENOTCONN): Likewise.
4898         [POSIX] (ENOTSOCK): Likewise.
4899         [POSIX] (EOPNOTSUPP): Likewise.
4900         [POSIX] (EOVERFLOW): Likewise.
4901         [POSIX] (EPROTO): Likewise.
4902         [POSIX] (EPROTONOSUPPORT): Likewise.
4903         [POSIX] (EPROTOTYPE): Likewise.
4904         [POSIX] (ESTALE): Likewise.
4905         [POSIX] (ETIME): Likewise.
4906         [POSIX] (ETXTBSY): Likewise.
4907         [POSIX] (EWOULDBLOCK): Likewise.
4908         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4909         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4910         [POSIX] (SEEK_CUR): Likewise.
4911         [POSIX] (SEEK_END): Likewise.
4912         [POSIX || UNIX98] (mode_t): Do not require.
4913         [POSIX] (off_t): Likewise.
4914         [POSIX] (pid_t): Likewise.
4915         [POSIX] (sys/stat.h): Do not allow header.
4916         [POSIX] (unistd.h): Likewise.
4917         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4918         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4919         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4920         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4921         require.
4922         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4923         sigevent): Specify elements.
4924         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4925         entry.
4926         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4927         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4929         * conform/data/cpio.h-data [POSIX]: Disable whole file.
4930         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4931         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4932         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4933         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4934         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4935         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4936         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4937         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4938         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4939         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4940         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4941         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4942         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4943         Likewise.
4944         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4945         Likewise.
4946         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4947         Likewise.
4948         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4949         Likewise.
4950         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4951         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4952         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4953         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4954         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4955         Specify lower bound on value.
4956         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4957         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4958         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4959         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4960         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4961         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4962         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4963         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4964         value.
4965         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4966         as optional.
4967         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4968         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4969         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4970         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4971         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4972         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4973         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4974         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4975         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4976         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4977         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4978         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4979         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4980         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4981         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4982         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4983         entry.
4984         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4985         optional.
4986         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4987         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4988         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4989         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4990         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4991         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4992         Likewise.
4993         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4994         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4995         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4996         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4997         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
4998         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4999         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5000         as optional.
5001         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5002         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5003         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5004         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5005         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5006         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5007         specify as optional.
5008         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5009         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5010         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5011         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5012         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5013         [XPG3] (NL_LANGMAX): Likewise.
5014         [POSIX || XPG3] (NL_MSGMAX): Likewise.
5015         [POSIX || XPG3] (NL_NMAX): Likewise.
5016         [POSIX || XPG3] (NL_SETMAX): Likewise.
5017         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5018         [XPG3] (NZERO): Likewise.
5019         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5020         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5021         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5022         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5023         (REG_ERANGE): Expect.
5024         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5025         optional-constant.
5026         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5027         Use (void) in prototype.
5028         [POSIX] (*_t): Allow.
5029         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5030         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5031         (WRDE_BADVAL): Expect.
5033         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5034         expect.
5035         [XPG3 || XPG4] (O_RSYNC): Likewise.
5036         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5037         Likewise.
5038         [XPG3 || XPG4] (pthread_sigmask): Likewise.
5039         [XPG3 || XPG4] (sigqueue): Likewise.
5040         [XPG3 || XPG4] (sigtimedwait): Likewise.
5041         [XPG3 || XPG4] (sigwaitinfo): Likewise.
5042         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5043         [XPG3 || XPG4] (vsnprintf): Likewise.
5044         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5045         Likewise.
5046         [XPG3 || XPG4] (blksize_t): Likewise.
5047         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5048         Likewise.
5049         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5050         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5051         [XPG3 || XPG4] (struct itimerspec): Likewise.
5052         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5053         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5054         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5055         [XPG3 || XPG4] (clockid_t): Likewise.
5056         [XPG3 || XPG4] (timer_t): Likewise.
5057         [XPG3 || XPG4] (clock_getres): Likewise.
5058         [XPG3 || XPG4] (clock_gettime): Likewise.
5059         [XPG3 || XPG4] (clock_settime): Likewise.
5060         [XPG3 || XPG4] (nanosleep): Likewise.
5061         [XPG3 || XPG4] (timer_create): Likewise.
5062         [XPG3 || XPG4] (timer_delete): Likewise.
5063         [XPG3 || XPG4] (timer_gettime): Likewise.
5064         [XPG3 || XPG4] (timer_getoverrun): Likewise.
5065         [XPG3 || XPG4] (timer_settime): Likewise.
5066         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5067         [XPG3 || XPG4] (getlogin_r): Likewise.
5068         [XPG3 || XPG4] (pread): Likewise.
5069         [XPG3 || XPG4] (pthread_atfork): Likewise.
5070         [XPG3 || XPG4] (pwrite): Likewise.
5072         [BZ #14835]
5073         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5074         <bits/siginfo.h>.
5076 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5078         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5079         finalizing MALLSTREAM.
5081         * sysdeps/mach/hurd/syncfs.c: New file.
5083 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5085         [BZ #14719]
5086         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5087         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5088         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5089         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5090         (_nss_dns_gethostbyname4_r): Likewise.
5091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5092         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5094 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
5096         [BZ #13763]
5097         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5099 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
5101         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5102         * elf/cache.c (print_entry): Print ",AArch64" for
5103         FLAG_AARCH64_LIB64
5105         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5106         * elf/cache.c (print_entry): Print ",hard-float" for
5107         FLAG_ARM_LIBHF.
5109 2012-11-18  David S. Miller  <davem@davemloft.net>
5111         With help from Joseph Myers.
5112         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5113         cutoff to 2**-13.
5114         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5115         cutoff to 2**-25.
5116         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5117         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5118         small.
5119         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5120         * math/libm-test.inc (y0_test): New tests.
5121         (y1_test): New tests.
5122         * sysdeps/i386/fpu/libm-test-ulps: Update.
5123         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5126 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
5128         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5129         64-bit targets.
5130         * configure: Regenerated.
5132 2012-11-17  David S. Miller  <davem@davemloft.net>
5134         [BZ #14811]
5135         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5136         nonzero exponents with absolute value below 0x1p-128 to +/-
5137         0x1p-128.
5139 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
5141         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5143         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5145         * posix/getconf-speclist.c: New file.
5146         * posix/posix-envs.def: Likewise.
5147         * posix/confstr.c (START_ENV_GROUP): New macro.
5148         (END_ENV_GROUP): Likewise.
5149         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5150         (KNOWN_PRESENT_ENV_STRING): Likewise.
5151         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5152         (UNKNOWN_ENVIRONMENT): Likewise.
5153         (confstr): Include posix-envs.def instead of handling
5154         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5155         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5156         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5157         (END_ENV_GROUP): Likewise.
5158         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5159         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5160         (UNKNOWN_ENVIRONMENT): Likewise.
5161         (__sysconf): Include posix-envs.def instead of handling associated
5162         cases directly here.
5163         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5164         preprocessing getconf-speclist.c rather than running getconf or
5165         generating empty file.
5167 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
5169         * scripts/check-local-headers.sh: Ignore 'mach' headers.
5171 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
5173         [BZ #14672]
5174         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5176 2012-11-16  David S. Miller  <davem@davemloft.net>
5178         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5179         smaller than LDBL_EPSILON/2.0L, just return xm1.
5181 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
5183         * elf/tst-array1.c (init): Set constructor priority to 1000.
5184         (fini): Set destructor priority to 1000.
5185         * elf/tst-array2dep.c: Likewise.
5187 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5189         [BZ #11741]
5190         * libio/fileops.c (_IO_new_file_write): Correctly return error.
5191         (_IO_new_file_xsputn): Also return EOF if none of the input
5192         data was written when overflow failed.
5193         * libio/iopadn.c (_IO_padn): Likewise.
5194         * libio/iowpadn.c (_IO_wpadn): Likewise.
5195         * stdio-common/tst-put-error.c: Add copyright notice.
5196         (do_test): Add case for printing padded string.
5197         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5198         _IO_padn returned error.
5199         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5200         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5201         return EOF.
5203 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5205         * libio/libioP.h: Add comment note that the references to C++
5206         bits are now obsolete.
5208 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5210         * math/libm-test.inc (check_complex): Use asprintf.
5212 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
5214         * debug/pcprofiledump.c (print_version): Update copyright year.
5215         * malloc/memusagestat.c (print_version): Likewise.
5217 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5219         [BZ #14831]
5220         * elf/Makefile (tests): Add tst-audit8.
5221         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5222         ($(objpfx)tst-audit8.out): New target.
5223         (tst-audit8-ENV): New variable.
5224         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5225         audit if l_reloc_result is NULL.
5226         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5227         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5228         * elf/tst-audit8.c: New file.
5230 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5232         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5233         * misc/Makefile (CFLAGS-select.c): Define.
5234         * posix/Makefile (CFLAGS-pause.c): Define.
5236 2012-11-13  David S. Miller  <davem@davemloft.net>
5238         * crypt/Makefile: Move test targets after toplevel Rules
5239         inclusion.  Grab any necessary sysdep routines when linking.
5240         * crypt/md5.c (md5_process_block): Remove define, we will always
5241         name it __md5_process_block.
5242         (md5_finish_ctx): Update md5_process_block call.
5243         (md5_stream): Likewise.
5244         (md5_process_bytes): Likewise.
5245         (md5_process_block): Rename to __md5_process_block and move to ...
5246         * crypt/md5-block.c: ... here.
5247         * crypt/sha256.c (sha256_process_block): Move to ...
5248         * crypt/sha256-block.c: ... here.
5249         * crypt/sha512.c (sha512_process_block): Move to ...
5250         * crypt/sha512-block.c: ... here.
5251         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5252         path.
5253         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5254         * sysdeps/sparc/sparc64/multiarch/Makefile
5255         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5256         crypt subdir.
5257         (localedef-aux): Add md5 crypto assembler when in locale subdir.
5258         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5259         multiarch changes.
5260         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5261         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5262         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5263         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5264         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5265         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5266         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5267         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5268         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5269         file.
5270         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5271         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5272         file.
5273         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5275 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
5277         * timezone/tzselect.ksh: Update from tzcode git revision
5278         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5279         * timezone/zdump.c: Likewise.
5280         * timezone/zic.c: Likewise.
5281         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5282         in TZVERSION setting, not $(PKGVERSION).
5283         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
5284         REPORT_BUGS_TO settings.
5286         [BZ #14838]
5287         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5288         macro.
5290 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5292         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5293         detection to immediately after _FP_ROUND().
5294         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5295         bits are 0.
5297 2012-11-11  David S. Miller  <davem@davemloft.net>
5299         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5300         inttypes.h
5301         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5302         __close rather than their public counterparts.
5304 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
5306         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5307         file.
5308         [UNIX98] (sem_timedwait): Do not expect.
5309         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5310         [XPG4 || UNIX98] (sockatmark): Do not expect.
5311         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5312         (clock_getcpuclockid): Do not expect.
5313         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5314         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5315         Do not expect.
5316         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5317         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5318         [UNIX98] (vwscanf): Likewise.
5319         [UNIX98] (vswscanf): Likewise.
5321 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
5323         * timezone/version.h: Remove file.
5324         * timezone/README: Do not refer to version.h.
5325         * timezone/Makefile ($(objpfx)zic.o): New dependency on
5326         $(objpfx)version.h.
5327         ($(objpfx)zdump.o): Likewise.
5328         ($(objpfx)version.h): New target.
5330         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5331         2012i.
5332         * timezone/README: Don't mention modification to tzselect.ksh.
5333         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5334         work on unmodified tzselect.ksh.  Substitute version numbers in
5335         tzselect.ksh.
5337         * Makefile (format-me): Remove.
5338         (INSTALL): Adjust indentation.  Use commands directly instead of
5339         using $(format-me).
5341         * aclocal.m4 (ACX_PKGVERSION): New macro.
5342         (ACX_BUGURL): Likewise.
5343         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5344         (PKGVERSION): New AC_DEFINE_UNQUOTED.
5345         (REPORT_BUGS_TO): Likewise.
5346         * configure: Regenerated.
5347         * config.h.in (PKGVERSION): New macro.
5348         (REPORT_BUGS_TO): Likewise.
5349         * config.make.in (PKGVERSION): New variable.
5350         (PKGVERSION_TEXI): Likewise.
5351         (REPORT_BUGS_TO): Likewise.
5352         (REPORT_BUGS_TEXI): Likewise.
5353         * Makefile (format-me): Use -I$(common-objpfx)manual.
5354         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5355         ($(common-objpfx)manual/%): New target.
5356         (manual/%): Remove target.
5357         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5358         (print_version): Use PKGVERSION.
5359         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5360         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5361         and REPORT_BUGS_TO.
5362         ($(objpfx)xtrace): Likewise.
5363         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5364         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5365         (print_version): Use PKGVERSION.
5366         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5367         (do_version): Use PKGVERSION.
5368         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5369         REPORT_BUGS_TO.
5370         (common-ldd-rewrite): Likewise.
5371         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5372         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5373         (print_version): Use PKGVERSION.
5374         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5375         * elf/pldd.c (argp_program_bug_address): Remove variable.
5376         (more_help): New function.
5377         (argp): Use more_help.
5378         (print_version): Use PKGVERSION.
5379         * elf/sln.c (main): Use PKGVERSION.
5380         (usage): Use REPORT_BUGS_TO.
5381         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5382         (top level): Use PKGVERSION.
5383         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5384         (print_version): Use PKGVERSION.
5385         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5386         (print_version): Use PKGVERSION.
5387         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5388         (print_version): Use PKGVERSION.
5389         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5390         (print_version): Use PKGVERSION.
5391         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5392         (print_version): Use PKGVERSION.
5393         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5394         (print_version): Use PKGVERSION.
5395         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5396         and BUGURL.
5397         ($(objpfx)memusage): Likewise.
5398         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5399         (do_version): Use PKGVERSION.
5400         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5401         (print_version): Use PKGVERSION.
5402         * malloc/mtrace.pl ($PACKAGE): Remove variable.
5403         ($PKGVERSION): New variable.
5404         ($REPORT_BUGS_TO): Likewise.
5405         (usage): Use $REPORT_BUGS_TO.
5406         (top level): Use $PKGVERSION.
5407         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5408         ($(objpfx)pkgvers.texi): New rule.
5409         ($(objpfx)stamp-pkgvers): Likewise.
5410         * manual/install.texi: Include pkgvers.texi.
5411         (--with-pkgversion): Document new configure option.
5412         (--with-bugurl): Likewise.
5413         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5414         than necessarily for this particular distribution.  Use
5415         REPORT_BUGS_TO for where to report bugs.
5416         * INSTALL: Regenerated.
5417         * manual/libc.texinfo: Include pkgvers.texi.
5418         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5419         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5420         (print_version): Use PKGVERSION.
5421         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5422         (print_version): Use PKGVERSION.
5423         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5424         (print_version): Use PKGVERSION.
5425         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5426         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5427         macro.
5428         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5429         (print_version): Use PKGVERSION.
5430         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5431         (print_version): Use PKGVERSION.
5432         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5433         and PKGVERSION.
5435         * timezone/checktab.awk: Update from tzcode 2012i.
5436         * timezone/ialloc.c: Likewise.
5437         * timezone/private.h: Likewise.
5438         * timezone/scheck.c: Likewise.
5439         * timezone/tzfile.h: Likewise.
5440         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5441         (TZVERSION): Hardcode tzcode version number.
5442         * timezone/zdump.c: Update from tzcode 2012i.
5443         * timezone/zic.c: Likewise.
5444         * timezone/version.h: New file.
5445         * timezone/README: Describe version.h.  Update upstream location.
5447         [BZ #14824]
5448         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5449         (mktemp): Enable declaration.
5450         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5451         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5452         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5453         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5454         Likewise.
5455         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5456         Likewise.
5457         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5458         Likewise.
5459         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5460         Likewise.
5461         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5462         Likewise.
5463         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5464         Likewise.
5466         [BZ #14821]
5467         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5468         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
5469         for copies of such integer values.
5470         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5471         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5473 2012-11-09  Andreas Jaeger  <aj@suse.de>
5475         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5476         definitions and declarations that are provided by
5477         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5479 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5481         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5482         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5483         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5484         definition.
5486 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5488         * elf/elf.h: Update comment before AArch64 relocations.
5490 2012-11-07  David S. Miller  <davem@davemloft.net>
5492         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5493         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5494         (__start_context): Declare.
5495         (__makecontext_ret): Delete.
5496         (__makecontext): Hook up __start_context instead of
5497         __makecontext_ret.
5498         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5499         (sysdep_routines): Add __start_context when in stdlib.
5501 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5503         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5504         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5505         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
5506         hardcoded "nm".
5507         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
5508         (READELF): New variable.  Use it instead of hardcoded "readelf".
5510 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5512         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5513         * sysdeps/x86/Makefile: Here.
5514         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5515         * sysdeps/x86/tst-xmmymm.sh: This.
5517 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5519         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5520         expectations.
5521         [UNIX98] (pthread_barrier_t): Do not expect.
5522         [UNIX98] (pthread_barrierattr_t): Likewise.
5523         [UNIX98] (pthread_spinlock_t): Likewise.
5524         [UNIX98] (pthread_barrier_destroy): Likewise.
5525         [UNIX98] (pthread_barrier_init): Likewise.
5526         [UNIX98] (pthread_barrier_wait): Likewise.
5527         [UNIX98] (pthread_barrierattr_destroy): Likewise.
5528         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5529         [UNIX98] (pthread_barrierattr_init): Likewise.
5530         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5531         [UNIX98] (pthread_getcpuclockid): Likewise.
5532         [UNIX98] (pthread_mutex_timedlock): Likewise.
5533         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5534         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5535         [UNIX98] (pthread_sigmask): Likewise.
5536         [UNIX98] (pthread_spin_destroy): Likewise.
5537         [UNIX98] (pthread_spin_init): Likewise.
5538         [UNIX98] (pthread_spin_lock): Likewise.
5539         [UNIX98] (pthread_spin_trylock): Likewise.
5540         [UNIX98] (pthread_spin_unlock): Likewise.
5541         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5542         Do not expect.
5543         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5544         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5545         [XPG3 || XPG4] (pthread_cond_t): Likewise.
5546         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5547         [XPG3 || XPG4] (pthread_key_t): Likewise.
5548         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5549         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5550         [XPG3 || XPG4] (pthread_once_t): Likewise.
5551         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5552         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5553         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5554         [XPG3 || XPG4] (pthread_t): Likewise.
5556         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5557         not expect.
5558         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5560         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5561         Change function return type to int.
5563         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5564         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5565         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5566         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5567         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5568         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5569         [!POSIX] (posix_madvise): Likewise.
5570         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5571         && !UNIX98].
5572         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5573         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5574         (mode_t): Likewise.
5575         (posix_mem_offset): Likewise.
5576         (posix_typed_mem_get_info): Likewise.
5577         (posix_typed_mem_open): Likewise.
5579         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5580         Change condition to [XOPEN2K8].
5582         * conform/conformtest.pl: Preprocess allow-header data with -x c
5583         instead of from stdin.
5584         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5585         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5586         [C99-based standards] (cerfc): Likewise.
5587         [C99-based standards] (cexp2): Likewise.
5588         [C99-based standards] (cexpm1): Likewise.
5589         [C99-based standards] (clog10): Likewise.
5590         [C99-based standards] (clog1p): Likewise.
5591         [C99-based standards] (clog2): Likewise.
5592         [C99-based standards] (clgamma): Likewise.
5593         [C99-based standards] (ctgamma): Likewise.
5594         [C99-based standards] (cerff): Likewise.
5595         [C99-based standards] (cerfcf): Likewise.
5596         [C99-based standards] (cexp2f): Likewise.
5597         [C99-based standards] (cexpm1f): Likewise.
5598         [C99-based standards] (clog10f): Likewise.
5599         [C99-based standards] (clog1pf): Likewise.
5600         [C99-based standards] (clog2f): Likewise.
5601         [C99-based standards] (clgammaf): Likewise.
5602         [C99-based standards] (ctgammaf): Likewise.
5603         [C99-based standards] (cerfl): Likewise.
5604         [C99-based standards] (cerfcl): Likewise.
5605         [C99-based standards] (cexp2l): Likewise.
5606         [C99-based standards] (cexpm1l): Likewise.
5607         [C99-based standards] (clog10l): Likewise.
5608         [C99-based standards] (clog1pl): Likewise.
5609         [C99-based standards] (clog2l): Likewise.
5610         [C99-based standards] (clgammal): Likewise.
5611         [C99-based standards] (ctgammal): Likewise.
5612         * conform/data/inttypes.h-data [C99-based standards]: Include
5613         stdint.h-data.  Remove all expectations for stdint.h contents.
5614         [C99-based standards] (PRI*): Do not allow.
5615         [C99-based standards] (SCN*): Likewise.
5616         [C99-based standards] (*_t): Likewise.
5617         [C99-based-standards] (PRId8): Expect macro.
5618         [C99-based-standards] (PRIi8): Likewise.
5619         [C99-based-standards] (PRIo8): Likewise.
5620         [C99-based-standards] (PRIu8): Likewise.
5621         [C99-based-standards] (PRIx8): Likewise.
5622         [C99-based-standards] (PRIX8): Likewise.
5623         [C99-based-standards] (SCNd8): Likewise.
5624         [C99-based-standards] (SCNi8): Likewise.
5625         [C99-based-standards] (SCNo8): Likewise.
5626         [C99-based-standards] (SCNu8): Likewise.
5627         [C99-based-standards] (SCNx8): Likewise.
5628         [C99-based-standards] (PRIdLEAST8): Likewise.
5629         [C99-based-standards] (PRIiLEAST8): Likewise.
5630         [C99-based-standards] (PRIoLEAST8): Likewise.
5631         [C99-based-standards] (PRIuLEAST8): Likewise.
5632         [C99-based-standards] (PRIxLEAST8): Likewise.
5633         [C99-based-standards] (PRIXLEAST8): Likewise.
5634         [C99-based-standards] (SCNdLEAST8): Likewise.
5635         [C99-based-standards] (SCNiLEAST8): Likewise.
5636         [C99-based-standards] (SCNoLEAST8): Likewise.
5637         [C99-based-standards] (SCNuLEAST8): Likewise.
5638         [C99-based-standards] (SCNxLEAST8): Likewise.
5639         [C99-based-standards] (PRIdFAST8): Likewise.
5640         [C99-based-standards] (PRIiFAST8): Likewise.
5641         [C99-based-standards] (PRIoFAST8): Likewise.
5642         [C99-based-standards] (PRIuFAST8): Likewise.
5643         [C99-based-standards] (PRIxFAST8): Likewise.
5644         [C99-based-standards] (PRIXFAST8): Likewise.
5645         [C99-based-standards] (SCNdFAST8): Likewise.
5646         [C99-based-standards] (SCNiFAST8): Likewise.
5647         [C99-based-standards] (SCNoFAST8): Likewise.
5648         [C99-based-standards] (SCNuFAST8): Likewise.
5649         [C99-based-standards] (SCNxFAST8): Likewise.
5650         [C99-based-standards] (PRId16): Likewise.
5651         [C99-based-standards] (PRIi16): Likewise.
5652         [C99-based-standards] (PRIo16): Likewise.
5653         [C99-based-standards] (PRIu16): Likewise.
5654         [C99-based-standards] (PRIx16): Likewise.
5655         [C99-based-standards] (PRIX16): Likewise.
5656         [C99-based-standards] (SCNd16): Likewise.
5657         [C99-based-standards] (SCNi16): Likewise.
5658         [C99-based-standards] (SCNo16): Likewise.
5659         [C99-based-standards] (SCNu16): Likewise.
5660         [C99-based-standards] (SCNx16): Likewise.
5661         [C99-based-standards] (PRIdLEAST16): Likewise.
5662         [C99-based-standards] (PRIiLEAST16): Likewise.
5663         [C99-based-standards] (PRIoLEAST16): Likewise.
5664         [C99-based-standards] (PRIuLEAST16): Likewise.
5665         [C99-based-standards] (PRIxLEAST16): Likewise.
5666         [C99-based-standards] (PRIXLEAST16): Likewise.
5667         [C99-based-standards] (SCNdLEAST16): Likewise.
5668         [C99-based-standards] (SCNiLEAST16): Likewise.
5669         [C99-based-standards] (SCNoLEAST16): Likewise.
5670         [C99-based-standards] (SCNuLEAST16): Likewise.
5671         [C99-based-standards] (SCNxLEAST16): Likewise.
5672         [C99-based-standards] (PRIdFAST16): Likewise.
5673         [C99-based-standards] (PRIiFAST16): Likewise.
5674         [C99-based-standards] (PRIoFAST16): Likewise.
5675         [C99-based-standards] (PRIuFAST16): Likewise.
5676         [C99-based-standards] (PRIxFAST16): Likewise.
5677         [C99-based-standards] (PRIXFAST16): Likewise.
5678         [C99-based-standards] (SCNdFAST16): Likewise.
5679         [C99-based-standards] (SCNiFAST16): Likewise.
5680         [C99-based-standards] (SCNoFAST16): Likewise.
5681         [C99-based-standards] (SCNuFAST16): Likewise.
5682         [C99-based-standards] (SCNxFAST16): Likewise.
5683         [C99-based-standards] (PRId32): Likewise.
5684         [C99-based-standards] (PRIi32): Likewise.
5685         [C99-based-standards] (PRIo32): Likewise.
5686         [C99-based-standards] (PRIu32): Likewise.
5687         [C99-based-standards] (PRIx32): Likewise.
5688         [C99-based-standards] (PRIX32): Likewise.
5689         [C99-based-standards] (SCNd32): Likewise.
5690         [C99-based-standards] (SCNi32): Likewise.
5691         [C99-based-standards] (SCNo32): Likewise.
5692         [C99-based-standards] (SCNu32): Likewise.
5693         [C99-based-standards] (SCNx32): Likewise.
5694         [C99-based-standards] (PRIdLEAST32): Likewise.
5695         [C99-based-standards] (PRIiLEAST32): Likewise.
5696         [C99-based-standards] (PRIoLEAST32): Likewise.
5697         [C99-based-standards] (PRIuLEAST32): Likewise.
5698         [C99-based-standards] (PRIxLEAST32): Likewise.
5699         [C99-based-standards] (PRIXLEAST32): Likewise.
5700         [C99-based-standards] (SCNdLEAST32): Likewise.
5701         [C99-based-standards] (SCNiLEAST32): Likewise.
5702         [C99-based-standards] (SCNoLEAST32): Likewise.
5703         [C99-based-standards] (SCNuLEAST32): Likewise.
5704         [C99-based-standards] (SCNxLEAST32): Likewise.
5705         [C99-based-standards] (PRIdFAST32): Likewise.
5706         [C99-based-standards] (PRIiFAST32): Likewise.
5707         [C99-based-standards] (PRIoFAST32): Likewise.
5708         [C99-based-standards] (PRIuFAST32): Likewise.
5709         [C99-based-standards] (PRIxFAST32): Likewise.
5710         [C99-based-standards] (PRIXFAST32): Likewise.
5711         [C99-based-standards] (SCNdFAST32): Likewise.
5712         [C99-based-standards] (SCNiFAST32): Likewise.
5713         [C99-based-standards] (SCNoFAST32): Likewise.
5714         [C99-based-standards] (SCNuFAST32): Likewise.
5715         [C99-based-standards] (SCNxFAST32): Likewise.
5716         [C99-based-standards] (PRId64): Likewise.
5717         [C99-based-standards] (PRIi64): Likewise.
5718         [C99-based-standards] (PRIo64): Likewise.
5719         [C99-based-standards] (PRIu64): Likewise.
5720         [C99-based-standards] (PRIx64): Likewise.
5721         [C99-based-standards] (PRIX64): Likewise.
5722         [C99-based-standards] (SCNd64): Likewise.
5723         [C99-based-standards] (SCNi64): Likewise.
5724         [C99-based-standards] (SCNo64): Likewise.
5725         [C99-based-standards] (SCNu64): Likewise.
5726         [C99-based-standards] (SCNx64): Likewise.
5727         [C99-based-standards] (PRIdLEAST64): Likewise.
5728         [C99-based-standards] (PRIiLEAST64): Likewise.
5729         [C99-based-standards] (PRIoLEAST64): Likewise.
5730         [C99-based-standards] (PRIuLEAST64): Likewise.
5731         [C99-based-standards] (PRIxLEAST64): Likewise.
5732         [C99-based-standards] (PRIXLEAST64): Likewise.
5733         [C99-based-standards] (SCNdLEAST64): Likewise.
5734         [C99-based-standards] (SCNiLEAST64): Likewise.
5735         [C99-based-standards] (SCNoLEAST64): Likewise.
5736         [C99-based-standards] (SCNuLEAST64): Likewise.
5737         [C99-based-standards] (SCNxLEAST64): Likewise.
5738         [C99-based-standards] (PRIdFAST64): Likewise.
5739         [C99-based-standards] (PRIiFAST64): Likewise.
5740         [C99-based-standards] (PRIoFAST64): Likewise.
5741         [C99-based-standards] (PRIuFAST64): Likewise.
5742         [C99-based-standards] (PRIxFAST64): Likewise.
5743         [C99-based-standards] (PRIXFAST64): Likewise.
5744         [C99-based-standards] (SCNdFAST64): Likewise.
5745         [C99-based-standards] (SCNiFAST64): Likewise.
5746         [C99-based-standards] (SCNoFAST64): Likewise.
5747         [C99-based-standards] (SCNuFAST64): Likewise.
5748         [C99-based-standards] (SCNxFAST64): Likewise.
5749         [C99-based-standards] (PRIdMAX): Likewise.
5750         [C99-based-standards] (PRIiMAX): Likewise.
5751         [C99-based-standards] (PRIoMAX): Likewise.
5752         [C99-based-standards] (PRIuMAX): Likewise.
5753         [C99-based-standards] (PRIxMAX): Likewise.
5754         [C99-based-standards] (PRIXMAX): Likewise.
5755         [C99-based-standards] (SCNdMAX): Likewise.
5756         [C99-based-standards] (SCNiMAX): Likewise.
5757         [C99-based-standards] (SCNoMAX): Likewise.
5758         [C99-based-standards] (SCNuMAX): Likewise.
5759         [C99-based-standards] (SCNxMAX): Likewise.
5760         [C99-based-standards] (PRIdPTR): Likewise.
5761         [C99-based-standards] (PRIiPTR): Likewise.
5762         [C99-based-standards] (PRIoPTR): Likewise.
5763         [C99-based-standards] (PRIuPTR): Likewise.
5764         [C99-based-standards] (PRIxPTR): Likewise.
5765         [C99-based-standards] (PRIXPTR): Likewise.
5766         [C99-based-standards] (SCNdPTR): Likewise.
5767         [C99-based-standards] (SCNiPTR): Likewise.
5768         [C99-based-standards] (SCNoPTR): Likewise.
5769         [C99-based-standards] (SCNuPTR): Likewise.
5770         [C99-based-standards] (SCNxPTR): Likewise.
5771         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5772         allow.
5773         * conform/data/stdint.h-data: Update comments to clarify
5774         requirements.
5775         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
5776         type.
5777         [C99-based standards] (INT8_MAX): Likewise.
5778         [C99-based standards] (INT16_MIN): Likewise.
5779         [C99-based standards] (INT16_MAX): Likewise.
5780         [C99-based standards] (INT32_MIN): Likewise.
5781         [C99-based standards] (INT32_MAX): Likewise.
5782         [C99-based standards] (INT64_MIN): Likewise.
5783         [C99-based standards] (INT64_MAX): Likewise.
5784         [C99-based standards] (UINT8_MAX): Likewise.
5785         [C99-based standards] (UINT16_MAX): Likewise.
5786         [C99-based standards] (UINT32_MAX): Likewise.
5787         [C99-based standards] (UINT64_MAX): Likewise.
5788         [C99-based standards] (INT_LEAST8_MIN): Likewise.
5789         [C99-based standards] (INT_LEAST8_MAX): Likewise.
5790         [C99-based standards] (INT_LEAST16_MIN): Likewise.
5791         [C99-based standards] (INT_LEAST16_MAX): Likewise.
5792         [C99-based standards] (INT_LEAST32_MIN): Likewise.
5793         [C99-based standards] (INT_LEAST32_MAX): Likewise.
5794         [C99-based standards] (INT_LEAST64_MIN): Likewise.
5795         [C99-based standards] (INT_LEAST64_MAX): Likewise.
5796         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5797         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5798         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5799         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5800         [C99-based standards] (INT_FAST8_MIN): Likewise.
5801         [C99-based standards] (INT_FAST8_MAX): Likewise.
5802         [C99-based standards] (INT_FAST16_MIN): Likewise.
5803         [C99-based standards] (INT_FAST16_MAX): Likewise.
5804         [C99-based standards] (INT_FAST32_MIN): Likewise.
5805         [C99-based standards] (INT_FAST32_MAX): Likewise.
5806         [C99-based standards] (INT_FAST64_MIN): Likewise.
5807         [C99-based standards] (INT_FAST64_MAX): Likewise.
5808         [C99-based standards] (UINT_FAST8_MAX): Likewise.
5809         [C99-based standards] (UINT_FAST16_MAX): Likewise.
5810         [C99-based standards] (UINT_FAST32_MAX): Likewise.
5811         [C99-based standards] (UINT_FAST64_MAX): Likewise.
5812         [C99-based standards] (INTPTR_MIN): Likewise.
5813         [C99-based standards] (INTPTR_MAX): Likewise.
5814         [C99-based standards] (UINTPTR_MAX): Likewise.
5815         [C99-based standards] (INTMAX_MIN): Likewise.
5816         [C99-based standards] (INTMAX_MAX): Likewise.
5817         [C99-based standards] (UINTMAX_MAX): Likewise.
5818         [C99-based standards] (PTRDIFF_MIN): Likewise.
5819         [C99-based standards] (PTRDIFF_MAX): Likewise.
5820         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5821         [C99-based standards] (SIZE_MAX): Likewise.
5822         [C99-based standards] (WCHAR_MAX): Likewise.
5823         [C99-based standards] (WINT_MAX): Likewise.
5824         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
5825         constraint on value.
5826         [C99-based standards] (WCHAR_MIN): Likewise.
5827         [C99-based standards] (WINT_MIN): Likewise.
5828         [C99-based standards] (*_t): Allow.
5829         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5830         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5831         Include math.h-data and complex.h-data.  Remove all expectations
5832         of math.h and complex.h contents.
5833         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5834         at end of line.
5835         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5836         (struct tm): Expect tag.
5837         [C99-based-standards] (wcstof): Expect function.
5838         [C99-based-standards] (wcstold): Likewise.
5839         [C99-based-standards] (wcstoll): Likewise.
5840         [C99-based-standards] (wcstoull): Likewise.
5841         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5842         macro-int-constant.  Specify type.
5843         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
5844         constraint on value.
5845         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5846         Specify type.
5847         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5848         Specify value.
5849         [ISO C standards]: Do not allow headers.
5850         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5851         wcs[abcdefghijklmnopqrstuvwxyz]*.
5852         [ISO C standards] (*_t): Do not allow.
5853         * conform/data/wctype.h-data [C99-based standards] (iswblank):
5854         Expect function.
5855         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5856         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5857         Specify type.
5858         [ISO C standards]: Do not allow headers.
5859         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5860         is[abcdefghijklmnopqrstuvwxyz]*.
5861         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5862         to[abcdefghijklmnopqrstuvwxyz]*.
5863         [ISO C standards] (*_t): Do not allow.
5864         * conform/data/stdalign.h-data: New file.
5865         * conform/data/stdbool.h-data: Likewise.
5866         * conform/data/stdnoreturn.h-data: Likewise.
5868 2012-11-07  Roland McGrath  <roland@hack.frob.com>
5870         [BZ #14815]
5871         * manual/filesys.texi (Directory Entries): Typo fix.
5872         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5874 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5876         * elf/elf.h (EM_AARCH64): New macro.
5877         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5878         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5879         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5880         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5881         (R_AARCH64_TLSDESC): Likewise.
5882         (NT_ARM_TLS): Likewise.
5883         (NT_ARM_HW_BREAK): Likewise.
5884         (NT_ARM_HW_WATCH): Likewise.
5886 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5888         [BZ #14811]
5889         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5890         (__ieee754_powl): Saturate nonzero exponents with absolute value
5891         below 0x1p-79 to +/- 0x1p-79.
5892         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5893         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5894         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5895         nonzero exponents with absolute value below 0x1p-32 to +/-
5896         0x1p-32.
5897         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5898         (__ieee754_powl): Saturate nonzero exponents with absolute value
5899         below 0x1p-79 to +/- 0x1p-79.
5900         * math/libm-test.inc (pow_test): Add more tests.
5902 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5904         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5905         _dl_s390_cap_flags with kernel. Increase string length.
5906         (_dl_s390_platforms): Add z196 and zEC12.
5908 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5910         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5911         Change XOPEN21K to XOPEN2K.
5913 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
5915         * string/memmove.c: Use memcpy when possible.
5917 2012-11-06  Andreas Jaeger  <aj@suse.de>
5919         * po/eo.po: Update from translation team.
5921 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
5923         [BZ #14793]
5924         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5925         exponent and small x and y exponents, scale x or y up.  Increase
5926         by 2 the exponent used in scaling up.
5927         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5928         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5929         * math/libm-test.inc (fma_test): Add more tests.
5930         (fma_test_towardzero): Likewise.
5931         (fma_test_downward): Likewise.
5932         (fma_test_upward): Likewise.
5934 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
5936         [BZ #14805]
5937         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5938         fenv_t *.
5940         [BZ #14801]
5941         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5942         namespace for names of struct fields.
5943         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5944         fenv_t fields.
5945         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5946         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5948 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5950         [BZ #3665]
5951         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5953 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5955         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5956         PTR_DEMANGLE.
5958         [BZ #5246]
5959         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5960         PTR_DEMANGLE.
5962 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
5964         [BZ #14797]
5965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5966         definitely overflow as x * y not x * y + z.
5967         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5968         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5969         * math/libm-test.inc (fma_test): Add more tests.
5970         (fma_test_towardzero): Likewise.
5971         (fma_test_downward): Likewise.
5972         (fma_test_upward): Likewise.
5974 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5976         [BZ #157]
5978         * include/stub-tag.h: Remove file.
5979         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5980         '#include' of it.
5981         * manual/maint.texi (Porting): Don't reference it.
5982         * Makerules ($(objpfx)stubs): Likewise.
5983         * dirent/closedir.c: Don't include <stub-tag.h>.
5984         * dirent/dirfd.c: Likewise.
5985         * dirent/fdopendir.c: Likewise.
5986         * dirent/getdents.c: Likewise.
5987         * dirent/getdents64.c: Likewise.
5988         * dirent/opendir.c: Likewise.
5989         * dirent/readdir.c: Likewise.
5990         * dirent/readdir64.c: Likewise.
5991         * dirent/readdir64_r.c: Likewise.
5992         * dirent/readdir_r.c: Likewise.
5993         * dirent/rewinddir.c: Likewise.
5994         * dirent/seekdir.c: Likewise.
5995         * dirent/telldir.c: Likewise.
5996         * gmon/profil.c: Likewise.
5997         * grp/setgroups.c: Likewise.
5998         * inet/if_index.c: Likewise.
5999         * io/access.c: Likewise.
6000         * io/chdir.c: Likewise.
6001         * io/chmod.c: Likewise.
6002         * io/chown.c: Likewise.
6003         * io/close.c: Likewise.
6004         * io/dup.c: Likewise.
6005         * io/dup2.c: Likewise.
6006         * io/dup3.c: Likewise.
6007         * io/euidaccess.c: Likewise.
6008         * io/faccessat.c: Likewise.
6009         * io/fchdir.c: Likewise.
6010         * io/fchmod.c: Likewise.
6011         * io/fchmodat.c: Likewise.
6012         * io/fchown.c: Likewise.
6013         * io/fchownat.c: Likewise.
6014         * io/fcntl.c: Likewise.
6015         * io/flock.c: Likewise.
6016         * io/fstatfs.c: Likewise.
6017         * io/fstatfs64.c: Likewise.
6018         * io/fstatvfs.c: Likewise.
6019         * io/fstatvfs64.c: Likewise.
6020         * io/futimens.c: Likewise.
6021         * io/fxstat.c: Likewise.
6022         * io/fxstat64.c: Likewise.
6023         * io/fxstatat.c: Likewise.
6024         * io/fxstatat64.c: Likewise.
6025         * io/getcwd.c: Likewise.
6026         * io/isatty.c: Likewise.
6027         * io/lchmod.c: Likewise.
6028         * io/lchown.c: Likewise.
6029         * io/link.c: Likewise.
6030         * io/linkat.c: Likewise.
6031         * io/lseek.c: Likewise.
6032         * io/lseek64.c: Likewise.
6033         * io/lxstat64.c: Likewise.
6034         * io/mkdir.c: Likewise.
6035         * io/mkdirat.c: Likewise.
6036         * io/mkfifo.c: Likewise.
6037         * io/mkfifoat.c: Likewise.
6038         * io/open.c: Likewise.
6039         * io/open64.c: Likewise.
6040         * io/openat.c: Likewise.
6041         * io/openat64.c: Likewise.
6042         * io/pipe.c: Likewise.
6043         * io/pipe2.c: Likewise.
6044         * io/poll.c: Likewise.
6045         * io/posix_fadvise.c: Likewise.
6046         * io/posix_fadvise64.c: Likewise.
6047         * io/posix_fallocate.c: Likewise.
6048         * io/posix_fallocate64.c: Likewise.
6049         * io/read.c: Likewise.
6050         * io/readlink.c: Likewise.
6051         * io/readlinkat.c: Likewise.
6052         * io/rmdir.c: Likewise.
6053         * io/sendfile.c: Likewise.
6054         * io/sendfile64.c: Likewise.
6055         * io/statfs.c: Likewise.
6056         * io/statfs64.c: Likewise.
6057         * io/statvfs.c: Likewise.
6058         * io/statvfs64.c: Likewise.
6059         * io/symlink.c: Likewise.
6060         * io/symlinkat.c: Likewise.
6061         * io/ttyname.c: Likewise.
6062         * io/ttyname_r.c: Likewise.
6063         * io/umask.c: Likewise.
6064         * io/unlink.c: Likewise.
6065         * io/unlinkat.c: Likewise.
6066         * io/utime.c: Likewise.
6067         * io/utimensat.c: Likewise.
6068         * io/write.c: Likewise.
6069         * io/xmknod.c: Likewise.
6070         * io/xmknodat.c: Likewise.
6071         * io/xstat.c: Likewise.
6072         * io/xstat64.c: Likewise.
6073         * login/getpt.c: Likewise.
6074         * login/grantpt.c: Likewise.
6075         * login/unlockpt.c: Likewise.
6076         * math/e_acoshl.c: Likewise.
6077         * math/e_acosl.c: Likewise.
6078         * math/e_asinl.c: Likewise.
6079         * math/e_atan2l.c: Likewise.
6080         * math/e_atanhl.c: Likewise.
6081         * math/e_coshl.c: Likewise.
6082         * math/e_expl.c: Likewise.
6083         * math/e_fmodl.c: Likewise.
6084         * math/e_gammal_r.c: Likewise.
6085         * math/e_hypotl.c: Likewise.
6086         * math/e_j0l.c: Likewise.
6087         * math/e_j1l.c: Likewise.
6088         * math/e_jnl.c: Likewise.
6089         * math/e_lgammal_r.c: Likewise.
6090         * math/e_log10l.c: Likewise.
6091         * math/e_log2l.c: Likewise.
6092         * math/e_logl.c: Likewise.
6093         * math/e_powl.c: Likewise.
6094         * math/e_rem_pio2l.c: Likewise.
6095         * math/e_sinhl.c: Likewise.
6096         * math/e_sqrtl.c: Likewise.
6097         * math/fclrexcpt.c: Likewise.
6098         * math/fedisblxcpt.c: Likewise.
6099         * math/feenablxcpt.c: Likewise.
6100         * math/fegetenv.c: Likewise.
6101         * math/fegetexcept.c: Likewise.
6102         * math/fegetround.c: Likewise.
6103         * math/feholdexcpt.c: Likewise.
6104         * math/fesetenv.c: Likewise.
6105         * math/fesetround.c: Likewise.
6106         * math/feupdateenv.c: Likewise.
6107         * math/fgetexcptflg.c: Likewise.
6108         * math/fraiseexcpt.c: Likewise.
6109         * math/fsetexcptflg.c: Likewise.
6110         * math/ftestexcept.c: Likewise.
6111         * math/k_cosl.c: Likewise.
6112         * math/k_rem_pio2l.c: Likewise.
6113         * math/k_sinl.c: Likewise.
6114         * math/k_tanl.c: Likewise.
6115         * math/s_asinhl.c: Likewise.
6116         * math/s_atanl.c: Likewise.
6117         * math/s_cbrtl.c: Likewise.
6118         * math/s_erfl.c: Likewise.
6119         * math/s_expm1l.c: Likewise.
6120         * math/s_log1pl.c: Likewise.
6121         * math/s_tanhl.c: Likewise.
6122         * misc/acct.c: Likewise.
6123         * misc/brk.c: Likewise.
6124         * misc/chflags.c: Likewise.
6125         * misc/chroot.c: Likewise.
6126         * misc/fchflags.c: Likewise.
6127         * misc/fgetxattr.c: Likewise.
6128         * misc/flistxattr.c: Likewise.
6129         * misc/fremovexattr.c: Likewise.
6130         * misc/fsetxattr.c: Likewise.
6131         * misc/fsync.c: Likewise.
6132         * misc/ftruncate.c: Likewise.
6133         * misc/futimes.c: Likewise.
6134         * misc/futimesat.c: Likewise.
6135         * misc/getdomain.c: Likewise.
6136         * misc/getdtsz.c: Likewise.
6137         * misc/gethostid.c: Likewise.
6138         * misc/gethostname.c: Likewise.
6139         * misc/getloadavg.c: Likewise.
6140         * misc/getpagesize.c: Likewise.
6141         * misc/getsysstats.c: Likewise.
6142         * misc/getxattr.c: Likewise.
6143         * misc/gtty.c: Likewise.
6144         * misc/ioctl.c: Likewise.
6145         * misc/lgetxattr.c: Likewise.
6146         * misc/listxattr.c: Likewise.
6147         * misc/llistxattr.c: Likewise.
6148         * misc/lremovexattr.c: Likewise.
6149         * misc/lsetxattr.c: Likewise.
6150         * misc/lutimes.c: Likewise.
6151         * misc/madvise.c: Likewise.
6152         * misc/mincore.c: Likewise.
6153         * misc/mlock.c: Likewise.
6154         * misc/mlockall.c: Likewise.
6155         * misc/mmap.c: Likewise.
6156         * misc/mprotect.c: Likewise.
6157         * misc/msync.c: Likewise.
6158         * misc/munlock.c: Likewise.
6159         * misc/munlockall.c: Likewise.
6160         * misc/munmap.c: Likewise.
6161         * misc/preadv.c: Likewise.
6162         * misc/preadv64.c: Likewise.
6163         * misc/ptrace.c: Likewise.
6164         * misc/pwritev.c: Likewise.
6165         * misc/pwritev64.c: Likewise.
6166         * misc/readv.c: Likewise.
6167         * misc/reboot.c: Likewise.
6168         * misc/remap_file_pages.c: Likewise.
6169         * misc/removexattr.c: Likewise.
6170         * misc/revoke.c: Likewise.
6171         * misc/select.c: Likewise.
6172         * misc/setdomain.c: Likewise.
6173         * misc/setegid.c: Likewise.
6174         * misc/seteuid.c: Likewise.
6175         * misc/sethostid.c: Likewise.
6176         * misc/sethostname.c: Likewise.
6177         * misc/setregid.c: Likewise.
6178         * misc/setreuid.c: Likewise.
6179         * misc/setxattr.c: Likewise.
6180         * misc/sstk.c: Likewise.
6181         * misc/stty.c: Likewise.
6182         * misc/swapoff.c: Likewise.
6183         * misc/swapon.c: Likewise.
6184         * misc/sync.c: Likewise.
6185         * misc/syncfs.c: Likewise.
6186         * misc/syscall.c: Likewise.
6187         * misc/truncate.c: Likewise.
6188         * misc/ualarm.c: Likewise.
6189         * misc/usleep.c: Likewise.
6190         * misc/ustat.c: Likewise.
6191         * misc/utimes.c: Likewise.
6192         * misc/vhangup.c: Likewise.
6193         * misc/writev.c: Likewise.
6194         * posix/_exit.c: Likewise.
6195         * posix/alarm.c: Likewise.
6196         * posix/execve.c: Likewise.
6197         * posix/fexecve.c: Likewise.
6198         * posix/fork.c: Likewise.
6199         * posix/fpathconf.c: Likewise.
6200         * posix/getaddrinfo.c: Likewise.
6201         * posix/getegid.c: Likewise.
6202         * posix/geteuid.c: Likewise.
6203         * posix/getgid.c: Likewise.
6204         * posix/getgroups.c: Likewise.
6205         * posix/getlogin.c: Likewise.
6206         * posix/getlogin_r.c: Likewise.
6207         * posix/getpgid.c: Likewise.
6208         * posix/getpid.c: Likewise.
6209         * posix/getppid.c: Likewise.
6210         * posix/getresgid.c: Likewise.
6211         * posix/getresuid.c: Likewise.
6212         * posix/getsid.c: Likewise.
6213         * posix/getuid.c: Likewise.
6214         * posix/glob64.c: Likewise.
6215         * posix/nanosleep.c: Likewise.
6216         * posix/pathconf.c: Likewise.
6217         * posix/pause.c: Likewise.
6218         * posix/posix_madvise.c: Likewise.
6219         * posix/pread.c: Likewise.
6220         * posix/pread64.c: Likewise.
6221         * posix/pwrite.c: Likewise.
6222         * posix/pwrite64.c: Likewise.
6223         * posix/sched_getaffinity.c: Likewise.
6224         * posix/sched_getp.c: Likewise.
6225         * posix/sched_gets.c: Likewise.
6226         * posix/sched_primax.c: Likewise.
6227         * posix/sched_primin.c: Likewise.
6228         * posix/sched_rr_gi.c: Likewise.
6229         * posix/sched_setaffinity.c: Likewise.
6230         * posix/sched_setp.c: Likewise.
6231         * posix/sched_sets.c: Likewise.
6232         * posix/sched_yield.c: Likewise.
6233         * posix/setgid.c: Likewise.
6234         * posix/setlogin.c: Likewise.
6235         * posix/setpgid.c: Likewise.
6236         * posix/setresgid.c: Likewise.
6237         * posix/setresuid.c: Likewise.
6238         * posix/setsid.c: Likewise.
6239         * posix/setuid.c: Likewise.
6240         * posix/sleep.c: Likewise.
6241         * posix/spawni.c: Likewise.
6242         * posix/sysconf.c: Likewise.
6243         * posix/times.c: Likewise.
6244         * posix/wait.c: Likewise.
6245         * posix/wait3.c: Likewise.
6246         * posix/wait4.c: Likewise.
6247         * posix/waitpid.c: Likewise.
6248         * resolv/gai_sigqueue.c: Likewise.
6249         * resource/getpriority.c: Likewise.
6250         * resource/getrlimit.c: Likewise.
6251         * resource/getrusage.c: Likewise.
6252         * resource/nice.c: Likewise.
6253         * resource/setpriority.c: Likewise.
6254         * resource/setrlimit.c: Likewise.
6255         * resource/ulimit.c: Likewise.
6256         * rt/aio_cancel.c: Likewise.
6257         * rt/aio_fsync.c: Likewise.
6258         * rt/aio_read.c: Likewise.
6259         * rt/aio_sigqueue.c: Likewise.
6260         * rt/aio_suspend.c: Likewise.
6261         * rt/aio_write.c: Likewise.
6262         * rt/clock_getres.c: Likewise.
6263         * rt/clock_gettime.c: Likewise.
6264         * rt/clock_nanosleep.c: Likewise.
6265         * rt/clock_settime.c: Likewise.
6266         * rt/lio_listio.c: Likewise.
6267         * rt/mq_close.c: Likewise.
6268         * rt/mq_getattr.c: Likewise.
6269         * rt/mq_notify.c: Likewise.
6270         * rt/mq_open.c: Likewise.
6271         * rt/mq_receive.c: Likewise.
6272         * rt/mq_send.c: Likewise.
6273         * rt/mq_setattr.c: Likewise.
6274         * rt/mq_timedreceive.c: Likewise.
6275         * rt/mq_timedsend.c: Likewise.
6276         * rt/mq_unlink.c: Likewise.
6277         * rt/shm_open.c: Likewise.
6278         * rt/shm_unlink.c: Likewise.
6279         * rt/timer_create.c: Likewise.
6280         * rt/timer_delete.c: Likewise.
6281         * rt/timer_getoverr.c: Likewise.
6282         * rt/timer_gettime.c: Likewise.
6283         * rt/timer_settime.c: Likewise.
6284         * setjmp/__longjmp.c: Likewise.
6285         * setjmp/setjmp.c: Likewise.
6286         * signal/kill.c: Likewise.
6287         * signal/killpg.c: Likewise.
6288         * signal/raise.c: Likewise.
6289         * signal/sigaction.c: Likewise.
6290         * signal/sigaltstack.c: Likewise.
6291         * signal/sigblock.c: Likewise.
6292         * signal/sigignore.c: Likewise.
6293         * signal/sigintr.c: Likewise.
6294         * signal/signal.c: Likewise.
6295         * signal/sigpause.c: Likewise.
6296         * signal/sigpending.c: Likewise.
6297         * signal/sigqueue.c: Likewise.
6298         * signal/sigreturn.c: Likewise.
6299         * signal/sigset.c: Likewise.
6300         * signal/sigsetmask.c: Likewise.
6301         * signal/sigstack.c: Likewise.
6302         * signal/sigsuspend.c: Likewise.
6303         * signal/sigtimedwait.c: Likewise.
6304         * signal/sigvec.c: Likewise.
6305         * signal/sigwait.c: Likewise.
6306         * signal/sigwaitinfo.c: Likewise.
6307         * signal/sysv_signal.c: Likewise.
6308         * socket/accept.c: Likewise.
6309         * socket/accept4.c: Likewise.
6310         * socket/bind.c: Likewise.
6311         * socket/connect.c: Likewise.
6312         * socket/getpeername.c: Likewise.
6313         * socket/getsockname.c: Likewise.
6314         * socket/getsockopt.c: Likewise.
6315         * socket/isfdtype.c: Likewise.
6316         * socket/listen.c: Likewise.
6317         * socket/recv.c: Likewise.
6318         * socket/recvfrom.c: Likewise.
6319         * socket/recvmsg.c: Likewise.
6320         * socket/send.c: Likewise.
6321         * socket/sendmsg.c: Likewise.
6322         * socket/sendto.c: Likewise.
6323         * socket/setsockopt.c: Likewise.
6324         * socket/shutdown.c: Likewise.
6325         * socket/sockatmark.c: Likewise.
6326         * socket/socket.c: Likewise.
6327         * socket/socketpair.c: Likewise.
6328         * stdio-common/ctermid.c: Likewise.
6329         * stdio-common/cuserid.c: Likewise.
6330         * stdio-common/remove.c: Likewise.
6331         * stdio-common/rename.c: Likewise.
6332         * stdio-common/renameat.c: Likewise.
6333         * stdio-common/tempname.c: Likewise.
6334         * stdlib/getcontext.c: Likewise.
6335         * stdlib/makecontext.c: Likewise.
6336         * stdlib/setcontext.c: Likewise.
6337         * stdlib/swapcontext.c: Likewise.
6338         * stdlib/system.c: Likewise.
6339         * streams/fattach.c: Likewise.
6340         * streams/fdetach.c: Likewise.
6341         * streams/getmsg.c: Likewise.
6342         * streams/getpmsg.c: Likewise.
6343         * streams/putmsg.c: Likewise.
6344         * streams/putpmsg.c: Likewise.
6345         * sysdeps/unix/bsd/getpt.c: Likewise.
6346         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6347         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6348         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6350         Likewise.
6351         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6352         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6353         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6354         * sysvipc/msgctl.c: Likewise.
6355         * sysvipc/msgget.c: Likewise.
6356         * sysvipc/msgrcv.c: Likewise.
6357         * sysvipc/msgsnd.c: Likewise.
6358         * sysvipc/semctl.c: Likewise.
6359         * sysvipc/semget.c: Likewise.
6360         * sysvipc/semop.c: Likewise.
6361         * sysvipc/semtimedop.c: Likewise.
6362         * sysvipc/shmat.c: Likewise.
6363         * sysvipc/shmctl.c: Likewise.
6364         * sysvipc/shmdt.c: Likewise.
6365         * sysvipc/shmget.c: Likewise.
6366         * termios/tcdrain.c: Likewise.
6367         * termios/tcflow.c: Likewise.
6368         * termios/tcflush.c: Likewise.
6369         * termios/tcgetattr.c: Likewise.
6370         * termios/tcgetpgrp.c: Likewise.
6371         * termios/tcsendbrk.c: Likewise.
6372         * termios/tcsetattr.c: Likewise.
6373         * termios/tcsetpgrp.c: Likewise.
6374         * time/adjtime.c: Likewise.
6375         * time/clock.c: Likewise.
6376         * time/getitimer.c: Likewise.
6377         * time/gettimeofday.c: Likewise.
6378         * time/setitimer.c: Likewise.
6379         * time/settimeofday.c: Likewise.
6380         * time/stime.c: Likewise.
6381         * time/time.c: Likewise.
6383 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
6385         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6386         /usr/old/bin.
6388         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6389         instead of spaces.
6390         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6392 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
6394         [BZ #14796]
6395         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6396         FE_TONEAREST before applying Dekker multiplication and Knuth
6397         addition.  Clear inexact exceptions and check for exact zero
6398         results afterwards.
6399         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6400         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6401         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6402         * math/libm-test.inc (fma_test): Add more tests.
6403         (fma_test_towardzero): Likewise.
6404         (fma_test_downward): Likewise.
6405         (fma_test_upward): Likewise.
6406         * sysdeps/generic/math_private.h (default_libc_fesetround): New
6407         function.
6408         (libc_fesetround): New macro.
6409         (libc_fesetroundf): Likewise.
6410         (libc_fesetroundl): Likewise.
6411         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6412         function.
6413         (libc_fesetround_387): Likewise.
6414         (libc_fesetroundf): New macro.
6415         (libc_fesetround): Likewise.
6416         (libc_fesetroundl): Likewise.
6417         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6418         function.
6419         (libc_fesetroundf): New macro.
6420         (libc_fesetround): Likewise.
6421         (libc_fesetroundl): Likewise.
6422         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6423         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6424         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6425         libm_hidden_ver.
6426         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6427         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6428         libm_hidden_def.
6429         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6430         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6431         libm_hidden_ver.
6432         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6433         libm_hidden_def.
6435         [BZ #3439]
6436         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6437         integer constant usable in #if and use that to give value to enum
6438         constant.
6439         (FE_DIVBYZERO): Likewise.
6440         (FE_UNDERFLOW): Likewise.
6441         (FE_OVERFLOW): Likewise.
6442         (FE_INVALID): Likewise.
6443         (FE_INVALID_SNAN): Likewise.
6444         (FE_INVALID_ISI): Likewise.
6445         (FE_INVALID_IDI): Likewise.
6446         (FE_INVALID_ZDZ): Likewise.
6447         (FE_INVALID_IMZ): Likewise.
6448         (FE_INVALID_COMPARE): Likewise.
6449         (FE_INVALID_SOFTWARE): Likewise.
6450         (FE_INVALID_SQRT): Likewise.
6451         (FE_INVALID_INTEGER_CONVERSION): Likewise.
6452         (FE_TONEAREST): Likewise.
6453         (FE_TOWARDZERO): Likewise.
6454         (FE_UPWARD): Likewise.
6455         (FE_DOWNWARD): Likewise.
6456         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6457         (FE_DIVBYZERO): Likewise.
6458         (FE_OVERFLOW): Likewise.
6459         (FE_UNDERFLOW): Likewise.
6460         (FE_INEXACT): Likewise.
6461         (FE_TONEAREST): Likewise.
6462         (FE_DOWNWARD): Likewise.
6463         (FE_UPWARD): Likewise.
6464         (FE_TOWARDZERO): Likewise.
6465         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6466         (FE_UNDERFLOW): Likewise.
6467         (FE_OVERFLOW): Likewise.
6468         (FE_DIVBYZERO): Likewise.
6469         (FE_INVALID): Likewise.
6470         (FE_TONEAREST): Likewise.
6471         (FE_TOWARDZERO): Likewise.
6472         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6473         (FE_OVERFLOW): Likewise.
6474         (FE_UNDERFLOW): Likewise.
6475         (FE_DIVBYZERO): Likewise.
6476         (FE_INEXACT): Likewise.
6477         (FE_TONEAREST): Likewise.
6478         (FE_TOWARDZERO): Likewise.
6479         (FE_UPWARD): Likewise.
6480         (FE_DOWNWARD): Likewise.
6481         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6482         (FE_DIVBYZERO): Likewise.
6483         (FE_OVERFLOW): Likewise.
6484         (FE_UNDERFLOW): Likewise.
6485         (FE_INEXACT): Likewise.
6486         (FE_TONEAREST): Likewise.
6487         (FE_DOWNWARD): Likewise.
6488         (FE_UPWARD): Likewise.
6489         (FE_TOWARDZERO): Likewise.
6491 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
6493         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6495 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
6497         * scripts/cross-test-ssh.sh (command): Use newlines to separate
6498         commands.  Quote $PWD.
6499         (blacklist_exports): Don't use remove_newlines.  Replace "declare
6500         -x" by "export".
6501         (remove_newlines): Remove.
6503 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
6505         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6506         * stdlib/stdlib.h (atof): Moved to ...
6507         * include/bits/stdlib-float.h: Here.  New file.
6508         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6509         * stdlib/bits/stdlib-float.h: New file.
6510         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6511         -mno-sse -mno-mmx.
6512         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6513         <xmmintrin.h>.
6515 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6517         * conform/conformtest.pl (@headers): Add fenv.h.
6518         * conform/data/fenv.h-data: New file.
6519         * include/fenv.h [_ISOMAC]: Disable all contents of file except
6520         include of <math/fenv.h>.
6522         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6523         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6524         && !UNIX98].  Enables tests for XOPEN2K8.
6525         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6526         POSIX2008]: Likewise.
6528         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6529         (struct rusage): Do not expect type or its members.
6531         [BZ #3439]
6532         * math/math.h (FP_NAN): Define macro to integer constant usable in
6533         #if and use that to give value to enum constant.
6534         (FP_INFINITE): Likewise.
6535         (FP_ZERO): Likewise.
6536         (FP_SUBNORMAL): Likewise.
6537         (FP_NORMAL): Likewise.
6539 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
6541         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6542         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6543         arguments.
6545 2012-11-02  Roland McGrath  <roland@hack.frob.com>
6547         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6548         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6549         autoconf-time if not.
6550         * configure.in: Remove AC_PREREQ.
6552 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6554         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6555         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6556         of the internal implementation.
6558 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6560         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6561         except include of <misc/sys/syslog.h>.
6563 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6566         function returns with a NULL context exit with zero.
6568 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6570         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6572 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
6574         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6575         (run_program_cmd): This.
6576         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6577         (tst_langinfo): New variable.  Use it.
6579 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
6581         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6582         floating point opcodes.
6584 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6586         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6587         variable.
6589         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6591         * sysdeps/mach/hurd/powerpc: Remove directory.
6592         * sysdeps/mach/powerpc: Likewise.
6594 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6596         * scripts/check-local-headers.sh: Ignore c++ headers.
6598 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6600         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6601         __libc_cleanup_region_start argument.
6603 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
6605         [BZ #14784]
6606         [BZ #14785]
6607         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6608         x * y using scaling, not as x * y + z.
6609         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6610         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6611         * math/libm-test.inc (fma_test): Add more tests.
6612         (fma_test_towardzero): Likewise.
6613         (fma_test_downward): Likewise.
6614         (fma_test_upward): Likewise.
6616 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6618         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6620 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6622         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6623         New variable.
6625 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
6627         * rt/tst-shm.c (worker): Correct checking for mmap failure.
6629 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6632         Fix sort order.
6633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6634         Likewise.
6636 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6639         Fix the order of the list for glibc 2.17.
6640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6641         Likewise.
6643 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6647 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6649         [BZ #14610]
6650         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6651         for low part of x being zero before using __atanl (y).
6652         * math/libm-test.inc (atan2_test): Add another test.
6654         * manual/install.texi (Configuring and compiling): Document
6655         general use of test-wrapper and test-wrapper-env.
6656         * INSTALL: Regenerated.
6658         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6659         (__fma): 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         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6663         (__fmal): Do not extract and scale down low bits on after-rounding
6664         systems when result rounded to normal precision would have normal
6665         exponent.
6666         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6667         (__fmal): Do not extract and scale down low bits on after-rounding
6668         systems when result rounded to normal precision would have normal
6669         exponent.
6670         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6671         macro.
6672         (fma_test): Add more tests.
6673         (fma_test_towardzero): Likewise.
6674         (fma_test_downward): Likewise.
6675         (fma_test_upward): Likewise.
6677 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
6679         * sysdeps/i386/tininess.h: Renamed to ...
6680         * sysdeps/x86/tininess.h: This.
6681         * sysdeps/x86_64/tininess.h: Removed.
6683 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6685         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6686         input.  Use $(build-program-cmd).
6687         ($(objpfx)tst-array1-static.out): Likewise.
6688         ($(objpfx)tst-array2.out): Likewise.
6689         ($(objpfx)tst-array3.out): Likewise.
6690         ($(objpfx)tst-array4.out): Likewise.
6691         ($(objpfx)tst-array5.out): Likewise.
6692         ($(objpfx)tst-array5-static.out): Likewise.
6694 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
6696         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6697         if defined.
6699         * nss/nsswitch.h (nss_interface_function): Provide new
6700         macro for use with NSS functions.
6701         * grp/initgroups.c: Use new macro.
6702         * nss/getXXbyYY.c: Likewise.
6703         * nss/getXXbyYY_r.c: Likewise.
6704         * nss/getXXent.c: Likewise.
6705         * nss/getXXent_r.c: Likewise.
6706         * sysdeps/posix/getaddrinfo.c: Likewise.
6708 2012-10-30  Andreas Jaeger  <aj@suse.de>
6710         * po/ru.po: Update Russion translation from translation project.
6712 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6714         [BZ #14152]
6715         [BZ #14783]
6716         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6717         result and shift together with sticky bit instead of replicating
6718         round-to-nearest rounding.
6719         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6720         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6721         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
6722         missing underflow exceptions.
6723         (fma_test_towardzero): Add more tests.
6724         (fma_test_downward): Likewise.
6725         (fma_test_upward): Likewise.
6727         [BZ #14047]
6728         * sysdeps/generic/tininess.h: New file.
6729         * sysdeps/i386/tininess.h: Likewise.
6730         * sysdeps/sh/tininess.h: Likewise.
6731         * sysdeps/x86_64/tininess.h: Likewise.
6732         * stdlib/tst-strtod-underflow.c: Likewise.
6733         * stdlib/tst-tininess.c: Likewise.
6734         * stdlib/strtod_l.c: Include <tininess.h>.
6735         (round_and_return): Do not set errno for exact underflow cases.
6736         Force an underflow exception when setting errno for underflow.
6737         Determine underflow based on rounding to normal precision if
6738         TININESS_AFTER_ROUNDING.
6739         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6740         ERANGE for exact underflow cases.
6741         * stdlib/Makefile (tests): Add tst-tininess and
6742         tst-strtod-underflow.
6743         ($(objpfx)tst-tininess): Use $(link-libm).
6744         ($(objpfx)tst-strtod-underflow): Likewise.
6746 2012-10-30  Andreas Jaeger  <aj@suse.de>
6748         [BZ#14767]
6749         * elf/Makefile (tests): Remove conditional for have-initfini-array
6750         since this is now always required and the variable does not exist
6751         anymore.
6752         (tests-static): Likewise.
6753         (modules-names): Likewise.
6755         * po/eo.po: Add Esperanto translation from translation project.
6757         * elf/tst-array1.c (fini_array): Make writeable so that it can be
6758         merged with constructor/destructor.
6759         (init_array): Likewise.
6760         * elf/tst-array2dep.c (fini_array): Likewise.
6761         (init_array): Likewise.
6763 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
6765         * manual/message.texi: Delete @cartouche tags.
6767 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
6769         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6770         EOPNOTSUPP.
6771         * sysdeps/mach/hurd/fsync.c: Likewise.
6773         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6774         [_POSIX_REALTIME_SIGNALS]: Change condition to
6775         [_POSIX_REALTIME_SIGNALS > 0].
6777 2012-10-27  Andreas Jaeger  <aj@suse.de>
6779         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6780         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6781         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6782         [__WORDSIZE != 64]: Likewise.
6784 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
6786         *  iconvdata/tst-table.sh: Remove ${SHELL}.
6787         *  iconvdata/tst-tables.sh: Likewise.
6789 2012-10-25  David S. Miller  <davem@davemloft.net>
6791         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6792         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6793         of strtoull.
6795         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6796         ifunc-impl-list.c
6797         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6798         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6799         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6800         file.
6802 2012-10-25  Roland McGrath  <roland@hack.frob.com>
6804         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6805         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6806         __getdirentries.
6808 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6809             Jim Blandy  <jimb@codesourcery.com>
6811         * scripts/cross-test-ssh.sh: New file.
6812         * manual/install.texi (Configuring and compiling): Document use of
6813         cross-test-ssh.sh.
6814         * INSTALL: Regenerated.
6816 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
6818         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6819         EOPNOTSUPP.
6821 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6823         * Makeconfig (run-program-prefix): Fix comment.
6825 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6826             Jim Blandy  <jimb@codesourcery.com>
6828         * Makeconfig (test-wrapper): New variable,
6829         (test-wrapper-env): Likewise.
6830         [$(cross-compiling) = yes && $(test-wrapper) != ""]
6831         (run-built-tests): Define to yes.
6832         (run-program-prefix): Use $(test-wrapper).
6833         (built-program-cmd): Likewise.
6834         * Rules (make-test-out): Use $(test-wrapper-env) and
6835         $(host-built-program-cmd).
6836         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6837         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6838         tst-pathopt.sh.
6839         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6840         $(test-wrapper-env) to tst-rtld-load-self.sh.
6841         ($(objpfx)order2.out): Use $(test-wrapper).
6842         ($(objpfx)tst-initorder.out): Likewise.
6843         ($(objpfx)tst-initorder2.out): Likewise.
6844         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6845         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6846         (test_wrapper_env): New variable.  Use it to run ld.so.
6847         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6848         Use it to run ld.so.
6849         (test_wrapper_env): Likewise.
6850         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6851         $(test-wrapper) to run-iconv-test.sh.
6852         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6853         (ICONV): Use $test_wrapper.
6854         * posix/Makefile ($(objpfx)globtest.out): Pass
6855         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6856         globtest.sh, not $(run-program-prefix).
6857         * posix/globtest.sh (run_via_rtld_prefix): New variable.
6858         (test_wrapper): Likewise.
6859         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
6860         set together with run_via_rtld_prefix.
6861         (run_program_prefix): Define in terms of test_wrapper and
6862         run_via_rtld_prefix.
6864 2012-10-24  Roland McGrath  <roland@hack.frob.com>
6866         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6867         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6868         Targets removed.
6870         [BZ #14743]
6871         * include/time.h: Remove librt_hidden_proto (clock_gettime).
6872         Declare __clock_getres, __clock_gettime, __clock_settime,
6873         __clock_nanosleep, and __clock_getcpuclockid.
6874         * rt/clock_gettime.c: Define __clock_gettime as an alias.
6875         Remove librt_hidden_def (clock_gettime).
6876         * sysdeps/unix/clock_gettime.c: Likewise.
6877         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6878         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6879         * rt/clock_getres.c: Define __clock_getres as an alias.
6880         * sysdeps/posix/clock_getres.c: Likewise.
6881         * rt/clock_settime.c: Define __clock_settime as an alias.
6882         * sysdeps/unix/clock_settime.c: Likewise.
6883         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6884         * sysdeps/unix/clock_nanosleep.c: Likewise.
6885         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6886         * rt/clock-compat.c: New file.
6887         * rt/Makefile (librt-routines): Add clock-compat and move
6888         $(clock-routines) to ...
6889         (routines): ... here, new variable.
6890         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6891         Don't add get_clockfreq here.
6892         * rt/Versions (libc: GLIBC_2.17): New version set.
6893         Add clock_* symbols here.
6894         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
6895         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6896         (GLIBC_2.17): Add clock_* symbols.
6897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6899         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6901         Likewise.
6902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6903         Likewise.
6904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6908         * NEWS: Mention the move.
6910         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6911         Use __open, __read, __close rather than their public counterparts.
6912         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6913         (__get_clockfreq_via_cpuinfo): Likewise.
6914         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6915         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6917         * config.h.in (HAVE_IFUNC): New #undef.
6918         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6919         was successful.
6920         * configure: Regenerated.
6922 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6924         * configure.in: Move READELF check to start of file.
6925         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6926         libc_cv_asm_gnu_indirect_function in the process.
6927         * configure: Regenerated.
6929 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6931         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6932         send the output to /dev/null.
6933         (libc_cv_cc_with_libunwind): Likewise.
6934         (libc_cv_as_noexecstack): Likewise.
6935         * configure: Regenerate.
6937 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6939         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6941         * posix/globtest.sh (TMPDIR): Do not set.
6942         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6943         (testout): Likewise.
6945 2012-10-24  Andreas Jaeger  <aj@suse.de>
6947         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6948         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6949         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6950         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6951         posix_fadvise64, posix_fallocate64.
6953         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6954         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6955         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6956         Likewise.
6957         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6958         Likewise.
6959         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6961         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6962         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6963         <bits/fcntl-linux.h>.
6964         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6966         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6967         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6968         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6969         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6970         [__WORDSIZE != 64]: Likewise.
6972 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6974         * Makeconfig (run-built-tests): New variable.
6975         * Rules [$(cross-compiling) = yes]: Change condition to
6976         [$(run-built-tests) = no].
6977         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6978         to [$(run-built-tests) = yes].
6979         * elf/Makefile [$(cross-compiling) = no]: Likewise
6980         * grp/Makefile [$(cross-compiling) = no]: Likewise.
6981         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6982         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6983         * intl/Makefile [$(cross-compiling) = no]: Likewise.
6984         * io/Makefile [$(cross-compiling) = no]: Likewise.
6985         * libio/Makefile [$(cross-compiling) = no]: Likewise.
6986         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6987         * misc/Makefile [$(cross-compiling) = no]: Likewise.
6988         * posix/Makefile [$(cross-compiling) = no]: Likewise.
6989         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6990         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6991         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6992         * string/Makefile [$(cross-compiling) = no]: Likewise.
6994         * posix/Makefile ($(objpfx)globtest.out): Pass
6995         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6996         $(rtld-installed-name).
6997         * posix/globtest.sh (elf_objpfx): Remove variable.
6998         (rtld_installed_name): Likewise.
6999         (library_path): Likewise.
7000         (run_program_prefix): New variable.  Use for running globtest
7001         binary.
7003 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
7004             Joseph Myers  <joseph@codesourcery.com>
7006         * Makeconfig (host-built-program-cmd): New variable.
7007         * elf/Makefile (tst-stackguard1-ARGS): Use
7008         $(host-built-program-cmd).
7009         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7010         (tst-spawn-ARGS): Likewise.
7011         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7013 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7014             Jim Blandy  <jimb@codesourcery.com>
7016         * Makeconfig (run-via-rtld-prefix): New variable.
7017         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7018         (built-program-cmd): Likewise.
7020 2012-10-22  Andreas Jaeger  <aj@suse.de>
7022         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7023         __O_RSYNC if it exists, otherwise to O_SYNC.
7025 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
7026             Joseph Myers  <joseph@codesourcery.com>
7028         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7029         /dev/null.
7030         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7031         from /dev/null
7032         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7033         /dev/null.
7035 2012-10-22  Andreas Jaeger  <aj@suse.de>
7037         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7038         Define always.
7039         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7041         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7042         bits/fcntl-linux.h.
7044         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7045         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7047         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7048         to __O_LARGEFILE.
7049         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7050         to __O_LARGEFILE.
7052 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
7053             Joseph Myers  <joseph@codesourcery.com>
7055         * config.make.in (NM): New variable.
7057 2012-10-21  Andreas Jaeger  <aj@suse.de>
7059         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7060         definitions and declarations that are provided by
7061         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7063 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7065         [BZ #14683]
7066         * elf/Makefile (tests-static): Add tst-leaks1-static.
7067         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7068         ($(objpfx)tst-leaks1-static): New rule.
7069         ($(objpfx)tst-leaks1-static-mem): Likewise.
7070         (tst-leaks1-static-ENV): New macro.
7071         * elf/dl-open.c (dl_open_worker): Check the main application
7072         only if SHARED is defined.
7073         * elf/tst-leaks1-static.c: New file.
7075 2012-10-20  Andreas Jaeger  <aj@suse.de>
7077         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7078         generic values for Linux.
7079         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7080         and declarations that are provided by <bits/fcntl-linux.h> and
7081         include <bits/fcntl-linux.h>.
7082         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7083         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7085 2012-10-20  Roland McGrath  <roland@hack.frob.com>
7087         * io/fcntl.h: Move include of <bits/types.h> to the top and
7088         include it unconditionally.
7090 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7092         * wcsmbs/Makefile (tests-ifunc): New variable.
7093         (tests): Add $(tests-ifunc).
7094         * wcsmbs/test-wcschr-ifunc.c: New file.
7095         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7096         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7097         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7098         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7099         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7101         * string/Makefile (tests-ifunc): New variable.
7102         (tests): Add $(tests-ifunc).
7103         * string/test-memccpy.c (TEST_NAME): New macro.
7104         * string/test-memchr.c (TEST_NAME): Likewise.
7105         * string/test-memcmp.c (TEST_NAME): Likewise.
7106         * string/test-memcpy.c (TEST_NAME): Likewise.
7107         * string/test-memmem.c (TEST_NAME): Likewise.
7108         * string/test-memmove.c (TEST_NAME): Likewise.
7109         * string/test-memset.c (TEST_NAME): Likewise.
7110         * string/test-rawmemchr.c (TEST_NAME): Likewise.
7111         * string/test-stpcpy.c (TEST_NAME): Likewise.
7112         * string/test-stpncpy.c (TEST_NAME): Likewise.
7113         * string/test-strcasecmp.c (TEST_NAME): Likewise.
7114         * string/test-strcasestr.c (TEST_NAME): Likewise.
7115         * string/test-strcat.c (TEST_NAME): Likewise.
7116         * string/test-strchr.c (TEST_NAME): Likewise.
7117         * string/test-strcmp.c(TEST_NAME): Likewise.
7118         * string/test-strcpy.c (TEST_NAME): Likewise.
7119         * string/test-strcspn.c (TEST_NAME): Likewise.
7120         * string/test-strlen.c (TEST_NAME): Likewise.
7121         * string/test-strncasecmp.c (TEST_NAME): Likewise.
7122         * string/test-strncmp.c (TEST_NAME): Likewise.
7123         * string/test-strncpy.c (TEST_NAME): Likewise.
7124         * string/test-strnlen.c (TEST_NAME): Likewise.
7125         * string/test-strpbrk.c (TEST_NAME): Likewise.
7126         * string/test-strrchr.c (TEST_NAME): Likewise.
7127         * string/test-strspn.c (TEST_NAME): Likewise.
7128         * string/test-strstr.c (TEST_NAME): Likewise.
7129         * string/test-bcopy-ifunc.c: New file.
7130         * string/test-bzero-ifunc.c: Likewise.
7131         * string/test-memccpy-ifunc.c: Likewise.
7132         * string/test-memchr-ifunc.c: Likewise.
7133         * string/test-memcmp-ifunc.c: Likewise.
7134         * string/test-memcpy-ifunc.c: Likewise.
7135         * string/test-memmem-ifunc.c: Likewise.
7136         * string/test-memmove-ifunc.c: Likewise.
7137         * string/test-mempcpy-ifunc.c: Likewise.
7138         * string/test-memset-ifunc.c: Likewise.
7139         * string/test-rawmemchr-ifunc.c: Likewise.
7140         * string/test-stpcpy-ifunc.c: Likewise.
7141         * string/test-stpncpy-ifunc.c: Likewise.
7142         * string/test-strcasecmp-ifunc.c: Likewise.
7143         * string/test-strcasestr-ifunc.c: Likewise.
7144         * string/test-strcat-ifunc.c: Likewise.
7145         * string/test-strchr-ifunc.c: Likewise.
7146         * string/test-strchrnul-ifunc.c: Likewise.
7147         * string/test-strcmp-ifunc.c: Likewise.
7148         * string/test-strcpy-ifunc.c: Likewise.
7149         * string/test-strcspn-ifunc.c: Likewise.
7150         * string/test-strlen-ifunc.c: Likewise.
7151         * string/test-strncasecmp-ifunc.c: Likewise.
7152         * string/test-strncat-ifunc.c: Likewise.
7153         * string/test-strncmp-ifunc.c: Likewise.
7154         * string/test-strncpy-ifunc.c: Likewise.
7155         * string/test-strnlen-ifunc.c: Likewise.
7156         * string/test-strpbrk-ifunc.c: Likewise.
7157         * string/test-strrchr-ifunc.c: Likewise.
7158         * string/test-strspn-ifunc.c: Likewise.
7159         * string/test-strstr-ifunc.c: Likewise.
7161         * debug/Makefile (tests-ifunc): New variable.
7162         (tests): Add $(tests-ifunc).
7163         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7164         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7165         * debug/test-stpcpy_chk-ifunc.c: New file.
7166         * debug/test-strcpy_chk-ifunc.c: Likewise.
7168 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7170         [BZ #13601]
7171         * elf/dl-load.c (open_verify): Retry read if the entire ELF
7172         header is not read in.
7174 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
7176         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
7177         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
7178         directly.  Pass built executable to script as
7179         $(built-program-cmd).
7180         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
7181         $testprogram without using LD_LIBRARY_PATH and $ldso.
7183         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7184         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7185         $(rtld-installed-name).
7186         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7187         (rtld_installed_name): Likewise.
7188         (library_path): Likewise.
7189         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
7190         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7191         $(run-program-prefix) to tst-tables.sh.
7192         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
7193         it to run tst-table-from and tst-table-to.
7194         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7195         Pass it to tst-table.sh.
7196         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7197         $(run-program-prefix) to tst-gettext.sh.
7198         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7199         tst-translit.sh.
7200         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7201         tst-gettext2.sh.
7202         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
7203         to run tst-gettext.
7204         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
7205         to run tst-gettext2.
7206         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
7207         to run tst-translit.
7208         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7209         $(run-program-prefix) to tst-mtrace.sh.
7210         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
7211         to run tst-mtrace.
7212         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7213         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7214         $(rtld-installed-name).
7215         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7216         (rtld_installed_name): Likewise.
7217         (run_program_prefix): New variable.  Use it to run wordexp-test.
7219         * Makeconfig (ARCH): Remove all definitions.
7220         (machine): Likewise.
7221         [ARCH]: Remove conditional code.
7222         [!objdir]: Give error.
7223         [!objdir] (objpfx): Remove.
7224         [!objdir] (common-objpfx): Likewise.
7225         [!objdir] (common-objdir): Likewise.
7226         * configure.in (config_makefile): Remove.  Hardcode Makefile in
7227         AC_CONFIG_FILES call.
7228         * configure: Regenerated.
7230         [BZ #13888]
7231         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7232         or TMPDIR.
7233         (testout): Likewise.
7235         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7236         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7237         $(rtld-installed-name).
7238         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7239         (rtld_installed_name): Likwise.
7240         (runit): Remove function.
7241         (run_getconf): New variable,  Use it for running getconf binary.
7243 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
7245         [BZ #14716]
7246         * string/test-memmem.c (check_result): New function.
7247         (do_one_test): Use it.
7248         (check1): New function.
7249         (test_main): Use it.
7251 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
7253         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7255 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
7257         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7258         (_G_LSEEK64): Likewise.
7259         (_G_MMAP64): Likewise.
7260         (_G_FSTAT64): Likewise.
7261         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7262         (_G_LSEEK64): Likewise.
7263         (_G_MMAP64): Likewise.
7264         (_G_FSTAT64): Likewise.
7265         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7266         unconditional.  Call __mmap64 directly.
7267         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7268         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
7269         __lseek64 directly.
7270         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7271         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
7272         __mmap64 directly.
7273         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7274         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7275         __lseek64 directly.
7276         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7277         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7278         __lseek64 directly.
7279         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7280         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
7281         __lseek64 directly.
7282         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7283         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
7284         __fxstat64 directly.
7285         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7286         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7287         unconditional.
7288         (freopen64) [!_G_OPEN64]: Remove conditional code.
7289         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7290         unconditional.
7291         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7292         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7293         unconditional.
7294         (ftello64) [!_G_LSEEK64]: Remove conditional code.
7295         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7296         unconditional.
7297         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7298         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7299         unconditional.
7300         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7301         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7302         unconditional.
7303         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7304         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7305         unconditional.
7306         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7307         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7308         unconditional.
7309         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7311 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7313         [BZ #12140]
7314         * manual/memory.texi (Malloc Tunable Parameters): Add note
7315         about free list pointers overwriting some perturb bytes.
7316         Wording suggested by Roland McGrath.
7318 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
7320         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7321         (lgamma_test): Likewise.
7322         (tgamma_test): Likewise.
7324 2012-10-16  Florian Weimer  <fweimer@redhat.com>
7326         [BZ #14700]
7327         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7328         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7330 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
7332         * NEWS: Mention BZ #14716.
7333         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7334         when removing AVAILABLE1_USES_J macro.
7336 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7338         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7339         (__bswap_64): __uint64_t for unsigned 64-bit int.
7341 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
7343         * include/string.h (memmem): Declare libc hidden alias.
7344         * string/memmem.c (memmem): Define libc hidden alias.
7345         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7346         __read, __close instead of open, read, close.
7348 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
7350         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7351         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7352         global and hidden.
7353         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7354         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7355         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7356         Likewise.
7357         (__rawmemchr_sse2): Likewise.
7358         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7359         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7360         (__strchr_sse2): Likewise.
7361         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7362         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7363         (__strcasecmp_sse2): Likewise.
7364         (__strncasecmp_sse2): Likewise.
7365         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7366         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7367         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7368         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7369         (__strrchr_sse2): Likewise.
7370         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7371         ifunc-impl-list.c.
7372         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7373         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7374         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7375         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7376         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7377         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7378         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7379         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7380         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7381         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7382         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7383         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7384         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7385         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7386         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7387         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7388         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7389         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7390         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7391         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7392         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7393         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7394         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7395         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7396         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7397         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7398         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7399         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7400         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7401         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7403         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7404         global and hidden.
7405         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7406         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7407         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7408         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7409         Likewise.
7410         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7411         Likewise.
7412         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7413         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7414         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7415         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7416         ifunc-impl-list.c.
7417         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7418         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7419         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7420         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7421         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7422         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7423         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7424         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7425         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7426         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7427         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7428         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7429         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7430         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7431         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7432         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7433         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7434         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7435         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7436         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7437         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7438         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7439         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7440         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7441         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7442         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7443         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7444         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7445         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7446         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7447         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7448         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7449         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7450         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7451         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7452         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7453         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7454         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7455         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7456         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7457         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7459         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7460         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7461         * include/ifunc-impl-list.h: New file.
7462         * misc/ifunc-impl-list.c: Likewise.
7463         * misc/Makefile (routines): Add ifunc-impl-list.
7464         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7465         * string/test-string.h: Include <ifunc-impl-list.h>.
7466         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7467         impl_array): New variables.
7468         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7469         are defined.
7470         (test_init): Call __libc_ifunc_impl_list to initialize
7471         func_list if TEST_IFUNC and TEST_NAME are defined.
7473         * string/Makefile (strop-tests): Add bcopy and bzero.
7474         * string/test-bcopy.c: New file.
7475         * string/test-bzero.c: Likewise.
7476         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7477         defined.
7478         * string/test-memset.c: Support bzero test if TEST_BZERO is
7479         defined.
7480         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7481         __libc_memmove.
7482         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7483         __libc_memset.
7484         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7485         of memset.
7487 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
7489         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7490         * configure: Regenerated.
7492         * Makeconfig (+link-static-before-libc): Don't include
7493         $(link-static-libc).
7495         * libio/libio.h (_IO_pos_t): Remove.
7497 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7499         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
7500         McGrath.
7502 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7504         * crypt/crypt-entry.c: Include fips-private.h.
7505         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7506         * crypt/md5c-test.c (main): Tolerate disabled MD5.
7507         * sysdeps/unix/sysv/linux/fips-private.h: New file.
7508         * sysdeps/generic/fips-private.h: New file, dummy fallback.
7510 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7512         * crypt/crypt-private.h: Include stdbool.h.
7513         (_ufc_setup_salt_r): Return bool.
7514         * crypt/crypt-entry.c: Include errno.h.
7515         (__crypt_r): Return NULL with EINVAL for bad salt.
7516         * crypt/crypt_util.c (bad_for_salt): New.
7517         (_ufc_setup_salt_r): Check that salt is long enough and within
7518         the specified alphabet.
7519         * crypt/badsalttest.c: New file.
7520         * crypt/Makefile (tests): Add it.
7521         ($(objpfx)badsalttest): New.
7523 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
7525         * NEWS: Add entry for BZ #14602.
7527 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7529         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7530         type-generic.
7531         * math/libm-test.inc: Update comment listing what functions and
7532         macros are tested.
7533         (isgreater_test): New function.
7534         (isgreaterequal_test): Likewise.
7535         (isless_test): Likewise.
7536         (islessequal_test): Likewise.
7537         (islessgreater_test): Likewise.
7538         (isunordered_test): Likewise.
7539         (main): Call the new functions.
7541 2012-10-09  Roland McGrath  <roland@hack.frob.com>
7543         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7544         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7545         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7546         * sysdeps/i386/configure: Regenerated.
7547         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7548         * sysdeps/mach/configure: Regenerated.
7549         * sysdeps/mach/hurd/configure: Regenerated.
7550         * sysdeps/powerpc/configure: Regenerated.
7551         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7552         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7553         * sysdeps/s390/s390-32/configure: Regenerated.
7554         * sysdeps/s390/s390-64/configure: Regenerated.
7555         * sysdeps/sh/configure: Regenerated.
7556         * sysdeps/sparc/configure: Regenerated.
7557         * sysdeps/unix/sysv/linux/configure: Regenerated.
7558         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7559         * sysdeps/x86_64/configure: Regenerated.
7561         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7562         defined.  Don't check if MAP is NULL.
7564 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7566         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7567         (_G_stat64): Likewise.
7568         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7569         (_G_stat64): Likewise.
7570         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7571         instead of struct _G_stat64.
7572         * libio/fileops.c (mmap_remap_check): Likewise.
7573         (decide_maybe_mmap): Likewise.
7574         (_IO_new_file_seekoff): Likewise.
7575         (_IO_file_stat): Likewise.
7576         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7577         _G_off64_t.
7578         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7579         instead of struct _G_stat64.
7580         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7582 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
7584         [BZ #14602]
7585         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7586         Replace with ...
7587         (CHECK_EOL): New macro.
7588         (two_way_short_needle): Check beginning of haystack for EOL.  Use
7589         CHECK_EOL.
7590         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7591         Replace with CHECK_EOL.
7592         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7593         Replace with CHECK_EOL.
7595 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
7597         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7598         type-generic.
7599         * math/libm-test.inc: Update comment listing what functions and
7600         macros are tested.
7601         (finite_test): New function.
7602         (isinf_test): Likewise.
7603         (isnan_test): Likewise.
7604         (fpclassify_test): Test subnormal input.
7605         (isfinite_test): Likewise.
7606         (isnormal_test): Likewise.
7607         (main): Call the new functions.
7609 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
7611         [BZ #14660]
7612         * Makerules (%.dynsym): Force C locale when running
7613         $(OBJDUMP) --dynamic-syms.
7615 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
7617         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7618         <stdint.h>.
7620 2012-10-06  David S. Miller  <davem@davemloft.net>
7622         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7623         upper 32-bits of the length value in %o2 since we use branch-on-register
7624         tests which consider the entire 64-bit register.
7626 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
7628         * string/test-strstr.c (check2): Add a test for page boundary.
7630 2012-10-05  David S. Miller  <davem@davemloft.net>
7632         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7633         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7634         file.
7635         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7636         sysdep_routines.
7637         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7638         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7639         and bzero when HWCAP_SPARC_CRYPTO is present.
7641 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
7643         [BZ #14602]
7644         * string/test-strstr.c (check2): New function.
7645         (test_main): Call check2.
7647         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7648         and bug-strchr1.
7649         * string/bug-strcasestr1.c (do_test): Moved to ...
7650         * string/test-strcasestr.c (check1): Here.  New function.
7651         (do_one_test): Break out result checking code into ...
7652         (check_result): This.  New function.
7653         (do_one_test): Call check_result.
7654         (test_main): Call check1.
7655         * string/bug-strchr1.c (do_test): Moved to ...
7656         * string/test-strchr.c (check1): Here.  New function.
7657         (do_one_test): Break out result checking code into ...
7658         (check_result): This.  New function.
7659         (do_one_test): Call check_result.
7660         (test_main): Call check1.
7661         * string/bug-strstr1.c (main): Moved to ...
7662         * string/test-strstr.c (check1): Here.  New function.
7663         (do_one_test): Break out result checking code into ...
7664         (check_result): This.  New function.
7665         (do_one_test): Call check_result.
7666         (test_main): Call check1.
7667         * string/bug-strcasestr1.c: Removed.
7668         * string/bug-strchr1.c: Likewise.
7669         * string/bug-strstr1.c: Likewise.
7671         * elf/Makefile (dl-routines): Add hwcaps.
7672         * elf/dl-support.c (_dl_important_hwcaps): Removed.
7673         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7674         (_dl_important_hwcaps): Moved to ...
7675         * elf/dl-hwcaps.c: Here.  New file.
7676         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7678         [BZ #14557]
7679         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7680         if IS_IN_rtld isn't defined.
7682         * elf/dl-support.c (_dl_sysinfo_map): New.
7683         Include "get-dynamic-info.h" and "setup-vdso.h".
7684         (_dl_non_dynamic_init): Call setup_vdso.
7685         * elf/dynamic-link.h: Don't include <assert.h>.
7686         (elf_get_dynamic_info): Moved to ...
7687         * elf/get-dynamic-info.h: Here.  New file.
7688         * elf/dynamic-link.h: Include "get-dynamic-info.h".
7689         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7690         * elf/setup-vdso.h: Here.  New file.
7691         * elf/rtld.c: Include "setup-vdso.h".
7692         (dl_main): Call setup_vdso.
7694 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
7696         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7697         creal in comment listing functions tested.  List finite, isinf,
7698         isnan, isless, islessequal, isgreater, isgreaterequal,
7699         islessgreater, isunordered, lgamma_r and pow10 as functions and
7700         macros not tested.  Mention which functions not tested are aliases
7701         for other functions.  Fix typo.  Note that signs of NaNs are not
7702         tested.
7704         * scripts/config.guess: Update from config.git.
7705         * scripts/config.sub: Likewise.
7707 2012-10-04  Roland McGrath  <roland@hack.frob.com>
7709         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7710         * misc/madvise.c (madvise): Renamed to __madvise.
7711         Make madvise a weak alias.
7712         * include/sys/mman.h: Declare __madvise.
7713         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7714         * sysdeps/unix/syscalls.list
7715         (madvise): Make __madvise the strong name, and madvise a weak alias.
7716         * sysdeps/unix/sysv/linux/syscalls.list
7717         (madvise, mmap): Remove redundant entries.
7718         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7719         * malloc/malloc.c (mtrim): Likewise.
7720         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7722 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7724         * sysdeps/mach/hurd/dl-cache.c: File removed.
7725         * config.h.in (USE_LDCONFIG): New #undef.
7726         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7727         * configure: Regenerated.
7728         * elf/Makefile (dl-routines): Add dl-cache only under
7729         [$(use-ldconfig) = yes].
7730         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7731         cache on [USE_LDCONFIG].
7732         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7733         [USE_LDCONFIG].
7734         * elf/rtld.c (dl_main): Likewise.
7736 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
7738         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7739         _SC_LEVEL4_CACHE_LINESIZE.
7741 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7743         * sysdeps/unix/bsd/confstr.h: File removed.
7745 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
7747         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7748         sys/sdt-config.h.
7750 2012-10-02  Roland McGrath  <roland@hack.frob.com>
7752         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7753         Make 'mapoff' field ElfW(Off) rather than off_t.
7755 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
7757         * nscd/Makefile: Remove nscd-cflags and all its users.
7758         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7759         (CFLAGS-nonlib): Add compiler flags for nscd modules.
7761         [BZ #10631]
7762         * malloc.c (malloc_printerr): Clarify error message.
7764 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
7766         [BZ #14648]
7767         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7768         Set bit_FMA_Usable if FMA is supported.
7769         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7770         macro.
7771         (bit_FMA4_Usable): Updated.
7772         (index_FMA_Usable): New macro.
7773         (CPUID_FMA): Likewise
7774         (HAS_FMA): Defined with bit_FMA_Usable.
7776 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7778         * bits/types.h (__swblk_t): Type removed.
7779         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7780         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7781         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7782         (__SWBLK_T_TYPE): Likewise.
7783         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7784         (__SWBLK_T_TYPE): Likewise.
7785         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7786         (__SWBLK_T_TYPE): Likewise.
7787         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7788         (__SWBLK_T_TYPE): Likewise.
7790 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
7791             Honza Horak <hhorak@redhat.com>
7793         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7794         (xdr_mapname): Use YPMAXMAP as maxsize.
7795         (xdr_peername): Use YPMAXPEER as maxsize.
7796         (xdr_keydat): Use YPAXRECORD as maxsize.
7797         (xdr_valdat): Use YPMAXRECORD as maxsize.
7799 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7801         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7803         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7804         * csu/init-first.c: ... here.
7805         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7806         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7807         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7808         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7809         * sysdeps/i386/init-first.c: File removed.
7810         * sysdeps/sh/init-first.c: File removed.
7812 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
7814         [BZ #14645]
7815         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7816         if x * y might underflow to zero and z is zero.
7817         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7818         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7819         * math/libm-test.inc (min_subnorm_value): New variable.
7820         (fma_test): Add more tests.
7821         (fma_test_towardzero): Likewise.
7822         (fma_test_downward): Likewise
7823         (fma_test_upward): Likewise.
7824         (initialize): Set min_subnorm_value.
7826 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
7828         [BZ #14638]
7829         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7830         0 + 0.
7831         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7832         mode for addition resulting in exact zero.
7833         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7834         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7835         exact 0 + 0.
7836         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7837         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7838         * math/libm-test.inc (fma_test): Add more tests.
7839         (fma_test_towardzero): New function.
7840         (fma_test_downward): Likewise.
7841         (fma_test_upward): Likewise.
7842         (main): Call the new functions.
7844 2012-09-28  David S. Miller  <davem@davemloft.net>
7846         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7848 2012-09-28  Roland McGrath  <roland@hack.frob.com>
7850         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7851         instead of SIGALRM.
7853         * sysdeps/gnu/_G_config.h: Moved to ...
7854         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7855         * sysdeps/mach/hurd/_G_config.h: Moved to ...
7856         * sysdeps/generic/_G_config.h: ... here.
7858         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
7860         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7862         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7863         Conditionalize target on [libnss_test1.so-version].
7865         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7867         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7868         (elfobjdir): Move out of conditionals.
7870         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7871         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7872         (__nss_lookup_function): Conditionalize label remove_from_tree on
7873         [!DO_STATIC_NSS || SHARED], matching its only use.
7875 2012-09-28  David S. Miller  <davem@davemloft.net>
7877         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7878         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7879         file.
7880         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7881         sysdep_routines.
7882         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7883         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7884         when HWCAP_SPARC_CRYPTO is present.
7886 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7888         * io/tst-mknodat.c: Create a FIFO instead of a socket.
7890 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
7892         [BZ #6530]
7893         * stdio-common/vfprintf.c (process_string_arg): Revert
7894         2000-07-22 change.
7896 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
7898         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7899         for testcase.
7900         * stdio-common/tst-sprintf.c: Include <locale.h>
7901         (main): Test sprintf's handling of incomplete multibyte
7902         characters.
7904 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
7906         * elf/dl-runtime.c (VERSYMIDX): Removed.
7907         * elf/dl-version.c (VERSYMIDX): Likewise.
7908         * elf/do-rel.h (VERSYMIDX): Likewise.
7909         (VALIDX): Likewise.
7910         * elf/dynamic-link.h (VERSYMIDX): Likewise.
7911         * elf/rtld.c (VALIDX): Likewise.
7912         (ADDRIDX): Likewise.
7913         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7914         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7915         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7916         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7917         (VALIDX): Likewise.
7918         (ADDRIDX): Likewise.
7920 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7922         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7924 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
7926         [BZ #11438]
7927         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7928         to global scope.
7929         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7930         addresses are in the same scope as 192.0.2/24.
7931         * posix/gai.conf: Document new scope table defaults.
7933 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7935         [BZ #5298]
7936         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7937         for ftell.  Compute offsets from write pointers instead.
7938         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7940 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7942         [BZ #14543]
7943         * libio/Makefile (tests): New test case tst-fseek.
7944         * libio/tst-fseek.c: New test case to verify that fseek/ftell
7945         combination works in wide mode.
7946         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7947         state when the external buffer state changes.
7949 2012-09-27  David S. Miller  <davem@davemloft.net>
7951         [BZ #14376]
7952         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7953         pass reloc->r_addend in as the 'high' argument to
7954         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7956         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7958 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7960         * rt/tst-aio2.c: Include <pthread.h>.
7961         * rt/tst-aio3.c: Likewise.
7963 2012-09-27  Steve Ellcey  <sellcey@mips.com>
7965         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7967 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
7969         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7970         contents on [SHARED].
7972 2012-09-26  Marek Polacek  <polacek@redhat.com>
7974         [BZ #14530]
7975         [BZ #13741]
7976         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7977         for C++ and GCC <4.3 as well as for non GCC compilers.
7979 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7981         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7983 2012-09-25  Roland McGrath  <roland@hack.frob.com>
7985         * Makefile.in (all, install): Declare with .PHONY.
7986         Reported by Michael Hope <michael.hope@linaro.org>.
7988 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7990         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7991         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7992         system header.
7993         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7994         Likewise.
7995         (sydep_routines): Add the new and the internal functions.
7996         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7997         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7999         (GLIBC_2.17): Add the new function.
8000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8001         (GLIBC_2.17): Likewise.
8002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8003         (GLIBC_2.17): Likewise.
8004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8005         (GLIBC_2.17): Likewise.
8006         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8008 2012-09-25  Alan Modra  <amodra@gmail.com>
8010         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8011         Add release barrier before setting once_control to say
8012         initialisation is done.  Add hints on lwarx.  Use macro in
8013         place of isync.
8014         (clear_once_control): Add release barrier.
8016 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8018         [BZ #13629]
8019         * math/s_clog.c (__clog): Handle more values close to |z| = 1
8020         specially.
8021         * math/s_clog10.c (__clog10): Likewise.
8022         * math/s_clog10f.c (__clog10f): Likewise.
8023         * math/s_clog10l.c (__clog10l): Likewise.
8024         * math/s_clogf.c (__clogf): Likewise.
8025         * math/s_clogl.c (__clogl): Likewise.
8026         * math/Makefile (libm-calls): Add x2y2m1.
8027         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8028         (__x2y2m1): Likewise.
8029         (__x2y2m1l): Likewise.
8030         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8031         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8032         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8033         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8034         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8035         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8036         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8037         * sysdeps/i386/fpu/libm-test-ulps: Update.
8038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8040         [BZ #14621]
8041         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8042         int as type of variable DEPTH.
8043         (glob): Use size_t instead of int as type of variables NEWCOUNT
8044         and OLD_PATHC.
8046 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8048         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8049         Add s_sincosf-sse2.
8050         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8051         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8052         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8053         macros for using routine as __sincosf_ia32.
8054         Use macro for function declaration and weak_alias.
8055         * sysdeps/i386/fpu/libm-test-ulps: Update.
8057         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8058         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8060         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8061         subnormal argument.
8062         * math/s_cexpf.c (__cexpf): Likewise.
8063         * math/s_csinf.c (__csinf): Likewise.
8064         * math/s_csinhf.c (__csinhf): Likewise.
8065         * math/s_ctanf.c (__ctanf): Likewise.
8066         * math/s_ctanhf.c (__ctanhf): Likewise.
8067         * math/s_ccosh.c (__ccoshf): Likewise.
8068         * math/s_cexp.c (__cexpl): Likewise.
8069         * math/s_csin.c (__csin): Likewise.
8070         * math/s_csinh.c (__csinh): Likewise.
8071         * math/s_ctan.c (__ctan): Likewise.
8072         * math/s_ctanh.c (ctanh): Likewise.
8073         * math/s_ccoshl.c (__ccoshl): Likewise.
8074         * math/s_cexpl.c (__cexpl): Likewise.
8075         * math/s_csinl.c (__csinl): Likewise.
8076         * math/s_csinhl.c (__csinhl): Likewise.
8077         * math/s_ctanl.c (__ctanl): Likewise.
8078         * math/s_ctanhl.c (__ctanhl): Likewise.
8080 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8082         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8083         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8084         (_IO_off_t): Define to __off_t, not _G_off_t.
8085         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8086         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8087         (_IO_wint_t): Define to wint_t, not _G_wint_t.
8088         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8089         type of __dummy and __dummy2 fields.
8090         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8091         (_G_ssize_t): Likewise.
8092         (_G_off_t): Likewise.
8093         (_G_pid_t): Likewise.
8094         (_G_uid_t): Likewise.
8095         (_G_wchar_t): Likewise.
8096         (_G_wint_t): Likewise.
8097         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8098         (_G_ssize_t): Likewise.
8099         (_G_off_t): Likewise.
8100         (_G_pid_t): Likewise.
8101         (_G_uid_t): Likewise.
8102         (_G_wchar_t): Likewise.
8103         (_G_wint_t): Likewise.
8104         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8105         (_G_ssize_t): Likewise.
8106         (_G_off_t): Likewise.
8107         (_G_pid_t): Likewise.
8108         (_G_uid_t): Likewise.
8109         (_G_wchar_t): Likewise.
8110         (_G_wint_t): Likewise.
8112 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8114         * malloc/arena.c: Include malloc-sysdep.h.
8115         (shrink_heap): Use check_may_shrink_heap to decide if madvise
8116         is sufficient to shrink the heap or an unmap is needed.
8117         * sysdeps/generic/malloc-sysdep.h: New file.  Define
8118         new function check_may_shrink_heap.
8119         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
8120         new function check_may_shrink_heap.
8122 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8124         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8125         comments.
8127 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
8129         * catgets/test-gencat.sh: Add "set -e".
8130         * elf/tst-pathopt.sh: Likewise.
8131         * grp/tst_fgetgrent.sh: Likewise.
8132         * iconvdata/run-iconv-test.sh: Likewise.
8133         * intl/tst-gettext.sh: Likewise.
8134         * intl/tst-gettext2.sh: Likewise.
8135         * intl/tst-gettext4.sh: Likewise.
8136         * intl/tst-gettext6.sh: Likewise.
8137         * intl/tst-translit.sh: Likewise.
8138         * io/ftwtest-sh: Likewise.
8139         * libio/test-freopen.sh: Likewise.
8140         * malloc/tst-mtrace.sh: Likewise.
8141         * posix/globtest.sh: Likewise.
8142         * posix/tst-getconf.sh: Likewise.
8143         * posix/wordexp-tst.sh: Likewise.
8144         * stdio-common/tst-printf.sh: Likewise.
8145         * stdio-common/tst-unbputc.sh: Likewise.
8146         * stdlib/tst-fmtmsg.sh: Likewise.
8147         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8148         * catgets/Makefile: Do not specify -e option when running
8149         testsuite shell scripts.
8150         * elf/Makefile: Likewise.
8151         * grp/Makefile: Likewise.
8152         * iconvdata/Makefile: Likewise.
8153         * intl/Makefile: Likewise.
8154         * io/Makefile: Likewise.
8155         * libio/Makefile: Likewise.
8156         * malloc/Makefile: Likewise.
8157         * posix/Makefile: Likewise.
8158         * stdio-common/Makefile: Likewise.
8159         * stdlib/Makefile: Likewise.
8160         * sysdeps/x86_64/Makefile: Likewise.
8162         * io/ftwtest-sh: Add copyright header.
8163         * posix/globtest.sh: Likewise.
8164         * posix/tst-getconf.sh: Likewise.
8165         * posix/wordexp-tst.sh: Likewise.
8166         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8168 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
8170         [BZ #13679]
8171         * Makeconfig (+link): Defined as $(+link-static) if
8172         $(build-shared) isn't yes.
8173         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8174         isn't yes.
8175         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8177         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8179         [BZ #14562]
8180         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8181         new chunk size with MALLOC_ALIGN_MASK.
8183 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
8185         [BZ #5044]
8186         * stdio-common/printf_fphex.c: Include <stdbool.h> and
8187         <rounding-mode.h>.
8188         (__printf_fphex): Determine rounding using get_rounding_mode and
8189         round_away.
8190         * stdio-common/tst-printf-round.c (struct hex_test): New
8191         structure.
8192         (hex_tests): New variable.
8193         (test_hex_in_one_mode): New function.
8194         (do_test): Also run tests for hex float output.
8196 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
8198         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8199         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8200         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8201         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8202         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8203         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8204         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8205         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8207 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
8209         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8210         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8211         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8212         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8214 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
8216         [BZ #14579]
8217         * elf/rtld.c (dl_main): Limit the check for self loading to normal
8218         mode only.
8219         * elf/tst-rtld-load-self.sh: New test.
8220         * elf/Makefile: Run it.
8222 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
8224         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8225         (tst-writev-ENV): Remove.
8226         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8228 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
8230         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8232 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
8234         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8235         unconditional.
8236         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8237         Likewise.
8238         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8239         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8240         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8241         Likewise.
8243 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8245         [BZ #14587]
8246         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8247         * config.make.in (have-cpp-asm-debuginfo): Removed.
8248         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8249         * configure: Regenerated.
8251 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
8253         [BZ #5044]
8254         * stdio-common/printf_fp.c: Include <stdbool.h> and
8255         <rounding-mode.h>.
8256         (___printf_fp): Determine rounding using get_rounding_mode and
8257         round_away.
8258         * stdio-common/tst-printf-round.c: New file.
8259         * stdio-common/Makefile (tests): Add tst-printf-round.
8260         (link-libm): New variable.
8261         ($(objpfx)tst-printf-round): Depend in $(link-libm).
8263 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
8265         [BZ #14576]
8266         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8267         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8268         Likewise.
8269         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8270         Likewise.
8272 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
8274         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8275         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8276         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8277         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8279 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
8281         [BZ #14518]
8282         * include/rounding-mode.h: New file.
8283         * sysdeps/generic/get-rounding-mode.h: Likewise.
8284         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8285         * stdlib/strtod_l.c: Include <rounding-mode.h>.
8286         (MAX_VALUE): New macro.
8287         (MIN_VALUE): Likewise.
8288         (overflow_value): New function.
8289         (underflow_value): Likewise.
8290         (round_and_return): Use overflow_value and underflow_value to
8291         determine return values in overflow and underflow cases.  Use
8292         round_away to determine rounding depending on rounding mode.
8293         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8294         determine return values in overflow and underflow cases.
8295         * stdlib/tst-strtod-round.c: Include <fenv.h>.
8296         (struct test_results): New structure.
8297         (struct test): Use struct test_results to store expected results
8298         for all rounding modes.
8299         (TEST): Include expected results for all rounding modes.
8300         (test_in_one_mode): New function.
8301         (do_test): Use test_in_one_mode to compute and check results.
8302         Check results for all rounding modes.
8303         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8304         $(link-libm).
8306 2012-12-09  Allan McRae  <allan@archlinux.org>
8308         * sysdeps/i386/fpu/libm-test-ulps: Update
8310 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
8312         * sysdeps/generic/_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/gnu/_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.
8328         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8329         (_G_int32_t): Likewise.
8330         (_G_uint16_t): Likewise.
8331         (_G_uint32_t): Likewise.
8332         (_G_HAVE_BOOL): Likewise.
8333         (_G_HAVE_ATEXIT): Likewise.
8334         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8335         (_G_HAVE_IO_FILE_OPEN): Likewise.
8337 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
8339         * csu/libc-tls.c: Update copyright years.
8341 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
8343         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8344         [!_G_USING_THUNKS]: Remove conditional code.
8345         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8346         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8348         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8349         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8350         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8351         (_G_VTABLE_LABEL_PREFIX): Likewise.
8352         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8353         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8354         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8355         (_G_VTABLE_LABEL_PREFIX): Likewise.
8356         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8357         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8358         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8359         (_G_VTABLE_LABEL_PREFIX): Likewise.
8360         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8362 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
8364         * libio/Makefile: Include ../Makeconfig before tests.
8365         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8366         only if $(build-shared) is yes.
8368         * iconv/gconv_db.c: Update copyright years.
8370 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8372         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8373         unwind info if defined PIC. Fix special cases description.
8374         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8376         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8377         DP_HI_MASK entry.
8378         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8380 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
8382         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8384         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8385         is NULL.
8387         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8388         (LDLIBS-tst-chk4): This.
8389         (LDFLAGS-tst-chk5): Renamed to ...
8390         (LDLIBS-tst-chk5): This.
8391         (LDFLAGS-tst-chk6): Renamed to ...
8392         (LDLIBS-tst-chk6): This.
8393         (LDFLAGS-tst-lfschk4): Renamed to ...
8394         (LDLIBS-tst-lfschk4): This.
8395         (LDFLAGS-tst-lfschk5): Renamed to ...
8396         (LDLIBS-tst-lfschk5): This.
8397         (LDFLAGS-tst-lfschk6): Renamed to ...
8398         (LDLIBS-tst-lfschk6): This.
8400         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8401         on $(common-objpfx)soversions.mk.
8403 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
8405         [BZ #10014]
8406         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8407         example host name.
8409 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8411         * malloc/arena.c (arena_get_retry): New function that gets
8412         another arena for the caller to try its request on.
8413         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8414         current arena cannot fulfill the request.
8415         (__libc_memalign): Likewise.
8416         (__libc_memalign): Likewise.
8417         (__libc_pvalloc): Likewise.
8418         (__libc_calloc): Likewise.
8420 2012-09-05  John Tobey  <john.tobey@gmail.com>
8422         [BZ #13542]
8423         * manual/arith.texi (Operations on Complex): Fix description
8424         of carg branch cut.
8426 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8428         [BZ #10014]
8429         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8430         host name.
8432         [BZ #10038]
8433         * manual/memory.texi (Memory): Make order of menu items match
8434         order of sections.
8436 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8438         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8439         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
8440         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8442 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8444         * csu/libc-tls.c (static_dtv): Renamed to ...
8445         (_dl_static_dtv): This.  Make it global.
8446         (_dl_initial_dtv): Removed.
8447         (__libc_setup_tls): Updated.
8448         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8449         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8450         DL_INITIAL_DTV.
8452 2012-09-06  Petr Machata  <pmachata@redhat.com>
8454         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8455         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8456         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8457         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8459 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8461         [BZ #14545]
8462         * csu/libc-tls.c (_dl_initial_dtv): New variable.
8463         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8464         freeing dtv[-1].
8466 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8468         [BZ #14544]
8469         * Makeconfig (link-static-before-libc): Replace $(+prector)
8470         with $(+prectorT).
8471         (link-static-after-libc): Replace $(+postctor) with
8472         $(+postctorT).
8473         (link-bounded): Replace $(+prector)/$(+postctor) with
8474         $(+prectorT)/$(+postctorT).
8475         (+prectorT): New macro.
8476         (+postctorT): Likewise.
8478 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8480         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8481         (round_str): Handle values above the maximum for IBM long double
8482         as inexact.
8483         * stdlib/tst-strtod-round.c (tests): Regenerated.
8485 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8487         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8488         assembler flag.
8489         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8490         zarch_nohighgprs around the zarch optimized routines.
8491         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8492         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8493         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8494         for zarch.
8496 2012-09-05  David S. Miller  <davem@davemloft.net>
8498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8500         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8501         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8502         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8503         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8504         entries.
8506 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8508         * malloc/arena.c: Fold copyright years.
8509         * malloc/mcheck.c, malloc/memusage.c: Likewise.
8511 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8513         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8515 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8517         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
8519 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8521         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8522         change internal state upon failure.
8524 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8526         * malloc/mcheck.c (mcheck_check_all): Fix typo.
8527         * malloc/memusage.c (mmap): Likewise.
8528         (mmap64, mremap): Likewise.  Adjust name in comment.
8530 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8532         * libio/fileops.c: Fix typos in comments.
8533         * libio/oldfileops.c: Likewise.
8534         * libio/wfileops.c: Likewise.
8536 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8538         [BZ #1349]
8539         * malloc/Makefile (tests): Add tst-malloc-usable test case.
8540         (tst-malloc-usable-ENV): Set environment for test case.
8541         * malloc/hooks.c (malloc_check_get_size): New function to get
8542         requested size.
8543         * malloc/malloc.c (musable): Use malloc_check_get_size.
8544         * malloc/tst-malloc-usable.c: New test case.
8546 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8548         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8550 2012-09-05  Allan McRae  <allan@archlinux.org>
8552         [BZ #13966]
8553         * configure.in (CXX_SYSINCLUDES): Use compiler output to
8554         determine header location.
8555         * configure: Regenerated.
8557 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8559         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8560         float format.
8561         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8562         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8563         format.
8564         (test): Regenerate.
8566 2012-09-04  David S. Miller  <davem@davemloft.net>
8568         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8569         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8570         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8572 2012-09-04  Florian Weimer  <fweimer@redhat.com>
8574         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8575         failures.
8577         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8579 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
8581         [BZ #9914]
8582         * libio/iogetdelim.c: Include <limits.h>.
8583         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8584         + len + 1 would overflow.
8586 2012-09-03  Andreas Jaeger  <aj@suse.de>
8588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8589         * sysdeps/i386/fpu/libm-test-ulps: Update.
8591 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8593         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8594         Add s_sinf-sse2, s_conf-sse2.
8596         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8597         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8598         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8599         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8601         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8602         for using routine as __sinf_ia32.
8603         Use macro for function declaration and weak_alias.
8604         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8605         for using routine as __cosf_ia32.
8606         Use macro for function declaration and weak_alias.
8608         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8609         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8611         * sysdeps/x86_64/fpu/s_sinf.S: New file.
8612         * sysdeps/x86_64/fpu/s_cosf.S: New file.
8613         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8615         * math/libm-test.inc (cos_test): Add more test cases.
8616         (sin_test): Likewise.
8617         (sincos_test): Likewise.
8619 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8621         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8622         (IFUNC_RESOLVE): Make pointers to the specialized implementations
8623         hidden.
8624         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8626 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
8628         [BZ #14538]
8629         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8630         first element of the GOT.
8631         (elf_machine_load_address): Return the difference between
8632         the runtime address of _DYNAMIC and elf_machine_dynamic ().
8634 2012-09-01  Allan McRae  <allan@archlinux.org>
8636         [BZ #13412]
8637         * configure.in (AWK): Require gawk version 3.0 or later.
8638         * configure: Regenerated.
8640 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
8642         * sysdeps/unix/sysv/linux/kernel-features.h
8643         (__ASSUME_POSIX_CPU_TIMERS): Remove.
8644         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8645         [__NR_clock_getres]: Make code unconditional.
8646         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8647         (clock_getcpuclockid): Remove code left unreachable by removal of
8648         conditionals.
8649         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8650         code unconditional.
8651         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8652         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8653         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8654         Make code unconditional.
8655         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8656         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8657         * sysdeps/unix/sysv/linux/clock_settime.c
8658         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8659         conditional code.
8660         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8661         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8663 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
8665         [BZ #14476]
8666         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8667         scripts/test-installation.pl.
8669         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8670         and $ld_so_version if it is set.
8672 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8674         [BZ #14516]
8675         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8676         failure if reading from procfs failed.
8677         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8679 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8681         * sysdeps/unix/sysv/linux/kernel-features.h
8682         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8683         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8684         Remove conditional code.
8685         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8686         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8687         Remove conditional code.
8688         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8689         * sysdeps/unix/sysv/linux/i386/fxstat.c
8690         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8691         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8692         * sysdeps/unix/sysv/linux/i386/fxstatat.c
8693         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8694         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8695         * sysdeps/unix/sysv/linux/i386/lxstat.c
8696         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8697         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8698         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8699         Remove conditional code.
8700         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8701         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8702         Remove conditional code.
8703         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8704         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8705         <kernel-features.h>.
8706         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8707         Remove.
8708         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8709         Remove conditional code.
8710         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8711         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8712         Remove conditional.
8714 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
8716         [BZ #5400]
8717         * NEWS: Add fixed bug number.
8719 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8721         [BZ #14519]
8722         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8723         underflowing exponent in case of negative sign.
8724         * stdlib/tst-strtod-round-data: Add more tests.
8725         * stdlib/tst-strtod-round.c (tests): Regenerated.
8727         [BZ #3479]
8728         * stdlib/strtod_l.c (NDIG): Remove.
8729         (HEXNDIG): Likewise.
8730         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8731         smallest representable value.
8732         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8733         lie within an exact representation of 1/2 ulp of the result.
8734         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8735         unconditionally.
8736         (TENS_P9_IDX): Define unconditionally.
8737         (TENS_P9_SIZE): Likewise.
8738         (TENS_P10_IDX): Likewise.
8739         (TENS_P10_SIZE): Likewise.
8740         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8741         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8742         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8743         entries for 10^2^13 and 10^2^14.
8744         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8745         (TENS_P13_IDX): Define.
8746         (TENS_P13_SIZE): Likewise.
8747         (TENS_P14_IDX): Likewise.
8748         (TENS_P14_SIZE): Likewise.
8749         (_fpioconst_pow10): Change array size to
8750         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
8751         unconditional.
8752         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8753         1024]: Add entries for 10^2^13 and 10^2^14.
8754         [LAST_POW10 > _LAST_POW10]: Remove #error.
8755         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8756         (_fpioconst_pow10): Change array size to
8757         FPIOCONST_POW10_ARRAY_SIZE.
8758         * stdlib/gen-fpioconst.c: New file.
8759         * stdlib/gen-tst-strtod-round.c: Likewise.
8760         * stdlib/tst-strtod-round-data: Likewise.
8761         * stdlib/tst-strtod-round.c: Likewise.
8762         * stdlib/Makefile (tests): Add tst-strtod-round.
8764         [BZ #14459]
8765         * stdlib/strtod_l.c: Include <stdint.h>.
8766         (NDEBUG): Do not define.
8767         (round_and_return): Change EXPONENT parameter to type intmax_t.
8768         Rearrange calculations to avoid internal overflow possibilities.
8769         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8770         Rearrange calculations to avoid internal overflow possibilities.
8771         Assert that number fits inside MPNSIZE limbs.
8772         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8773         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
8774         calculations and add assertions to avoid internal overflow
8775         possibilities.  Add casts to avoid signed/unsigned operations.
8776         * stdlib/tst-strtod-overflow.c: New file.
8777         * stdlib/Makefile (tests): Add tst-strtod-overflow.
8779 2012-08-25  Marek Polacek  <polacek@redhat.com>
8781         * time/time.h: Fix some typos in comments.
8783 2012-08-23  Roland McGrath  <roland@hack.frob.com>
8785         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8786         * posix/tst-rfc3484-2.c: Likewise.
8787         * posix/tst-rfc3484-3.c: Likewise.
8789 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
8791         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8792         (EF_ARM_ABI_FLOAT_HARD): Likewise.
8794 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
8796         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8797         #include of fxstatat64.c.
8799 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8801         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8802         * shadow/getspent_r.c: Likewise.
8803         * shadow/getspnam.c: Likewise.
8804         * shadow/getspnam_r.c: Likewise.
8805         * gshadow/getsgent.c: Likewise.
8806         * gshadow/getsgent_r.c: Likewise.
8807         * gshadow/getsgnam.c: Likewise.
8808         * gshadow/getsgnam_r.c: Likewise.
8809         * inet/getnetbyad.c: Likewise.
8810         * inet/getnetbyad_r.c: Likewise.
8811         * inet/getnetbynm.c: Likewise.
8812         * inet/getnetbynm_r.c: Likewise.
8813         * inet/getnetent.c: Likewise.
8814         * inet/getnetent_r.c: Likewise.
8815         * inet/getproto.c: Likewise.
8816         * inet/getproto_r.c: Likewise.
8817         * inet/getprtent.c: Likewise.
8818         * inet/getprtent_r.c: Likewise.
8819         * inet/getprtname.c: Likewise.
8820         * inet/getprtname_r.c: Likewise.
8821         * inet/getrpcbyname.c: Likewise.
8822         * inet/getrpcbyname_r.c: Likewise.
8823         * inet/getrpcbynumber.c: Likewise.
8824         * inet/getrpcbynumber_r.c: Likewise.
8825         * inet/getrpcent.c: Likewise.
8826         * inet/getrpcent_r.c: Likewise.
8827         * inet/getaliasent.c: Likewise.
8828         * inet/getaliasent_r.c: Likewise.
8829         * inet/getaliasname.c: Likewise.
8830         * inet/getaliasname_r.c: Likewise.
8831         * nscd/getgrgid_r.c: Likewise.
8832         * nscd/getgrnam_r.c: Likewise.
8833         * nscd/gethstbyad_r.c: Likewise.
8834         * nscd/gethstbynm3_r.c: Likewise.
8835         * nscd/getpwnam_r.c: Likewise.
8836         * nscd/getpwuid_r.c: Likewise.
8837         * nscd/getsrvbynm_r.c: Likewise.
8838         * nscd/getsrvbypt_r.c: Likewise.
8839         * nscd/gai.c: Likewise.
8841         * configure.in (build_nscd): New substituted variable, set
8842         by --disable-build-nscd and defaults to $use_nscd.
8843         * configure: Regenerated.
8844         * config.make.in (build-nscd): New substituted variable.
8845         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8846         Change conditional to require [$(build-nscd) = yes] as well.
8847         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8849         [BZ# 13696]
8850         * configure.in (use_nscd): New substituted variable, set by
8851         --disable-nscd.  If enabled, define USE_NSCD.
8852         * configure: Regenerated.
8853         * config.h.in: Add USE_NSCD.
8854         * config.make.in (use-nscd): New substituted variable.
8855         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8856         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8857         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8858         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8859         (CFLAGS-getgrnam_r.c): Likewise.
8860         (CFLAGS-initgroups.c): Likewise.
8861         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8862         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8863         Variables removed.
8864         * inet/getnetgrent_r.c
8865         (nscd_setnetgrent): New function, broken out of ...
8866         (setnetgrent): ... here.  Call it.
8867         (innetgr): Conditionalize nscd bits on [USE_NSCD].
8868         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8869         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8870         * nscd/Makefile (routines, aux): Move definitions after include of
8871         Makeconfig.  Conditionalize on [$(use-nscd) != no].
8872         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8873         Conditionalize on [USE_NSCD].
8874         (is_nscd, nscd_init_cb): Likewise.
8875         (nss_load_library): Conditionalize init callback on [USE_NSCD].
8876         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8877         * nss/nss_db/db-init.c: Likewise.
8878         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8879         [USE_NSCD].
8880         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8881         (make_request): Use it.
8882         (cache_valid_p): New function.
8883         (__check_pf): Use it.
8884         * NEWS: Add item for --disable-nscd.
8886 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
8888         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8889         to support sed >= 4.2.1-20-ga9bf076.
8890         * configure: Regenerated.
8892 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8894         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8895         Conditionalize whole body on [IREL].
8897 2012-08-22  Jeff Law <law@redhat.com>
8899         [BZ #14505]
8900         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8901         if the family is PF_UNSPEC.
8903 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
8905         * Makerules (lib-version): Rename from V.
8906         (install-lib-nosubdir): Change V to lib-version.
8908 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
8910         [BZ #14252]
8911         * powerpc32/power6/wcschr.c: New file.
8912         * powerpc32/power6/wcscpy.c: New file.
8913         * powerpc32/power6/wcsrchr.c: New file.
8914         * powerpc64/power6/wcschr.c: New file.
8915         * powerpc64/power6/wcscpy.c: New file.
8916         * powerpc64/power6/wcsrchr.c: New file.
8918 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8920         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8921         (two_way_short_needle): Use it.
8922         * string/strstr.c (AVAILABLE1_USES_J): Define.
8923         * string/strcasestr.c: Likewise.
8925         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8926         array references.
8927         * string/strcasestr.c (TOLOWER): Make side-effect safe.
8929         [BZ #11607]
8930         * NEWS: Add an entry.
8931         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8932         define their defaults.
8933         (two_way_short_needle): Detect end-of-string on-the-fly.
8934         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8935         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8936         * string/bug-strcasestr1.c: New test.
8937         * string/Makefile: Run it.
8939 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8941         [BZ #11607]
8942         * string/str-two-way.h (two_way_short_needle): Optimize matching of
8943         the first character.
8945 2012-08-21  Roland McGrath  <roland@hack.frob.com>
8947         * csu/elf-init.c (__libc_csu_irel): Function removed.
8948         * csu/libc-start.c (apply_irel): New function.
8949         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8951 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
8953         * sysdeps/unix/sysv/linux/kernel-features.h
8954         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8955         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8956         <kernel-features.h>.
8957         [__NR_fadvise64_64]: Make code unconditional.
8958         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8959         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8960         !__NR_fadvise64_64)]: Likewise.
8961         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8962         !__NR_fadvise64_64))]: Likewise.
8963         [__NR_fadvise64]: Make code unconditional.
8964         [!__NR_fadvise64]: Remove conditional code.
8965         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8966         <kernel-features.h>.
8967         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8968         unconditional.
8969         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8970         conditional code.
8971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8972         not include <kernel-features.h>.
8973         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8974         unconditional.
8975         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8976         conditional code.
8977         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8978         include <kernel-features.h>.
8979         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8980         unconditional.
8981         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8982         conditional code.
8984 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
8986         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8987         slight instruction rearrangements per scrollpipe analysis.
8988         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8990 2012-08-20  Roland McGrath  <roland@hack.frob.com>
8992         * manual/syslog.texi (syslog; vsyslog, closelog):
8993         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8994         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8996         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8997         DSOCAPS to match condition on defining it.
8999 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
9001         * sysdeps/unix/sysv/linux/kernel-features.h
9002         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9004         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9005         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9007         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9008         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9010         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9011         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9013         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9014         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9016         * sysdeps/unix/sysv/linux/kernel-features.h
9017         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9018         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9019         unconditional.
9020         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9021         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9022         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9023         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9024         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9025         Make code unconditional.
9026         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9027         (__mmap64) [!__NR_mmap2]: Likewise.
9028         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9029         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9030         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9031         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9032         [__NR_mmap2]: Make code unconditional.
9033         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9034         (__mmap64) [!__NR_mmap2]: Likewise.
9036 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9038         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9040 2012-08-18  Andreas Jaeger  <aj@suse.de>
9042         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9044 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9046         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9047         * include/unistd.h (__have_sock_cloexec): Likewise.
9048         (__have_pipe2): Likewise.
9049         (__have_dup3): Likewise.
9051 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9053         [BZ #9685]
9054         * include/unistd.h (__have_pipe2): Change define into an extern int.
9055         (__have_dup3): Likewise.
9056         * socket/have_sock_cloexec.c: Include fcntl.h.
9057         (__have_pipe2): New variable.
9058         (__have_dup3): Likewise.
9060 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
9062         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9064 2012-08-17  Marek Polacek  <polacek@redhat.com>
9066         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9067         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9069 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9071         * configure.in: Add AC_SUBST for sysheaders.
9072         * configure: Regenerated.
9073         * config.make.in (sysheaders): New substituted variable.
9075         * sysdeps/unix/mkfifo.c: Moved ...
9076         * sysdeps/posix/mkfifo.c: ... here.
9077         * sysdeps/unix/mkfifoat.c: Moved ...
9078         * sysdeps/posix/mkfifoat.c: ... here.
9080         * sysdeps/unix/utime.c: Moved ...
9081         * sysdeps/posix/utime.c: ... here.
9083         * sysdeps/unix/time.c: Moved ...
9084         * sysdeps/posix/time.c: ... here.
9085         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9086         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9088         * sysdeps/unix/nice.c: Moved ...
9089         * sysdeps/posix/nice.c: ... here.
9091         * sysdeps/unix/alarm.c: Moved ...
9092         * sysdeps/posix/alarm.c: ... here.
9094         * intl/Makefile ($(codeset_mo)): Depend on the input file.
9096 2012-08-17  Jeff Law <law@redhat.com>
9098         * intl/Makefile (codeset_mo): New variable.
9099         ($(codeset_mo)): New target.
9100         (tst-codeset.out): Depend on that.  Remove explicit rule.
9101         (tst-gettext3.out, tst-gettext5.out): Likewise.
9102         (LOCPATH-ENV, tst-codeset-ENV): New variables.
9103         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9104         * intl/tst-codeset.sh: Remove.
9105         * intl/tst-gettext3.sh: Likewise.
9106         * intl/tst-gettext5.sh: Likewise.
9108 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9110         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
9111         * sysdeps/unix/syscalls.list: ... here.
9113         * sysdeps/posix/getaddrinfo.c
9114         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9115         (gaiconf_init, gaiconf_reload): Use them.
9116         [!_STATBUF_ST_NSEC]
9117         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9118         Define using time_t rather than struct timespec.
9120         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9121         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9122         Macros removed.
9123         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9124         [!NO_THREADS].
9125         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9126         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9127         Likewise.
9129         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9130         __libc_cleanup_push argument.
9132         * bits/param.h: New file.
9133         * misc/sys/param.h: New file.
9134         * include/sys/param.h: New file.
9135         * misc/Makefile (headers): Add bits/param.h.
9136         * sysdeps/generic/sys/param.h: File removed.
9137         * sysdeps/unix/sysv/linux/bits/param.h: New file.
9138         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9139         * sysdeps/mach/hurd/bits/param.h: New file.
9140         * sysdeps/mach/hurd/sys/param.h: File removed.
9142         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9143         last change.
9145         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9146         [_IO_MTSAFE_IO].
9147         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9148         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9149         New macros.
9151         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9152         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9153         rather than -D_IO_MTSAFE_IO conditionally.
9154         * stdio-common/Makefile (CPPFLAGS): Likewise.
9155         * wcsmbs/Makefile (CPPFLAGS): Likewise.
9156         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9157         Use $(libio-mtsafe).
9158         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9159         of -D_IO_MTSAFE_IO.
9160         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9161         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9162         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9163         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9164         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9165         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9166         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9167         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9168         (CFLAGS-fread_u_chk.c): Likewise.
9169         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9170         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9171         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9172         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9173         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9174         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9175         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9176         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9177         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9179         * libio/Makefile: Test [$(libc-reentrant) = yes]
9180         instead of [$(filter %REENTRANT, $(defines)) nonempty].
9182         * Makeconfig
9183         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9184         * sysdeps/pthread/configure: File removed.
9185         * sysdeps/pthread/Makeconfig: New file.
9186         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9187         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9189 2012-08-16  Gary Benson  <gbenson@redhat.com>
9191         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9192         unmapping the first object in a namespace.
9194 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9196         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9197         (__internal_setnetgrent): ... this.  Add internal_function to
9198         definition.  Add libc_hidden_def.
9199         (setnetgrent): Update caller.
9200         (internal_endnetgrent): Renamed to ...
9201         (__internal_endnetgrent): ... this.  Add internal_function to
9202         definition.  Add libc_hidden_def.
9203         (endnetgrent): Update caller.
9204         (internal_getnetgrent_r): Renamed to ...
9205         (__internal_getnetgrent_r): ... this.  Add internal_function to
9206         definition.  Add libc_hidden_def.
9207         (__getnetgrent_r): Update caller.
9208         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
9210 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9212         * stdlib/longlong.h: Update from GCC.
9214 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9216         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9217         on _QL, which is set by umul_ppmm but never used.
9218         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9219         variables, which are set by GMP macros but never used.
9220         * stdio-common/_itowa.c (_itowa): Likewise.
9221         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9222         * stdlib/mod_1.c (mpn_mod_1): Likewise.
9224 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
9226         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9227         struct La_sh_regs is not constant.
9228         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9229         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9230         and struct La_sparc64_regs are not constant.
9232 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9234         * sysdeps/unix/sysv/linux/kernel-features.h
9235         (__ASSUME_POSIX_TIMERS): Remove.
9236         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9237         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9238         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9239         Make code unconditional.
9240         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9241         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9242         Make code unconditional.
9243         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9244         * sysdeps/unix/sysv/linux/clock_nanosleep.c
9245         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9246         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9247         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9248         Make code unconditional.
9249         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9250         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9251         (__libc_missing_posix_timers): Remove.
9253 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9255         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9256         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9258         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9260         * elf/dl-sym.c: Include <stdlib.h>.
9262         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9263         constants, which avoids warnings in 32-bit builds.
9265         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9266         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9268         * misc/lseek.c: File moved to ...
9269         * io/lseek.c: ... here.
9271         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9273         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9274         shifting LEN more than 31 bits at once.
9276 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9278         [BZ #14195]
9279         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9280         segmentation fault for a case of two empty input strings.
9281         * string/test-strncasecmp.c (check1): Renamed to...
9282         (bz12205): ...this.
9283         (bz14195): Add new testcase for two empty input strings and N > 0.
9284         (test_main): Call new testcase, adapt for renamed function.
9286 2012-08-15  Andreas Jaeger  <aj@suse.de>
9288         [BZ #14090]
9289         * crypt/md5test2.c: New test, based on test supplied by Serge
9290         Belyshev <belyshev@depni.sinp.msu.ru>.
9291         * crypt/Makefile (xtests): Add md5test-giant..
9292         * crypt/Makefile ($(objpfx)md5test-giant): Add.
9294 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
9296         [BZ #14090]
9297         * crypt/md5.c (md5_process_block): Don't assume the buffer
9298         length is less than 2**32.
9299         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9300         length is less than 2**64.
9302 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9304         * string/str-two-way.h: Include <sys/param.h>.
9305         (MAX): Macro removed.
9307         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9308         Move #define and #undef of memmove to just before and after
9309         including <string.h>.
9311         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9312         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9313         and after including <string.h>.  Move declarations of
9314         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9315         to before #include "string/memmove.c".
9317         * include/dirent.h: Declare __getdirentries.
9319         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9320         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9322 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
9324         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9325         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9326         * sysdeps/i386/configure: Regenerated.
9327         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9328         STABS_CURRENT_FILE, and STABS_FUN.
9329         (END): Remove call to STABS_FUN_END.
9330         (STABS_CURRENT_FILE1): Delete.
9331         (STABS_CURRENT_FILE): Likewise.
9332         (STABS_FUN): Likewise.
9333         (STABS_FUN_END): Likewise.
9334         (STABS_FUN2): Likewise.
9335         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9336         * sysdeps/x86_64/configure: Regenerated.
9338 2012-08-14  Roland McGrath  <roland@hack.frob.com>
9340         * elf/dl-open.c: Include <atomic.h>.
9341         * elf/dl-lookup.c: Likewise.
9343 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
9345         * sysdeps/unix/sysv/linux/kernel-features.h
9346         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9347         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9348         unconditionally.
9349         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9350         unconditionally.
9351         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9352         condition on __ASSUME_CLONE_THREAD_FLAGS.
9354 2012-08-14  Andreas Jaeger  <aj@suse.de>
9356         * sysdeps/i386/fpu/libm-test-ulps: Update.
9358 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
9360         * include/atomic.h (atomic_exchange_and_add): Split into ...
9361         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9362         New atomic macros.
9364 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
9366         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9368 2012-08-13  Jeff Law <law@redhat.com>
9370         * manual/stdio.texi (snprintf): Clarify handling of the trailing
9371         null byte in the output string.
9373 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
9375         * sysdeps/unix/sysv/linux/kernel-features.h
9376         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9377         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9378         (__ASSUME_ARG_MAX_STACK_BASED): Define.
9379         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9380         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9381         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
9382         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9384 2012-08-09  Jeff Law <law@redhat.com>
9386         [BZ #13939]
9387         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9388         When avoid_arena is set, don't retry in the that arena.  Pick the
9389         next one, whatever it might be.
9390         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9391         (arena_lock): Pass in new parameter to arena_get2.
9392         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9393         arena_get2.
9394         (__libc_malloc): Unify retrying after main arena failure with
9395         __libc_memalign version.
9396         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9398 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9400         [BZ #14166]
9401         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9402         to __redirect_strstr.
9403         (__strstr_sse42): Use typeof __redirect_strstr.
9404         (__strstr_ia32): Likewise.
9405         (__libc_strstr): New prototype.
9406         (strstr): Renamed to ...
9407         (__libc_strstr): This.
9408         (strstr): New strong alias of __libc_strstr.
9409         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9410         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9411         __redirect_time.
9412         Include <time.h>.
9413         (__libc_time): New prototype.
9414         (time_ifunc): Replace time with __libc_time.
9415         (time): New strong alias and hidden definition of __libc_time.
9416         (__GI_time): Remove strong alias.
9417         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9418         Include <stddef.h>.
9419         (memmove): Redefined to __redirect_memmove.
9420         (__memmove_sse2): Use typeof __redirect_memmove.
9421         (__memmove_ssse3): Likewise.
9422         (__memmove_ssse3_back): Likewise.
9423         (__libc_memmove): New prototype.
9424         (memmove): Renamed to ...
9425         (__libc_memmove): This.
9426         (memmove): New strong alias of __libc_memmove.
9428 2012-08-08  Mark Salter  <msalter@redhat.com>
9430         * elf/elf.h
9431         (R_MN10300_TLS_GD): Define.
9432         (R_MN10300_TLS_LD): Likewise.
9433         (R_MN10300_TLS_LDO): Likewise.
9434         (R_MN10300_TLS_GOTIE): Likewise.
9435         (R_MN10300_TLS_IE): Likewise.
9436         (R_MN10300_TLS_LE): Likewise.
9437         (R_MN10300_TLS_DTPMOD): Likewise.
9438         (R_MN10300_TLS_DTPOFF): Likewise.
9439         (R_MN10300_TLS_TPOFF): Likewise.
9440         (R_MN10300_SYM_DIFF): Likewise.
9441         (R_MN10300_ALIGN): Likewise.
9442         (R_MN10300_NUM): Update.
9444 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
9446         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9447         Remove.
9449 2012-08-08  Roland McGrath  <roland@hack.frob.com>
9451         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9453         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9454         sysdeps/unix -> sysdeps/posix move.
9455         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9457 2012-08-07      Allan McRae     <allan@archlinux.org>
9459         [BZ #14303]
9460         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9461         (SUNOS_CPP): Likewise.
9462         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9463         not found.
9464         (open_input): Call CPP using execvp.
9466 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9468         * sysdeps/unix/sysv/linux/kernel-features.h
9469         (__ASSUME_PROT_GROWSUPDOWN): Remove.
9470         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9471         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9472         (__ASSUME_WAITID_SYSCALL): Likewise.
9473         * sysdeps/unix/sysv/linux/dl-execstack.c
9474         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9475         code unconditional.
9476         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9477         conditional code.
9478         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9479         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9480         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9481         code.
9482         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9483         unconditional.
9484         [__ASSUME_WAITID_SYSCALL]: Likewise.
9485         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9487 2012-08-07  Roland McGrath  <roland@hack.frob.com>
9489         * sysdeps/unix/closedir.c: Renamed to ...
9490         * sysdeps/posix/closedir.c: ... here.
9491         * sysdeps/unix/dirfd.c: Renamed to ...
9492         * sysdeps/posix/dirfd.c: ... here.
9493         * sysdeps/unix/dirstream.h: Renamed to ...
9494         * sysdeps/posix/dirstream.h: ... here.
9495         * sysdeps/unix/fdopendir.c: Renamed to ...
9496         * sysdeps/posix/fdopendir.c: ... here.
9497         * sysdeps/unix/opendir.c: Renamed to ...
9498         * sysdeps/posix/opendir.c: ... here.
9499         * sysdeps/unix/readdir.c: Renamed to ...
9500         * sysdeps/posix/readdir.c: ... here.
9501         * sysdeps/unix/readdir_r.c: Renamed to ...
9502         * sysdeps/posix/readdir_r.c: ... here.
9503         * sysdeps/unix/rewinddir.c: Renamed to ...
9504         * sysdeps/posix/rewinddir.c: ... here.
9505         * sysdeps/unix/seekdir.c: Renamed to ...
9506         * sysdeps/posix/seekdir.c: ... here.
9507         * sysdeps/unix/telldir.c: Renamed to ...
9508         * sysdeps/posix/telldir.c: ... here.
9509         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9510         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9511         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9512         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9514         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9515         * bits/fcntl.h: ... here.
9517         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9518         not 0.
9519         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9520         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9521         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9522         (struct flock): Move l_start, l_len to the beginning.
9523         Use __pid_t for l_pid.
9524         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9525         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9526         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9527         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9528         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9529         [__USE_LARGEFILE64] (struct flock64): New type.
9530         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9532         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9533         * bits/dirent.h: ... here.
9535         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9536         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9538 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9540         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9541         Change from 2.6.0 to 2.6.16.
9542         * sysdeps/unix/sysv/linux/configure: Regenerated.
9543         * sysdeps/unix/sysv/linux/kernel-features.h
9544         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9545         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9546         version.
9547         (__ASSUME_UTIMES): Likewise.
9548         (__ASSUME_CLONE_STOPPED): Remove.
9549         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9550         architectures, not kernel version.
9551         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9552         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9553         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9554         (__ASSUME_WAITID_SYSCALL): Likewise.
9555         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9556         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9557         * README: State 2.6.16 as minimum Linux kernel version.  Do not
9558         refer to older versions.
9560 2012-08-06  Roland McGrath  <roland@hack.frob.com>
9562         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9563         Define alphasort64 as an alias.
9564         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9565         Define versionsort64 as an alias.
9566         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9567         Define scandir64 as an alias.
9568         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9569         Define scandirat64 as an alias.
9570         * dirent/alphasort64.c (alphasort64):
9571         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9572         * dirent/versionsort64.c: Likewise.
9573         * dirent/scandir64.c: Likewise.
9574         * dirent/scandirat64.c: Likewise.
9575         * sysdeps/wordsize-64/alphasort.c: File removed.
9576         * sysdeps/wordsize-64/alphasort64.c: File removed.
9577         * sysdeps/wordsize-64/scandir.c: File removed.
9578         * sysdeps/wordsize-64/scandir64.c: File removed.
9579         * sysdeps/wordsize-64/scandirat.c: File removed.
9580         * sysdeps/wordsize-64/scandirat64.c: File removed.
9581         * sysdeps/wordsize-64/versionsort.c: File removed.
9582         * sysdeps/wordsize-64/versionsort64.c: File removed.
9583         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9584         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9585         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9586         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9587         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9588         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9589         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9590         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9592         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9593         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9594         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9595         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9596         [defined __arch64__ || defined __sparcv9]
9597         (__INO_T_MATCHES_INO64_T): New macro.
9598         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9599         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9600         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9601         * sysdeps/unix/sysv/linux/bits/dirent.h
9602         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9603         (_DIRENT_MATCHES_DIRENT64): New macro.
9605         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9606         Define lockf64 as an alias.
9607         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9608         Define fseeko64 as an alias.
9609         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9610         Define ftello64 as an alias.
9611         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9612         Define _IO_fgetpos64 and fgetpos64 as aliases.
9613         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9614         Define _IO_fsetpos64 and fsetpos64 as aliases.
9615         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9616         Conditionalize body on this.
9617         * libio/fseeko64.c: Likewise.
9618         * libio/ftello64.c: Likewise.
9619         * libio/iofgetpos64.c: Likewise.
9620         * libio/iofsetpos64.c: Likewise.
9621         * sysdeps/wordsize-64/lockf.c: File removed.
9622         * sysdeps/wordsize-64/lockf64.c: File removed.
9623         * sysdeps/wordsize-64/fseeko.c: File removed.
9624         * sysdeps/wordsize-64/fseeko64.c: File removed.
9625         * sysdeps/wordsize-64/ftello.c: File removed.
9626         * sysdeps/wordsize-64/ftello64.c: File removed.
9627         * sysdeps/wordsize-64/iofgetpos.c: File removed.
9628         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9629         * sysdeps/wordsize-64/iofsetpos.c: File removed.
9630         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9631         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9632         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9633         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9634         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9635         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9636         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9637         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9638         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9639         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9640         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9642         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9643         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9644         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9645         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9646         [defined __arch64__ || defined __sparcv9]
9647         (__OFF_T_MATCHES_OFF64_T): New macro.
9648         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9649         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9650         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9651         (__OFF_T_MATCHES_OFF64_T): New macro.
9653 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9655         * stdlib/secure-getenv.c (__secure_getenv): Replace
9656         GLIBC_2_16 with GLIBC_2_17.
9658 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9660         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9661         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9663 2012-08-03  David S. Miller  <davem@davemloft.net>
9665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9667 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9669         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9670         Remove.
9671         (__ASSUME_CORRECT_SI_PID): Likewise.
9672         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9673         (__ASSUME_TMPFS_NAME): Likewise.
9674         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9675         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9676         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9677         (HAVE_AUX_SECURE): Make definition unconditional.
9678         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9679         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9681 2012-08-03  Roland McGrath  <roland@hack.frob.com>
9683         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9684         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9685         * sysdeps/mach/hurd/eloop-threshold.h: New file.
9686         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9687         __eloop_threshold instead of SYMLOOP_MAX.
9689         * sysdeps/generic/eloop-threshold.h: New file.
9690         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9691         of MAXSYMLINKS.
9692         * elf/chroot_canon.c (chroot_canon): Likewise.
9694 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9696         [BZ #13717]
9697         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9698         Change to 2.6.0 everywhere.
9699         * sysdeps/unix/sysv/linux/configure: Regenerated.
9700         * sysdeps/unix/sysv/linux/kernel-features.h
9701         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9702         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9703         kernel versions.
9704         (__ASSUME_POSIX_TIMERS): Define unconditionally.
9705         (__ASSUME_FUTEX_REQUEUE): Remove.
9706         (__ASSUME_STATFS64): Define unconditionally.
9707         (__ASSUME_AT_SECURE): Likewise.
9708         (__ASSUME_CORRECT_SI_PID): Likewise.
9709         (__ASSUME_TGKILL): Define without depending on kernel version for
9710         i386.
9711         (__ASSUME_UTIMES): Likewise.
9712         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9713         kernel version.
9714         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9715         (__ASSUME_TMPFS_NAME): Likewise.
9716         * README: Update reference to Linux kernel versions.
9718 2012-08-02  Marek Polacek  <polacek@redhat.com>
9720         [BZ# 14150]
9721         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
9722         libc_cv_asm_type_prefix with %.
9723         * configure: Regenerated.
9724         * include/libc-symbols.h: Remove comment about
9725         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9726         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9727         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9728         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9729         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9730         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9731         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9732         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9733         * elf/tst-unique2mod1.c: Likewise.
9734         * elf/tst-unique1mod2.c: Likewise.
9735         * elf/tst-unique1mod1.c: Likewise.
9736         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9737         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9738         Replace ASM_TYPE_DIRECTIVE with .type.
9739         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9740         * sysdeps/i386/sysdep.h: Likewise.
9741         * sysdeps/x86_64/sysdep.h: Likewise.
9742         * sysdeps/sh/sysdep.h: Likewise.
9743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9744         Do not define ASM_TYPE_DIRECTIVE.
9745         * sysdeps/powerpc/sysdep.h: Likewise.
9746         * sysdeps/powerpc/powerpc32/sysdep.h:
9747         Replace ASM_TYPE_DIRECTIVE with .type.
9748         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9749         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9750         * sysdeps/i386/fpu/e_powf.S: Likewise.
9751         * sysdeps/i386/fpu/e_expl.S: Likewise.
9752         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9753         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9754         * sysdeps/i386/fpu/e_pow.S: Likewise.
9755         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9756         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9757         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9758         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9759         * sysdeps/i386/fpu/e_log2.S: Likewise.
9760         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9761         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9762         * sysdeps/i386/fpu/e_powl.S: Likewise.
9763         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9764         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9765         * sysdeps/i386/fpu/e_logl.S: Likewise.
9766         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9767         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9768         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9769         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9770         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9771         * sysdeps/i386/fpu/e_log.S: Likewise.
9772         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9773         * sysdeps/i386/fpu/e_logf.S: Likewise.
9774         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9775         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9776         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9777         * sysdeps/i386/fpu/e_log10.S: Likewise.
9778         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9779         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9780         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9781         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9782         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9783         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9784         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9785         * sysdeps/i386/i686/strtok.S: Likewise.
9786         * sysdeps/i386/i386-mcount.S: Likewise.
9787         * sysdeps/i386/strtok.S: Likewise.
9788         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9789         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9790         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9791         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9792         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9793         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9794         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9795         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9796         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9797         * sysdeps/x86_64/_mcount.S: Likewise.
9798         * sysdeps/x86_64/strtok.S: Likewise.
9799         * sysdeps/sh/_mcount.S: Likewise.
9801 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9803         * libio/iofopen.c: Include <fcntl.h>.
9804         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9805         (_IO_fopen64, fopen64): Define as aliases.
9806         * libio/iofopen64.c: Include <fcntl.h>.
9807         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9808         Conditionalize body on this.
9809         * sysdeps/wordsize-64/iofopen.c: File removed.
9810         * sysdeps/wordsize-64/iofopen64.c: File removed.
9812 2012-08-01  Marek Polacek  <polacek@redhat.com>
9814         * libc/Makeconfig: Use elf in place of binfmt-subdir.
9815         Use dlfcn directly instead of a variable.
9816         (binfmt-subdir): Do not define.
9817         (dlfcn): Likewise.
9819 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
9821         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9822         Remove all definitions.
9823         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9824         <kernel-features.h>.
9825         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9826         (miss_F_GETOWN_EX): Remove all definitions.
9827         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9828         macro definition.
9829         [!__ASSUME_FCNTL64]: Remove conditional code.
9830         [__ASSUME_FCNTL64]: Make code unconditional.
9831         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9832         <kernel-features.h>.
9833         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9834         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9835         (lockf64) [__NR_fcntl64]: Make code unconditional.
9836         (lockf64) [__ASSUME_FCNTL64]: Likewise.
9838         * sysdeps/unix/sysv/linux/kernel-features.h
9839         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9840         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9841         Make code unconditional.
9842         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9843         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9845         [__NR_vfork]: Make code unconditional.
9846         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9847         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9849         [__NR_vfork]: Make code unconditional.
9850         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9851         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9853 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9855         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9856         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9858         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9859         Define mkstemp64 as an alias.
9860         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9861         Define mkstemps64 as an alias.
9862         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9863         Define mkostemp64 as an alias.
9864         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9865         Define mkostemps64 as an alias.
9866         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9867         Conditionalize body on this.
9868         * misc/mkostemp64.c: Likewise.
9869         * misc/mkostemps64.c: Likewise.
9870         * misc/mkstemps64.c: Likewise.
9871         * sysdeps/wordsize-64/mkstemp64.c: File removed.
9872         * sysdeps/wordsize-64/mkostemp64.c: File removed.
9873         * sysdeps/wordsize-64/mkostemp.c: File removed.
9874         * sysdeps/wordsize-64/mkstemp.c: File removed.
9875         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9876         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9877         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9878         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9880         [BZ #14138]
9881         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9882         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9883         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9884         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9886         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9887         compat_symbol macros from <shlib-compat.h> rather than the underlying
9888         default_symbol_version and symbol_version macros, so that DEFAULT
9889         lines in shlib-versions are respected.
9890         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9892 2012-08-01  Florian Weimer  <fweimer@redhat.com>
9894         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9895         Declare with warn_unused_result.
9896         (setgid, setregid, setegid, setresgid): Likewise.
9897         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9898         Likewise.
9899         * WUR-REPORT: Remove set*id functions.
9901 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
9903         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9905 2012-07-31  Roland McGrath  <roland@hack.frob.com>
9907         * include/sys/socket.h (__libc_accept, __libc_accept4):
9908         Add attribute_hidden.
9909         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9911         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9912         use of PTR_MANGLE.
9913         * inet/getnetgrent_r.c (setup): Likewise.
9915         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9917 2012-07-31  David S. Miller  <davem@davemloft.net>
9919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9921 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
9923         [BZ #13629]
9924         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9925         value between 1.0 and 2.0 and smaller part has absolute value less
9926         than 1.0.
9927         * math/s_clog10.c (__clog10): Likewise.
9928         * math/s_clog10f.c (__clog10f): Likewise.
9929         * math/s_clog10l.c (__clog10l): Likewise.
9930         * math/s_clogf.c (__clogf): Likewise.
9931         * math/s_clogl.c (__clogl): Likewise.
9932         * math/libm-test.inc (clog_test): Add more tests.
9933         (clog10_test): Likewise.
9934         * sysdeps/i386/fpu/libm-test-ulps: Update.
9935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9937 2012-07-31  Florian Weimer  <fweimer@redhat.com>
9939         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9940         Exit with zero in case no suitable GID is found, and write a
9941         message to standard error.
9943 2012-07-30  Roland McGrath  <roland@hack.frob.com>
9945         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9946         rather than to 1.
9947         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9948         (MAXPATHLEN): Removed.
9949         (NOGROUP, NODEV): New macros.
9950         (setbit, clrbit, isset, isclr): New macros.
9951         (howmany, roundup, powerof2): New macros.
9952         (DEV_BSIZE): New macro.
9954         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9955         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9957         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9958         definition on [!__NO_LONG_DOUBLE_MATH].
9960         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9961         PTR_MANGLE and PTR_DEMANGLE.
9963         * socket/accept4.c (accept4): Rename to __libc_accept4.
9964         Define accept4 as a weak alias.
9966         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9967         on [_DIRENT_HAVE_D_TYPE].
9968         * io/ftw.c (ftw_dir): Likewise.
9970         * io/xmknod.c (__xmknod): Don't check PATH for being null.
9972         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9974         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9975         Use the BSD numbers rather than the arbitrary ones we had.
9976         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9977         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9978         (SIGXCPU, SIGXFSZ): New macros.
9979         (_NSIG): Now 32.
9981         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9982         initializer on [_LIBC_REENTRANT].
9984         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9985         definitions inside [_POSIX_MAPPED_FILES].
9987         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9989         * dirent/opendir.c: Include <fcntl.h>.
9991         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9992         (__libc_getspecific): Likewise.
9993         (__libc_key_create): Likewise.
9995         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9996         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9997         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9998         (tmpfile64): Define as alias.
9999         * sysdeps/wordsize-64/tmpfile.c: File removed.
10000         * sysdeps/wordsize-64/tmpfile64.c: File removed.
10001         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10002         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10004         * stdio-common/vfscanf.c: Include <stdbool.h>.
10005         * nss/makedb.c: Likewise.
10006         * stdio-common/_i18n_number.h: Likewise.
10007         * argp/argp-help.c: Likewise.
10008         * posix/wordexp.c: Likewise.
10009         * sysdeps/posix/spawni.c: Likewise.
10010         * nss/nss_files/files-initgroups.c: Likewise.
10011         * stdio-common/reg-modifier.c: Include <stdlib.h>.
10012         * nss/nss_files/files-initgroups.c: Likewise.
10013         * nss/nss_db/db-netgrp.c: Likewise.
10014         * nss/nss_db/db-initgroups.c: Likewise.
10015         * io/fchmodat.c: Include <sys/stat.h>.
10017         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10018         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10020         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10021         [HAVE_MMAP].
10023         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10024         Add multiple inclusion protection.
10026 2012-07-27  David S. Miller  <davem@davemloft.net>
10028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10030 2012-07-27  Gary Benson  <gbenson@redhat.com>
10032         [BZ #14298]
10033         * elf/rtld.c: Include <stap-probe.h>.
10034         (dl_main): Added static probes "init_start" and "init_complete".
10035         * elf/dl-load.c: Include <stap-probe.h>.
10036         (lose): Take new parameter "nsid".
10037         Added static probe "map_failed".
10038         (_dl_map_object_from_fd): Pass namespace id to lose.
10039         Added static probe "map_start".
10040         (open_verify): Pass namespace id to lose.
10041         * elf/dl-open.c: Include <stap-probe.h>.
10042         (dl_open_worker) Added static probes "map_complete", "reloc_start"
10043         and "reloc_complete".
10044         * elf/dl-close.c: Include <stap-probe.h>.
10045         (_dl_close_worker): Added static probes "unmap_start" and
10046         "unmap_complete".
10047         * elf/rtld-debugger-interface.txt: New file documenting the above.
10049 2012-07-26  Roland McGrath  <roland@hack.frob.com>
10051         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10052         rather than a string variable.
10053         * sunrpc/rpc_main.c (h_output): Likewise.
10054         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10056 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
10058         * inet/check_native.c: New file.
10060 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
10062         [BZ #13629]
10063         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10064         if larger part has absolute value 1.0.
10065         * math/s_clog10.c (__clog10): Likewise.
10066         * math/s_clog10f.c (__clog10f): Likewise.
10067         * math/s_clog10l.c (__clog10l): Likewise.
10068         * math/s_clogf.c (__clogf): Likewise.
10069         * math/s_clogl.c (__clogl): Likewise.
10070         * math/libm-test.inc (clog_test): Add more tests.
10071         (clog10_test): Likewise.
10072         * sysdeps/i386/fpu/libm-test-ulps: Update.
10073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10075         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10076         (pltexit): Likewise.
10077         (La_regs): Likewise.
10078         (La_retval): Likewise.
10079         (int_retval): Likewise.
10080         Update #error for removed macros to refer only to definitions in
10081         tst-audit.h.
10082         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10083         macro.
10084         (pltexit): Likewise.
10085         (La_regs): Likewise.
10086         (La_retval): Likewise.
10087         (int_retval): Likewise.
10088         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10089         macro.
10090         (pltexit): Likewise.
10091         (La_regs): Likewise.
10092         (La_retval): Likewise.
10093         (int_retval): Likewise.
10094         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10095         macro.
10096         (pltexit): Likewise.
10097         (La_regs): Likewise.
10098         (La_retval): Likewise.
10099         (int_retval): Likewise.
10100         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10101         macro.
10102         (pltexit): Likewise.
10103         (La_regs): Likewise.
10104         (La_retval): Likewise.
10105         (int_retval): Likewise.
10106         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10107         macro.
10108         (pltexit): Likewise.
10109         (La_regs): Likewise.
10110         (La_retval): Likewise.
10111         (int_retval): Likewise.
10112         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10113         macro.
10114         (pltexit): Likewise.
10115         (La_regs): Likewise.
10116         (La_retval): Likewise.
10117         (int_retval): Likewise.
10118         * sysdeps/generic/tst-audit.h: Update comment to refer only to
10119         macro definitions in tst-audit.h.
10120         * sysdeps/i386/tst-audit.h: New file.
10121         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10122         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10123         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10124         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10125         * sysdeps/sh/tst-audit.h: Likewise.
10126         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10127         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10128         * sysdeps/x86_64/tst-audit.h: Likewise.
10130 2012-07-26  Andreas Jaeger  <aj@suse.de>
10132         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10133         ptrace.
10135         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10136         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10137         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10138         PTRACE_O_MASK.
10139         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10140         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10141         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10143         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10144         value.
10146         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10147         _sigsys.
10148         (si_call_addr, si_syscall, si_arch): Define new macro.
10149         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10150         _sigsys.
10151         (si_call_addr, si_syscall, si_arch): Define new marcro.
10152         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10153         _sigsys.
10154         (si_call_addr, si_syscall, si_arch): Define new macro.
10155         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10156         _sigsys.
10157         (si_call_addr, si_syscall, si_arch): Define new macro.
10159 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10161         [BZ #13717]
10162         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10163         Change to 2.4.21 where previously 2.4.1.
10164         * sysdeps/unix/sysv/linux/configure: Regenerated.
10165         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10166         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10167         Linux kernel version.
10168         (__ASSUME_STD_AUXV): Remove.
10169         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10170         kernel version.
10171         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10172         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10173         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10174         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10175         (__ASSUME_NETLINK_SUPPORT): Likewise.
10176         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10177         (__no_netlink_support): Remove conditional definition.
10178         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10179         Remove.
10180         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10181         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10182         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10183         (if_nameindex_ioctl): Remove.
10184         (if_nameindex_netlink): Do not handle __no_netlink_support.
10185         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10186         code.
10187         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10188         Remove conditional code.
10189         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10190         code.
10191         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10192         unconditional.
10193         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10194         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10195         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10196         Remove.
10197         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10198         [!__ASSUME_STD_AUXV]: Remove conditional code.
10199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10200         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10201         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10203         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10204         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10205         code.
10206         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10208         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10209         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10210         conditional code.
10211         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10213         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10214         code.
10215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10216         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10217         conditional code.
10218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10219         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10220         code unconditional.
10221         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10222         conditional code.
10223         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10224         unconditional.
10225         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10226         conditional code.
10227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10228         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10229         unconditional.
10230         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10231         conditional code.
10232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10233         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10234         code unconditional.
10235         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10236         conditional code.
10237         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10238         unconditional.
10239         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10240         conditional code.
10241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10242         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10243         code unconditional.
10244         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10245         conditional code.
10246         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10247         unconditional.
10248         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10249         conditional code.
10251 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
10253         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10254         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10255         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10256         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10257         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10258         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10259         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10260         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10261         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10262         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10263         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10264         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10265         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10266         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10267         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10268         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10269         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10270         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10271         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10272         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10273         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10274         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10275         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10277 2012-07-25  Florian Weimer  <fweimer@redhat.com>
10279         * Versions.def: Add GLIBC_2.17.
10280         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10281         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10282         Introduce __libc_secure_getenv.
10283         * stdlib/Versions (2.17): Add secure_getenv
10284         (GLIBC_PRIVATE): Add __libc_secure_getenv.
10285         * stdlib/secure-getenv.c: Rename __secure_getenv to
10286         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
10287         symbol __secure_getenv for GLIBC_2.0.
10288         * stdlib/tst-secure-getenv.c: New.
10289         * stdlib/Makefile (tests): Add testcase.
10290         * manual/startup.texi (Environment Access): Document
10291         secure_getenv.
10292         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10293         __libc_secure_getenv.
10294         * inet/ruserpass.c (ruserpass): Likewise.
10295         * malloc/mtrace.c (mtrace): Likewise.
10296         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10297         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10298         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10299         * sysdeps/posix/tempname.c: Likewise.  Evaluate
10300         HAVE_SECURE_GETENV.
10301         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10302         __secure_getenv to __libc_secure_getenv.
10303         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10305         Likewise.
10306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10307         Likewise.
10308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10310         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10316 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10318         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10319         (struct La_i86_retval): Likewise.
10320         (struct La_x86_64_regs): Likewise.
10321         (struct La_x86_64_retval): Likewise.
10322         (struct La_x32_regs): Likewise.
10323         (struct La_x32_retval): Likewise.
10324         (struct La_ppc32_regs): Likewise.
10325         (struct La_ppc32_retval): Likewise.
10326         (struct La_ppc64_regs): Likewise.
10327         (struct La_ppc64_retval): Likewise.
10328         (struct La_sh_regs): Likewise.
10329         (struct La_sh_retval): Likewise.
10330         (struct La_s390_32_regs): Likewise.
10331         (struct La_s390_32_retval): Likewise.
10332         (struct La_s390_64_regs): Likewise.
10333         (struct La_s390_64_retval): Likewise.
10334         (struct La_sparc32_regs): Likewise.
10335         (struct La_sparc32_retval): Likewise.
10336         (struct La_sparc64_regs): Likewise.
10337         (struct La_sparc64_retval): Likewise.
10338         (struct audit_ifaces): Remove architecture-specific pltenter and
10339         pltexit members.
10340         * sysdeps/i386/ldsodefs.h: New file.
10341         * sysdeps/powerpc/ldsodefs.h: Likewise.
10342         * sysdeps/s390/ldsodefs.h: Likewise.
10343         * sysdeps/sh/ldsodefs.h: Likewise.
10344         * sysdeps/sparc/ldsodefs.h: Likewise.
10345         * sysdeps/x86_64/ldsodefs.h: Likewise.
10347 2012-07-25  Marek Polacek  <polacek@redhat.com>
10349         [BZ #6808]
10350         * math/libm-test.inc (yn_test): Add another test.
10351         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10352         to ERANGE when the result is +-Inf.
10353         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10354         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10355         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10356         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10358 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
10360         * conform/data/time.h-data (NULL): Use macro-constant.  Require
10361         equal to 0.
10362         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
10363         clock_t.
10364         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
10366 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
10368         * configure.in <sysdeps resolving>: Correct printing
10369         Implies_before.
10370         * configure: Regenerate.
10372 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
10374         * math/w_ilogb.c: Include <limits.h>.
10375         * math/w_ilogbl.c: Likewise.
10377 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10379         * manual/lang.texi (__va_copy): Document primarily as ISO C99
10380         va_copy.  Document allowing for unavailable va_copy only as
10381         pre-C99 compatibility.
10382         * manual/string.texi (Copying and Concatenation): Use va_copy
10383         instead of __va_copy in concat example.
10385 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
10387         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10388         (__sendto): Use create_address_port.  Initialize APORT and deallocate
10389         it if not null.
10391         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10392         with O_NOLINK passed to __file_name_lookup.
10394         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10395         with O_NOLINK passed to __file_name_lookup.
10397         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10398         negative N or less than NGIDS.
10400         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10401         type to string_t.  Set ERANGE as errno and return it if NAME is not big
10402         enough.  Use memcpy instead of strncpy.
10404 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10406         * elf/Makefile (check-data): Remove.
10407         (localplt.data): New vpath directive.
10408         ($(objpfx)check-localplt.out): Use localplt.data from vpath
10409         instead of $(check-data).
10410         * scripts/data/localplt-generic.data: Move to ...
10411         * sysdeps/generic/localplt.data: ... here.
10412         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10413         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10414         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10416         ... here.
10417         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10419         ... here.
10420         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10422         ... here.
10423         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10425         ... here.
10426         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10428         ... here.
10429         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10431         ... here.
10433 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10435         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10436         PPC32 and PPC64 files.
10437         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10438         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10440 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10442         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10443         __makecontext_ret to ...
10444         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10445         ... here and call exit if uc_link is NULL.  New file.
10446         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10447         __makecontext_ret.S.
10448         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10449         __makecontext_ret to ...
10450         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10451         ... here and call exit if uc_link is NULL.  New file.
10452         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10453         __makecontext_ret.S.
10455 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10457         * elf/elf.h (R_390_IRELATIVE): New definition.
10458         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10459         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
10460         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10461         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10462         (elf_machine_lazy_rel): Likewise.
10463         * sysdeps/s390/dl-irel.h: New file.
10464         * sysdeps/s390/s390-64/memcpy.S: New asm code.
10465         * sysdeps/s390/s390-64/memset.S: New asm code.
10466         * sysdeps/s390/s390-64/memcmp.S: New asm code.
10467         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10468         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10469         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10470         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10471         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10472         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10473         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10474         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10475         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10476         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10477         * sysdeps/s390/s390-32/memcpy.S: New asm code.
10478         * sysdeps/s390/s390-32/memset.S: New asm code.
10479         * sysdeps/s390/s390-32/memcmp.S: New asm code.
10481 2012-07-17  Marek Polacek  <polacek@redhat.com>
10483         [BZ #14349]
10484         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10485         * sysdeps/s390/s390-64/configure.in: Likewise.
10486         * sysdeps/sparc/configure.in: Likewise.
10487         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10488         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10489         * sysdeps/i386/configure.in: Likewise.
10490         * sysdeps/x86_64/configure.in: Likewise.
10491         * sysdeps/sh/configure.in: Likewise.
10492         * sysdeps/s390/s390-32/configure: Regenerated.
10493         * sysdeps/s390/s390-64/configure: Likewise.
10494         * sysdeps/x86_64/configure: Likewise.
10495         * sysdeps/sh/configure: Likewise.
10496         * sysdeps/powerpc/powerpc64/configure: Likewise.
10497         * sysdeps/powerpc/powerpc32/configure: Likewise.
10498         * sysdeps/sparc/configure: Likwise.
10499         * sysdeps/i386/configure: Likewise.
10501         * elf/dl-open.c: Comment fixes.
10503 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
10505         * Makefile [CXX] (check-data): Remove.
10506         [CXX] (c++-types.data): New vpath directive.
10507         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10508         vpath.  Do not allow for C++ type data being missing.
10509         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10510         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10511         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10512         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10513         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10514         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10515         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10517         ... here.
10518         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10520         ... here.
10521         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10523         ... here.
10524         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10526         ... here.
10527         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10529         ... here.
10530         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10532         ... here.
10533         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10535         ... here.
10536         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10539         * elf/tls-macros.h (TLS_LE): Move architecture-specific
10540         definitions to architecture-specific files.
10541         (TLS_IE): Likewise.
10542         (TLS_LD): Likewise.
10543         (TLS_GD): Likewise.
10544         * sysdeps/i386/tls-macros.h: New file.
10545         * sysdeps/powerpc/tls-macros.h: Likewise.
10546         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10547         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10548         * sysdeps/sh/tls-macros.h: Likewise.
10549         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10550         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10551         * sysdeps/x86_64/tls-macros.h: Likewise.
10553 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10555         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10556         zero value for regular exit case.
10558         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10559         (__start_context): Preserve zero value for regular exit case.
10561 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10562             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10564         * manual/setjmp.texi (setcontext): Clarify normal process
10565         termination when uc_link is the null pointer.
10566         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10567         exit call.
10569 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
10571         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10572         preprocessor.  Test for each exception mask separately.
10574 2012-07-16  Andreas Jaeger  <aj@suse.de>
10576         * po/ru.po: Update from translation team.
10578 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
10580         * conform/data/string.h-data (NULL): Use macro-constant.  Require
10581         equal to 0.
10582         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10583         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10584         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10585         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10586         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10588 2012-07-13  Andreas Jaeger  <aj@suse.de>
10590         * po/fr.po: Update from translation team.
10592 2012-07-12  Marek Polacek  <polacek@redhat.com>
10594         [BZ #14173]
10595         * math/libm-test.inc (yn_test): Add test for BZ #14173.
10596         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10597         loop condition.
10599 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
10601         [BZ #13717]
10602         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10603         Change to 2.4.1 where previously 2.4.0.
10604         * sysdeps/unix/sysv/linux/configure: Regenerated.
10605         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10606         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10607         version.
10608         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10609         (__ASSUME_AT_CLKTCK): Remove.
10610         (__ASSUME_AT_PAGESIZE): Likewise.
10611         (__ASSUME_AT_XID): Likewise.
10612         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10613         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10614         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10615         unconditionally.
10616         (HAVE_AUX_PAGESIZE): Likewise.
10617         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10618         [__ASSUME_AT_CLKTCK]: Make code unconditional.
10619         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10621 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
10623         [BZ #14307]
10624         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10625         the temporary buffer used to invoke __gethostbyname2_r,
10626         __gethostbyaddr_r and gethostbyname4_r to make room for struct
10627         host_data / struct gaih_addrtuple.
10628         * resolv/nss_dns/dns-host.c (global scope): Move definition of
10629         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10630         header file nss/nsswitch.h.
10631         * nss/nsswitch.h (global scope): Add definition of implementation
10632         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10633         resolv/nss_dns/dns-host.c).
10635 2012-07-11  Andreas Jaeger  <aj@suse.de>
10637         * po/fr.po: Update from translation team.
10639         * po/sv.po: Update from translation team
10640         * po/fr.po: Another update from translation team.
10642 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10644         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10645         for subnormals or multiply small sinh result by itself.
10646         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10649 2012-07-11  David S. Miller  <davem@davemloft.net>
10651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10653 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
10655         [BZ #14347]
10656         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10657         (INTERNAL_MARK): Shift it here.
10659 2012-07-10  Marek Polacek  <polacek@redhat.com>
10661         [BZ #14151]
10662         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
10663         libc_cv_asm_global_directive with .globl.
10664         * configure: Regenerated.
10665         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10666         with .globl.
10667         * sysdeps/i386/configure: Regenerated.
10668         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10669         with .globl.
10670         * sysdeps/x86_64/configure: Regenerated.
10671         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10672         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10673         * elf/tst-unique2mod2.c: Likewise.
10674         * elf/tst-unique2mod1.c: Likewise.
10675         * elf/tst-unique1mod2.c: Likewise.
10676         * elf/tst-unique1mod1.c: Likewise.
10677         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10678         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10679         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10680         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10681         * sysdeps/mach/sysdep.h: Likewise.
10682         * sysdeps/i386/sysdep.h: Likewise.
10683         * sysdeps/i386/i386-mcount.S: Likewise.
10684         * sysdeps/x86_64/_mcount.S: Likewise.
10685         * sysdeps/x86_64/sysdep.h: Likewise.
10686         * sysdeps/sh/_mcount.S: Likewise.
10687         * sysdeps/sh/sysdep.h: Likewise.
10688         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10689         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10690         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10691         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10692         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10693         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10694         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10695         * locale/localeinfo.h: Likewise.
10696         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10697         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10699 2012-07-09  Roland McGrath  <roland@hack.frob.com>
10701         [BZ #14336]
10702         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10703         system".
10704         * manual/message.texi (The Uniforum approach): Likewise.
10705         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10706         (glibc iconv Implementation): Likewise.
10708 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
10710         [BZ #14337]
10711         * math/s_clog.c (__clog): Avoid scaling a value down where that
10712         could result in underflow.
10713         * math/s_clog10.c (__clog10): Likewise.
10714         * math/s_clog10f.c (__clog10f): Likewise.
10715         * math/s_clog10l.c (__clog10l): Likewise.
10716         * math/s_clogf.c (__clogf): Likewise.
10717         * math/s_clogl.c (__clogl): Likewise.
10718         * math/libm-test.inc (clog_test): Add more tests.
10719         (clog10_test): Likewise.
10720         * sysdeps/i386/fpu/libm-test-ulps: Update.
10721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10723 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
10725         [BZ #14283]
10726         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10727         by 7 not 8 to examine high bit of fractional part.
10729         [BZ #14042]
10730         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10731         for call to __mcount_internal.
10732         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10733         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10734         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10736 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
10738         [BZ #14154]
10739         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10740         approximation for values within 0x1p-13f of an odd multiple of
10741         pi/4.
10742         * math/libm-test.inc (tan_test): Do not allow spurious underflow
10743         exception.  Add more tests.
10744         * sysdeps/i386/fpu/libm-test-ulps: Update.
10746         [BZ #6778]
10747         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10748         inputs and return -1 for them.  Do not check for +Inf in case not
10749         reachable for +Inf.
10750         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10751         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10752         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10753         and return -1 for them.  Do not check for +Inf in case not
10754         reachable for +Inf.
10755         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10756         define.
10757         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10758         and return -1 for them.  Do not check for +Inf in case not
10759         reachable for +Inf.
10760         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
10761         spurious underflow.
10762         * sysdeps/i386/fpu/libm-test-ulps: Update.
10763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10765 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
10767         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10769 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
10771         [BZ #14157]
10772         [BZ #14331]
10773         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10774         could result in spurious underflow.  Scale down values above
10775         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10776         * math/s_csqrtf.c (__csqrtf): Likewise.
10777         * math/s_csqrtl.c (__csqrtl): Likewise.
10778         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
10779         spurious underflow.
10780         * sysdeps/i386/fpu/libm-test-ulps: Update.
10781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10783 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10785         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10786         xopen-msg.sed.
10787         * catgets/xopen-msg.awk: New file.
10788         * catgets/xopen-msg.sed: Removed.
10790         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10791         po2text.sed.
10792         * intl/po2test.awk: New file.
10793         * intl/po2test.sed: Removed.
10795 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
10797         [BZ #14328]
10798         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10799         or multiply small sinh result by itself.
10800         * math/s_ctanf.c (__ctanf): Likewise.
10801         * math/s_ctanh.c (__ctanh): Likewise.
10802         * math/s_ctanhf.c (__ctanhf): Likewise.
10803         * math/s_ctanhl.c (__ctanhl): Likewise.
10804         * math/s_ctanl.c (__ctanl): Likewise.
10805         * math/libm-test.inc (ctan_test_tonearest): New function.
10806         (ctan_test_towardzero): Likewise.
10807         (ctan_test_downward): Likewise.
10808         (ctan_test_upward): Likewise.
10809         (ctanh_test_tonearest): Likewise.
10810         (ctanh_test_towardzero): Likewise.
10811         (ctanh_test_downward): Likewise.
10812         (ctanh_test_upward): Likewise.
10813         (main): Call these new functions.
10814         * sysdeps/i386/fpu/libm-test-ulps: Update.
10815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10817 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
10819         * .gitignore: Delete /ports entry.
10821 2012-07-03  Andreas Jaeger  <aj@suse.de>
10823         * po/bg.po: Update from translation team.
10824         * po/cs.po: Likewise.
10825         * po/de.po: Likewise.
10826         * po/hr.po: Likewise.
10827         * po/nl.pl: Likewise.
10828         * po/pl.po: Likewise.
10829         * po/vi.po: Likewise.
10831 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
10833         * Makeconfig [!+link] (+link-before-libc): New variable.
10834         [!+link] (+link-after-libc): Likewise.
10835         [!+link] (+link-tests): Likewise.
10836         [!+link] (+link): Define in terms of $(+link-before-libc) and
10837         $(+link-after-libc).
10838         [!+link-static] (+link-static-before-libc): New variable.
10839         [!+link-static] (+link-static-after-libc): Likewise.
10840         [!+link-static] (+link-static-tests): Likewise.
10841         [!+link-static] (+link-static): Define in terms of
10842         $(+link-static-before-libc) and $(+link-static-after-libc).
10843         [build-shared] (link-libc-before-gnulib): New variable.
10844         [build-shared] (link-libc-tests): Likewise.
10845         [build-shared] (link-libc): Define in terms of
10846         $(link-libc-before-gnulib).
10847         [!build-shared] (link-libc-tests): New variable.
10848         (link-libc-static-tests): New variable.
10849         [!gnulib] (gnulib-arch): New variable.
10850         [!gnulib] (gnulib-tests): Likewise.
10851         [!gnulib] (static-gnulib-arch): Likewise.
10852         [!gnulib] (static-gnulib-tests): Likewise.
10853         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
10854         Define with "=" instead of ":=".
10855         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
10856         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
10857         * Rules (binaries-all-notests): New variable.
10858         (binaries-all-tests): Likewise.
10859         (binaries-static-notests): Likewise.
10860         (binaries-static-tests): Likewise.
10861         (binaries-all): Define using $(binaries-all-notests) and
10862         $(binaries-all-tests).
10863         (binaries-static): Define using $(binaries-static-notests) and
10864         $(binaries-static-tests).
10865         (binaries-shared-tests): New variable.
10866         (binaries-shared-notests): Likewise.
10867         (binaries-shared): Remove variable.
10868         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10869         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10870         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10871         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10872         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10873         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10874         * elf/Makefile (sln-modules): New variable.
10875         (extra-objs): Add $(sln-modules:=.o).
10876         (ldconfig-modules): Add static-stubs.
10877         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10878         * elf/static-stubs.c: New file.
10880         [BZ #14283]
10881         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10882         by 7 not 8 to examine high bit of fractional part.  Use volatile
10883         variables when splitting into final array of floats if
10884         __FLT_EVAL_METHOD__ != 0.
10885         * math/libm-test.inc (cos_test): Add another test.
10886         (sin_test): Likewise.
10887         * sysdeps/i386/fpu/libm-test-ulps: Update.
10889         [BZ #14273]
10890         * math/libm-test.inc (cosh_test): Add more tests.
10892         * version.h (RELEASE): Set to "development".
10893         (VERSION): Set to "2.16.90".
10895 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
10897         * NEWS: Update copyright. Remove last-updated date.
10898         Mention math library bug fixes and timezone data changes.
10899         * README: Mention GNU/Hurd, x32, and HPPA support status.
10901 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
10903         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10905 2012-06-27  Andreas Jaeger  <aj@suse.de>
10907         * manual/contrib.texi (Contributors): Add Samuel Thibault.
10909 2012-06-25  Andreas Jaeger  <aj@suse.de>
10911         * sysdeps/s390/fpu/libm-test-ulps: Update.
10913 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
10914             Thomas Schwinge  <thomas@codesourcery.com>
10916         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10917         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10918         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10919         fanotify_mark.
10921 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
10923         * sysdeps/mach/start.c: Remove file.
10924         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10925         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10926         * sysdeps/sh/init-first.c: Likewise.
10928         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10929         registers for frame unwinding purposes, add CFI directives.
10930         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10931         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10932         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10933         Likewise.
10935         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10936         __fortify_fail returning.
10937         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10939         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10940         sysdeps/sh/____longjmp_chk.S.
10941         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10942         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10943         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10944         (gen-as-const-headers): Append sigaltstack-offsets.sym.
10946         * sysdeps/sh/abort-instr.h: New file.
10947         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10948         process in case exit returns.
10950         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10951         initialize the GOT register before use.
10953         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10954         calculation of ARGC > 4.
10956         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10957         meaningful names to some local labels.
10959 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10960             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10962         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10963         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10964         (__arch_compare_and_exchange_val_16_acq): Likewise.
10965         (__arch_compare_and_exchange_val_32_acq): Likewise.
10966         (atomic_exchange_and_add): Fix gUSA sequence.
10967         (atomic_add): Likewise.
10968         (atomic_add_negative): Likewise.
10969         (atomic_add_zero): Likewise.
10970         (atomic_bit_test_set): Likewise.
10972 2012-06-22  Andreas Schwab  <schwab@redhat.com>
10974         [BZ #13579]
10975         * include/link.h (struct link_map): Add l_free_initfini.
10976         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10977         l_initfini.
10978         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10979         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10980         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10981         set.
10983 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
10985         * configure.in: Use AC_LANG_SOURCE.
10986         * configure: Regenerate.
10988 2012-06-22  Roland McGrath  <roland@hack.frob.com>
10990         * configure.in (libc_cv_localstatedir): New substituted variable.
10991         * configure: Regenerated.
10992         * config.make.in (localstatedir): New variable, substituted from
10993         libc_cv_localstatedir.
10994         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10995         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10996         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10997         * sysdeps/gnu/configure: Regenerated.
10999 2012-06-21  Jeff Law  <law@redhat.com>
11001         [BZ #14277]
11002         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11003         free.  Simplify list management for _LIBC case.
11005 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
11007         [BZ #14273]
11008         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11009         Clear sign bit of 64-bit integer value before comparing against
11010         overflow value.
11012         * sysdeps/mach/configure: Regenerated.
11014 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
11016         [BZ #14278]
11017         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11019 2012-06-21  Jeff Law  <law@redhat.com>
11021         [BZ #13882]
11022         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
11023         uint16_t for elements in the "seen" array to avoid char overflows.
11024         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11025         * elf/dl-open.c (dl_open_worker): Likewise.
11027 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
11029         * scripts/list-sources.sh: Scan PORTS for translations.
11030         * po/libc.pot: Regenerated.
11032 2012-06-21  Andreas Jaeger  <aj@suse.de>
11034         [BZ #12194]
11035         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11036         warning.
11037         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11038         * bits/byteswap-16.h (__bswap_16): Likewise.
11039         * bits/byteswap.h (__bswap_constant_16): Likewise.
11041 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
11043         [BZ #14117]
11044         * sysdeps/i386/fpu_control.h: Removed.
11045         * sysdeps/x86_64/fpu_control.h: Moved to ...
11046         * sysdeps/x86/fpu_control.h: Here.
11048         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11049         (_FPU_SETCW): Likewise.
11051 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
11053         [BZ #14117]
11054         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11055         * sysdeps/x86/fpu/bits/mathinline.h: This.
11056         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11058         [BZ #14050]
11059         [BZ #14117]
11060         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11061         functions if __x86_64__ is defined.
11063 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
11065         * string/endian.h: Add !__ASSEMBLER__ condition for including
11066         conversion interfaces.
11068 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
11070         [BZ #14241]
11071         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11072         of ABS(x) in calculating zero to negative powers other than odd
11073         integers.
11074         * math/libm-test.inc (pow_test): Add more tests.
11076 2012-06-15  Andreas Jaeger  <aj@suse.de>
11078         * manual/contrib.texi (Contributors): Update entry of Liubov
11079         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11080         Machado Filho.
11082 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
11084         * string/string.h: Add __wur to GNU version of strerror_r.
11086 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
11088         [BZ #14229]
11089         * string/Makefile (tests): Add tst-strtok_r.
11090         * string/tst-strtok_r.c: New file.
11091         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11092         RAX_LP/RDX_LP on SAVE_PTR.
11094 2012-06-14  Roland McGrath  <roland@hack.frob.com>
11096         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11098 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
11100         * libm_test.inc (csqrt_test): Allow more spurious underflow
11101         exceptions.
11102         (j0_test): Likewise.
11103         (j1_test): Likewise.
11104         (y0_test): Likewise.
11105         (y1_test): Likewise.
11107 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
11109         * po/Makefile (libc.pot): Use UTF-8 charset.
11111 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
11113         [BZ #14210]
11114         Suppress sign-conversion warning from FD_SET.
11115         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11116         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11117         not unsigned long int.
11118         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11120 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
11122         [BZ #14050]
11123         [BZ #14117]
11124         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11125         __extern_always_inline instead of __extern_inline.
11126         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11127         (__signbit): Likewise.
11128         (__signbitl): Support C++ namespace.
11129         (lrintf): New inline function.
11130         (lrint): Likewise.
11131         (llrintf): Likewise.
11132         (llrint): Likewise.
11133         (fmaxf): Likewise.
11134         (fmax): Likewise.
11135         (fminf): Likewise.
11136         (fmin): Likewise.
11137         (rint): Likewise.
11138         (rintf): Likewise.
11139         (ceil): Likewise.
11140         (ceilf): Likewise.
11141         (floor): Likewise.
11142         (floorf): Likewise.
11143         (nearbyint): Likewise.
11144         (nearbyintf): Likewise.
11146 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
11148         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11149         non-default versions.
11151 2012-06-11  Roland McGrath  <roland@hack.frob.com>
11153         [BZ #14218]
11154         * manual/argp.texi (Argp): Reword argp_parse description slightly.
11156 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
11158         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11159         (FE_UPWARD, FE_DOWNWARD): Don't define.
11160         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11161         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11163         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11164         reading it.
11165         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11166         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11168 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11170         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11171         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11172         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11173         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11175 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11177         [BZ #14117]
11178         * sysdeps/i386/fpu/bits/fenv.h: Removed.
11179         * sysdeps/i386/fpu/Implies: New file.
11180         * sysdeps/x86_64/fpu/Implies: Likewise.
11181         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11182         * sysdeps/x86/fpu/bits/fenv.h: This.
11184         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11185         __SSE_MATH__.
11187 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11189         [BZ #14134]
11190         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11191         character 0xffff that matches the last element of the
11192         conversion table.
11194 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11196         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11197         fmodl commit.
11199 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11201         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11202         values higher than 25.6283.
11204 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11206         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11207         subnormal exponent extraction and add some __builtin_expect.
11208         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11209         Fix for subnormal mantissa calculation.
11211 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
11213         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11214         cpu2 is -1 and errno is not ENOSYS.
11216 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
11218         [BZ #14117]
11219         * sysdeps/i386/i486/bits/string.h: Renamed to ...
11220         * sysdeps/x86/bits/string.h: This.
11221         * sysdeps/x86_64/bits/string.h: Removed.
11223         * sysdeps/i386/i486/bits/string.h: Define inline functions only
11224         if not compiling for x86-64, but compiling for >= i486.
11226         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11227         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11229         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11230         New macro from Linux kernel 3.4.0.
11231         (FP_XSTATE_MAGIC2): Likewise.
11232         (FP_XSTATE_MAGIC2_SIZE): Likewise.
11233         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11234         (struct _fpx_sw_bytes): New struct.
11235         (struct _xsave_hdr): Likewise.
11236         (struct _ymmh_state): Likewise.
11237         (struct _xstate): Likewise.
11239         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11240         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11241         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11242         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11243         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11244         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11246         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11247         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11248         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11249         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11250         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11251         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11253 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11255         [BZ #13743]
11256         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11257         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11258         (sysdep_headers): Include sys/platform/ppc.h.
11259         * sysdeps/powerpc/test-gettimebase.c: Test for
11260         __ppc_get_timebase() to catch future ISA opcode/insn changes.
11261         * manual/Makefile (appendices): Include platform.texi.
11262         * manual/contrib.texi (Contributors): Update @node pointers.
11263         * manual/maint.texi (Maintenance): Likewise.
11264         (Platform): New node.
11265         * manual/platform.texi: New file.  Document the new features.
11267 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11268             Jakub Jelinek  <jakub@redhat.com>
11270         [BZ #14188]
11271         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11272         where __builtin_expect is unavailable.
11274 2012-06-03  David S. Miller  <davem@davemloft.net>
11276         * stdlib/longlong.h: Updated from GCC.
11278 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
11280         [BZ #14042]
11281         * sysdeps/powerpc/powerpc32/mcount.c: New file.
11282         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11283         __mcount_internal.
11284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11285         (GLIBC_2.16): Likewise.
11287 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11289         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11291 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11294         (default-abi): New variable.
11295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11296         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11297         variable.
11298         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11299         Likewise.
11300         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11301         Likewise.
11302         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11303         Likewise.
11305         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11306         definition.  Document in comment.
11308 2012-06-01  David S. Miller  <davem@davemloft.net>
11310         * stdlib/longlong.h: Updated from GCC.
11312 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11314         [BZ #14117]
11315         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11316         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11317         sys/debugreg.h sys/io.h here.
11318         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11319         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11320         sys/io.h.
11321         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11322         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11323         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11324         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11325         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11326         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11328         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11329         Define only if __x86_64__ is defined.
11331 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11333         [BZ #14048]
11334         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11335         Use int64_t for variable i.
11336         * math/libm-test.inc (fmod_test): Add more tests.
11338         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11339         z computation is not scheduled after fetestexcept.
11340         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11341         Use math_force_eval instead of asm to ensure calculation scheduled
11342         before exception test.
11343         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11344         Ensure a1 + u.d computation is not scheduled after fetestexcept.
11346 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
11348         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11349         computation is not scheduled after fetestexcept.
11351 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11353         [BZ #14117]
11354         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11355         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11357 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11359         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11360         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11362 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11364         [BZ #14117]
11365         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11366         <bits/wordsize.h>.
11367         (__WCHAR_MIN): Support __WORDSIZE == 64.
11368         (__WCHAR_MAX): Likewise.
11370         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11371         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11373         [BZ #14183]
11374         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11375         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11377         [BZ #14117]
11378         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11379         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11381         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11382         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11384         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11385         Defined to 1 if __x86_64__ isn't defined.
11386         (_STAT_VER_LINUX_OLD): New.
11387         (st_atime): Remove duplicate.
11388         (st_mtime): Likewise.
11389         (st_ctime): Likewise.
11391 2012-05-31  David S. Miller  <davem@davemloft.net>
11393         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11394         entries.
11396 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
11398         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11399         gen-libm-test.pl.
11401         [BZ #14132]
11402         * elf/dl-reloc.c: Include <_itoa.h>.
11403         (_dl_reloc_bad_type): Remove use of INTUSE.
11404         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11405         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11406         * stdio-common/psiginfo.c (psiginfo): Likewise.
11407         * stdio-common/psignal.c (psignal): Likewise.
11408         * string/strsignal.c (strsignal): Likewise.
11409         * include/signal.h (_sys_siglist): Declare hidden proto.
11410         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
11411         INTVARDEF with libc_hidden_data_def.
11412         * stdio-common/itoa-udigits.c: Likewise.
11413         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11414         (_itoa_lower_digits_internal): Remove declaration.
11415         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11416         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11417         (_sys_sigabbrev_internal): Remove aliases.
11418         (_sys_siglist): Define hidden alias.
11420 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
11422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11423         bits/sysctl.h.
11425 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11427         [BZ #14117]
11428         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11429         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11431         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11432         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11433         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11434         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11435         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11436         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11438         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11439         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11440         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11442         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11443         with __addr.
11444         (insw): Likewise.
11445         (insl): Likewise.
11446         (outsb): Likewise.
11447         (outsw): Likewise.
11448         (outsl): Likewise.
11450         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11451         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11452         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11454         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11455         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11456         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11457         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11458         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11459         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11461         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11462         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11464         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11465         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11467         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11468         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11469         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11471         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11472         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11473         to ...
11474         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11476         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11477         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11478         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11480         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11481         for x86-64.
11482         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11484 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
11486         * math/math.h (M_El): Use two more decimal places.
11487         (M_LOG2El): Likewise.
11488         (M_LOG10El): Likewise.
11489         (M_LN2l): Likewise.
11490         (M_LN10l): Likewise.
11491         (M_PIl): Likewise.
11492         (M_PI_2l): Likewise.
11493         (M_PI_4l): Likewise.
11494         (M_1_PIl): Likewise.
11495         (M_2_PIl): Likewise.
11496         (M_2_SQRTPIl): Likewise.
11497         (M_SQRT2l): Likewise.
11498         (M_SQRT1_2l): Likewise.
11500 2012-05-31  David S. Miller  <davem@davemloft.net>
11502         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11503         values between float registers.
11504         * sysdeps/sparc/sparc64/memset.S: Likewise.
11505         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11507 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
11509         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11510         -D_FORTIFY_SOURCE=1.
11511         (CPPFLAGS-tst-longjmp_chk.c): Define.
11512         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11513         (CPPFLAGS-tst-longjmp_chk2.c): Define.
11514         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11515         CFLAGS-tst-wchar-h.c.
11517 2012-05-31  Marek Polacek  <polacek@redhat.com>
11519         [BZ #14132]
11520         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11521         __endmntent_internal): Remove declaration.
11522         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11523         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11524         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11526 2012-05-30  David S. Miller  <davem@davemloft.net>
11528         * sysdeps/sparc/sparc32/soft-fp/q_util.c
11529         (___Q_simulate_exceptions): Use real FP ops rather than writing
11530         into the %fsr.
11531         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11532         Likewise.
11534 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11536         [BZ #14117]
11537         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11538         * sysdeps/x86/bits/xtitypes.h: This.
11540         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11541         * sysdeps/x86/bits/wordsize.h: This.
11543         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11544         * sysdeps/x86/bits/huge_vall.h: This.
11546         * sysdeps/i386/bits/select.h: Removed.
11547         * sysdeps/x86_64/bits/select.h: Renamed to ...
11548         * sysdeps/x86/bits/select.h: This.
11550         * sysdeps/i386/bits/setjmp.h: Removed.
11551         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11552         * sysdeps/x86/bits/setjmp.h: This.
11554         * sysdeps/i386/bits/mathdef.h: Removed.
11555         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11556         * sysdeps/x86/bits/mathdef.h: This.
11558 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
11560         [BZ #14132]
11561         * include/sys/socket.h (__connect_internal)
11562         (__libc_sa_len_internal): Remove declaration.
11563         (__connect, __libc_sa_len): Declare hidden_proto.
11564         (SA_LEN): Remove use of INTUSE.
11565         * socket/connect.c: Add libc_hidden_def.
11566         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11567         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11568         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11569         alias.
11570         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11571         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11572         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11573         of adding _internal alias.
11575 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11577         [BZ #14117]
11578         * sysdeps/i386/bits/link.h: Removed.
11579         * sysdeps/i386/bits/linkmap.h: Likewise.
11580         * sysdeps/x86_64/bits/link.h: Renamed to ...
11581         * sysdeps/x86/bits/link.h: This.
11582         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11583         * sysdeps/x86/bits/linkmap.h: This.
11585         * sysdeps/i386/bits/endian.h: Removed.
11586         * sysdeps/x86_64/bits/endian.h: Renamed to ...
11587         * sysdeps/x86/bits/endian.h: This.
11589         * sysdeps/i386/bits/byteswap.h: Removed.
11590         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11591         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11592         * sysdeps/x86/bits/byteswap.h: This.
11593         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11594         * sysdeps/x86/bits/byteswap-16.h: This.
11595         * sysdeps/i386/Implies: Add x86.
11596         * sysdeps/x86_64/Implies: Likewise.
11598 2012-05-30  David S. Miller  <davem@davemloft.net>
11600         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11601         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11602         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11603         (FP_TRAPPING_EXCEPTIONS): Define.
11604         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11605         (FP_TRAPPING_EXCEPTIONS): Define.
11606         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11607         subnormals only when inexact has been signalled or underflow
11608         exceptions are enabled.
11609         (_FP_PACK_CANONICAL): Likewise.
11611 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11613         [BZ #14183]
11614         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11615         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11617 2012-05-30  Richard Henderson  <rth@twiddle.net>
11619         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11620         with #ifndef NOT_IN_libc.
11622         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
11623         marked to avoid plt entry.
11625 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11627         [BZ #14112]
11628         * Makeconfig (default-abi): New macro.
11629         (abi-includes): Likewise.
11630         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
11631         $(abi-$(default-abi)-lib-soname) for soname if defined.
11632         ($(common-objpfx)gnu/lib-names.stmp): Generate from
11633         abi-variants.
11634         * Makefile (installed-stubs): Likewise.
11635         * include/stubs-biarch.h: Removed.
11636         * scripts/lib-names.awk: Only handle one library at a time.
11637         * scripts/soversions.awk: Remove WORDSIZE support.
11638         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11639         entries.
11640         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11641         Removed.
11642         (syscall-list-default-condition): Likewise.
11643         (syscall-list-default-condition): Likewise.
11644         (syscall-list-includes): Likewise.
11645         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11646         syscall-list-* with abi-*.  Handle undefined abi-variants.
11647         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11648         * sysdeps/unix/sysv/linux/i386/Implies: New file.
11649         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11650         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11651         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11652         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11653         Removed.
11654         (syscall-list-32-options): Likewise.
11655         (syscall-list-32-condition): Likewise.
11656         (syscall-list-64-options): Likewise.
11657         (syscall-list-64-condition): Likewise.
11658         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11659         macro.
11660         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11661         Renamed to ...
11662         (abi-*): This.
11663         (abi-64-ld-soname): New macro.
11664         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11665         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11666         Renamed to ...
11667         (abi-*): This.
11668         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11669         * sysdeps/x86_64/x32/shlib-versions: Likewise.
11671 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
11673         * sysdeps/unix/sysv/linux/kernel-features.h
11674         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11675         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11676         include <kernel-features.h>.
11677         [!__NR_ftruncate64]: Remove conditional code.
11678         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11679         [__NR_ftruncate64]: Make code unconditional.
11680         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11681         * sysdeps/unix/sysv/linux/truncate64.c: Do not
11682         include <kernel-features.h>.
11683         [!__NR_ftruncate64]: Remove conditional code.
11684         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11685         [__NR_ftruncate64]: Make code unconditional.
11686         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11688         include <kernel-features.h>.
11689         [!__NR_ftruncate64]: Remove conditional code.
11690         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11691         [__NR_ftruncate64]: Make code unconditional.
11692         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11694         include <kernel-features.h>.
11695         [!__NR_ftruncate64]: Remove conditional code.
11696         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11697         [__NR_ftruncate64]: Make code unconditional.
11698         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11700         * configure.in (libc_cv_fpie): Weaken to a compile test using
11701         LIBC_TRY_CC_OPTION.
11702         * configure: Regenerated.
11704 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11710         Refreshed.
11711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11717         Refreshed.
11719 2012-05-27  David S. Miller  <davem@davemloft.net>
11721         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11722         (___Q_zero): New.
11723         (__Q_simulate_exceptions): Return void.  Change to simulate
11724         exceptions by writing into the %fsr.
11725         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11726         (__Qp_handle_exceptions): Likewise.
11727         (numbers): Delete.
11728         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11729         __Qp_handle_exceptions.
11730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11731         __Qp_handle_exceptions.
11732         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11733         as unused and give dummy FP_RND_NEAREST initializer.
11734         (FP_INHIBIT_RESULTS): Define.
11735         (___Q_simulate_exceptions): Update declaration.
11736         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11737         formatting.
11738         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11739         as unused and give dummy FP_RND_NEAREST initializer.
11740         (__Qp_handle_exceptions): Update declaration.
11741         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11742         formatting.
11744 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
11746         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11747         the temporary FPU control word.
11748         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11749         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11750         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11751         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11752         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11753         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11754         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11755         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11756         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11757         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11758         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11760 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11762         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11763         fields.
11765 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
11767         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11768         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11769         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11770         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11771         Likewise.
11772         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11773         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11774         Likewise.
11776 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
11778         * po/h.po: Update from translation team.
11780 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
11782         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11784         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11785         handling of denormals.
11786         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11787         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11788         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11789         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11790         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11791         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11792         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11793         Likewise.
11795 2012-05-26  Marek Polacek  <polacek@redhat.com>
11797         [BZ #14152]
11798         * math/libm-test.inc (fma_test): Don't always expect underflow
11799         exception.
11801 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11803         [BZ #12416]
11804         * elf/tst-execstack.c: Include stackinfo.h.
11805         (do_test): Adjust test case to ensure that pthread_getattr_np
11806         behaviour remains the same after marking stack executable.
11808 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11810         * sysdeps/unix/sysv/linux/kernel-features.h
11811         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11812         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11813         kernel-features.h.
11814         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11815         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11816         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11817         kernel-features.h.
11818         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11819         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11821 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
11823         * configure.in: Define the default includes to being none.
11824         * configure: Regenerated.
11826 2012-05-25  Roland McGrath  <roland@hack.frob.com>
11828         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11829         * sysdeps/x86_64/setjmp.S: Likewise.
11830         * sysdeps/i386/bsd-setjmp.S: Likewise.
11831         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11832         * sysdeps/i386/setjmp.S: Likewise.
11833         * sysdeps/i386/__longjmp.S: Likewise.
11834         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11835         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11837         * include/stap-probe.h: New file.
11838         * configure.in: Handle --enable-systemtap.
11839         * configure: Regenerated.
11840         * config.h.in (USE_STAP_PROBE): New #undef.
11841         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11842         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11843         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11845 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11847         [BZ #13717]
11848         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11849         to 2.4.0 where earlier.
11850         * sysdeps/unix/sysv/linux/configure: Regenerated.
11851         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11852         <kernel-features.h>.
11853         [__ASSUME_32BITUIDS]: Make code unconditional.
11854         [!__ASSUME_32BITUIDS]: Remove conditional code.
11855         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11856         <kernel-features.h>.
11857         [__ASSUME_32BITUIDS]: Make code unconditional.
11858         [!__ASSUME_32BITUIDS]: Remove conditional code.
11859         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11860         [__ASSUME_32BITUIDS]: Make code unconditional.
11861         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11862         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.c: Do not include
11895         <kernel-features.h>.
11896         [__ASSUME_32BITUIDS]: Make code unconditional.
11897         [!__ASSUME_32BITUIDS]: Remove conditional code.
11898         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11899         <kernel-features.h>.
11900         [__ASSUME_32BITUIDS]: Make code unconditional.
11901         [!__ASSUME_32BITUIDS]: Remove conditional code.
11902         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11903         <kernel-features.h>.
11904         [__NR_setresgid] (__setresgid): Do not declare.
11905         [__ASSUME_32BITUIDS]: Make code unconditional.
11906         [!__ASSUME_32BITUIDS]: Remove conditional code.
11907         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11908         <kernel-features.h>.
11909         [__NR_setresuid] (__setresuid): Do not declare.
11910         [__ASSUME_32BITUIDS]: Make code unconditional.
11911         [!__ASSUME_32BITUIDS]: Remove conditional code.
11912         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/i386/setuid.c: Do not include
11945         <kernel-features.h>.
11946         [__ASSUME_32BITUIDS]: Make code unconditional.
11947         [!__ASSUME_32BITUIDS]: Remove conditional code.
11948         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11949         <kernel-features.h>.
11950         [__ASSUME_32BITUIDS]: Make code unconditional.
11951         [!__ASSUME_32BITUIDS]: Remove conditional code.
11952         * sysdeps/unix/sysv/linux/kernel-features.h
11953         (__ASSUME_SETRESUID_SYSCALL): Remove.
11954         (__ASSUME_SETRESGID_SYSCALL): Likewise.
11955         (__ASSUME_32BITUIDS): Likewise.
11956         (__ASSUME_LDT_WORKS): Likewise.
11957         (__ASSUME_O_DIRECTORY): Likewise.
11958         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11959         architecture but not kernel version.
11960         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11961         (__ASSUME_MMAP2_SYSCALL): Likewise.
11962         (__ASSUME_STAT64_SYSCALL): Likewise.
11963         (__ASSUME_IPC64): Likewise.
11964         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11965         <kernel-features.h>.
11966         [__ASSUME_32BITUIDS]: Make code unconditional.
11967         [!__ASSUME_32BITUIDS]: Remove conditional code.
11968         * sysdeps/unix/sysv/linux/opendir.c: Do not include
11969         <kernel-features.h>.
11970         [__ASSUME_O_DIRECTORY]: Make code unconditional.
11971         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11972         132096]: Remove conditional code.
11973         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11974         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11975         <kernel-features.h>.
11976         [__ASSUME_32BITUIDS]: Make code unconditional.
11977         [!__ASSUME_32BITUIDS]: Remove conditional code.
11978         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11979         <kernel-features.h>.
11980         [__ASSUME_32BITUIDS]: Make code unconditional.
11981         [!__ASSUME_32BITUIDS]: Remove conditional code.
11982         * sysdeps/unix/sysv/linux/setegid.c: Do not include
11983         <kernel-features.h>.
11984         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11985         unconditional.
11986         (__setresgid): Do not declare.
11987         [__ASSUME_32BITUIDS]: Make code unconditional.
11988         [!__ASSUME_32BITUIDS]: Remove conditional code.
11989         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11990         <kernel-features.h>.
11991         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11992         unconditional.
11993         (__setresuid): Do not declare.
11994         [__ASSUME_32BITUIDS]: Make code unconditional.
11995         [!__ASSUME_32BITUIDS]: Remove conditional code.
11996         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11997         <kernel-features.h>.
11998         [__ASSUME_32BITUIDS]: Make code unconditional.
11999         [!__ASSUME_32BITUIDS]: Remove conditional code.
12000         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12001         <kernel-features.h>.
12002         [__ASSUME_32BITUIDS]: Make code unconditional.
12003         [!__ASSUME_32BITUIDS]: Remove conditional code.
12005 2012-05-25  Richard Henderson  <rth@twiddle.net>
12007         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12008         dl_hwcap to ifunc resolver.
12009         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12010         elf_ifunc_invoke.
12011         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12012         dl_hwcap to ifunc resolver.
12013         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12015 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12017         [BZ #14153]
12018         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12019         for |x| <= 2**-26, not 2**-57.
12020         * math/libm-test.inc (acos_test): Do not allow spurious underflow
12021         exception.
12023 2012-05-24  Jeff Law  <law@redhat.com>
12025         * stdio-common/Makefile (tests): Add bug25.
12026         * stdio-common/bug25.c: New test.
12028 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12030         [BZ #13576]
12031         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12032         multiple of MALLOC_ALIGNMENT in size.
12033         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12035 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12037         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12038         Require >= 256.
12039         (FILENAME_MAX): Use macro-int-constant.
12040         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
12041         (_IOFBF): Use macro-int-constant.
12042         (_IOLBF): Likewise.
12043         (_IONBF): Likewise.
12044         (SEEK_CUR): Likewise.
12045         (SEEK_END): Likewise.
12046         (SEEK_SET): Likewise.
12047         (TMP_MAX): Likewise.
12048         (EOF): Use macro-int-constant.  Require < 0.
12049         (NULL): Use macro-constant.  Require == 0.
12050         (stdin): Require type to be FILE *.
12051         (stdout): Likewise.
12052         (stderr): Likewise.
12053         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12054         macro-int-constant.
12055         (EXIT_SUCCESS): Likewise.
12056         (NULL): Use macro-constant.  Require == 0.
12057         (RAND_MAX): Use macro-int-constant.
12058         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12059         [C99-based standards] (strtof): Require function.
12060         [C99-based standards] (strtold): Likewise.
12061         [C99-based standards] (strtoll): Likewise.
12062         [C99-based standards] (strtoull): Likewise.
12063         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12064         [ISO || ISO99 || ISO11] (limits.h): Likewise.
12065         [ISO || ISO99 || ISO11] (math.h): Likewise.
12066         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12067         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12068         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12070 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
12072         [BZ #14132]
12073         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12074         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12075         * intl/dgettext.c (DCGETTEXT): Likewise.
12076         * intl/gettext.c (DCGETTEXT): Likewise.
12077         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12078         * posix/regex_internal.h (gettext): Likewise.
12079         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12080         Remove declaration.
12081         * include/argz.h (__argz_count_internal)
12082         (__argz_stringify_internal): Remove declaration.
12083         (__argz_count, __argz_stringify): Declare hidden proto.
12084         * intl/dcgettext.c: Remove use of INTDEF.
12085         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12086         * string/argz-stringify.c: Likewise.
12087         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12088         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12089         Declare hidden proto.
12090         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12091         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12092         Declare hidden proto.
12093         * include/stdio.h (__asprintf_internal): Don't declare.
12094         (__asprintf): Don't define as macro.  Declare hidden proto.
12095         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12096         (__fsetlocking): Declare hidden proto.
12097         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12098         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12099         hidden proto.
12100         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12101         (_IO_setlinebuf): Remove use of INTUSE.
12102         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12103         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12104         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12105         Remove declaration.
12106         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12107         (_IO_do_flush): Remove use of INTUSE.
12108         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12109         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12110         (_IO_adjust_column, _IO_least_wmarker)
12111         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12112         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12113         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12114         (_IO_default_doallocate, _IO_wdefault_doallocate)
12115         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12116         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12117         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12118         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12119         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12120         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12121         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12122         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12123         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12124         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12125         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12126         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12127         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12128         proto.
12129         (_IO_flush_all_internal, _IO_adjust_column_internal)
12130         (_IO_default_uflow_internal, _IO_default_finish_internal)
12131         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12132         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12133         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12134         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12135         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12136         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12137         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12138         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12139         (_IO_file_close_internal, _IO_file_close_it_internal)
12140         (_IO_file_underflow_internal, _IO_file_overflow_internal)
12141         (_IO_file_init_internal, _IO_file_attach_internal)
12142         (_IO_file_fopen_internal, _IO_file_read_internal)
12143         (_IO_file_sync_internal, _IO_file_seek_internal)
12144         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12145         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12146         (_IO_str_underflow_internal, _IO_str_overflow_internal)
12147         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12148         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12149         (_IO_list_all_internal, _IO_link_in_internal)
12150         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12151         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12152         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12153         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12154         (_IO_do_write_internal, _IO_padn_internal)
12155         (_IO_getline_info_internal, _IO_getline_internal)
12156         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12157         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12158         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12159         (_IO_vfscanf_internal, _IO_vfprintf_internal)
12160         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12161         (_IO_init_internal, _IO_un_link_internal): Don't declare.
12162         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12163         with libc_hidden_ver, remove use of INTUSE.
12164         * libio/genops.c: Likewise.
12165         * libio/freopen.c: Likewise.
12166         * libio/freopen64.c: Likewise.
12167         * libio/iofclose.c: Likewise.
12168         * libio/iofdopen.c: Likewise.
12169         * libio/iofflush.c: Likewise.
12170         * libio/iofflush_u.c: Likewise.
12171         * libio/iofgets.c: Likewise.
12172         * libio/iofgets_u.c: Likewise.
12173         * libio/iofopen.c: Likewise.
12174         * libio/iofopncook.c: Likewise.
12175         * libio/iofread.c: Likewise.
12176         * libio/iofread_u.c: Likewise.
12177         * libio/ioftell.c: Likewise.
12178         * libio/iofwrite.c: Likewise.
12179         * libio/iogetline.c: Likewise.
12180         * libio/iogets.c: Likewise.
12181         * libio/iogetwline.c: Likewise.
12182         * libio/iopadn.c: Likewise.
12183         * libio/iopopen.c: Likewise.
12184         * libio/ioseekoff.c: Likewise.
12185         * libio/ioseekpos.c: Likewise.
12186         * libio/iosetbuffer.c: Likewise.
12187         * libio/iosetvbuf.c: Likewise.
12188         * libio/ioungetc.c: Likewise.
12189         * libio/ioungetwc.c: Likewise.
12190         * libio/iovdprintf.c: Likewise.
12191         * libio/iovsprintf.c: Likewise.
12192         * libio/iovsscanf.c: Likewise.
12193         * libio/memstream.c: Likewise.
12194         * libio/obprintf.c: Likewise.
12195         * libio/oldfileops.c: Likewise.
12196         * libio/oldiofclose.c: Likewise.
12197         * libio/oldiofdopen.c: Likewise.
12198         * libio/oldiofopen.c: Likewise.
12199         * libio/oldiopopen.c: Likewise.
12200         * libio/oldstdfiles.c: Likewise.
12201         * libio/putc.c: Likewise.
12202         * libio/setbuf.c: Likewise.
12203         * libio/setlinebuf.c: Likewise.
12204         * libio/stdfiles.c: Likewise.
12205         * libio/strops.c: Likewise.
12206         * libio/vasprintf.c: Likewise.
12207         * libio/vscanf.c: Likewise.
12208         * libio/vsnprintf.c: Likewise.
12209         * libio/vswprintf.c: Likewise.
12210         * libio/wfiledoalloc.c: Likewise.
12211         * libio/wfileops.c: Likewise.
12212         * libio/wgenops.c: Likewise.
12213         * libio/wmemstream.c: Likewise.
12214         * libio/wstrops.c: Likewise.
12215         * libio/__fpurge.c: Likewise.
12216         * libio/__fsetlocking.c: Likewise.
12217         * assert/assert.c: Likewise.
12218         * debug/fgets_chk.c: Likewise.
12219         * debug/fgets_u_chk.c: Likewise.
12220         * debug/fread_chk.c: Likewise.
12221         * debug/fread_u_chk.c: Likewise.
12222         * debug/gets_chk.c: Likewise.
12223         * debug/obprintf_chk.c: Likewise.
12224         * debug/vasprintf_chk.c: Likewise.
12225         * debug/vdprintf_chk.c: Likewise.
12226         * debug/vsnprintf_chk.c: Likewise.
12227         * debug/vsprintf_chk.c: Likewise.
12228         * malloc/mtrace.c: Likewise.
12229         * misc/error.c: Likewise.
12230         * misc/syslog.c: Likewise.
12231         * stdio-common/asprintf.c: Likewise.
12232         * stdio-common/fxprintf.c: Likewise.
12233         * stdio-common/getw.c: Likewise.
12234         * stdio-common/isoc99_fscanf.c: Likewise.
12235         * stdio-common/isoc99_scanf.c: Likewise.
12236         * stdio-common/isoc99_vfscanf.c: Likewise.
12237         * stdio-common/isoc99_vscanf.c: Likewise.
12238         * stdio-common/isoc99_vsscanf.c: Likewise.
12239         * stdio-common/printf-prs.c: Likewise.
12240         * stdio-common/printf_fp.c: Likewise.
12241         * stdio-common/printf_fphex.c: Likewise.
12242         * stdio-common/printf_size.c: Likewise.
12243         * stdio-common/putw.c: Likewise.
12244         * stdio-common/scanf.c: Likewise.
12245         * stdio-common/sprintf.c: Likewise.
12246         * stdio-common/tmpfile.c: Likewise.
12247         * stdio-common/vfprintf.c: Likewise.
12248         * stdio-common/vfscanf.c: Likewise.
12249         * stdlib/strfmon_l.c: Likewise.
12250         * sunrpc/openchild.c: Likewise.
12251         * sunrpc/xdr_stdio.c: Likewise.
12252         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12253         * sysdeps/mach/hurd/tmpfile.c: Likewise.
12255 2012-05-24  Roland McGrath  <roland@hack.frob.com>
12257         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12259         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12260         in the third column, to generate for the shared library an IFUNC
12261         that uses _dl_vdso_vsym.
12262         * Makerules (COMPILE.c, compile-stdin.c): New variables.
12263         * Makeconfig (object-suffixes-noshared): New variable.
12265         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12266         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12267         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12268         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12270         [BZ #14132]
12271         * include/sys/time.h (__gettimeofday): Remove macro.
12272         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12273         * time/gettimeofday.c (__gettimeofday): Remove #undef.
12274         Remove INTDEF.
12275         (__gettimeofday): Add libc_hidden_def.
12276         (gettimeofday): Add libc_hidden_weak.
12277         * sysdeps/mach/gettimeofday.c: Likewise.
12278         * sysdeps/posix/gettimeofday.c: Likewise.
12279         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12280         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12281         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12282         (__gettimeofday_internal): Remove strong_alias.
12283         (__gettimeofday): Add libc_hidden_def.
12284         (gettimeofday): Add libc_hidden_weak.
12285         * sysdeps/unix/syscalls.list (gettimeofday):
12286         Remove __gettimeofday_internal alias.
12288 2012-05-24  Daniel Jacobowitz  <drow@false.org>
12289             H.J. Lu  <hongjiu.lu@intel.com>
12291         [BZ #12495]
12292         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12293         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12294         (largebin_index_32_big): New.
12295         (largebin_index): Use it for 16-byte alignment.
12296         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
12297         correction with front_misalign.
12299 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12302         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12303         Likewise.
12304         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12305         Likewise.
12306         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12307         Likewise.
12308         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12309         Likewise.
12310         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12311         Likewise.
12312         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12313         Likewise.
12314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12315         Likewise.
12316         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12317         Likewise.
12318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12319         Likewise.
12320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12321         Likewise.
12322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12323         Likewise.
12324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12325         Likewise.
12327         * scripts/data/c++-types-x32-linux-gnu.data: New file.
12328         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12330 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12332         [BZ #10846]
12333         [BZ #14036]
12334         * math/libm-test.inc (exp_test): Add test from bug 14036.
12335         (pow_test): Add test from bug 10846.
12337         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12338         and other flags.
12339         (special_function): Do not include flags in test name.
12340         (parse_args): Likewise.
12341         * sysdeps/i386/fpu/libm-test-ulps: Update.
12342         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12343         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12344         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12347         * math/gen-libm-test.pl (%beautify): Add entries for underflow
12348         exceptions.
12349         * math/libm-test.inc ("Philosophy"): Update comment about
12350         exception testing.
12351         (UNDERFLOW_EXCEPTION): New macro.
12352         (UNDERFLOW_EXCEPTION_OK): Likewise.
12353         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12354         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12355         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12356         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12357         (INVALID_EXCEPTION_OK): Update value.
12358         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12359         (OVERFLOW_EXCEPTION_OK): Likewise.
12360         (IGNORE_ZERO_INF_SIGN): Likewise.
12361         (test_exceptions): Handle underflow exceptions.
12362         (acos_test): Update for underflow exception expectations.
12363         (cexp_test): Likewise.
12364         (clog_test): Likewise.
12365         (clog10_test): Likewise.
12366         (csqrt_test): Likewise.
12367         (ctan_test): Likewise.
12368         (ctanh_test): Likewise.
12369         (exp_test): Likewise.
12370         (exp10_test): Likewise.
12371         (exp2_test): Likewise.
12372         (expm1_test): Likewise.
12373         (fma_test): Likewise.
12374         (j0_test): Likewise.
12375         (jn_test): Likewise.
12376         (nexttoward_test): Likewise.
12377         (pow_test): Likewise.
12378         (scalbn_test): Likewise.
12379         (scalbln_test): Likewise.
12380         (tan_test): Likewise.
12381         (y1_test): Likewise.
12382         * sysdeps/i386/fpu/libm-test-ulps: Update.
12383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12385 2012-05-23  David S. Miller  <davem@davemloft.net>
12387         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12388         (__libc_sigaction): Remove unused local variables.
12390 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12392         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12394 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
12396         mktime: avoid signed integer overflow
12397         * time/mktime.c (__mktime_internal): Do not mishandle the case
12398         where diff == INT_MIN.
12400         mktime: simplify computation of average
12401         * time/mktime.c (ranged_convert): Use new time_t_avg function
12402         instead of rolling our own (probably-slower) code.
12404         mktime: do not assume signed right shift propagates sign bit
12405         * time/mktime.c (isdst_differ): New static function.
12406         (__mktime_internal): No need to normalize tm_isdst now.
12407         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12408         tm_isdst values.
12410         mktime: merge another wrapv change from gnulib
12411         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12412         from some compilers.
12414         mktime: remove incorrect attempt at unusual arithmetics
12415         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12416         The code didn't really work on such machines anyway.
12417         (TYPE_MINIMUM): Assume two's complement.
12418         (twos_complement_arithmetic): Verify that long_int and time_t
12419         are two's complement (or unsigned, in the latter case).
12421         mktime: check signed shifts on long_int and time_t, too
12422         * time/mktime.c (SHR): Check that shifts work as desired
12423         on the types long_int and time_t too, as SHR is used on
12424         such types.
12426         mktime: do not assume 'long' is wide enough
12427         * time/mktime.c (verify): Move decl up.
12428         (long_int): New type.
12429         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12430         to remove assumption in the code that 'long' is wide enough to
12431         store year values.  This assumption is not true on x32 and on
12432         some non-glibc platforms.
12434         mktime: merge wrapv change from gnulib
12435         * time/mktime.c (WRAPV): New macro.
12436         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12437         (guess_time_tm, __mktime_internal): Do not assume that signed
12438         integer overflow wraps around; modern compilers generate code
12439         where this assumption is no longer valid.
12441 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12443         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12444         Replace "jmp L(pseudo_end)" with "ret".
12445         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12446         Likewise.
12448 2012-05-23  Andreas Jaeger  <aj@suse.de>
12450         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12451         * sysdeps/unix/sysv/linux/poll.c: Remove file.
12453 2012-05-23  Andreas Jaeger  <aj@suse.de>
12454             Maximilian Attems  <max@stro.at>
12456         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12457         New macros.
12459 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12461         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12462         code so that pseudo_end is just ret and the stack pointer is
12463         correct also for static library in error case.
12465 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
12467         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12468         move to syscalls.list.
12469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12474         * manual/install.texi (Running make install): Do not mention Linux
12475         kernel version for which pt_chown is not needed.
12476         (Linux): Do not mention problems with nscd with 2.0 kernels.
12477         * INSTALL: Regenerated.
12479 2012-05-23  Andreas Jaeger  <aj@suse.de>
12481         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12482         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12483         macro.
12484         * sysdeps/unix/sysv/linux/s390/bits/mman.h
12485         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12486         * sysdeps/unix/sysv/linux/sh/bits/mman.h
12487         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12488         * sysdeps/unix/sysv/linux/i386/bits/mman.h
12489         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12490         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12491         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12492         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12493         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12494         * sysdeps/unix/sysv/linux/bits/in.h
12495         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12497 2012-05-22  Roland McGrath  <roland@hack.frob.com>
12499         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12500         (PREPARE_VERSION): Just use assert instead, it will be elided
12501         under [NDEBUG] anyway.
12503 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12505         * sysdeps/unix/sysv/linux/Makefile: Include
12506         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12507         (sysdep_routines): Remove sysctl.
12508         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12509         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12510         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12511         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12512         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12514 2012-05-22  Andreas Jaeger  <aj@suse.de>
12516         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12517         that pseudo_end is just ret and the stack pointer is correct also
12518         for static library in error case.
12520 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12522         [BZ #14122]
12523         * nss/nsswitch.c (defconfig_entries): New variable.
12524         (__nss_database_lookup): Don't leak defconfig entries.
12525         (nss_parse_service_list): Don't leak on error paths.
12526         (free_database_entries): New function.
12527         (free_defconfig): New function.
12528         (free_mem): Move common code to free_database_entries.
12530 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12532         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12533         Add arch_prctl.
12534         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12536         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12537         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12538         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12539         New macro.
12540         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12541         (INTERNAL_SYSCALL_TYPES): Likewise.
12542         (LOAD_ARGS_TYPES_[1-6]): Likewise.
12543         (LOAD_REGS_TYPES_[1-6]): Likewise.
12544         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12545         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12547 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12549         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12550         copysignl for GLIBC_2_0.
12551         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12552         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12553         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12554         logbl for GLIBC_2_0.
12555         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12556         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12558 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12560         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12561         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12563         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12564         Use "neg %eax".
12566         * time/mktime.c: Update copyright years.
12568 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12570         mktime: merge comment-quoting-style change from gnulib
12571         * time/mktime.c: Quote 'like this' in comments.
12572         The GNU coding standards suggest that we no longer quote `like this',
12573         as "`" and "'" are typically rendered asymmetrically nowadays.
12574         The typical gnulib style is to quote 'like this' when quoting
12575         code, and "like this" when quoting English.
12577         * time/mktime.c (compile-command): Add "-I.".
12579         mktime: merge mktime-internal.h change from gnulib
12580         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12582         mktime: merge time_r change from gnulib
12583         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12585         mktime: merge DEBUG change from gnulib
12586         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12587         case system <time.h> has a #define.
12589         mktime: merge <sys/types.h> change from gnulib
12590         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12591         since <time.t> is now guaranteed to define time_t.
12593         mktime: merge HAVE_CONFIG_H change from gnulib
12594         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12596 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12598         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12599         Use "neg %eax".
12601         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12602         __rlim_t cast.
12603         (struct rusage): Use anonymous union to pad each field to
12604         __syscall_slong_t.
12606 2012-05-21  David S. Miller  <davem@davemloft.net>
12608         * Makefules (o-iterator): Remove .s cases.
12609         (compile-command.s): Delete.
12610         (COMPILE.s): Delete.
12611         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12613 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
12615         * configure.in (libc_cv_predef_stack_protector): Only consider
12616         "foobar" and "__stack_chk_fail" lines in libc_undefs.
12617         * configure: Regenerated.
12619 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12621         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12622         New macro.  Use R*LP on int and pointer.
12623         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12624         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12625         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12626         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12628         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12629         [__WORDSIZE_TIME64_COMPAT32] instead of
12630         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12631         (struct utmp): Likewise.
12632         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12633         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12634         Renamed to ...
12635         (__WORDSIZE_TIME64_COMPAT32): This.
12636         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12637         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12638         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12639         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12640         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12641         (__WORDSIZE_TIME64_COMPAT32): New macro.
12643 2012-05-21  Andreas Jaeger  <aj@suse.de>
12645         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12646         only if [SHARED]. Add prototype for __wcschr_ia32.
12648 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12650         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12651         of %rbp unmolested in the jmp_buf while mangling the low bits.
12652         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12653         unmolested high bits of %rbp while demangling the low bits.
12654         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12656 2012-05-21  Andreas Jaeger  <aj@suse.de>
12658         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12659         * sunrpc/svc_simple.c: Use it for registerrpc.
12660         * sunrpc/xcrypt.c: Use it for passwd2des.
12662         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12664 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12666         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12667         Don't define if [__SYSCALL_WORDSIZE != 32].
12668         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12669         New macro.
12671 2012-05-21  Bruno Haible  <bruno@clisp.org>
12672             Andreas Jaeger  <aj@suse.de>
12674         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12675         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12676         inptr and inend for must_buffer_ch.
12677         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12678         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12679         * stdio-common/Makefile (tests): Remove bug15.
12680         (bug15-ENV): Remove macro.
12681         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12682         anymore.
12684 2012-05-19  Andreas Jaeger  <aj@suse.de>
12685             Roland McGrath  <roland@hack.frob.com>
12687         * manual/contrib.texi: Completely rewritten. It contains now an
12688         alphabetical list of contributors and their contributions.
12690 2012-05-21  Richard Henderson  <rth@twiddle.net>
12692         * misc/getauxval.c (__getauxval): Use unsigned long int.
12693         * misc/sys/auxv.h: Include <sys/cdefs.h>.
12694         (getauxval): Use unsigned long int.
12696 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12698         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12700 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12702         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12703         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12704         __alignof__ (long double).
12706 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12710 2012-05-20  Richard Henderson  <rth@twiddle.net>
12712         * misc/getauxval.c: New file.
12713         * misc/sys/auxv.h: New file.
12714         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12715         (routines): Add getauxval.
12716         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12717         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12718         * elf/dl-sysdep.c (_dl_auxv): Remove.
12719         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12720         * elf/dl-support.c (_dl_auxv): New variable.
12721         (_dl_aux_init): Initialize it.
12722         * manual/startup.texi (Auxiliary Vector): New node.
12723         * sysdeps/generic/bits/hwcap.h: New file.
12724         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12725         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
12726         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12727         * sysdeps/sparc/sysdep.h: ... here.  Include it.
12728         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12729         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12731         Update.
12732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12735         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12738         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12739         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12741 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12745 2012-05-19  David S. Miller  <davem@davemloft.net>
12747         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12749 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12751         [BZ #14123]
12752         * math/s_ccosh.c: Include <float.h>
12753         (__ccosh): Avoid internal overflow calculating sinh and cosh
12754         values before multiplying by sin and cos values.
12755         * math/s_ccoshf.c: Likewise.
12756         * math/s_ccoshl.c: Likewise.
12757         * math/s_csin.c: Likewise.
12758         * math/s_csinf.c: Likewise.
12759         * math/s_csinl.c: Likewise.
12760         * math/s_csinh.c: Likewise.
12761         * math/s_csinhf.c: Likewise.
12762         * math/s_csinhl.c: Likewise.
12763         * math/libm-test.inc (ccos_test): Add more tests.
12764         (ccosh_test): Likewise.
12765         (csin_test): Likewise.
12766         (csinh_test): Likewise.
12767         * sysdeps/i386/fpu/libm-test-ulps: Update.
12768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12770 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12772         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12773         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12775         * sysdeps/x86_64/x32/_itoa.h: Add comment.
12777 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12779         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12780         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12781         * sysdeps/powerpc/soft-fp/Versions: Likewise.
12782         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12783         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12784         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12785         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12786         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12787         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12788         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12789         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12790         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12791         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12792         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12793         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12794         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12795         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12796         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12797         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12798         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12799         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12800         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12801         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12802         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12803         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12804         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12805         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12806         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12807         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12808         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12809         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12811 2012-05-18  Andreas Jaeger  <aj@suse.de>
12813         * csu/.gitignore: Delete.
12815 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12817         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12818         (timex): Use __syscall_slong_t.
12820 2012-05-18  Andreas Jaeger  <aj@suse.de>
12821             Carlos O'Donell  <carlos_odonell@mentor.com>
12823         * manual/install.texi (Configuring and compiling): Update
12824         description about files modified in the source directory.
12825         * INSTALL: Regenerated.
12827 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12829         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12830         value.  Use "or" to set return value to -1.
12831         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12832         negate return value.
12834 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12836         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12837         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12838         failure if the compiler has Graphite support disabled.
12839         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12840         Likewise.
12841         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12842         CFLAGS-memmove.c): Likewise.
12843         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12844         Likewise.
12846 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12848         * sysdeps/x86_64/x32/_itoa.h: New file.
12850         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12851         getdents system call only if kernel and user dirents have the
12852         same d_ino and d_off.
12854         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12855         LLONG_MAX != LONG_MAX.
12856         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12857         (_fitoa_word): Likewise.
12859         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12860         years.
12861         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12862         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12863         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12865         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12866         include <bits/wordsize.h>.  Check __x86_64__ instead of
12867         __WORDSIZE.
12868         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12869         if __x86_64__ is defined.  Use anonymous union on fpstate.
12871         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12872         anonymous union.
12874 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
12876         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12877         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12878         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12879         Refer to _rtld_local_ro instead of _rtld_global_ro.
12880         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12881         Likewise.
12882         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12883         Likewise.
12884         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12885         Likewise.
12886         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12887         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12888         of _rtld_global, and rtld_progname instead of _dl_argv[0].
12890         * sysdeps/powerpc/powerpc32/dl-machine.c
12891         (__elf_machine_runtime_setup) [PROF]: Don't reference
12892         _dl_prof_resolve.
12894 2012-05-18  Andreas Jaeger  <aj@suse.de>
12896         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12897         function only available for GCCs before 3.4 since GCC 3.4
12898         introduced a builtin.
12899         (lrint): Likewise.
12900         (llrintf): Likewise.
12901         (llrint): Likewise.
12902         (fmaxf): Likewise.
12903         (fmax): Likewise.
12904         (fminf): Likewise.
12905         (fmin): Likewise.
12906         (rint): Likewise.
12907         (rintf): Likewise.
12908         (nearbyint): Likewise.
12909         (nearbyintf): Likewise.
12910         (ceil): Likewise.
12911         (ceilf): Likewise.
12912         (floor): Likewise.
12913         (floorf): Likewise.
12915 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12917         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12918         on both fields and cast pointer to __syscall_ulong_t.
12920         * bits/types.h (__fsword_t): New type.
12921         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12922         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12923         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12924         (__FSWORD_T_TYPE): Likewise.
12925         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12926         (__FSWORD_T_TYPE): Likewise.
12927         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12928         (__FSWORD_T_TYPE): Likewise.
12929         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12930         (__FSWORD_T_TYPE): Likewise.
12931         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12932         __SWORD_TYPE with __fsword_t.
12933         (statfs64): Likewise.
12935 2012-05-17  David S. Miller  <davem@davemloft.net>
12937         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12939 2012-05-17  Andreas Jaeger  <aj@suse.de>
12941         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12942         warning.
12944 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12946         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12948 2012-05-17  Andreas Jaeger  <aj@suse.de>
12950         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12951         when it is used.
12953 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12955         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12957 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12959         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12960         * sysdeps/x86_64/tst-mallocalign1.c: New file.
12962 2012-05-17  Andreas Jaeger  <aj@suse.de>
12963             Carlos O'Donell  <carlos_odonell@mentor.com>
12965         [BZ #14059]
12966         * sysdeps/x86_64/multiarch/init-arch.h
12967         (bit_YMM_Usable): Rename to...
12968         (bit_AVX_Usable): ... this.
12969         (bit_FMA4_Usable): New macro.
12970         (bit_XMM_state): New macro.
12971         (bit_YMM_state): New macro.
12972         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12973         [__ASSEMBLER__] (index_AVX_Usable): ... this.
12974         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12975         (CPUID_OSXSAVE): New macro.
12976         (CPUID_AVX): New macro.
12977         (CPUID_FMA4): New macro.
12978         (index_YMM_Usable): Rename to...
12979         (index_AVX_Usable): ... this.
12980         (HAS_AVX): Use HAS_ARCH_FEATURE.
12981         (HAS_FMA4): Likewise.
12982         (HAS_YMM_USABLE): Remove.
12983         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12984         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12985         are present.
12986         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12987         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12988         * sysdeps/x86_64/multiarch/Makefile: Likewise.
12989         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12990         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12992 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12994         * math/libm-test.c: Support platforms without multiple rounding modes.
12995         * math/bug-nextafter.c: Support platforms without FP exceptions.
12996         * math/bug-nexttoward.c: Likewise.
12997         * math/test-fenv.c: Likewise.
12998         * math/test-misc.c: Likewise.
12999         * stdlib/bug-getcontext.c: Likewise.
13001 2012-05-17  Andreas Jaeger  <aj@suse.de>
13003         * manual/examples/search.c (critter_cmp): Change signature to
13004         avoid warnings.
13005         * manual/string.texi (Collation Functions): Likewise.
13007 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13009         * bits/types.h: Fold copyright years.
13010         * bits/typesizes.h: Likewise.
13011         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13012         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13013         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13014         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13015         * time/time.h: Likewise.
13017 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
13019         [BZ #208]
13020         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13021         in instead of returning them.  Return void.
13022         (__libc_mallinfo): Accumulate over all arenas.
13023         (__malloc_stats): Adjust for change in int_mallinfo interface.
13025 2012-05-16  Roland McGrath  <roland@hack.frob.com>
13027         [BZ #10375]
13028         * configure.in (NM): Add AC_CHECK_TOOL for it.
13029         (libc_extra_cflags): New substituted variable.
13030         Check for -fstack-protector being used implicitly.
13031         * configure: Regenerated.
13032         * config.make.in (config-extra-cflags): New variable,
13033         gets @libc_extra_cflags@.
13034         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13036         [BZ #10375]
13037         * configure.in: Check for _FORTIFY_SOURCE being predefined.
13038         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13039         * configure: Regenerated.
13040         * config.make.in (CPPUNDEFS): New substituted variable.
13041         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13042         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13043         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13045 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13047         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13048         (mq_attr): Use __syscall_slong_t.
13050 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13052         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13053         Check __x86_64__ instead of __WORDSIZE.
13054         (_STAT_VER_LINUX): Likewise.
13055         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
13056         __syscall_ulong_t and __syscall_slong_t.
13057         (stat64): Likewise.
13059 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13061         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13063 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13065         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13067 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13069         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13070         __syscall_ulong_t.
13072         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13073         include <bits/wordsize.h>.  Check __x86_64__ instead of
13074         __WORDSIZE.
13075         (greg_t): Use "__extension__ long long int" if __x86_64__ is
13076         defined.
13077         (mcontext_t): Replace "unsigned long" with "unsigned long long".
13079         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13080         include <bits/wordsize.h>.  Check __x86_64__ instead of
13081         __WORDSIZE.
13082         (user_regs_struct): Use "__extension__ unsigned long long"
13083         instead of "unsigned long" if __x86_64__ is defined.
13084         (user): Likewise.  Pad after pointer field if __ILP32__ is
13085         defined.
13087 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
13089         * configure.in (makeinfo): Require version 4.5 or later.  Allow
13090         versions 5 to 9.
13091         * configure: Regenerated.
13092         * manual/install.texi (texinfo): Increase version requirement to
13093         4.5 or later.
13094         * INSTALL: Regenerated.
13096         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13098 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13100         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13102         * sysdeps/x86_64/x32/ffs.c: New file.
13104         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13105         __syscall_ulong_t.
13106         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13107         defined.  Use __syscall_ulong_t.
13108         (shminfo): Use __syscall_ulong_t.
13109         (shm_info): Likewise.
13111         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13112         __syscall_ulong_t.
13114         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13115         <bits/wordsize.h>.
13116         (msgqnum_t): Use __syscall_ulong_t.
13117         (msglen_t): Likewise.
13118         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
13119         __syscall_ulong_t.
13121         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13122         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13124         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13126         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13127         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13129         * sysvipc/sys/msg.h (msgbuf): Replace long int with
13130         __syscall_slong_t.
13132         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13133         include <bits/wordsize.h>.  Check __x86_64__ instead of
13134         __WORDSIZE.
13136         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13137         "unsigned long long int" if __x86_64__ is defined.
13138         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13140         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13141         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13142         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13144         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13145         <stdint.h>.
13146         (GET_PC): Cast to uintptr_t first.
13147         (GET_FRAME): Likewise.
13148         (GET_STACK): Likewise.
13150         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13151         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13152         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13153         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13154         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13155         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13156         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13157         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13158         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13159         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13160         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13161         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13162         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13163         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13164         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13165         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13166         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13167         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13168         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13169         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13170         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13171         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13172         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13173         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13174         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13175         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13176         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13177         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13178         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13180 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
13182         * Makerules (+depfiles): Also collect depfiles from .oS in
13183         $(extra-objs).
13184         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13185         .oS, $(libnldbl-routines)).
13187         * Makerules (native-compile-mkdep-flags): Define.
13188         * sunrpc/Makefile (extra-objs): Add $(addprefix
13189         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13190         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13191         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
13192         calling $(make-target-directory).
13194 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13196         * bits/types.h (__snseconds_t): Removed.
13197         * time/time.h (struct timespec): Replace __snseconds_t with
13198         __syscall_slong_t.
13199         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13200         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13201         Likewise.
13202         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13203         (__SNSECONDS_T_TYPE): Likewise.
13204         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13205         (__SNSECONDS_T_TYPE): Likewise.
13206         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13207         (__SNSECONDS_T_TYPE): Likewise.
13209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13211         * sysdeps/mach/hurd/bits/typesizes.h
13212         (__SYSCALL_SLONG_TYPE): New macro.
13213         (__SYSCALL_ULONG_TYPE): Likewise.
13215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13217         * bits/types.h (__syscall_slong_t): New type.
13218         (__syscall_ulong_t): Likewise.
13220         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13221         (__SYSCALL_ULONG_TYPE): Likewise.
13222         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13223         (__SYSCALL_SLONG_TYPE): Likewise.
13224         (__SYSCALL_ULONG_TYPE): Likewise.
13225         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13226         (__SYSCALL_SLONG_TYPE): Likewise.
13227         (__SYSCALL_ULONG_TYPE): Likewise.
13228         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13229         (__SYSCALL_SLONG_TYPE): Likewise.
13230         (__SYSCALL_ULONG_TYPE): Likewise.
13232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13234         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13235         Add sigaltstack-offsets.sym.
13236         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13237         <sigaltstack-offsets.h>.
13238         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
13239         longjmp_msg pointer.
13240         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
13241         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13242         signal stack.
13243         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13245 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13247         * elf/stackguard-macros.h: Remove file.
13248         * sysdeps/generic/stackguard-macros.h: New file.
13249         * sysdeps/i386/stackguard-macros.h: Likewise.
13250         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13251         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13252         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13253         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13254         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13255         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13256         * sysdeps/x86_64/stackguard-macros.h: Likewise.
13257         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13258         <elf/stackguard-macros.h>.
13260         [BZ #14109]
13261         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13262         __aligned__ in attribute.
13263         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13264         (gregset_t): Likewise.
13266 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13268         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13269         * sysdeps/x86_64/64/Implies-after: Here.  New file.
13270         * sysdeps/x86_64/x32/Implies-after: New file.
13272 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13274         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13275         and access return value for _dl_profile_fixup.  Use R10_LP to
13276         load frame size.
13278 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13280         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13282 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13284         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13285         * sysdeps/x86_64/x32/sysdep.h: New file.
13287 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13289         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13290         * sysdeps/x86_64/setjmp.S: Likewise.
13292 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13294         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13295         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13296         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13297         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13298         remove unused global constant.
13300 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
13302         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13303         include of <not-cancel.h>.
13305 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13307         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13309 2012-05-15  Jeff Law  <law@redhat.com>
13310             Andreas Jaeger  <aj@suse.de>
13312         [BZ #13594]
13313         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13314         out from...
13315         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13316         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13317         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13318         code changing __hst_map_handle.map.
13320 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13322         * configure.in (sysnames): Look for Implies-before and Implies-after
13323         files.
13324         * configure: Regenerated.
13326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13328         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13329         8-byte data alignment with LP_SIZE alignment.
13331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13333         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13334         into R10_LP.
13336 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13338         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13340 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13342         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13343         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13344         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13345         Likewise.
13346         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13348 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13350         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13351         (stackinfo_sub_sp): Likewise.
13353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13355         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13356         RAX_LP.
13358 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13360         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13361         into R*_LP.
13363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13365         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13366         sizes into R*_LP.
13368 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13370         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13374         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13375         into R11_LP and load __x86_64_shared_cache_size_half into
13376         R8_LP.
13378 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13380         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13381         R8_LP.
13383 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13385         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13386         logb for POWER7.
13387         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13388         logbf for POWER7.
13389         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13390         logbl for POWER7.
13391         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13392         powerpc32/power7/fpu/s_logb.c via #include.
13393         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13394         powerpc32/power7/fpu/s_logbf.c via #include.
13395         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13396         powerpc32/power7/fpu/s_logbl.c via #include.
13398 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13400         * README.libm: Remove file.
13402 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13404         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13405         count for x32.  Use R*_LP and omit operand-size suffix.
13407 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13409         * shlib-versions: Move x86_64-.*-linux.* entries to ...
13410         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
13411         * sysdeps/x86_64/x32/shlib-versions: New file.
13413 2012-05-14  Roland McGrath  <roland@hack.frob.com>
13415         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13416         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13417         Use _dl_fatal_printf instead.
13419 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13421         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13422         set if not set by the user.  Do not allow for being unset.
13423         * sysdeps/unix/sysv/linux/configure: Regenerated.
13425 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13427         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13428         the `q' suffix from lea and replace .quad with ASM_ADDR.
13430 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13432         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13433         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
13434         instead of $17.
13435         (PTR_DEMANGLE): Likewise.
13437 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13439         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13440         (LP_OP): Likewise.
13441         (ASM_ADDR): Likewise.
13442         (RAX_LP): Likewise.
13443         (RBP_LP): Likewise.
13444         (RBX_LP): Likewise.
13445         (RCX_LP): Likewise.
13446         (RDI_LP): Likewise.
13447         (RSI_LP): Likewise.
13448         (RSP_LP): Likewise.
13449         (R8_LP): Likewise.
13450         (R9_LP): Likewise.
13451         (R10_LP): Likewise.
13452         (R10_LP): Likewise.
13453         (R11_LP): Likewise.
13454         (R12_LP): Likewise.
13455         (R13_LP): Likewise.
13456         (R14_LP): Likewise.
13457         (R15_LP): Likewise.
13459 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13461         * sysdeps/x86_64/x32/dl-machine.h: New file.
13463 2012-05-14  Andreas Jaeger  <aj@suse.de>
13465         * manual/Makefile (subdir): Remove export of subdir.
13466         (all): Remove target.
13467         (.PHONY): Remove all from list.
13468         (mkinstalldirs): Remove.
13469         (.PHONY): Remove installdirs from list.
13470         ($(inst_infodir)/libc.info): Use make-target-directory.
13471         (installdirs): Remove.
13472         (subdir_%): Remove.
13473         (glibc-targets): Remove.
13474         (lib): Remove.
13475         (stubs): Remove.
13476         ($(objpfx)stubs ../po/manual.pot): Remove.
13477         ($(objpfx)stamp%): Remove.
13478         (make-target-directory): Remove.
13479         (subdir_install): Remove.
13480         (routines): Remove.
13481         (aux): Remove.
13482         (sources): Remove.
13483         (objects): Remove.
13484         (headers): Remove.
13486         [BZ #13750]
13487         * manual/.gitignore: Remove, it's not needed anymore.
13488         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13489         all files in it.
13490         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13491         directory.
13492         (texis): Renamed to $(objpfx)texis.
13493         (texis-path): New, contains path to generated files.
13494         (chapters.%): Use texis-path for complete path, add extra argument
13495         libc-texinfo.sh.
13496         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13497         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13498         (summary,texi, stamp-summary): Use complete path of
13499         files. Generate files in build dir.
13500         (dir-add.texi): Build in build dir.
13501         (libm-err.texi,stamp-libm-err): Likewise.
13502         (version.texi, stamp-version): Likewise.
13503         (.%c.texi): Likewise.
13504         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13505         (mostlyclean): Remove target.
13506         (realclean): Remove target.
13507         (generated): Add new variable with contents from mostlyclean and
13508         realclean, remove entries duplicated in common-mostlyclean, add
13509         stamp-libm-err and stamp-version.
13510         (generated-dirs): Add libc directory.
13511         ($(inst_infodir)/libc.info): Install files from build dir.
13513         * manual/install.texi (Configuring and compiling): Adjust since
13514         the info files are not part of the tar ball anymore.
13516 2012-05-14  Andreas Jaeger  <aj@suse.de>
13518         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13519         variable.
13521 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13523         [BZ #13717]
13524         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13525         to 2.2.0 where earlier.
13526         * sysdeps/unix/sysv/linux/configure: Regenerated.
13527         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13528         Remove conditional code.
13529         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13530         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13531         Remove conditional code.
13532         [!__NR_lchown]: Likewise.
13533         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13534         [__NR_lchown]: Likewise.
13535         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13536         comment referencing __ASSUME_LCHOWN_SYSCALL.
13537         * sysdeps/unix/sysv/linux/i386/sigaction.c
13538         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13539         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13540         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13541         Remove conditional code.
13542         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13543         (__protocol_available): Remove #if 0 code.
13544         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13545         conditional code.
13546         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13547         * sysdeps/unix/sysv/linux/kernel-features.h
13548         (__ASSUME_GETCWD_SYSCALL): Don't define.
13549         (__ASSUME_REALTIME_SIGNALS): Likewise.
13550         (__ASSUME_PREAD_SYSCALL): Likewise.
13551         (__ASSUME_PWRITE_SYSCALL): Likewise.
13552         (__ASSUME_POLL_SYSCALL): Likewise.
13553         (__ASSUME_LCHOWN_SYSCALL): Likewise.
13554         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13555         non-SPARC.
13556         (__ASSUME_SIOCGIFNAME): Don't define.
13557         (__ASSUME_MSG_NOSIGNAL): Likewise.
13558         (__ASSUME_SENDFILE): Define unconditionally.
13559         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13560         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13561         conditional code.
13562         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13563         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13564         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13565         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13566         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13567         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13568         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13570         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13571         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13573         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13574         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13576         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13577         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13579         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13580         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13582         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13583         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13585         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13586         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13588         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13589         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13591         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13592         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13593         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13594         Remove conditional code.
13595         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13596         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13597         Remove conditional code.
13598         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13599         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13600         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13601         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13602         Remove conditional code.
13603         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13604         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13605         Remove conditional code.
13606         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13607         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13608         Remove conditional code.
13609         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13610         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13611         Remove conditional code.
13612         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13613         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13614         Remove conditional code.
13615         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13616         * sysdeps/unix/sysv/linux/sh/pwrite64.c
13617         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13618         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13619         * sysdeps/unix/sysv/linux/sigaction.c
13620         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13621         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13622         * sysdeps/unix/sysv/linux/sigpending.c
13623         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13624         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13625         * sysdeps/unix/sysv/linux/sigprocmask.c
13626         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13627         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13628         * sysdeps/unix/sysv/linux/sigsuspend.c
13629         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13630         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13631         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13632         (__libc_missing_rt_sigs): Remove.
13633         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13634         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13635         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13636         Remove conditional code.
13637         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13638         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13639         return 1.
13640         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13641         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13642         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13643         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13645 2012-05-14  Andreas Jaeger  <aj@suse.de>
13647         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13648         it's not used in glibc.
13649         (__coshm1): Likewise.
13650         (__acosh1p): Likewise.
13651         (__sgn): Likewise.
13653         * manual/string.texi (Copying and Concatenation): Add missing
13654         variable in concat example.
13655         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13657 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13659         [BZ #14103]
13660         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13661         __builtin_clzl with __builtin_clzll.
13663 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13665         [BZ #14104]
13666         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13667         libc_freeres_ptr.
13669 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13671         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13672         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13673         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13674         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13676 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
13678         * NEWS: Update ia64 info.
13680 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13682         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13683         used as bcopy.
13685 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
13687         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13688         * sysdeps/unix/syscalls.list (dup3): Likewise.
13689         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13690         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13692 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13694         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13695         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13697 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13699         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13700         thread pointer.
13701         (TLS_IE): Use mov/add instead of movq/addq to load thread
13702         pointer.
13703         (TLS_GD_PREFIX): New.
13704         (TLS_GD): Use it.
13706 2012-05-11  David S. Miller  <davem@davemloft.net>
13708         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13709         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13710         (_FPU_SETCW): Likewise.
13712 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13714         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13715         is 32-byte aligned.
13717 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
13719         [BZ #11837]
13720         * iconvdata/gb18030.c: Update tables.
13721         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
13722         characters specially.
13723         (BODY for TO_LOOP): Add encoding of missing ranges.
13725 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
13727         [BZ #13673]
13728         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13729         * sysdeps/mach/hurd/dup3.c: Likewise.
13730         * sysdeps/mach/hurd/readlinkat.c: Likewise.
13731         * sysdeps/powerpc/memmove.c:: Likewise.
13733 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13735         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13736         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13738 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13740         * elf/elf.h (R_X86_64_RELATIVE64): New.
13741         (R_X86_64_NUM): Updated.
13742         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13743         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
13744         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13745         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13746         tst-quad1pie tst-quad2pie
13747         (modules-names): Add tst-quadmod1 tst-quadmod2.
13748         ($(objpfx)tst-quad1): New dependency.
13749         ($(objpfx)tst-quad2): Likewise.
13750         ($(objpfx)tst-quad1pie): Likewise.
13751         ($(objpfx)tst-quad2pie): Likewise.
13752         * sysdeps/x86_64/tst-quad1.c: New file.
13753         * sysdeps/x86_64/tst-quad1pie.c: New file.
13754         * sysdeps/x86_64/tst-quad2.c: Likewise.
13755         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13756         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13757         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13758         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13759         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13761 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13763         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13764         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13765         * streams/stropts.h (t_scalar_t): Define type.
13767         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13768         (_PATH_PRESERVE): Set to "/var/lib".
13769         (_PATH_RWHODIR): Set to "/var/spool/rwho".
13771         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13772         instead of int.
13774         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13775         if __dir_mkfile succeeded.
13777         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13778         checking for _hurd_dtablesize.  Unlock it right after having
13779         finished _hurd_dtable allocation.
13781 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13783         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13784         * sysdeps/mach/hurd/configure: Regenerated.
13785         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13786         special-casing to...
13787         * sysdeps/gnu/configure.in: ... this new file.
13788         * sysdeps/unix/sysv/linux/configure: Regenerated.
13789         * sysdeps/gnu/configure: New generated file.
13791         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13792         for Linux: use nsec instead of usec, as well as:
13793         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13794         members of type struct timespec.
13795         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13796         New macros.
13797         (struct stat64): Likewise.
13798         (_STATBUF_ST_NSEC): New macro.
13799         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13801         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13802         __strtoul_internal rather than strtoul.
13804 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13806         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13807         and reject them.
13809 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13811         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13812         which preserves existing values.
13813         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13815 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13817         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13818         TIMEOUT values.  Return EINVAL for NFDS values either negative or
13819         greater than FD_SETSIZE.
13821 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13823         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13824         allocated, call __vm_protect to finish enabling the existing space, and
13825         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13826         allocate the remainder.
13828 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13830         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13831         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
13833 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13835         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13836         sysdeps/mach/hurd/readlink.c.
13838         * posix/tst-sysconf.c (posix_options): Only use
13839         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13840         _POSIX_SYNCHRONIZED_IO when they are defined
13841         * sysdeps/mach/hurd/bits/posix_opt.h:
13842         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13843         (_XOPEN_REALTIME): Undefine macro.
13844         (_XOPEN_REALTIME_THREADS): Undefine macro.
13845         (_XOPEN_SHM): Undefine macro.
13846         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13847         macro to -1.
13848         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13849         macro to -1.
13850         (_POSIX_ASYNC_IO): Undefine macro.
13851         (_POSIX_PRIORITIZED_IO): Undefine macro.
13852         (_POSIX_SPIN_LOCKS): Define macro to -1.
13854         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13855         SA_NODEFER, SA_RESETHAND.
13856         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13857         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13858         F_DUPFD_CLOEXEC.
13860 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13862         * elf/Makefile (pldd-modules): Define unconditionally.
13864 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13866         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13868 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13870         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13871         Return ENOENT when name is empty.
13872         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13874 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13876         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13878         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13880 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13882         Fix mlock in all cases except non-readable pages.
13883         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13884         instead of VM_PROT_ALL as parameter to __vm_wire function.
13886         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13887         (__mkdir): When path is `/', just fail with EEXIST.
13888         * sysdeps/mach/hurd/mkdirat.c: Likewise.
13890 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13892         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13893         <sys/uio.h> (for writev).
13894         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13895         and <sys/param.h> (for MIN).
13897 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13899         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13900         REQUESTED_TIME.  Properly set the remaining time and return EINTR
13901         if interrupted.
13903 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13905         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13906         Depend on against $(link-rpcuserlibs).
13908 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13910         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13911         (__libc_stack_end): Do not use attribute_relro.
13912         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13913         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13914         to libthread-provided value.
13915         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13916         attribute_relro.
13918 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13920         [BZ #3748]
13921         * bits/libc-lock.h (__libc_once_get): New macro.
13922         * sysdeps/mach/bits/libc-lock.h: Likewise.
13923         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13924         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13925         instead of using implementation details.
13927         * libio/fileops.c: Unconditionally include <kernel-features.h>.
13928         * libio/freopen.c: Likewise.
13929         * libio/freopen64.c: Likewise.
13930         * misc/syslog.c: Likewise.
13931         * nscd/connections.c: Likewise.
13932         * nscd/netgroupcache.c: Likewise.
13933         * sysdeps/posix/getcwd.c: Likewise.
13935 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13937         * math/w_ilogbf.c: Add #include <limits.h>.
13939 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13941         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13942         path instead of returning without unlocking.
13944         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13945         immediate-write ioctls.
13946         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13948 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13950         * sysdeps/mach/hurd/i386/init-first.c (init): Use
13951         __builtin_frame_address instead of making assumptions about the
13952         location of the return address relative to DATA.  Force early load of
13953         the return address.
13954         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13955         __builtin_frame_address.
13957         dup3 for GNU Hurd.
13958         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13959         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
13960         implement dup3 and do some further code clean-ups.
13961         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13962         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13964 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13966         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13968         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13969         HURD_CRITICAL_END around holding _hurd_dtable_lock.
13970         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13971         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13972         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13973         d->port.lock.
13975         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13976         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
13977         when handler == SIG_ERR, not when handler != SIG_ERR.
13979 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13981         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13982         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13983         definitions.
13985         accept4 for GNU Hurd.
13986         * include/sys/socket.h (__libc_accept4): New prototype.
13987         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
13988         to implement __libc_accept4.
13989         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13990         __libc_accept4.
13991         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13993         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13994         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13995         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13996         signal-defines.sym.
13998 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14000         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14002 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14004         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14005         assertion on O_CLOEXEC flag.
14006         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14007         * hurd/intern-fd.c: Likewise.
14008         * hurd/port2fd.c: Likewise.
14010 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14012         [BZ #3906]
14013         * bits/in.h (IPV6_PKTINFO): Define new macro.
14014         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14016 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14018         [BZ #13954]
14019         [BZ #13955]
14020         [BZ #13956]
14021         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14022         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14023         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14024         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14025         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14026         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14027         * math/libm-test.inc (logb_test) : Additional logb tests.
14029 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
14030             Andreas Jaeger  <aj@suse.de>
14032         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14033         * configure: Regenerated.
14034         * config.h.in (LINK_OBSOLETE_RPC): New macro.
14035         * config.make.in (link-obsolete-rpc): New substituted variable.
14036         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14037         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14038         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14039         (shared-only-routines): Don't set it under [link-obsolete-rpc],
14040         so that libc.a contains the symbols.
14041         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14042         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14043         * sunrpc/auth_none.c: Likewise.
14044         * sunrpc/auth_unix.c: Likewise.
14045         * sunrpc/authdes_prot.c: Likewise.
14046         * sunrpc/authuxprot.c: Likewise.
14047         * sunrpc/clnt_gen.c: Likewise.
14048         * sunrpc/clnt_perr.c: Likewise.
14049         * sunrpc/clnt_raw.c: Likewise.
14050         * sunrpc/clnt_simp.c: Likewise.
14051         * sunrpc/clnt_tcp.c: Likewise.
14052         * sunrpc/clnt_udp.c: Likewise.
14053         * sunrpc/clnt_unix.c: Likewise.
14054         * sunrpc/des_crypt.c: Likewise.
14055         * sunrpc/des_soft.c: Likewise.
14056         * sunrpc/get_myaddr.c: Likewise.
14057         * sunrpc/key_call.c: Likewise.
14058         * sunrpc/key_prot.c: Likewise.
14059         * sunrpc/netname.c: Likewise.
14060         * sunrpc/pm_getmaps.c: Likewise.
14061         * sunrpc/pm_getport.c: Likewise.
14062         * sunrpc/pmap_clnt.c: Likewise.
14063         * sunrpc/pmap_prot.c: Likewise.
14064         * sunrpc/pmap_prot2.c: Likewise.
14065         * sunrpc/pmap_rmt.c: Likewise.
14066         * sunrpc/publickey.c: Likewise.
14067         * sunrpc/rpc_cmsg.c: Likewise.
14068         * sunrpc/rpc_common.c: Likewise.
14069         * sunrpc/rpc_dtable.c: Likewise.
14070         * sunrpc/rpc_prot.c: Likewise.
14071         * sunrpc/rpc_thread.c: Likewise.
14072         * sunrpc/rtime.c: Likewise.
14073         * sunrpc/svc.c: Likewise.
14074         * sunrpc/svc_auth.c: Likewise.
14075         * sunrpc/svc_raw.c: Likewise.
14076         * sunrpc/svc_run.c: Likewise.
14077         * sunrpc/svc_tcp.c: Likewise.
14078         * sunrpc/svc_udp.c: Likewise.
14079         * sunrpc/svc_unix.c: Likewise.
14080         * sunrpc/svcauth_des.c: Likewise.
14081         * sunrpc/xcrypt.c: Likewise.
14082         * sunrpc/xdr.c: Likewise.
14083         * sunrpc/xdr_array.c: Likewise.
14084         * sunrpc/xdr_float.c: Likewise.
14085         * sunrpc/xdr_intXX_t.c: Likewise.
14086         * sunrpc/xdr_mem.c: Likewise.
14087         * sunrpc/xdr_rec.c: Likewise.
14088         * sunrpc/xdr_ref.c: Likewise.
14089         * sunrpc/xdr_sizeof.c: Likewise.
14090         * sunrpc/xdr_stdio.c: Likewise.
14092 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14094         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14095         change.  Update copyright years.
14097 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14099         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14101 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
14102             Joseph Myers  <joseph@codesourcery.com>
14103             Paul Pluzhnikov  <ppluzhnikov@google.com>
14105         [BZ #14012]
14106         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14107         requiring rpcgen.
14108         [cross-compiling] (extra-libs): Likewise.
14109         [cross-compiling] (extra-libs-others): Likewise.
14110         [cross-compiling] (librpcsvc-routines): Likewise.
14111         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14112         [cross-compiling] (omit-deps): Likewise.
14113         (sunrpc-CPPFLAGS): New variable.
14114         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14115         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14116         (cross-rpcgen-objs): New variable.
14117         (extra-objs): Append $(cross-rpcgen-objs).
14118         ($(cross-rpcgen-objs)): New rule.
14119         ($(objpfx)cross-rpcgen): Likewise.
14120         (rpcgen-cmd): Define to use $(built-program-file).  Expand
14121         comment.
14122         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14123         ($(objpfx)x%.stmp): Likewise.
14124         * sunrpc/proto.h [IS_IN_build] (_): Define.
14125         [IS_IN_build] (_libc_intl_domainname): Likewise.
14127 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14129         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14130         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14131         and R_X86_64_TPOFF64.
14133 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14135         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14136         sysdeps/unix/sysv/syscalls.list.
14137         (stime): Likewise.
14138         (utime): Likewise.
14139         * sysdeps/unix/sysv/syscalls.list: Remove file.
14141 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
14143         [BZ #3440]
14144         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14145         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14146         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14147         (__LC_IDENTIFICATION): Make these macros useful in #if
14148         expressions, as required by C99.
14150 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
14152         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14153         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
14154         after this.
14156 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
14158         * stdlib/longlong.h: Updated from GCC.
14160 2012-05-09  Andreas Jaeger  <aj@suse.de>
14162         * nscd/nscd.c (run_modes): Make named enum, reorder so that
14163         default is first entry.
14164         (run_mode): Set type.
14165         (main): Remove informal message about syslog.
14166         (options): Fix typo.
14168         [BZ #14053]
14169         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14170         to asm.
14171         (lrint): Likewise.
14172         (llrintf): Likewise.
14173         (llrint): Likewise.
14174         (rint): Likewise.
14175         (rintf): Likewise.
14176         (nearbyint): Likewise.
14177         (nearbyintf): Likewise.
14179 2012-05-09  Andreas Jaeger  <aj@suse.de>
14180             Pedro Alves  <palves@redhat.com>
14182         * nscd/nscd.c (run_mode): Use enum.
14183         (main): Cleanup coding style issue.
14185 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
14186             Andreas Jaeger  <aj@suse.de>
14188         * nscd/nscd.c (go_background): Replaced with...
14189         (run_mode): ... this.
14190         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14191         (options): Add -F --foreground.
14192         (main): Implement it.
14193         (parse_opt): Parse it.
14195 2012-05-09  Andreas Jaeger  <aj@suse.de>
14197         [BZ #14083]
14198         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14199         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14200         -Wconversion warning.
14201         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14202         Likewise.
14204 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
14206         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
14207         == 0.
14208         (LC_ALL): Use macro-int-constant.
14209         (LC_COLLATE): Likewise.
14210         (LC_CTYPE): Likewise.
14211         (LC_MESSAGES): Likewise.
14212         (LC_MONETARY): Likewise.
14213         (LC_NUMERIC): Likewise.
14214         (LC_TIME): Likewise.
14215         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14216         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14217         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14218         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14219         Specify type.
14220         [C99-based standards] (float_t): Expect type.
14221         [C99-based standards] (double_t): Expect type.
14222         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
14223         type.
14224         [C99-based standards] (HUGE_VALL): Likewise.
14225         [C99-based standards] (INFINITY): Likewise.
14226         [C99-based standards] (NAN): Likewise.
14227         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14228         [C99-based standards] (FP_NAN): Likewise.
14229         [C99-based standards] (FP_NORMAL): Likewise.
14230         [C99-based standards] (FP_SUBNORMAL): Likewise.
14231         [C99-based standards] (FP_ZERO): Likewise.
14232         [C99-based standards] (FP_FAST_FMA): Use
14233         optional-macro-int-constant.  Specify type.  Require == 1.
14234         [C99-based standards] (FP_FAST_FMAF): Likewise.
14235         [C99-based standards] (FP_FAST_FMAL): Likewise.
14236         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14237         [C99-based standards] (FP_ILOGBNAN): Likewise.
14238         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14239         Specify type.
14240         [C99-based standards] (MATH_ERREXCEPT): Likewise.
14241         [C99-based standards] (math_errhandling): Specify type.
14242         [ISO99 || ISO11] (signgam): Do not allow.
14243         [non-C99-based standards] (copysignf): Do not allow.
14244         [non-C99-based standards] (exp2f): Likewise.
14245         [non-C99-based standards] (log2f): Likewise.
14246         [non-C99-based standards] (modff): Allow.
14247         [non-C99-based standards] (erff): Do not allow.
14248         [non-C99-based standards] (erfcf): Likewise.
14249         [non-C99-based standards] (gammaf): Likewise.
14250         [non-C99-based standards] (hypotf): Likewise.
14251         [non-C99-based standards] (j0f): Likewise.
14252         [non-C99-based standards] (j1f): Likewise.
14253         [non-C99-based standards] (jnf): Likewise.
14254         [non-C99-based standards] (lgammaf): Likewise.
14255         [non-C99-based standards] (tgammaf): Likewise.
14256         [non-C99-based standards] (y0f): Likewise.
14257         [non-C99-based standards] (y1f): Likewise.
14258         [non-C99-based standards] (ynf): Likewise.
14259         [non-C99-based standards] (isnanf): Likewise.
14260         [non-C99-based standards] (acoshf): Likewise.
14261         [non-C99-based standards] (asinhf): Likewise.
14262         [non-C99-based standards] (atanhf): Likewise.
14263         [non-C99-based standards] (cbrtf): Likewise.
14264         [non-C99-based standards] (expm1f): Likewise.
14265         [non-C99-based standards] (ilogbf): Likewise.
14266         [non-C99-based standards] (log1pf): Likewise.
14267         [non-C99-based standards] (logbf): Likewise.
14268         [non-C99-based standards] (nextafterf): Likewise.
14269         [non-C99-based standards] (remainderf): Likewise.
14270         [non-C99-based standards] (rintf): Likewise.
14271         [non-C99-based standards] (scalbf): Likewise.
14272         [non-C99-based standards] (copysignl): Likewise.
14273         [non-C99-based standards] (exp2l): Likewise.
14274         [non-C99-based standards] (log2l): Likewise.
14275         [non-C99-based standards] (modfl): Allow.
14276         [non-C99-based standards] (erfl): Do not allow.
14277         [non-C99-based standards] (erfcl): Likewise.
14278         [non-C99-based standards] (gammal): Likewise.
14279         [non-C99-based standards] (hypotl): Likewise.
14280         [non-C99-based standards] (j0l): Likewise.
14281         [non-C99-based standards] (j1l): Likewise.
14282         [non-C99-based standards] (jnl): Likewise.
14283         [non-C99-based standards] (lgammal): Likewise.
14284         [non-C99-based standards] (tgammal): Likewise.
14285         [non-C99-based standards] (y0l): Likewise.
14286         [non-C99-based standards] (y1l): Likewise.
14287         [non-C99-based standards] (ynl): Likewise.
14288         [non-C99-based standards] (isnanl): Likewise.
14289         [non-C99-based standards] (acoshl): Likewise.
14290         [non-C99-based standards] (asinhl): Likewise.
14291         [non-C99-based standards] (atanhl): Likewise.
14292         [non-C99-based standards] (cbrtl): Likewise.
14293         [non-C99-based standards] (expm1l): Likewise.
14294         [non-C99-based standards] (ilogbl): Likewise.
14295         [non-C99-based standards] (log1pl): Likewise.
14296         [non-C99-based standards] (logbl): Likewise.
14297         [non-C99-based standards] (nextafterl): Likewise.
14298         [non-C99-based standards] (remainderl): Likewise.
14299         [non-C99-based standards] (rintl): Likewise.
14300         [non-C99-based standards] (scalbl): Likewise.
14301         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14302         [non-C99-based standards] (FP_*): Do not allow.
14303         [C99-based standards] (FP_*): Change to
14304         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14305         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14306         allow.
14307         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14308         (SIG_ERR): Likewise.
14309         [X/Open-based standards] (SIG_HOLD): Likewise.
14310         (SIG_IGN): Likewise.
14311         (SIGABRT): Use macro-int-constant.  Specify type.  Require
14312         positive value.
14313         (SIGFPE): Likewise.
14314         (SIGILL): Likewise.
14315         (SIGINT): Likewise.
14316         (SIGSEGV): Likewise.
14317         (SIGTER): Likewise.
14318         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14319         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14320         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14321         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14322         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14323         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14324         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14325         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14326         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14327         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14328         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14329         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14330         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14331         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14332         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14333         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14334         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14335         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14336         [X/Open-based standards] (SIGTRAP): Likewise.
14337         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14338         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14339         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14340         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14341         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14342         allow.
14344 2012-05-08  Ian Wienand  <ianw@vmware.com>
14346         [BZ #14080]
14347         * time/tzset.c (__tzset_parse_tz): Update default rules for
14348         daylight time changes in the Energy Policy Act of 2005.
14350 2012-05-09  Andreas Jaeger  <aj@suse.de>
14352         [BZ #13983]
14353         * elf/ldconfig.c (parse_conf): Change string to make clear that
14354         ldconfig only issued a warning if ld.so.conf does not exist.
14356 2012-05-08  David S. Miller  <davem@davemloft.net>
14358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14359         movxtod instead of popping the value on the stack.
14361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14363 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
14365         * config.h.in: Add HAVE_ARM_PCS_VFP.
14367 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
14369         [BZ #13979]
14370         * include/features.h: Warn if user requests __FORTIFY_SOURCE
14371         checking but the checks are disabled for any reason.
14373 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14375         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14376         and ELF64_R_TYPE with ELFW(R_TYPE).
14378 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
14380         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14381         (ulimit): Likewise.
14383         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14384         (settimeofday): Likewise.
14386 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
14388         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
14389         a struct th_u2 inside the union, and move tu_block/tu_code into
14390         a new th_u3 union of tu_block/tu_code inside of that.  Move
14391         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
14392         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
14393         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14394         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14395         (th_stuff): Change to th_u1.tu_stuff.
14396         (th_data): Define.
14397         (th_msg): Change to th_u1.th_u2.tu_data.
14399 2012-05-07  David S. Miller  <davem@davemloft.net>
14401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14403         [BZ #14074]
14404         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14405         (SETUP_PIC_REG): Use it.
14406         (SETUP_PIC_REG_LEAF): Use it.
14408 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
14410         [BZ #13885]
14411         [BZ #13923]
14412         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14413         USE_AS_EXPM1L.
14414         (EXPL_FINITE): Likewise.
14415         (FLDLOG): Likewise.
14416         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14417         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14418         e_expl.S.
14419         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14420         USE_AS_EXPM1L.
14421         (EXPL_FINITE): Likewise.
14422         (FLDLOG): Likewise.
14423         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14424         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14425         e_expl.S.
14426         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
14427         test of -max_value argument for long double.
14428         * sysdeps/i386/fpu/libm-test-ulps: Update.
14429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14431 2012-05-06  David S. Miller  <davem@davemloft.net>
14433         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14434         quad soft-float symbols whose references which are compiler
14435         generated.
14436         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14438 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
14440         [BZ #13884]
14441         [BZ #13914]
14442         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14443         USE_AS_EXP10L.
14444         (EXPL_FINITE): Likewise.
14445         (FLDLOG): Likewise.
14446         (c0): Likewise.
14447         (c1): Likewise.
14448         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14449         Adjust comments for base varying.
14450         (__expl_finite): Change alias to EXPL_FINITE.
14451         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14452         e_expl.S.
14453         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14454         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14455         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14456         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14457         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14458         USE_AS_EXP10L.
14459         (EXPL_FINITE): Likewise.
14460         (FLDLOG): Likewise.
14461         (c0): Likewise.
14462         (c1): Likewise.
14463         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14464         Adjust comments for base varying.
14465         (__expl_finite): Change alias to EXPL_FINITE.
14466         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
14467         tests for bugs.
14468         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14470         [BZ #14064]
14471         * math/libm-test.inc (check_float_internal): Correct ulp
14472         calculation for subnormal expected results.
14474 2012-05-06  Andreas Jaeger  <aj@suse.de>
14476         * Makeconfig (+math-flags): New, set to -frounding-math.
14477         (+cflags): Add +math-flags so that all of glibc gets compiled with
14478         it.
14480         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14482 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
14484         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14485         Disable one test.
14487         [BZ #13787]
14488         [BZ #13922]
14489         [BZ #14036]
14490         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14491         (__ieee754_expl): Allow for and saturate large arguments.
14492         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14493         (u_threshold): Likewise.
14494         (__exp): Call __ieee754_exp before checking for overflow and
14495         underflow.
14496         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14497         (u_threshold): Likewise.
14498         (__expf): Call __ieee754_expf before checking for overflow and
14499         underflow.
14500         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14501         (u_threshold): Likewise.
14502         (__expl): Call __ieee754_expl before checking for overflow and
14503         underflow.
14504         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14505         (__ieee754_expl): Allow for and saturate large arguments.
14506         * math/libm-test.inc (exp_test): Add another test.  Do not allow
14507         missing overflow exception on overflow.
14508         (expm1_test): Do not allow missing overflow exception on overflow.
14510         * sysdeps/i386/fpu/e_expl.c: Move to ...
14511         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
14512         rather than using inline asm.
14513         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14514         * sysdeps/x86_64/fpu/e_expl.S: Copy from
14515         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14517         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14518         (nice): Likewise.
14519         (poll): Likewise.
14520         (signal): Likewise.
14521         (time): Likewise.
14522         (times): Likewise.
14524 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14526         * sysdeps/unix/syscalls.list (adjtime): Add entry from
14527         sysdeps/unix/common/syscalls.list.
14528         (fchmod): Likewise.
14529         (fchown): Likewise.
14530         (ftruncate): Likewise.
14531         (getrusage): Likewise.
14532         (gettimeofday): Likewise.
14533         (setpgid): Likewise.
14534         (setregid): Likewise.
14535         (setreuid): Likewise.
14536         (sigaction): Likewise.
14537         (truncate): Likewise.
14538         (vhangup): Likewise.
14539         * sysdeps/unix/common/syscalls.list: Remove file.
14540         * sysdeps/unix/bsd/Implies: Don't include unix/common.
14541         * sysdeps/unix/sysv/linux/Implies: Likewise.
14543 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
14545         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14547         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14548         Moved to ...
14549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14550         Here.
14551         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14552         to ...
14553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14554         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14555         to ...
14556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14557         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14558         to ...
14559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14560         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14561         to ...
14562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14563         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14564         to ...
14565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14566         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14567         to ...
14568         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14569         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14570         to ...
14571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14572         Here.
14573         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14574         to ...
14575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14576         Here.
14577         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14578         to ...
14579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14580         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14581         Moved to ...
14582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14583         Here.
14584         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14585         to ...
14586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14588 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14590         * sysdeps/unix/common/bits/dirent.h: Remove file.
14591         * sysdeps/unix/common/bits/fcntl.h: Likewise.
14593         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14594         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14595         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14596         * sysdeps/unix/bsd/isatty.c: Likewise.
14597         * sysdeps/unix/bsd/tcdrain.c: Likewise.
14598         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14599         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14601 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14603         [BZ #13563]
14604         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14605         long double comparison inaccuracies.
14606         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14609 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
14611         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14612         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14614 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14616         [BZ #14049]
14617         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14618         nonzero digits before rounding a hex value.
14619         * stdlib/tst-strtod.c (tests): Add another test.
14621 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14623         * sysdeps/s390/fpu/libm-test-ulps: Update.
14625 2012-05-03  Andreas Jaeger  <aj@suse.de>
14627         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14628         does not get optimized out.
14629         (malloc_opt_barrier): New.
14631 2012-05-03  Andreas Jaeger  <aj@suse.de>
14632             Roland McGrath  <roland@hack.frob.com>
14634         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14635         intermediate file deletion.
14636         (generated): Add .symlist files.
14638 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
14640         [BZ #13775]
14641         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14642         Redirect under this condition.
14643         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14644         [__USE_GNU] (__dprintf_chk): Not under this condition.
14645         [__USE_GNU] (__vdprintf_chk): Likewise.
14646         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14647         under this condition.
14648         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14649         [__USE_XOPEN2K8] (dprintf): Define under this condition.
14650         [__USE_XOPEN2K8] (vdprintf): Likewise.
14651         [__USE_GNU] (__dprintf_chk): Not under this condition.
14652         [__USE_GNU] (__vdprintf_chk): Likewise.
14653         [__USE_GNU] (dprintf): Likewise.
14654         [__USE_GNU] (vdprintf): Likewise.
14656 2012-05-03  Roland McGrath  <roland@hack.frob.com>
14658         * elf/Makefile (common-generated): Set this instead of generated for
14659         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
14660         $(all-built-dso)-derived lists.
14662 2012-05-03  Andreas Jaeger  <aj@suse.de>
14664         * sysdeps/i386/fpu/libm-test-ulps: Update.
14666         * FAQ: Removed.
14667         * FAQ.in: Likewise.
14668         * scripts/gen-FAQ.pl: Likewise.
14669         * manual/install.texi (Installation): Point to online location of
14670         FAQ.
14671         * Makefile (files-for-dist): Remove FAQ.
14672         (FAQ): Remove.
14674 2012-05-02  Allan McRae  <allan@archlinux.org>
14676         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14677         (LDFLAGS-reldepmod5.so): Likewise.
14678         (LDFLAGS-reldep6mod1.so): Likewise.
14679         (LDFLAGS-reldep6mod4.so): Likewise.
14680         (LDFLAGS-reldep8mod3.so): Likewise.
14681         (LDFLAGS-unload4mod1.so): Likewise.
14682         (LDFLAGS-unload4mod2.so): Likewise.
14683         (LDFLAGS-tst-initorder): Likewise.
14684         (LDFLAGS-tst-initordera2.so): Likewise.
14685         (LDFLAGS-tst-initordera3.so): Likewise.
14686         (LDFLAGS-tst-initordera4.so): Likewise.
14687         (LDFLAGS-tst-initorderb2.so): Likewise.
14688         (LDFLAGS-noload): Likewise.
14689         (LDFLAGS-next): Likewise.
14690         (LDFLAGS-order2mod1.so): Likewise.
14691         (LDFLAGS-order2mod2.so): Likewise.
14692         (LDFLAGS-tst-initorder2): Likewise.
14693         (LDFLAGS-tst-initorder2a.so): Likewise.
14694         (LDFLAGS-tst-initorder2b.so): Likewise.
14695         (LDFLAGS-tst-initorder2c.so): Likewise.
14696         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14698 2012-05-02  David S. Miller  <davem@davemloft.net>
14700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14702 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14704         [BZ #14055]
14705         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14707 2012-05-02  Andreas Jaeger  <aj@suse.de>
14709         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14710         since we manipulate rounding mode.
14711         (CPPFLAGS-test-idouble.c): Likewise.
14712         (CPPFLAGS-test-ifloat.c): Likewise.
14713         (CFLAGS-test-ldouble.c): Likewise.
14714         (CFLAGS-test-double.c): Likewise.
14715         (CFLAGS-test-float.c): Likewise.
14716         (CFLAGS-test-misc.c): Likewise.
14717         (CFLAGS-test-test-fenv.c): Likewise.
14719 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14721         [BZ #2550]
14722         [BZ #2570]
14723         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14724         comparisons to determine direction to adjust input.
14726 2012-05-01  Roland McGrath  <roland@hack.frob.com>
14728         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14729         output to the target.
14731         * scripts/localplt.awk: New file.
14732         * elf/Makefile ($(objpfx)check-localplt): Target removed.
14733         (check-localplt-CFLAGS): Variable removed.
14734         ($(all-built-dso:=.jmprel)): New static pattern rule.
14735         (generated): Add those targets.
14736         (localplt-built-dso): New variable.
14737         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14739         * elf/check-localplt.c: File removed.
14741         * scripts/check-execstack.awk: New file.
14742         * elf/Makefile ($(objpfx)check-execstack): Target removed.
14743         (check-execstack-CFLAGS): Variable removed.
14744         ($(objpfx)check-execstack.h): Target removed.
14745         ($(objpfx)execstack-default): New target.
14746         (generated): Add that instead of check-execstack.h.
14747         ($(all-built-dso:=.phdr)): New static pattern rule.
14748         (generated): Add those targets.
14749         * elf/check-execstack.c: File removed.
14751         * scripts/check-textrel.awk: New file.
14752         * elf/Makefile ($(objpfx)check-textrel): Target removed.
14753         (check-textrel-CFLAGS): Variable removed.
14754         (all-built-dso): Use := to define.o
14755         ($(all-built-dso:=.dyn)): New static pattern rule.
14756         (generated): Add those targets.
14757         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14758         * config.make.in (READELF): New substituted variable.
14759         * elf/check-textrel.c: File removed.
14761 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14763         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14764         allow.
14765         * conform/data/ctype.h-data [C99-based standards] (isblank):
14766         Expect function.
14767         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14768         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14769         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14770         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14771         Specify type.  Require positive value.
14772         (EILSEQ): Likewise.
14773         (ERANGE): Likewise.
14774         [ISO || POSIX] (EILSEQ): Do not expect.
14775         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14776         Specify type.  Require positive value.
14777         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14778         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14779         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14780         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14781         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14782         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14783         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14784         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14785         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14786         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14787         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14788         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14789         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14790         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14791         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14792         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14793         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14794         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14795         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14796         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14797         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14798         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14799         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14800         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14801         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14802         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14803         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14804         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14805         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14806         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14807         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14808         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14809         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14810         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14811         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14812         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14813         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14814         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14815         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14816         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14817         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14818         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14819         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14820         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14821         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14822         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14823         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14824         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14825         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14826         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14827         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14828         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14829         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14830         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14831         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14832         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14833         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14834         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14835         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14836         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14837         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14838         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14839         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14840         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14841         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14842         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14843         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14844         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14845         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14846         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14847         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14848         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14849         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14850         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14851         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14852         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14853         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14854         Require >= 2.
14855         (FLT_ROUNDS): Expect as macro, not constant.
14856         (FLT_MANT_DIG): Use macro-int-constant.
14857         (DBL_MANT_DIG): Likewise.
14858         (LDBL_MANT_DIG): Likewise.
14859         (FLT_DIG): Likewise.
14860         (DBL_DIG): Likewise.
14861         (LDBL_DIG): Likewise.
14862         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
14863         (DBL_MIN_EXP): Likewise.
14864         (LDBL_MIN_EXP): Likewise.
14865         (FLT_MAX_EXP): Use macro-int-constant.
14866         (DBL_MAX_EXP): Likewise.
14867         (LDBL_MAX_EXP): Likewise.
14868         (FLT_MAX_10_EXP): Likewise.
14869         (DBL_MAX_10_EXP): Likewise.
14870         (LDBL_MAX_10_EXP): Likewise.
14871         (FLT_MAX): Use macro-constant.
14872         (DBL_MAX): Likewise.
14873         (LDBL_MAX): Likewise.
14874         (FLT_EPSILON): Use macro-constant.  Give upper bound.
14875         (DBL_EPSILON): Likewise.
14876         (LDBL_EPSILON): Likewise.
14877         (FLT_MIN): Likewise.
14878         (DBL_MIN): Likewise.
14879         (LDBL_MIN): Likewise.
14880         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14881         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14882         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14883         [ISO11] (FLT_HAS_SUBNORM): Likewise.
14884         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14885         [ISO11] (DBL_DECIMAL_DIG): Likewise.
14886         [ISO11] (FLT_DECIMAL_DIG): Likewise.
14887         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14888         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14889         [ISO11] (FLT_TRUE_MIN): Likewise.
14890         [ISO11] (LDBL_TRUE_MIN): Likewise.
14891         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14892         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14893         (SCHAR_MIN): Use macro-int-constant.  Specify type.
14894         (SCHAR_MAX): Likewise.
14895         (UCHAR_MAX): Likewise.
14896         (CHAR_MIN): Likewise.
14897         (CHAR_MAX): Likewise.
14898         (MB_LEN_MAX): Use macro-int-constant.
14899         (SHRT_MIN): Use macro-int-constant.  Specify type.
14900         (SHRT_MAX): Likewise.
14901         (USHRT_MAX): Likewise.
14902         (INT_MAX): Likewise.
14903         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
14904         bound negative.
14905         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14906         bound with "U".
14907         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14908         bound with "L".
14909         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
14910         bound negative.  Suffix upper bound with "L".
14911         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14912         bound with "UL".
14913         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14914         Specify type.
14915         [C99-based standards] (LLONG_MAX): Likewise.
14916         [C99-based standards] (ULLONG_MAX): Likewise.
14917         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
14918         == 0.
14919         [ISO11] (max_align_t): Require type.
14920         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14922         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14923         from $CFLAGS, without defining away __attribute__ calls.
14924         (checknamespace): Use $CFLAGS_namespace.
14926         * conform/conformtest.pl (@keywords): Only include C99 keywords
14927         for standards based on C99 or C11.
14929         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14930         Disable tests.
14931         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14932         UNIX98]: Likewise.
14934         * conform/conformtest.pl: Handle "macro-int-constant" and test for
14935         usability of symbols in #if.
14937         * conform/conformtest.pl: If macro or constant types start
14938         "promoted:", expect the symbol to be of the following type
14939         promoted by the integer promotions.
14941         * conform/conformtest.pl: Parse all "constant" and "macro" lines
14942         in one place.  Also handle "macro-constant".
14944         * conform/conformtest.pl: Only accept expected macro values with
14945         "==".  Parse all "macro" lines in one place.
14946         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14948         * conform/conformtest.pl: Handle braced types on "constant" lines
14949         instead of handling "typed-constant".
14950         * conform/data/signal.h-data: Use "constant" instead of
14951         "typed-constant".
14953         * conform/conformtest.pl: Handle "optional-" at start of lines in
14954         one place rather than duplicating several cases.  Handle each
14955         format of "macro" line with initial "optional-".
14957         * conform/conformtest.pl: Only accept expected constant or
14958         optional-constant values with "==".  Parse all "constant" lines in
14959         one place.  Parse all "optional-constant" lines in one place.
14960         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14961         * conform/data/fmtmsg.h-data: Likewise.
14962         * conform/data/netinet/in.h-data: Likewise.
14963         * conform/data/tar.h-data: Likewise.
14964         * conform/data/limits.h-data: Use "==" form on "constant" and
14965         "optional-constant" lines.
14967         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14968         Use -std=c99 for XOPEN2K.
14969         (@knownproblems): Remove.
14970         (newtoken): Don't check %isknown.
14972         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14973         Do not expect macro.
14974         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14975         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14976         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14977         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14978         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14979         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14980         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14981         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14982         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14983         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14984         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14985         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14986         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14987         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14988         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14989         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14990         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14991         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14992         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14993         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14994         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14995         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14996         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14997         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14998         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14999         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15000         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15001         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15002         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15003         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15004         [XPG3] (acosh): Likewise.
15005         [XPG3] (asinh): Likewise.
15006         [XPG3] (atanh): Likewise.
15007         [XPG3] (cbrt): Likewise.
15008         [XPG3] (expm1): Likewise.
15009         [XPG3] (ilogb): Likewise.
15010         [XPG3] (log1p): Likewise.
15011         [XPG3] (logb): Likewise.
15012         [XPG3] (nextafter): Likewise.
15013         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15014         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15015         [XPG3] (remainder): Likewise.
15016         [XPG3] (rint): Likewise.
15017         [XPG3 || XPG4 || UNIX98] (round): Likewise.
15018         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15019         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15020         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15021         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15022         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15023         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15024         [UNIX98 || XOPEN2K] (scalb): Expect.
15025         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15026         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15027         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15028         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15029         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15030         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15031         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15032         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15033         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15034         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15035         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15036         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15037         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15038         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15039         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15040         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15041         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15042         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15043         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15044         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15045         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15046         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15047         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15048         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15049         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15050         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15051         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15052         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15053         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15054         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15055         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15056         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15057         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15058         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15059         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15060         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15061         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15062         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15063         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15064         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15065         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15066         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15067         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15068         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15069         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15070         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15071         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15072         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15073         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15074         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15075         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15076         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15077         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15078         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15079         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15080         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15081         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15082         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15083         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15084         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15085         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15086         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15087         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15088         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15089         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15090         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15091         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15092         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15093         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15094         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15095         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15096         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15097         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15098         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15099         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15100         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15101         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15102         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15103         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15104         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15105         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15106         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15107         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15108         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15109         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15110         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15111         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15112         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15113         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15114         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15115         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15116         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15117         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15118         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15119         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15120         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15121         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15122         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15123         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15124         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15125         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15126         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15127         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15128         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15129         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15130         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15131         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15132         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15133         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15134         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15135         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15136         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15137         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15138         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15139         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15140         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15141         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15142         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15143         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15144         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15145         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15146         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15147         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15148         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15149         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15150         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15151         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15152         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15153         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15154         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15155         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15156         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15157         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15158         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15159         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15160         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15161         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15163         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15164         _XOPEN_SOURCE_EXTENDED for XPG4.
15166         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15168         * Makeconfig (localtime): Remove variable.
15169         (inst_localtime-file): Likewise.
15171 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15174         Update.
15175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15176         Update.
15177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15178         Update.
15179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15180         Update.
15181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15182         Update.
15183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15184         Update.
15185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15186         Update.
15187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15188         Update.
15189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15190         Update.
15192 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15194         [BZ #2550]
15195         [BZ #2570]
15196         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15197         comparisons to determine direction to adjust input.
15198         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15199         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15200         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15201         Likewise.
15202         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15203         Likewise.
15204         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15205         Likewise.
15206         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15207         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15208         Likewise.
15209         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15210         Likewise.
15211         * math/libm-test.inc (nexttoward_test): Add more tests.
15213 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15215         [BZ #14040]
15216         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15217         in version GLIBC_2.1, not GLIBC_2.0.
15218         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15219         Likewise.
15221 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
15223         [BZ #13942]
15224         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15225         (1 - x) * (1 + x).
15226         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15227         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15228         * math/libm-test.inc (acos_test): Add more tests.
15229         (asin_test): Likewise.
15230         * sysdeps/i386/fpu/libm-test-ulps: Update.
15231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15233         [BZ #14034]
15234         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15235         of square root.
15236         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15237         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15238         * math/libm-test.inc (acos_test_tonearest): New function.
15239         (acos_test_towardzero): Likewise.
15240         (acos_test_downward): Likewise.
15241         (acos_test_upward): Likewise.
15242         (asin_test_tonearest): Likewise.
15243         (asin_test_towardzero): Likewise.
15244         (asin_test_downward): Likewise.
15245         (asin_test_upward): Likewise.
15246         (main): Call the new functions.
15247         * sysdeps/i386/fpu/libm-test-ulps: Update.
15248         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15250         [BZ #13884]
15251         [BZ #13924]
15252         * math/e_exp10.c: Include <float.h>.
15253         (__ieee754_exp10): Handle underflow here rather than multiplying
15254         large negative argument by M_LN10.
15255         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15256         of __ieee754_expf.
15257         * math/e_exp10l.c: Include <float.h>.
15258         (__ieee754_exp10l): Handle underflow here rather than multiplying
15259         large negative argument by M_LN10l.
15260         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
15261         spurious overflow exception on underflow.
15263 2012-04-29  Marek Polacek  <polacek@redhat.com>
15265         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15266         (__fortify_function): New macro.
15267         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15268         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15269         __extern_always_inline.
15270         * libio/bits/stdio2.h: Likewise.
15271         * libio/bits/stdio.h: Likewise.
15272         * string/string.h: Likewise.
15273         * string/bits/string3.h: Likewise.
15274         * include/stdio.h: Likewise.
15275         * stdlib/bits/stdlib.h: Likewise.
15276         * stdlib/stdlib.h: Likewise.
15277         * rt/bits/mqueue2.h: Likewise.
15278         * rt/mqueue.h: Likewise.
15279         * posix/bits/unistd.h: Likewise.
15280         * posix/unistd.h: Likewise.
15281         * io/bits/poll2.h: Likewise.
15282         * io/bits/fcntl2.h: Likewise.
15283         * io/fcntl.h: Likewise.
15284         * io/sys/poll.h: Likewise.
15285         * misc/bits/syslog.h: Likewise.
15286         * misc/bits/syslog-ldbl.h: Likewise.
15287         * misc/sys/syslog.h: Likewise.
15288         * socket/bits/socket2.h: Likewise.
15289         * socket/sys/socket.h: Likewise.
15290         * debug/tst-chk1.c: Likewise.
15291         * wcsmbs/bits/wchar2.h: Likewise.
15292         * wcsmbs/bits/wchar-ldbl.h: Likewise.
15293         * wcsmbs/wchar.h: Likewise.
15295 2012-04-29  Andreas Jaeger  <aj@suse.de>
15297         * Makerules (tests): Remove enable-check-abi protection.
15298         (check-abi-warn): Remove.
15299         (check-abi-%): Remove check-abi-warn usage.
15301         * configure.in: Remove check-abi configure option.
15302         * configure: Regenerated.
15303         * config.make.in (enable-check-abi): Remove.
15305 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
15307         [BZ #14033]
15308         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15309         double functions to double *_finite functions.
15311         [BZ #13941]
15312         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15313         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15314         LDBL_MIN_EXP.
15315         * stdio-common/Makefile (tests): Add tst-sprintf3.
15316         * stdio-common/tst-sprintf3.c: New file.
15318         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15319         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15321 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15323         * conform/conformtest.pl: Remove duplicate typed-constant
15324         handling.
15326 2012-04-28  David S. Miller  <davem@davemloft.net>
15328         * Makerules (%.abilist): Add vpath on sysdep_dirs.
15329         (check-abi-%): Remove AWK script prerequisite and explicit
15330         abilist directory.
15331         (check-abi): Rewrite to just diff the symlist with the abilist.
15332         (config-tls, config-abi-config): Delete, no longer used.
15333         (update-abi-%): Remove AWK script and explicit abilist directory.
15334         (update-abi): Rewrite to simply compare and conditionally copy the
15335         symlist and the sysdep abilist file.  Remove update-abi-config
15336         checks.
15337         * abilist/ld.abilist: Remove.
15338         * abilist/libBrokenLocale.abilist: Remove.
15339         * abilist/libanl.abilist: Remove.
15340         * abilist/libcrypt.abilist: Remove.
15341         * abilist/libdl.abilist: Remove.
15342         * abilist/librt.abilist: Remove.
15343         * abilist/libthread_db.abilist: Remove.
15344         * abilist/libutil.abilist: Remove.
15345         * scripts/extract-abilist.awk: Remove.
15346         * scripts/merge-abilist.awk: Remove.
15347         * sysdeps/generic/libcidn.abilist: New file.
15348         * sysdeps/generic/libnss_compat.abilist: New file.
15349         * sysdeps/generic/libnss_db.abilist: New file.
15350         * sysdeps/generic/libnss_dns.abilist: New file.
15351         * sysdeps/generic/libnss_files.abilist: New file.
15352         * sysdeps/generic/libnss_hesiod.abilist: New file.
15353         * sysdeps/generic/libnss_nis.abilist: New file.
15354         * sysdeps/generic/libnss_nisplus.abilist: New file.
15355         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15356         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15357         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15358         file.
15359         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15360         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15361         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15362         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15363         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15364         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15365         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15366         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15367         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15368         file.
15369         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15370         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15371         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15372         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15373         file.
15374         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15375         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15376         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15377         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15378         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15379         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15380         file.
15381         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15382         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15383         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15384         file.
15385         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15386         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15387         New file.
15388         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15389         New file.
15390         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15391         New file.
15392         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15393         New file.
15394         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15395         New file.
15396         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15397         New file.
15398         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15399         New file.
15400         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15401         New file.
15402         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15403         New file.
15404         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15405         New file.
15406         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15407         New file.
15408         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15409         New file.
15410         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15411         New file.
15412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15413         file.
15414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15415         New file.
15416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15417         New file.
15418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15419         file.
15420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15421         New file.
15422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15423         New file.
15424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15425         file.
15426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15427         New file.
15428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15429         New file.
15430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15431         New file.
15432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15433         New file.
15434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15435         New file.
15436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15437         New file.
15438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15440         file.
15441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15442         New file.
15443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15444         file.
15445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15446         file.
15447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15448         file.
15449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15450         file.
15451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15452         file.
15453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15454         New file.
15455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15456         file.
15457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15458         file.
15459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15460         New file.
15461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15462         file.
15463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15465         file.
15466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15467         New file.
15468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15469         file.
15470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15471         file.
15472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15473         file.
15474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15475         file.
15476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15477         file.
15478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15479         New file.
15480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15481         file.
15482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15483         file.
15484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15485         New file.
15486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15487         file.
15488         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15489         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15490         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15491         file.
15492         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15493         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15494         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15495         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15496         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15497         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15498         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15499         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15500         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15501         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15504         file.
15505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15506         New file.
15507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15508         file.
15509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15510         file.
15511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15512         file.
15513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15514         file.
15515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15516         file.
15517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15518         New file.
15519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15520         New file.
15521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15522         file.
15523         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15524         New file.
15525         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15526         file.
15527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15529         file.
15530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15531         New file.
15532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15533         file.
15534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15535         file.
15536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15537         file.
15538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15539         file.
15540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15541         file.
15542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15543         New file.
15544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15545         New file.
15546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15547         file.
15548         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15549         New file.
15550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15551         file.
15553 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15555         * conform/conformtest.pl: Fix typo in handling typed-constant from
15556         allow-header.
15558 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15560         * README: Cut down references to pre-2.6 Linux kernels and
15561         Linuxthreads.  Update lists of configurations in libc and ports
15562         and sort alphabetically.  Say "or newer" with Linux kernel version
15563         requirements.
15565         * config.h.in [IS_IN_build]: Allow compiling without optimization.
15567 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15569         [BZ #887]
15570         * math/libm-test.inc (logb_test_downward): New test to expose
15571         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15572         rounding mode.
15574 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15576         [BZ #14027]
15577         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15578         to be done.
15579         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15580         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15582 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
15584         * sysdeps/unix/i386/brk.S: Remove file.
15585         * sysdeps/unix/i386/dl-brk.S: Likewise.
15586         * sysdeps/unix/i386/pipe.S: Likewise.
15587         * sysdeps/unix/i386/sigreturn.S: Likewise.
15588         * sysdeps/unix/i386/syscall.S: Likewise.
15589         * sysdeps/unix/i386/vfork.S: Likewise.
15590         * sysdeps/unix/i386/wait.S: Likewise.
15592         * sysdeps/unix/common/tcsendbrk.c: Move to ...
15593         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15595         * configure.in (arm*-none*): Do not allow without
15596         --enable-hacker-mode.
15597         (netbsd*): Remove case setting base_os.
15598         (386bsd*): Likewise.
15599         (freebsd*): Likewise.
15600         (bsdi*): Likewise.
15601         (osf*): Likewise.
15602         (sunos*): Likewise.
15603         (ultrix*): Likewise.
15604         (newsos*): Likewise.
15605         (dynix*): Likewise.
15606         (*bsd*): Likewise.
15607         (sysv*): Likewise.
15608         (isc*): Likewise.
15609         (esix*): Likewise.
15610         (sco*): Likewise.
15611         (minix*): Likewise.
15612         (irix4*): Likewise.
15613         (irix6*): Likewise.
15614         (solaris[2-9]*): Likewise.
15615         (none): Likewise.
15616         * configure: Regenerated.
15618 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15620         [BZ #11521]
15621         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15622         overflow or cancellation in calculating denominator.
15623         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15624         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15625         down expression to avoid unexpected rounding in newer GCCs.
15626         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15628 2012-04-26  David S. Miller  <davem@davemloft.net>
15630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15631         long-double compat symbols.
15632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15646 2012-04-25  David S. Miller  <davem@davemloft.net>
15648         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15649         HWCAP_* values only after the memory barriers have been defined.
15650         (atomic_full_barrier): Define.
15651         (atomic_read_barrier): Define.
15652         (atomic_write_barrier): Define.
15654 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15656         * shlib-versions: Add libgcc_s version information.
15657         * sysdeps/generic/libgcc_s.h: Remove.
15658         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15659         libgcc_s.h.
15660         * sysdeps/gnu/unwind-resume.c: Likewise.
15661         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15663 2012-04-25  David S. Miller  <davem@davemloft.net>
15665         * sysdeps/unix/sparc/brk.S: Delete.
15666         * sysdeps/unix/sparc/dl-brk.S: Delete.
15667         * sysdeps/unix/sparc/pipe.S: Delete.
15668         * sysdeps/unix/sparc/sysdep.S: Delete.
15669         * sysdeps/unix/sparc/sysdep.h: Delete.
15670         * sysdeps/unix/sparc/vfork.S: Delete.
15671         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15672         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15673         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15674         ret_ERRVAL, r0, r1, MOVE): Define.
15675         (JUMPTARGET): Remove.
15676         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15677         sysdeps/unix/sparc/sysdep.h
15678         (ENTRY, END): Remove.
15679         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15681 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
15683         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15684         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15685         -DIS_IN_build.
15687         * timezone/README: Update upstream location and email address for
15688         tzcode and tzdata.
15689         * timezone/zdump.c: Update from tzcode 2012b.
15690         * timezone/zic.c: Likewise.
15692         * configure.in (libc_cv_as_needed): Remove test.
15693         * configure: Regenerated.
15694         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15695         conditional definition.
15696         [$(have-as-needed) != yes] (no-as-needed): Likewise.
15697         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15698         * config.make.in (have-as-needed): Remove variable.
15700 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15701             Paul Pluzhnikov  <ppluzhnikov@google.com>
15703         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15704         strings correctly.
15706 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15708         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15709         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15710         * sysdeps/sh/strlen.S: Likewise.
15712 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15714         * sysdeps/unix/fork.S: Remove file.
15715         * sysdeps/unix/i386/fork.S: Likewise.
15716         * sysdeps/unix/sparc/fork.S: Likewise.
15718         * sysdeps/unix/system.c: Remove file.
15719         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15721         * sysdeps/unix/getegid.S: Remove file.
15722         * sysdeps/unix/geteuid.S: Likewise.
15724 2012-04-24  Roland McGrath  <roland@hack.frob.com>
15726         * scripts/check-localplt.awk: New file.
15727         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15728         of diff.
15729         * scripts/data/localplt-generic.data: Add a comment.
15731         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15732         NODE when __dir_mkfile failed.
15733         * sysdeps/mach/hurd/symlinkat.c: Likewise.
15734         Reported by Ludovic Courtès <ludo@gnu.org>.
15736 2012-04-24  Andreas Jaeger  <aj@suse.de>
15738         * Makerules (common-clean): Also remove gen-as-const-headers
15739         files.
15741 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15743         * Makerules (native-compile): Do not change working directory for
15744         build.  Use $(OUTPUT_OPTION) in command.
15745         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15747 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15749         [BZ #13886]
15750         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15751         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15752         * math/libm-test.inc (floor_test): Add more tests.
15753         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15755 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15757         * sysdeps/unix/getdents.c: Remove file.
15758         * sysdeps/unix/sysv/getdents.c: Likewise.
15759         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15761         * sysdeps/unix/syscalls.list (madvise): Add syscall from
15762         sysdeps/unix/mman/syscalls.list.
15763         (mmap): Likewise.
15764         (mprotect): Likewise.
15765         (msync): Likewise.
15766         (munmap): Likewise.
15767         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15768         * sysdeps/unix/mman/syscalls.list: Remove.
15769         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15771         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15772         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15773         * configure: Regenerated.
15774         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15775         $(libgcc_s_suffix).
15776         * config.make.in (libgcc_s_suffix): Remove variable.
15778 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
15780         * sysdeps/unix/sysv/gethostname.c: Move to ...
15781         * sysdeps/posix/gethostname.c: ... here.
15783         * sysdeps/unix/execve.S: Remove file.
15785         * sysdeps/unix/_exit.S: Remove file.
15787 2012-04-23  Andreas Jaeger  <aj@suse.de>
15789         [BZ #13739]
15790         * manual/Makefile: Remove make dist support, there's no
15791         need for a stand-alone documentation tar ball.
15792         (TEXI2DVI): Define always, it's not in Makeconfig.
15793         (dist): Removed.
15794         (tar-it): Removed.
15795         (edition): Removed.
15796         (glibc-doc-$(edition).tar): Removed
15797         (%.Z): Removed.
15798         (%.gz): Removed.
15799         (%.uu): Removed.
15800         (ETAGS): Remove, it's in Makeconfig.
15801         (move-if-change): Remove, it's in Makeconfig.
15803 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
15805         [BZ #13970]
15806         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15807         (strtod, strtof, strtold, strtol, strtoul, strtoq)
15808         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15809         (strtod_l, strtof_l, strtold_l): Remove __wur.
15810         It is not necessarily an error to ignore strtol's return value.
15811         One can reliably look at the stored endptr to decide whether
15812         the number had valid syntax.
15814 2012-04-21  Andreas Jaeger  <aj@suse.de>
15816         [BZ #13739]
15817         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15819 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
15821         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15822         * sysdeps/unix/sysv/Versions: Remove file.
15824 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
15826         [BZ #13927]
15827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15829 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
15831         [BZ #7064]
15832         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15833         version from __vm86.
15835 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
15837         * sysdeps/unix/common/lxstat.c: Remove file.
15838         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15840         * sysdeps/unix/sysv/Makefile: Remove file.
15842         * sysdeps/unix/sysv/direct.h: Remove file.
15844         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15845         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15846         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15847         * sysdeps/unix/sysv/bits/signum.h: Likewise.
15848         * sysdeps/unix/sysv/bits/stat.h: Likewise.
15849         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15850         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15852         * sysdeps/unix/sysv/setrlimit.c: Remove file.
15854         * sysdeps/unix/xmknod.c: Remove file.
15855         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15857         * sysdeps/unix/sysv/settimeofday.c: Remove file.
15859         * sysdeps/unix/sysv/i386/time.S: Remove file.
15861         * sysdeps/unix/fxstat.c: Remove file.
15862         * sysdeps/unix/xstat.c: Likewise.
15863         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15865         * sysdeps/unix/sysv/sigaction.c: Remove file.
15867         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15868         (sysdep_headers): Remove variable.
15869         [termio.h not in sysdep_headers] (generated): Likewise.
15870         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15871         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15872         * sysdeps/unix/sysv/tcdrain.c: Likewise.
15873         * sysdeps/unix/sysv/tcflow.c: Likewise.
15874         * sysdeps/unix/sysv/tcflush.c: Likewise.
15875         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15876         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15877         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15878         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15879         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15881         * sysdeps/unix/siglist.c: Remove file.
15883         * sysdeps/unix/getppid.S: Remove file.
15885         * sysdeps/unix/mkdir.c: Remove file.
15886         * sysdeps/unix/rmdir.c: Likewise.
15888 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
15890         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15891         ERR_MAX value.
15892         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15893         errlist-compat value.
15895 2012-04-18  David S. Miller  <davem@davemloft.net>
15897         * sysdeps/generic/memcopy.h (reg_char): Delete.
15898         * debug/strcat_chk.c: Use char, not reg_char.
15899         * debug/strcpy_chk.c: Likewise.
15900         * debug/strncat_chk.c: Likewise.
15901         * debug/strncpy_chk.c: Likewise.
15902         * string/memchr.c: Likewise.
15903         * string/memrchr.c: Likewise.
15904         * string/rawmemchr.c: Likewise.
15905         * string/strcat.c: Likewise.
15906         * string/strchr.c: Likewise.
15907         * string/strchrnul.c: Likewise.
15908         * string/strcmp.c: Likewise.
15909         * string/strcpy.c: Likewise.
15910         * string/strncat.c: Likewise.
15911         * string/strncmp.c: Likewise.
15912         * string/strncpy.c: Likewise.
15914 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15916         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15917         __builtin_memcopy is called when src and dest ranges are known to not
15918         overlap.
15920 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15922         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15923         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15924         fwd_align_merge macro call.
15925         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15926         bwd_align_merge macro call.
15927         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15929 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15931         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15932         bwd_align_merge macros.
15933         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15934         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15935         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15937 2012-04-18  David S. Miller  <davem@davemloft.net>
15939         * sysdeps/sparc/sparc64/memcopy.h: Delete.
15941 2012-04-18  Andreas Jaeger  <aj@suse.de>
15943         [BZ# 6794]
15944         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15945         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15946         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15948         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15949         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15950         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15952         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15953         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15954         Adjust for changed ldbl-128 files.
15956         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15957         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15958         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15960 2012-04-17  David S. Miller  <davem@davemloft.net>
15962         * sysdeps/sparc/sparc32/memcopy.h: Delete.
15964 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
15966         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15967         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15968         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15969         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15970         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15971         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15973 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15975         [BZ #6794]
15976         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15977         * math/libm-test.inc: Add ilogb errno and exception tests.
15978         * math/w_ilogb.c: New file: ilogb wrapper.
15979         * math/w_ilogbf.c: New file: ilogbf wrapper.
15980         * math/w_ilogbl.c: New file: ilogbl wrapper.
15981         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15982         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15983         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15984         exception being thrown with 0.0 as argument.
15985         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15986         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15987         exception being thrown with 0.0 as argument.
15988         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15989         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15990         exception being thrown with 0.0 as argument.
15991         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15992         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15993         exception being thrown with 0.0 as argument.
15994         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15995         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15996         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15997         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15998         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15999         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16000         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16001         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16002         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16004 2012-04-17  Petr Baudis  <pasky@ucw.cz>
16006         * include/sys/uio.h: Change __vector to __iovec to avoid clash
16007         with altivec.
16009 2012-04-16  Marek Polacek  <polacek@redhat.com>
16011         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16013 2012-04-16  Marek Polacek  <polacek@redhat.com>
16015         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16016         operands of fdivp instruction.
16018 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16020         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16021         * elf/tst-auditmod3b.c: Likewise.
16022         * elf/tst-auditmod4b.c: Likewise.
16023         * elf/tst-auditmod5b.c: Likewise.
16024         * elf/tst-auditmod6b.c: Likewise.
16025         * elf/tst-auditmod6c.c: Likewise.
16026         * elf/tst-auditmod7b.c: Likewise.
16027         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16028         * sysdeps/x86_64/preconfigure.in: Likewise.
16029         * sysdeps/x86_64/preconfigure: Regenerated.
16031 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16033         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16034         __ILP32__.
16036 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
16038         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16039         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16041 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
16043         [BZ #13973]
16044         * locale/iso-639.def: Fix gl language name. Spotted by
16045         Yaron Shahrabani.
16047 2012-04-12  Roland McGrath  <roland@hack.frob.com>
16049         [BZ #2074]
16050         * libio/libio.h (__io_write_fn): Update comment.
16052 2012-04-12  Petr Baudis  <pasky@ucw.cz>
16054         [BZ #2074]
16055         * stdio.texi (Hook Functions): The user provided writer function
16056         is not allowed to return -1.
16058 2012-04-11  David S. Miller  <davem@davemloft.net>
16060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16062 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
16064         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16065         Add a leading slash to rtkaio.
16067 2012-04-11  Jim Meyering  <meyering@redhat.com>
16069         [BZ #11959]
16070         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16071         It is not necessarily an error to ignore fwrite's return
16072         value.  One can reliably use ferror to test for errors after
16073         the fact.
16075 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16077         * bits/types.h (__snseconds_t): New type.
16078         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16080         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16081         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16082         (__SNSECONDS_T_TYPE): Likewise.
16083         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16084         (__SNSECONDS_T_TYPE): Likewise.
16085         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16086         (__SNSECONDS_T_TYPE): Likewise.
16088 2012-04-10  Andreas Jaeger  <aj@suse.de>
16090         [BZ #2636]
16091         * manual/time.texi (Processor Time): Return type of times is
16092         elapsed real time since an arbitrary point in the past.
16093         (CPU Time): Move CLK_TCK from here...
16094         (Processor Time): ...to here.  Correct description.
16095         * manual/conf.texi (Constants for Sysconf): Correct description of
16096         _SC_CLK_TCK.
16098 2012-04-10  David S. Miller  <davem@davemloft.net>
16100         [BZ #13967]
16101         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16102         where the is a gap between DT_REL(A) and DT_JMPREL.
16104 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16106         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16107         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16108         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16110 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16112         * elf/dl-support.c (_dl_inhibit_cache): New variable.
16113         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16114         (dl_main): Handle --inhibit-cache.
16115         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16116         _dl_inhibit_cache.
16117         * elf/dl-load.c (_dl_map_object): Use it.
16118         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16120 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16122         [BZ #13872]
16123         * sysdeps/i386/fpu/e_powl.S (p78): New object.
16124         (__ieee754_powl): Saturate large exponents rather than testing for
16125         overflow of y*log2(x).
16126         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16127         * math/libm-test.inc (pow_test): Do not permit spurious overflow
16128         exceptions.
16130         [BZ #11521]
16131         * math/s_ctan.c: Include <float.h>.
16132         (__ctan): Avoid internal overflow or cancellation in calculating
16133         denominator.
16134         * math/s_ctanf.c: Likewise.
16135         * math/s_ctanl.c: Likewise.
16136         * math/s_ctanh.c: Likewise.
16137         * math/s_ctanhf.c: Likewise.
16138         * math/s_ctanhl.c: Likewise.
16139         * math/libm-test.inc (ctan_test): Add more tests.
16140         (ctanh_test): Likewise.
16141         * sysdeps/i386/fpu/libm-test-ulps: Update.
16142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16144 2012-04-09  Andreas Jaeger  <aj@suse.de>
16146         [BZ #6894]
16147         * manual/filesys.texi (Directory Entries): Mention that d_namlen
16148         is an optional BSD extension.
16150         [BZ #10254]
16151         * manual/stdio.texi (Opening Streams): Document additional fopen
16152         parameters.
16154 2012-04-09  Roland McGrath  <roland@hack.frob.com>
16156         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16157         %eax without telling the compiler.
16159 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
16161         [BZ # 13963]
16162         * manual/install.texi: Use sourceware.org.
16164 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16166         [BZ #13873]
16167         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16168         (__ieee754_pow): Generate overflow and underflow using huge*huge
16169         and tiny*tiny rather than just returning constant infinity or zero
16170         for large exponents.
16171         * math/libm-test.inc (pow_test): Require overflow exceptions for
16172         applicable cases of large exponents.
16174         [BZ #706]
16175         * sysdeps/i386/fpu/e_pow.S (p10): New object.
16176         (__ieee754_pow): Use iterative multiplication algorithm only for
16177         integer exponents with absolute value below 1024.  Check for odd
16178         integer exponents when using algorithm for real exponents.
16179         * math/libm-test.inc (pow_test): Add more tests.
16180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16182 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
16184         [BZ #13705]
16185         * math/libm-test.inc (exp_test): Do not allow overflow exception
16186         on underflow test.
16188 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
16190         [BZ #13705]
16191         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16192         instead of __kernel_standard_f.
16194 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
16196         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16197         * sysdeps/x86_64/memset_chk.S: Likewise.
16199 2012-04-08  Andreas Jaeger  <aj@suse.de>
16201         [BZ #10153]
16202         * manual/startup.texi (Environment Access): Describe return value
16203         for putenv and setenv.
16205         [BZ #6895]
16206         * manual/filesys.texi (Directory Entries): Add description for
16207         DT_LNK.
16209         [BZ #6890]
16210         * manual/filesys.texi (Directory Entries): Clarify that it's file
16211         system not operating system in the description of DT_UNKNOWN.
16213         [BZ #6578]
16214         * manual/syslog.texi (closelog): Fix reference, it's openlog.
16216 2012-04-08  Stephen Compall  <s11@member.fsf.org>
16218         [BZ #6649]
16219         * manual/llio.texi (Opening and Closing Files): Add cross
16220         reference to explain mode argument.
16222 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
16224         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16225         * sysdeps/x86_64/memset_chk.S: Likewise.
16227 2012-04-07  David S. Miller  <davem@davemloft.net>
16229         * elf/elf.h (R_SPARC_WDISP10): Define.
16230         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16231         R_SPARC_SIZE32.
16232         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16233         R_SPARC_SIZE64 and R_SPARC_H34.
16235 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
16237         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16238         conditions and remove no longer applicable assertion.
16240 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16242         * bits/byteswap.h: Include <features.h>.
16243         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16244         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16246 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16248         * bits/byteswap.h (__bswap_16): Removed.
16249         Include <bits/byteswap-16.h> to get __bswap_16.
16250         * sysdeps/i386/bits/byteswap.h: Likewise.
16251         * sysdeps/s390/bits/byteswap.h: Likewise.
16252         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16253         * bits/byteswap-16.h: New file.
16254         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16255         * sysdeps/s390/bits/byteswap-16.h: Likewise.
16256         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16257         * string/Makefile (headers): Add bits/byteswap-16.h.
16259 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16261         [BZ #13895]
16262         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16263         extra indirection.
16264         * nss/Makefile (tests-static, tests): Add tst-nss-static.
16265         * nss/tst-nss-static.c: New.
16267 2012-04-06  Robert Millan  <rmh@gnu.org>
16269         [BZ #6486]
16270         * manual/llio.texi (File Position Primitive): lseek
16271         refers to WHENCE when it really means OFFSET.
16273 2012-04-06  Andreas Jaeger  <aj@suse.de>
16275         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16276         strncmp declarations.
16278         * abilist/libc.abilist: Add __poll and __ppoll.
16280 2012-04-05  David S. Miller  <davem@davemloft.net>
16282         * scripts/check-local-headers.sh: Accept a host triplet in the
16283         path matched by the exclude regexp.
16285         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16286         definition.
16287         * sysdeps/powerpc/powerpc32/dl-machine.h
16288         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16289         * sysdeps/s390/s390-32/dl-machine.h
16290         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16291         * sysdeps/sparc/sparc32/dl-machine.h
16292         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16293         * sysdeps/sparc/sparc64/dl-machine.h
16294         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16296         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16297         lazy binding.
16298         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16299         undefined symbol errors.
16301         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16302         DT_NEEDED entries.
16304 2012-04-05  Michael Matz  <matz@suse.de>
16306         [BZ #13592]
16307         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16309 2012-04-05  Andreas Jaeger  <aj@suse.de>
16311         [BZ #13908]
16312         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16313         comment.
16315 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16317         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16318         which ROUND is no valid rounding mode.
16320 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16322         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16323         read again.
16324         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16326 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16328         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16329         an exception using FPU order intentionally.
16331 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16333         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16334         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16335         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16336         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16338 2012-04-05  Simon Josefsson  <simon@josefsson.org>
16340         [BZ #12340]
16341         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16342         EINVAL when BUFLEN is too smal.
16344 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16346         [BZ #13553]
16347         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16348         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16350 2012-04-03  Andreas Jaeger  <aj@suse.de>
16352         [BZ #13938]
16353         * manual/setjmp.texi (System V contexts): Fix sentence.
16355         [BZ #13926]
16356         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16357         New macro for this case.
16358         [!__GNUC__] (__bswap_64): New inline function for this case.
16359         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16360         * bits/byteswap.h: Likewise.
16361         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16362         ull, guard with __GLIBC_HAVE_LONG_LONG.
16364         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16365         __GLIBC_HAVE_LONG_LONG.
16367         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16368         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16370 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16372         [BZ #13691]
16373         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16374         inptr and inend, rather than using last_ch.
16376 2012-04-02  David S. Miller  <davem@davemloft.net>
16378         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16379         * stdio-common/printf-parse.h (read_int): Change return type to
16380         'int', return -1 on INT_MAX overflow.
16381         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16382         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
16383         overflows INT_MAX.  Check for overflow of in-format-string precision
16384         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
16385         SIZE_MAX not INT_MAX for integer overflow test.
16386         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16387         skip the construct in the format string but do not record anything.
16388         * stdio-common/bug22.c: Adjust to test both width/prevision
16389         INT_MAX overflow as well as total length INT_MAX overflow.  Check
16390         explicitly for proper errno values.
16392 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16394         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16395         CHAR_MAX.
16396         * string/test-strcmp.c [! WIDE]: Likewise.
16397         * time/tst-mktime2.c: Likewise for INT_MAX.
16398         * string/test-string.h: #include <sys/param.h> for MIN.
16400         * csu/init-first.c (__libc_init_first): Call __ctype_init.
16401         * sysdeps/i386/init-first.c (init): Likewise.
16402         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16403         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16404         * sysdeps/sh/init-first.c (init): Likewise.
16406 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
16408         * po/ru.po: Update from translation team.
16409         * po/vi.po: Likewise.
16411 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16413         * resolv/nss_dns/dns-host.c: Merge copyright years.
16415 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16417         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16418         Optimize memcpy with prefetch if
16419         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
16420         src, dst pointers have unequal 16 byte alignments.
16422 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16424         [BZ #13928]
16425         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16426         from a CNAME entry and return the minimum ttl for the query.
16427         (gaih_getanswer_slice): Likewise.
16429 2012-03-30  Jeff Law  <law@redhat.com>
16431         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16432         due to long keys.
16433         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16434         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16436         * resolv/nss_dns/dns-host.c: Update copyright year.
16438 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
16440         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16441         requests to save a system call.  Fix check that all bytes are sent.
16443         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16444         comments for sendmmsg.
16446 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16448         [BZ #13691]
16449         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16450         with only 1 character between 0x0041 and 0x01b0.
16451         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16452         * wcsmbs/tst-mbsnrtowcs.c: New file.
16454 2012-03-29  David S. Miller  <davem@davemloft.net>
16456         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16457         small copies by hand.
16459 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16461         [BZ #13761]
16462         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16463         _nss_compat_initgroups_dyn): Fall back to malloc/free
16464         for large group memberships.
16466 2012-03-28  David S. Miller  <davem@davemloft.net>
16468         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16469         that branches into memcpy.
16470         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16471         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16472         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16473         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16474         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16475         bits.
16476         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16477         implementation too.
16478         * sysdeps/sparc/mempcpy.S: New file.
16480         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16481         the IFUNC routine in the libc case.
16482         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16484         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16485         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16486         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16487         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16488         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16489         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16490         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16491         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16493         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16494         loop to 256 bytes instead of 64 bytes and fix test signedness.
16496         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16497         * sysdeps/sparc/sparc32/Makefile: rather than here...
16498         * sysdeps/sparc/sparc64/Makefile: and here.
16500 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
16502         * malloc/mallocbug.c: Avoid warnings about unused variables.
16504 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16506         [BZ #13760]
16507         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16508         in the right place. Discard and retry query if response is
16509         larger than input buffer size.
16511 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
16513         [BZ #369]
16514         [BZ #2678]
16515         [BZ #3866]
16516         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16517         x for large integer exponent.
16518         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16519         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
16520         sign of result as needed afterwards.
16521         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16522         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16523         result for underflowing pow the same as for overflow.
16524         (__kernel_standard_l): Handle powl overflow and underflow here
16525         rather than calling __kernel_standard.
16526         * math/libm-test.inc (pow_test): Add more tests.
16528         [BZ #3868]
16529         [BZ #13879]
16530         [BZ #13910]
16531         [BZ #13911]
16532         [BZ #13912]
16533         [BZ #13913]
16534         [BZ #13915]
16535         [BZ #13916]
16536         [BZ #13917]
16537         [BZ #13918]
16538         [BZ #13919]
16539         [BZ #13920]
16540         [BZ #13921]
16541         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16542         * sysdeps/ieee754/k_standard.c: Include <float.h>.
16543         (__kernel_standard_l): New function.
16544         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16545         __kernel_standard.
16546         * math/w_acosl.c (__acosl): Likewise.
16547         * math/w_asinl.c (__asinl): Likewise.
16548         * math/w_atan2l.c (__atan2l): Likewise.
16549         * math/w_atanhl.c (__atanhl): Likewise.
16550         * math/w_coshl.c (__coshl): Likewise.
16551         * math/w_exp10l.c (__exp10l): Likewise.
16552         * math/w_exp2l.c (__exp2l): Likewise.
16553         * math/w_fmodl.c (__fmodl): Likewise.
16554         * math/w_hypotl.c (__hypotl): Likewise.
16555         * math/w_j0l.c (__j0l, __y0l): Likewise.
16556         * math/w_j1l.c (__j1l, __y1l): Likewise.
16557         * math/w_jnl.c (__jnl, __ynl): Likewise.
16558         * math/w_lgammal.c (__lgammal): Likewise.
16559         * math/w_log10l.c (__log10l): Likewise.
16560         * math/w_log2l.c (__log2l): Likewise.
16561         * math/w_logl.c (__logl): Likewise.
16562         * math/w_powl.c (__powl): Likewise.
16563         * math/w_remainderl.c (__remainderl): Likewise.
16564         * math/w_scalbl.c (sysv_scalbl): Likewise.
16565         * math/w_sinhl.c (__sinhl): Likewise.
16566         * math/w_sqrtl.c (__sqrtl): Likewise.
16567         * math/w_tgammal.c (__tgammal): Likewise.
16568         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16569         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16570         * math/libm-test.inc (acos_test): Add more tests.
16571         (acosh_test): Likewise.
16572         (asin_test): Likewise.
16573         (atanh_test): Likewise.
16574         (exp_test): Likewise.
16575         (exp10_test): Likewise.
16576         (exp2_test): Likewise.
16577         (expm1_test): Likewise.
16578         (lgamma_test): Likewise.
16579         (log_test): Likewise.
16580         (log10_test): Likewise.
16581         (log1p_test): Likewise.
16582         (log2_test): Likewise.
16583         (pow_test): Do not allow some spurious overflow exceptions.
16584         (sqrt_test): Add more tests.
16585         (tgamma_test): Likewise.
16586         (y0_test): Likewise.
16587         (y1_test): Likewise.
16588         (yn_test): Likewise.
16590 2012-03-27  Anton Blanchard  <anton@samba.org>
16592         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16593         MAP_HUGETLB.
16594         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16595         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16596         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16598 2012-03-27  David S. Miller  <davem@davemloft.net>
16600         * conform/Makefile: Run run-conformtest.sh using $(BASH).
16602         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16603         have-as-vis3 check.
16605 2012-03-27  Andreas Jaeger  <aj@suse.de>
16607         * sysdeps/x86_64/elf/configure.in: Moved to ...
16608         * sysdeps/x86_64/configure.in: ... here.
16609         * sysdeps/x86_64/elf/start.S: Moved to ...
16610         * sysdeps/x86_64/start.S: ... here.
16611         * sysdeps/x86_64/elf/configure: Delete.
16613         * sysdeps/x86_64/configure.in: Merge contents from
16614         sysdeps/i386/configure.in (without i686 check).
16616         * sysdeps/i386/elf/Versions: Merge into ...
16617         * sysdeps/i386/Versions: ... this.
16618         * sysdeps/i386/elf/Versions: Delete file.
16619         * sysdeps/i386/elf/start.S: Moved to ...
16620         * sysdeps/i386/start.S: ...here.
16621         * sysdeps/i386/elf/configure.in: Merge into...
16622         * sysdeps/i386/configure.in: ...here.
16623         * sysdeps/i386/elf/configure.in: Delete file.
16624         * sysdeps/i386/elf/configure: Delete file.
16626         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16627         * debug/backtracesyms.c: ... here.
16628         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16629         * debug/backtracesymsfd.c: ... here.
16630         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16631         * sysdeps/generic/ifunc-sel.h: ... here.
16633         * sysdeps/unix/i386/start.c: Delete file.
16634         * sysdeps/unix/sparc/start.c: Delete file.
16635         * sysdeps/unix/start.c: Delete file.
16637         * sysdeps/sh/elf/configure.in: Moved to ...
16638         * sysdeps/sh/configure.in: ... here.
16639         * sysdeps/sh/elf/start.S: Moved to ...
16640         * sysdeps/sh/start.S: ... here.
16641         * sysdeps/sh/elf/configure: Delete file.
16643         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16644         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16645         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16646         * sysdeps/powerpc/powerpc64/entry.h: ... here.
16647         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16648         * sysdeps/powerpc/powerpc64/start.S: here.
16649         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16650         * sysdeps/powerpc/powerpc64/Makefile: ... this.
16651         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16652         * sysdeps/powerpc/powerpc64/configure.in: ... this.
16653         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16655         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16656         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16657         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16658         * sysdeps/powerpc/powerpc32/start.S: ... here.
16659         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16660         * sysdeps/powerpc/powerpc32/configure.in: ... this.
16661         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16663         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16664         * sysdeps/powerpc/ifunc-sel.h: ... here.
16665         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16666         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16668         * sysdeps/sparc/elf/configure.in: Moved to ...
16669         * sysdeps/sparc/configure.in: ... here.
16670         * sysdeps/sparc/elf/configure: Delete file.
16671         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16672         * sysdeps/sparc/sparc32/start.S: ... here.
16673         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16674         * sysdeps/sparc/sparc64/start.S: ... here.
16675         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16676         * sysdeps/sparc/sparc32/Makefile: ... this.
16677         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16678         * sysdeps/sparc/sparc64/Makefile: ... this.
16680         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16681         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16682         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16683         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16684         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16685         * sysdeps/s390/s390-32/setjmp.S: ... here.
16686         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16687         * sysdeps/s390/s390-32/configure.in: ... here.
16688         * sysdeps/s390/s390-32/elf/configure: Delete file.
16689         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16690         * sysdeps/s390/s390-32/start.S: ... here.
16692         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16693         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16694         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16695         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16696         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16697         * sysdeps/s390/s390-64/setjmp.S: ... here.
16698         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16699         * sysdeps/s390/s390-64/configure.in: ... here
16700         * sysdeps/s390/s390-64/elf/configure: Delete file.
16701         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16702         * sysdeps/s390/s390-64/start.S: ... here.
16703         * sysdeps/s390/s390-64/elf/configure: Delete.
16705         * configure.in: Remove support for elf directories in sysdeps.
16707         * configure: Regenerated.
16708         * sysdeps/i386/configure: Regenerated.
16709         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16710         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16711         * sysdeps/s390/s390-32/configure: Regenerated.
16712         * sysdeps/s390/s390-64/configure: Regenerated.
16713         * sysdeps/sh/configure: Regenerated.
16714         * sysdeps/sparc/configure: Regenerated.
16715         * sysdeps/x86_64/configure: Regenerated.
16717 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
16719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16721         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16722         denormal result into account.
16724 2012-03-25  Roland McGrath  <roland@hack.frob.com>
16726         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16727         Reported by Allan McRae <allan@archlinux.org>.
16729 2012-03-23  Jeff Law  <law@redhat.com>
16731         * nss/getnssent.c (__nss_getent): Fix typo.
16733 2012-03-23  David S. Miller  <davem@davemloft.net>
16735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16737 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
16739         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16740         to pad to uint64_t for each field.
16741         (dl_tls_index): Replace unsigned long with uint64_t.
16743 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
16744         Paul Pluzhnikov  <ppluzhnikov@google.com>
16746         [BZ #6528]
16747         * grp/Makefile (otherlibs): Don't set it.
16748         * inet/Makefile (otherlibs): Likewise.
16749         * login/Makefile (otherlibs): Likewise.
16750         * nscd/Makefile (otherlibs): Likewise.
16751         * posix/Makefile (otherlibs): Likewise.
16752         * pwd/Makefile (otherlibs): Likewise.
16753         * rt/Makefile (otherlibs): Likewise.
16754         * sunrpc/Makefile (otherlibs): Likewise.
16755         * nss/Makefile (otherlibs): Likewise.
16756         Add libnss_files to routines and static-only-routines.
16757         ($(objpfx)getent): Remove rule.
16758         * resolv/Makefile: Add libnss_dns and libresolv to routines and
16759         static-only-routines.
16761 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16763         [BZ #13892]
16764         * math/s_cexp.c: Include <float.h>.
16765         (__cexp): Handle exp result overflowing not necessarily
16766         overflowing both real and imaginary parts of result.
16767         * math/s_cexpf.c: Likewise.
16768         * math/s_cexpl.c: Likewise.
16769         * math/libm-test.inc (cexp_test): Add more tests.
16770         * sysdeps/i386/fpu/libm-test-ulps: Update.
16771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16773 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16775         * include/link.h (ELFW): New macro.
16776         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16777         Replace ELF64_R_TYPE with ELFW(R_TYPE).
16779 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16781         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16782         with uint64_t.
16784 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16786         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16787         declaration.
16788         (struct La_x32_retval): Likewise.
16790 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16792         * sysdeps/x86_64/preconfigure.in: New file.
16793         * sysdeps/x86_64/preconfigure: New generated file.
16795 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16797         [BZ #13824]
16798         * math/e_exp2l.c: Include <float.h>.
16799         (__ieee754_exp2l): Handle overflow and underflow cases
16800         separately.  Only pass fractional part of argument to
16801         __ieee754_expl.
16802         * math/libm-test.inc (exp2_test): Add more tests.
16804         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16805         negating x to take absolute value.
16806         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16807         Likewise.
16808         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16809         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16810         Likewise.
16811         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16812         computing low part if x was negated.
16813         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16815 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16817         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16818         la_x32_gnu_pltexit.
16819         (pltexit): Cast int_retval to ptrdiff_t.
16820         * elf/tst-auditmod3b.c: Likewise.
16821         * elf/tst-auditmod4b.c: Likewise.
16822         * elf/tst-auditmod5b.c: Likewise.
16823         * elf/tst-auditmod6b.c: Likewise.
16824         * elf/tst-auditmod6c.c: Likewise.
16825         * elf/tst-auditmod7b.c: Likewise.
16827         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16828         and x32_gnu_pltexit.
16830         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16831         __ELF_NATIVE_CLASS.
16832         (La_x32_regs): New macro.
16833         (La_x32_retval): Likewise.
16834         (la_x32_gnu_pltenter): New function prototype.
16835         (la_x32_gnu_pltexit): Likewise.
16837 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
16839         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16840         exponent.
16842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16844         * configure.in (libc_cv_cc_nofma): Check for option to disable
16845         generation of FMA instructions.
16846         * configure: Regenerate.
16847         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16848         * sysdeps/ieee754/dbl-64/Makefile: New file.
16849         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16850         Remove brandred-fma4.
16851         (CFLAGS-brandred-fma4.c): Remove.
16852         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16853         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16854         define.
16855         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16856         define.
16858 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16860         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16861         LLONG_MAX != LONG_MAX.
16862         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16863         (_fitoa_word): Likewise.
16864         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16865         LLONG_MAX != LONG_MAX.
16866         * stdio-common/_itowa.h: Include <_itoa.h>.
16867         (_itowa_word): Use _ITOA_WORD_TYPE on value.
16868         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
16869         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
16870         only if not defined.
16871         (_ITOA_WORD_TYPE): Likewise.
16872         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16873         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16875 2012-03-21  David S. Miller  <davem@davemloft.net>
16877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16879 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16881         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16882         of x86_64 when setting libc_cv_slibdir, libdir and
16883         libc_cv_localedir.
16884         * sysdeps/unix/sysv/linux/configure: Regenerated.
16886 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16888         * manual/lang.texi (Old Varargs): Remove section.
16889         (How Variadic): Update menu.
16890         (va_start): Do not mention varargs.h.
16892 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16893             Joseph Myers  <joseph@codesourcery.com>
16895         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16896         link test.
16897         * configure: Regenerated.
16899 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16901         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16902         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16903         conformtest.pl
16905 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16907         * NOTES: Remove.
16908         * Makefile (files-for-dist): Remove NOTES.
16909         (NOTES): Remove rule.
16910         * README: Don't refer to NOTES.
16911         * manual/creature.texi: Don't include macros.texi.
16912         * manual/intro.texi (creature.texi): Remove comment referring to
16913         NOTES.
16915         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16916         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16917         * configure: Regenerated.
16918         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16919         LIBC_TRY_CC_OPTION.
16920         (libc_cv_as_i686): Likewise.
16921         (libc_cv_cc_avx): Likewise.
16922         (libc_cv_cc_sse2avx): Likewise.
16923         (libc_cv_cc_fma4): Likewise.
16924         (libc_cv_cc_novzeroupper): Likewise.
16925         * sysdeps/i386/configure: Regenerated.
16927         [BZ #13883]
16928         * sysdeps/i386/fpu/s_cexp.S: Remove.
16929         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16930         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16931         * math/libm-test.inc (cexp_test): Add more tests.
16932         * sysdeps/i386/fpu/libm-test-ulps: Update.
16933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16935 2012-03-21  Allan McRae  <allan@archlinux.org>
16937         * timezone/Makefile: Do not install iso3166.tab and zone.tab
16939 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16941         [BZ #13871]
16942         * math/w_exp2.c: Do not include <float.h>.
16943         (o_threshold, u_threshold): Remove.
16944         (__exp2): Calculate result before checking finiteness and calling
16945         __kernel_standard.
16946         * math/w_exp2f.c: Likewise.
16947         * math/w_exp2l.c: Likewise.
16948         * math/libm-test.inc (exp2_test): Require overflow exception for
16949         1e6 input.
16951         [BZ #3866]
16952         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16953         range of signed 64-bit integers before using fistpll.  Remove
16954         checks for whether integers fit in mantissa bits.
16955         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16956         the range of signed 32-bit integers before using fistpl.  Remove
16957         checks for whether integers fit in mantissa bits.
16958         * sysdeps/i386/fpu/e_powl.S (p64): New object.
16959         (__ieee754_powl): Test for y outside the range of signed 64-bit
16960         integers before using fistpll.  Reduce 64-bit values to 63-bit
16961         ones as needed.
16962         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16963         divide-by-zero is raised for zero to large negative powers.
16964         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16965         (__ieee754_powl): Test for y outside the range of signed 64-bit
16966         integers before using fistpll.  Reduce 64-bit values to 63-bit
16967         ones as needed.
16968         * math/libm-test.inc (pow_test): Add more tests.
16970 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16972         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16973         <stdio-common/_itoa.h>.
16974         * debug/segfault.c: Likewise.
16975         * elf/dl-cache.c: Likewise.
16976         * elf/dl-minimal.c: Likewise.
16977         * elf/dl-misc.c: Likewise.
16978         * elf/dl-sysdep.c: Likewise.
16979         * elf/dl-version.c: Likewise.
16980         * elf/rtld.c: Likewise.
16981         * hurd/hurdsock.c: Likewise.
16982         * hurd/lookup-retry.c: Likewise.
16983         * malloc/malloc.c: Likewise.
16984         * malloc/mtrace.c: Likewise.
16985         * nscd/nscd_getgr_r.c: Likewise.
16986         * nscd/nscd_getpw_r.c: Likewise.
16987         * nscd/nscd_getserv_r.c: Likewise.
16988         * posix/getopt_init.c: Likewise.
16989         * posix/wordexp.c: Likewise.
16990         * stdio-common/_itoa.c: Likewise.
16991         * stdio-common/printf_fphex.c: Likewise.
16992         * stdio-common/vfprintf.c: Likewise.
16993         * string/_strerror.c: Likewise.
16994         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16995         * sysdeps/i386/i686/hp-timing.h: Likewise.
16996         * sysdeps/mach/_strerror.c: Likewise.
16997         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16998         * sysdeps/mach/hurd/sethostid.c: Likewise.
16999         * sysdeps/mach/hurd/xmknodat.c: Likewise.
17000         * sysdeps/mach/xpg-strerror.c: Likewise.
17001         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17002         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17003         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17004         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17005         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17006         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17007         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17008         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17009         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17010         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17011         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17012         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17013         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17014         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17015         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17016         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17017         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17018         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17019         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17020         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17021         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17023         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17025         * stdio-common/_itoa.h: Moved to ...
17026         * sysdeps/generic/_itoa.h: Here.
17028         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17030         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17031         instead of "_itoa.h" and "_itowa.h".
17032         * stdio-common/vfprintf.: Likewise.
17034 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17036         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17037         <bits/wordsize.h>.
17038         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17039         (__signbit): Likwise.
17040         (llrintf): Likwise.
17041         (llrint): Likwise.
17043 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17045         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17046         __WORDSIZE != 64.
17048 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
17050         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17051         OVERFLOW_EXCEPTION_OK.
17052         * math/libm-test.inc ("Philosophy"): Update comment about
17053         exception testing.
17054         (OVERFLOW_EXCEPTION): Define.
17055         (OVERFLOW_EXCEPTION_OK): Likewise.
17056         (INVALID_EXCEPTION_OK): Renumber.
17057         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17058         (IGNORE_ZERO_INF_SIGN): Likewise.
17059         (test_exceptions): Handle FE_OVERFLOW.
17060         (exp10_test): Expect overflow exceptions.
17061         (exp2_test): Likewise.
17062         (expm1_test): Likewise.
17063         (nextafter_test): Likewise.
17064         (pow_test): Likewise.
17065         (scalbn_test): Likewise.
17066         (scalbln_test): Likewise.
17068 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17070         * sysdeps/x86_64/bits/atomic.h
17071         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17072         64bit integer.
17073         (atomic_exchange_acq): Likewise.
17074         (__arch_exchange_and_add_body): Likewise.
17075         (__arch_add_body): Likewise.
17076         (atomic_add_negative): Likewise.
17077         (atomic_add_zero): Likewise.
17079 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17081         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17082         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17084 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17086         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17087         Check __x86_64__ instead of __WORDSIZE.
17089 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17091         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17093 2012-03-19  David S. Miller  <davem@davemloft.net>
17095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17097         * sysdeps/sparc/fpu/fenv_private.h: New file.
17098         * sysdeps/sparc/fpu/math_private.h: Use it.
17099         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17100         Remove.
17101         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17102         (libc_feholdexcept_setroundl): Remove.
17103         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17104         Remove.
17105         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17106         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17108 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17110         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17111         int64_t instead of long int.
17112         (INSERT_WORDS64): Likwise.
17114 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17116         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17117         _Unwind_GetCFA return to _Unwind_Ptr first.
17119 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
17121         [BZ #13629]
17122         * math/s_clog.c: Include <float.h>.
17123         (__clog): Scale large or subnormal inputs.
17124         * math/s_clogf.c: Likewise.
17125         * math/s_clogl.c: Likewise.
17126         * math/s_clog10.c: Include <float.h>.
17127         (M_LOG10_2): Define.
17128         (__clog10): Scale large or subnormal inputs.
17129         * math/s_clog10f.c: Likewise.
17130         * math/s_clog10l.c: Likewise.
17131         * math/libm-test.inc (clog_test): Add more tests.
17132         (clog10_test): Likewise.
17133         * sysdeps/i386/fpu/libm-test-ulps: Update.
17134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17136         [BZ #11451]
17137         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17138         x and y.
17139         * math/libm-test.inc (atan2_test): Add another test.
17141         * Makerules (common-objdir-compile): Remove.
17142         * sysdeps/unix/Makefile (config-generated): Do not add
17143         $(unix-generated) to variable.
17144         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17145         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17146         Remove rule.
17147         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17148         Likewise.
17149         [generic bits/local_lim.h] (before-compile): Do not append to
17150         variable.
17151         [generic bits/local_lim.h] (common-generated): Likewise.
17152         [generic sys/param.h] (before-compile): Do not append to variable.
17153         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17154         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17155         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17156         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17157         include.
17158         [generic sys/param.h] (sys/param.h-includes): Remove variable.
17159         [generic sys/param.h] (sys/param.h-includes): Remove rule.
17160         [generic sys/param.h] ($(addprefix
17161         $(common-objpfx),$(sys/param.h-includes))): Likewise.
17162         [generic sys/param.h] (common-generated): Do not append to
17163         variable.
17164         [generic sys/param.h] (sysdep_headers): Likewise.
17165         [generic bits/errno.h] (before-compile): Do not append to
17166         variable.
17167         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17168         rule.
17169         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17170         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17171         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17172         [generic bits/errno.h] (common-generated): Do not append to
17173         variable.
17174         [generic bits/ioctls.h] (before-compile): Do not append to
17175         variable.
17176         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17177         rule.
17178         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17179         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17180         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17181         rule.
17182         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17183         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17184         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17185         [generic bits/ioctls.h] (common-generated): Do not append to
17186         variable.
17187         [generic sys/syscall.h] (syscall.h): Remove variable.
17188         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17189         rule.
17190         [generic sys/syscall.h] (before-compile): Do not append to
17191         variable.
17192         [generic sys/syscall.h] (common-generated): Likewise.
17193         * sysdeps/unix/errnos-tmpl.c: Remove file.
17194         * sysdeps/unix/errnos.awk: Likewise.
17195         * sysdeps/unix/ioctls-tmpl.c: Likewise.
17196         * sysdeps/unix/ioctls.awk: Likewise.
17197         * sysdeps/unix/mk-local_lim.c: Likewise.
17198         * sysdeps/unix/snarf-ioctls: Likewise.
17200 2012-03-19  Richard Henderson  <rth@twiddle.net>
17202         * sysdeps/i386/fpu/fenv_private.h: New file.
17203         * sysdeps/i386/fpu/math_private.h: Use it.
17204         (math_opt_barrier, math_force_eval): Remove.
17205         (libc_feholdexcept_setround_53bit): Remove.
17206         (libc_feupdateenv_53bit): Remove.
17207         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17208         (math_opt_barrier, math_force_eval): Remove.
17209         (libc_feholdexcept): Remove.
17210         (libc_feholdexcept_setround): Remove.
17211         (libc_fetestexcept, libc_fesetenv): Remove.
17212         (libc_feupdateenv_test): Remove.
17213         (libc_feupdateenv, libc_feholdsetround): Remove.
17214         (libc_feresetround): Remove.
17216         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17217         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17219         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17220         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17221         (libc_feupdateenv_testl): New.
17222         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17223         (libc_feupdateenv_testf): New.
17224         (libc_feupdateenv): Use libc_feupdateenv_test.
17225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17226         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17228         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17229         (libc_feholdsetroundf, libc_feholdsetroundl): New.
17230         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17231         (libc_feresetround_noex): New.
17232         (libc_feresetround_noexf): New.
17233         (libc_feresetround_noexl): New.
17234         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17235         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17236         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17237         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17238         SET_RESTORE_ROUND.
17239         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17240         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17241         (__cos): Likewise.
17242         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17243         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17244         SET_RESTORE_ROUND_NOEX.
17245         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17246         SET_RESTORE_ROUND_NOEXF.
17247         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17248         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17249         (libc_feholdsetroundf): New.
17250         (libc_feresetround, libc_feresetroundf): New.
17252         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17253         (libc_feholdexcept_setround_53bit): Convert from macro to function.
17254         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
17256         * sysdeps/generic/math_private.h: Include <fenv.h>.
17257         (default_libc_feholdexcept): New.
17258         (default_libc_feholdexcept_setround): New.
17259         (default_libc_fesetenv, default_libc_feupdateenv): New.
17260         (libc_feholdexcept): Only define if undefined.
17261         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17262         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17263         (libc_feholdexcept_setroundl): Likewise.
17264         (libc_feholdexcept_setround_53bit): Likewise.
17265         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17266         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17267         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17268         (libc_feupdateenv_53bit): Likewise.
17269         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17270         (libc_feholdexcept): Convert from macro to inline function.
17271         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17272         (libc_fesetenv, libc_feupdateenv): Likewise.
17274         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17275         not previously defined.
17276         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17277         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17278         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17279         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17280         * sysdeps/ieee754/flt-32/math_private.h: New file.
17281         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17282         math_private.h below SET_FLOAT_WORD.
17283         (__isnan, __isinf_ns, __finite): Remove.
17284         (__isnanf, __isinf_nsf, __finitef): Remove.
17286 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
17288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17290 2012-03-17  David S. Miller  <davem@davemloft.net>
17292         [BZ #6471]
17293         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17294         for 2.16.
17296 2012-03-16  David S. Miller  <davem@davemloft.net>
17298         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17299         warnings.
17301         [BZ #6471]
17302         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17303         properly.
17304         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17305         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17306         sysdep_routines when subdir is sysvipc.
17307         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17308         __getshmlba helper.
17310         * sysdeps/sparc/fpu/libm-test/ulps: Update.
17312 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17314         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17315         [__LP64__].
17317 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17319         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17320         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17321         (__lround): Renamed to ...
17322         (__llround): This.  Replace long int with long long int.
17323         Define lround functions as aliases of llround functions.
17324         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17326 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17328         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17329         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
17330         adresses to uintptr_t.  Replace "long int" and "unsigned long
17331         int" with "greg_t" on va_arg.
17333 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17335         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17336         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17338         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17339         Move e_machine check before EI_CLASS check.  Handle x32
17340         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17341         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17342         SKIP_EM_IA_64 and include
17343         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17345         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17346         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17347         (add_system_dir): New macro.
17349         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17350         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17352 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17354         [BZ #2551]
17355         [BZ #2552]
17356         [BZ #2553]
17357         [BZ #2554]
17358         [BZ #2562]
17359         [BZ #2563]
17360         [BZ #2565]
17361         [BZ #2566]
17362         [BZ #2576]
17363         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17364         (y0): Likewise.
17365         * math/w_j0f.c (j0f): Likewise.
17366         (y0f): Likewise.
17367         * math/w_j0l.c (__j0l): Likewise.
17368         (__y0l): Likewise.
17369         * math/w_j1.c (j1): Likewise.
17370         (y1): Likewise.
17371         * math/w_j1f.c (j1f): Likewise.
17372         (y1f): Likewise.
17373         * math/w_j1l.c (__j1l): Likewise.
17374         (__y1l): Likewise.
17375         * math/w_jn.c (jn): Likewise.
17376         (yn): Likewise.
17377         * math/w_jnf.c (jnf): Likewise.
17378         (ynf): Likewise.
17379         * math/w_jnl.c (__jnl): Likewise.
17380         (__ynl): Likewise.
17381         * math/libm-test.inc (j0_test): Add more tests.
17382         (j1_test): Likewise.
17383         (jn_test): Likewise.  Add trailing semicolon to existing test.
17384         (y0_test): Likewise.
17385         (y1_test): Likewise.
17386         * sysdeps/i386/fpu/libm-test-ulps: Update.
17387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17389         [BZ #13851]
17390         [BZ #13854]
17391         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17392         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17393         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17394         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17395         (__tanl): Set errno for infinite argument.
17396         * sysdeps/i386/fpu/mptan.c: Remove.
17397         * sysdeps/i386/fpu/s_tan.S: Likewise.
17398         * sysdeps/i386/fpu/s_tanl.S: Likewise.
17399         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17400         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17401         * math/libm-test.inc (tan_test): Add more tests and enable more
17402         tests for double and long double.
17403         * sysdeps/i386/fpu/libm-test-ulps: Update.
17404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17406 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
17408         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17409         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17411 2012-03-16  Roland McGrath  <roland@hack.frob.com>
17413         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17414         * configure.in: Use it for both main tree and add-ons.
17415         * configure: Regenerated.
17417 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17419         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17421 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17423         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17424         in comment.
17426         [BZ #13851]
17427         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17428         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17429         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17430         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17431         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17432         infinite argument.
17433         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17434         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17435         != 0 for prec == 2.
17436         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17437         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17438         * sysdeps/i386/fpu/s_cosl.S: Likewise.
17439         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17440         * sysdeps/i386/fpu/s_sinl.S: Likewise.
17441         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17442         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17443         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17444         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17445         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17446         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17447         * math/libm-test.inc (cos_test): Add more tests and enable more
17448         tests for long double.
17449         (sin_test): Likewise.
17450         (sincos_test): Likewise.
17451         * sysdeps/i386/fpu/libm-test-ulps: Update.
17452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17454 2012-03-16  David S. Miller  <davem@davemloft.net>
17456         * sysdeps/sparc/fpu/math_private.h: New file.
17458 2012-03-15  David S. Miller  <davem@davemloft.net>
17460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17461         file.
17462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17464         file.
17465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17466         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17467         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17468         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17469         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17470         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17471         sysdep routines.
17472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17474         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17475         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17477         * sysdeps/sparc/sparc-ifunc.h: New file.
17478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17479         sparc-ifunc.h
17480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17482         Likewise.
17483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17484         Likewise.
17485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17489         Likewise.
17490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17495         Likewise.
17496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17497         Likewise.
17498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17502         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17503         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17504         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17505         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17506         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17507         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17508         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17509         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17510         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17511         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17512         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17513         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17514         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17515         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17516         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17517         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17518         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17519         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17520         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17521         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17523 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17525         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17526         scaling.
17527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17529 2012-03-15  Andreas Jaeger  <aj@suse.de>
17531         [BZ #13852]
17532         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17533         ieee754/flt-32 implementation for sin, cos and sincos.
17534         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17535         * sysdeps/i386/fpu/s_cosf.S: Likewise.
17536         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17537         * sysdeps/i386/fpu/s_sinf.S: Likewise.
17538         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17539         ieee754/flt-32 implementation for tan.
17541         * math/libm-test.inc (cos_test): Enable some large input tests for
17542         float as well
17543         (sin_test): Likewise.
17544         (sincos_test): Likewise.
17545         (tan_test): Add tests for large input.
17547         * sysdeps/i386/fpu/libm-test-ulps: Update.
17549 2012-03-15  Andreas Jaeger  <aj@suse.de>
17551         [BZ #13658]
17552         * math/libm-test.inc (cos_test): Add more test cases.
17553         (sin_test): Likewise.
17554         (sincos_test): Likewise.
17556 2012-03-15  Andreas Jaeger  <aj@suse.de>
17558         [BZ #13837]
17559         * math/libm-test.inc (cos_test): Add a test case for large input
17560         value.
17561         (sin_test): Likewise.
17562         (sincos_test): Likewise.
17564 2012-03-15  Andreas Jaeger  <aj@suse.de>,
17565         Joseph Myers  <joseph@codesourcery.com>
17567         [BZ #13658]
17568         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17569         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17570         * sysdeps/i386/fpu/branred.c: Likewise.
17571         * sysdeps/i386/fpu/dosincos.c: Likewise.
17572         * sysdeps/i386/fpu/mpa.c: Likewise.
17573         * sysdeps/i386/fpu/s_cos.S: Likewise.
17574         * sysdeps/i386/fpu/s_sin.S: Likewise.
17575         * sysdeps/i386/fpu/s_sincos.S: Likewise.
17576         * sysdeps/i386/fpu/sincos32.c: Likewise.
17578         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17579         Define.
17580         (libc_feupdateenv_53bit): Define.
17581         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17582         Define.
17583         (libc_feupdateenv_53bit): Define.
17585         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17586         53 bit (without extend i386 double precision).
17588         * math/libm-test.inc (sincos_test): Add tests for large input.
17589         (sin): Likewise.
17590         (cos): Likewise.
17592         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17594 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17598 2012-03-15  David S. Miller  <davem@davemloft.net>
17600         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17601         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17602         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17603         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17608         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17609         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17610         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17611         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17612         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17613         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17614         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17616         file.
17617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17619         file.
17620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17622         file.
17623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17625         file.
17626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17627         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17628         fmin/fmax sysdep routines.
17629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17631 2012-03-14  David S. Miller  <davem@davemloft.net>
17633         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17634         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17635         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17636         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17637         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17638         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17639         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17640         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17641         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17644         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17645         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17646         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17647         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17648         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17649         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17650         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17651         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17652         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17653         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17654         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17655         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17656         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17657         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17658         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17659         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17660         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17661         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17662         routines.
17663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17664         file.
17665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17667         file.
17668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17670         file.
17671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17673         file.
17674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17676         file.
17677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17679         file.
17680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17681         file.
17682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17683         file.
17684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17685         file.
17686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17687         New file.
17688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17689         file.
17690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17691         file.
17692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17694         file.
17695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17697         file.
17698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17700         file.
17701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17703         VIS3 routines.
17705         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17706         New file.
17708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17710         * sysdeps/sparc/configure.in: New file.
17711         * sysdeps/sparc/configure: Generate.
17712         * configure.in (libc_cv_sparc_as_vis3): Substitute.
17713         * configure: Regenerate.
17714         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17715         * config.make.in (have-as-vis3): New.
17716         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17717         available use -Av9d instead of -Av9a.
17718         * sysdeps/sparc/sparc64/Makefile: Likewise.
17719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17721         New file.
17722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17723         file.
17724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17725         New file.
17726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17727         file.
17728         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17729         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17730         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17731         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17732         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17734         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17735         fzeros/fnegs to load 0x80000000 into a float register instead of
17736         using the stack.
17737         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17739 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17741         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17742         bits/syscall.h.
17743         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17744         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17745         ($(inst_includedir)/bits/syscall.h): Remove rule.
17746         ($(objpfx)bits/syscall.d): Include instead of
17747         $(objpfx)syscall-list.d.
17748         (generated): Change syscall-list.h and syscall-list.d to
17749         bits/syscall.h and bits/syscall.d.
17751 2012-03-14  Roland McGrath  <roland@hack.frob.com>
17753         [BZ #13846]
17754         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17756 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17758         [BZ #13841]
17759         * math/s_csqrt.c: Include <float.h>.
17760         (__csqrt): Scale large or subnormal inputs.
17761         * math/s_csqrtf.c: Likewise.
17762         * math/s_csqrtl.c: Likewise.
17763         * math/libm-test.inc (csqrt_test): Add more tests.
17764         * sysdeps/i386/fpu/libm-test-ulps: Update.
17765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17767         [BZ #13840]
17768         * math/libm-test.inc (hypot_test): Add more tests.
17770 2012-03-13  David S. Miller  <davem@davemloft.net>
17772         [BZ #13840]
17773         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17774         double-precision for the calculation instead of scaling.
17776 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
17778         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17779         manipulate bits before adding and subtracting TWO52[sx].
17780         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17781         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17782         Likewise.
17783         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17785 2012-03-13  David S. Miller  <davem@davemloft.net>
17787         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17788         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17789         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17790         rtld-global-offsets.h
17791         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17793         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17794         large parameters.
17796         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17798         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17799         'err' in the ifdef scope in which it is actually used.
17801         * nss/nss_db/db-init.c: Include string.h
17803 2012-03-12  David S. Miller  <davem@davemloft.net>
17805         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17806         masking out of the most significant byte of random value used.
17807         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17808         Fix coding style in previous change.
17810         * sysdeps/unix/sysv/linux/kernel-features.h
17811         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17812         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17813         expression.
17814         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17815         later.
17817 2012-03-11  David S. Miller  <davem@davemloft.net>
17819         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17820         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17821         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17822         for 'resultvar' otherwise things get truncated on 64-bit.
17824         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17825         Fix masking out of the most significant byte of random value used.
17827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17829 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
17831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17833 2012-03-09  David S. Miller  <davem@davemloft.net>
17835         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17836         variables with appropriate CPP guards.
17837         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17838         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
17839         on resulting framesize and the management of the outregs buffer for pltexit.
17840         Preserve floating point return values across _dl_call_pltexit call.
17841         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17842         framesize and the management of the outregs buffer for pltexit.
17843         Preserve floating point return values across _dl_call_pltexit
17844         call.
17845         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17846         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17847         (print_exit): Fix format string for return register value.
17849 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
17851         * sunrpc/Makefile (others): Add rpcgen.
17852         ($(objpfx)rpcgen): Remove special build rule and dependency on
17853         libc.
17854         * sunrpc/rpcgen.c: New file.
17856 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
17858         [BZ #13673]
17859         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17860         * stdio-common/bug-vfprintf-nargs.c: Likewise.
17861         * sysdeps/i386/crti.S: Likewise.
17862         * sysdeps/i386/crtn.S: Likewise.
17863         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17864         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17865         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17866         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17867         * sysdeps/sh/crti.S: Likewise.
17868         * sysdeps/sh/crtn.S: Likewise.
17869         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17871         [BZ #13673]
17872         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17873         with URL.
17874         * locale/programs/locfile-kw.gperf: Likewise.
17875         * locale/programs/charmap-kw.h: Regenerated.
17876         * locale/programs/locfile-kw.h: Likewise.
17878         [BZ #13673]
17879         * intl/plural.y: Replace FSF snail mail address with URL.
17880         * intl/plural.c: Regenerated.
17882 2012-03-09  Richard Henderson  <rth@twiddle.net>
17884         * include/math_private.h: Remove file.
17885         * math/math_private.h: Move file ...
17886         * sysdeps/generic/math_private.h: ... here.
17888         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17889         * sysdeps/powerpc/fpu/math_private.h: Likewise.
17890         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17892         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17893         and <math_private.h>.
17894         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17895         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17896         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17897         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17898         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17899         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17900         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17901         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17902         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17903         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17904         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17905         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17906         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17907         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17908         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17909         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17910         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17911         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17912         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17913         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17914         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17915         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17916         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17917         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17918         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17919         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17920         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17921         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17922         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17923         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17924         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17925         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17926         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17927         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17928         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17929         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17930         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17931         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17932         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17933         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17934         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17935         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17936         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17937         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17938         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17939         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17940         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17941         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17942         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17943         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17944         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17945         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17946         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17947         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17948         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17949         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17950         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17951         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17952         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17953         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17954         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17955         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17956         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17957         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17958         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17959         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17960         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17961         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17962         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17963         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17964         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17965         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17966         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17967         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17968         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17969         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17970         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17971         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17972         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17973         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17974         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17975         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17976         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17977         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17978         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17979         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17980         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17981         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17982         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17983         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17984         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17985         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17986         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17987         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17988         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17989         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17990         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17991         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17992         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17993         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17994         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17995         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17996         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17997         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17998         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17999         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18000         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18001         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18002         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18003         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18004         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18005         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18006         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18007         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18008         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18009         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18010         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18011         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18012         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18013         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18014         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18015         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18016         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18017         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18018         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18019         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18020         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18021         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18022         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18023         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18024         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18025         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18026         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18027         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18028         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18029         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18030         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18031         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18032         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18033         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18034         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18035         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18036         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18037         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18038         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18039         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18040         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18041         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18042         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18043         * sysdeps/ieee754/k_standard.c: Likewise.
18044         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18045         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18046         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18047         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18048         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18049         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18050         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18051         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18052         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18053         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18054         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18055         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18056         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18057         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18058         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18059         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18060         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18061         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18062         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18063         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18064         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18065         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18066         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18067         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18068         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18069         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18070         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18071         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18072         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18073         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18074         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18075         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18076         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18077         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18078         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18079         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18080         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18081         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18082         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18083         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18084         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18085         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18086         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18087         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18088         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18089         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18090         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18091         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18092         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18093         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18094         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18095         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18096         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18097         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18098         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18099         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18100         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18101         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18102         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18103         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18104         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18105         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18106         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18107         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18108         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18109         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18110         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18111         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18112         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18113         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18114         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18115         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18116         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18117         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18118         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18119         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18120         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18121         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18122         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18123         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18124         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18125         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18126         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18127         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18128         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18129         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18130         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18131         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18132         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18133         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18134         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18135         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18136         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18137         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18138         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18139         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18140         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18141         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18142         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18143         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18144         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18145         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18146         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18147         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18148         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18149         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18150         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18151         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18152         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18153         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18154         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18155         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18156         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18157         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18158         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18159         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18160         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18161         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18162         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18163         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18164         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18165         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18166         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18167         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18168         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18169         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18170         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18171         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18172         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18173         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18174         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18175         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18176         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18177         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18178         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18179         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18180         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18181         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18182         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18183         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18184         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18185         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18186         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18187         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18188         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18189         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18190         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18191         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18192         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18193         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18194         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18195         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18196         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18197         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18198         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18199         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18200         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18201         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18202         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18203         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18204         * sysdeps/ieee754/s_lib_version.c: Likewise.
18205         * sysdeps/ieee754/s_matherr.c: Likewise.
18206         * sysdeps/ieee754/s_signgam.c: Likewise.
18207         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18208         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18209         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18210         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18211         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18212         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18213         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18214         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18215         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18216         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18217         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18218         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18219         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18220         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18221         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18222         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18223         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18224         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18225         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18226         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18227         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18229 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18231         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18232         * sunrpc/rpc_main.c: Likewise.
18233         * sunrpc/rpc_svcout.c: Likewise.
18235 2012-03-09  David S. Miller  <davem@davemloft.net>
18237         * include/math_private.h: New file.
18239 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18241         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18242         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18243         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18244         from <bits/socket_type.h>.
18245         (enum __socket_type): Don't define here.
18246         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18247         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18248         bits/socket_type.h.
18250         [BZ #13566]
18251         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18252         checking __USE_GNU.
18254         * Makerules ($(inst_includedir)/%.h): New rule.
18255         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18256         (install-others): Remove variable setting.
18257         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18259 2012-03-08  Richard Henderson  <rth@twiddle.net>
18261         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18262         from macro to inline function; merge with the
18263         !__LIBC_INTERNAL_MATH_INLINES version.
18264         (__ieee754_sqrtf): Likewise.
18266         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18267         to inline function.
18268         (__rintf, __floor, __floorf): Likewise.
18270         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18271         macro to inline function.
18272         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18274         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18275         not <math/math_private.h>.
18277 2012-03-08  David S. Miller  <davem@davemloft.net>
18279         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18280         copyright year.
18281         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18283 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
18285         * resolv/gai_misc.c (handle_requests): Fix struct timespec
18286         normalization.
18287         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18288         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18290 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
18292         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
18293         be defined individually, they must be defined as a block.  Define
18294         S for printing a string instead of hidint the different by using a
18295         macro for adding the 'l'.
18296         * stdio-common/tst-fphex-wide.c: Adjust.
18298 2012-03-07  Marek Polacek  <polacek@redhat.com>
18300         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18302 2012-03-08  Marek Polacek  <polacek@redhat.com>
18304         [BZ #13806]
18305         * stdio-common/Makefile (tests): Add tst-fphex-wide.
18306         * stdio-common/tst-fphex.c: Define a few macros to make the
18307         test reusable.  Use them.
18308         * stdio-common/tst-fphex-wide.c: New file.
18310 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
18312         [BZ #6911]
18313         * manual/macros.texi (gnusystems): New macro.
18314         (nongnusystems): Likewise.
18315         (gnulinuxhurdsystems): Likewise.
18316         (gnuhurdsystems): Likewise..
18317         (gnulinuxsystems): Likewise.
18318         * manual/charset.texi: Use new macros or @theglibc{} to refer to
18319         variants of the GNU system, not "GNU system".
18320         * manual/conf.texi: Likewise.
18321         * manual/errno.texi: Likewise.  Update example of errno macro
18322         expansion.
18323         * manual/filesys.texi: Likewise.
18324         (getumask): Document as specific to GNU/Hurd.
18325         * manual/install.texi: Likewise.  Reword some references to
18326         GNU/Linux.
18327         * manual/intro.texi: Likewise.
18328         * manual/io.texi: Likewise.
18329         (File Name Portability): Detail which constraints are inapplicable
18330         to all GNU systems and which are only inapplicable to GNU/Hurd.
18331         * manual/job.texi: Likewise.
18332         * manual/llio.texi: Likewise.
18333         (O_NOCTTY): Document as present on GNU/Linux.
18334         * manual/maint.texi: Likewise.
18335         * manual/memory.texi: Likewise.
18336         * manual/pattern.texi: Likewise.
18337         * manual/pipe.texi: Likewise.
18338         * manual/process.texi: Likewise.
18339         * manual/resource.texi: Likewise.
18340         (RUSAGE_CHILDREN): Remove statement about specifying a particular
18341         child on GNU/Hurd.
18342         * manual/setjmp.texi: Likewise.
18343         * manual/signal.texi: Likewise.
18344         * manual/startup.texi: Likewise.
18345         * manual/stdio.texi: Likewise.
18346         * manual/terminal.texi: Likewise.
18347         (ONLCR): Document as POSIX.
18348         (OXTABS): Document availability on GNU/Linux as XTABS.
18349         (ONOEOT): Document availability separately from other bits.
18350         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18351         * manual/time.texi: Likewise.
18352         * manual/users.texi: Likewise.
18353         * INSTALL: Regenerated.
18354         * sysdeps/gnu/errlist.c: Regenerated.
18356         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18357         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18358         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
18359         puts.
18360         * configure: Regenerated.
18362 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
18364         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18365         default includes instead of AC_HEADER_CHECK.
18366         * sysdeps/i386/configure: Regenerated.
18368         [BZ #10716]
18369         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18370         * math/s_cacoshf.c (__cacoshf): Likewise.
18371         * math/s_cacoshl.c (__cacoshl): Likewise.
18372         * math/s_casinh.c (__casinh): Set signs of result from argument.
18373         * math/s_casinhf.c (__casinhf): Likewise.
18374         * math/s_casinhl.c (__casinhl): Likewise.
18375         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18376         (casinh_test): Add more tests.
18377         * sysdeps/i386/fpu/libm-test-ulps: Update.
18378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18380 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
18382         * po/zh_TW.po: Update from translation team.
18384         * login/Makefile (distribute): Remove variable.
18385         * catgets/Makefile: Likewise.
18386         * mach/Makefile: Likewise.
18387         * malloc/Makefile: Likewise.
18388         * misc/Makefile: Likewise.
18389         * iconv/Makefile: Likewise.
18390         * nscd/Makefile: Likewise.
18391         * hurd/Makefile: Likewise.
18392         * manual/Makefile: Likewise.
18393         * locale/Makefile: Likewise.
18394         * intl/Makefile: Likewise.
18395         * conform/Makefile: Likewise.
18396         * nss/Makefile: Likewise.
18397         * time/Makefile: Likewise.
18398         * soft-fp/Makefile: Likewise.
18399         * dirent/Makefile: Likewise.
18400         * gmon/Makefile: Likewise.
18401         * po/Makefile: Likewise.
18402         * rt/Makefile: Likewise.
18403         * socket/Makefile: Likewise.
18404         * math/Makefile: Likewise.
18405         * signal/Makefile: Likewise.
18406         * debug/Makefile: Likewise.
18407         * elf/Makefile: Likewise.
18408         * timezone/Makefile: Likewise.
18409         * stdlib/Makefile: Likewise.
18410         * iconvdata/Makefile: Likewise.
18411         * sunrpc/Makefile: Likewise.
18412         * io/Makefile: Likewise.
18413         * argp/Makefile: Likewise.
18414         * inet/Makefile: Likewise.
18415         * hesiod/Makefile: Likewise.
18416         * grp/Makefile: Likewise.
18417         * csu/Makefile: Likewise.
18418         * wctype/Makefile: Likewise.
18419         * crypt/Makefile: Likewise.
18420         * libio/Makefile: Likewise.
18421         * string/Makefile: Likewise.
18422         * nis/Makefile: Likewise.
18423         * resolv/Makefile: Likewise.
18424         * stdio-common/Makefile: Likewise.
18425         * wcsmbs/Makefile: Likewise.
18426         * dlfcn/Makefile: Likewise.
18427         * posix/Makefile: Likewise.
18429         [BZ #6959]
18430         * timezone/Makefile: Don't install timezone files, just the programs
18431         and scripts.
18433 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
18435         * nss/databases.def: Add missing gshadow entry.
18437         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
18439 2012-03-06  Marek Polacek  <polacek@redhat.com>
18441         [BZ #13726]
18442         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18443         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18444         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18445         * stdio-common/tst-long-dbl-fphex.c: New file.
18447 2012-03-06  David S. Miller  <davem@davemloft.net>
18449         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18450         (set_obp_int): New function.
18451         (get_obp_int): New function.
18452         (__get_clockfreq_via_dev_openprom): Likewise.
18453         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18454         Avoid unused variable warnings on 'val' and use builtin_expect.
18455         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18456         __builtin_expect.
18457         (INLINE_CLONE_SYSCALL): Likewise.
18459 2012-03-05  David S. Miller  <davem@davemloft.net>
18461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18463 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
18465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18467         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18468         only for |x| >= 40.
18469         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18471 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18473         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18474         Replace gettimeofday with __vdso_gettimeofday.
18476         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18477         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18478         __vdso_clock_gettime and __vdso_getcpu.
18480         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18481         time with __vdso_time.
18483 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18485         * manual/lang.texi (size_t): Note types to which size_t may be
18486         equivalent with the GNU C Library, but do not describe when
18487         differences between them are significant.
18489 2012-03-05  Andreas Jaeger  <aj@suse.de>
18491         * sysdeps/i386/fpu/libm-test-ulps: Update.
18493 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18495         [BZ #3976]
18496         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18497         (__ieee754_pow): Save and restore rounding mode and use
18498         round-to-nearest for main computations.
18499         * math/libm-test.inc (pow_test_tonearest): New function.
18500         (pow_test_towardzero): Likewise.
18501         (pow_test_downward): Likewise.
18502         (pow_test_upward): Likewise.
18503         (main): Call the new functions.
18504         * sysdeps/i386/fpu/libm-test-ulps: Update.
18505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18507         [BZ #3976]
18508         * math/libm-test.inc (cosh_test_tonearest): New function.
18509         (cosh_test_towardzero): Likewise.
18510         (cosh_test_downward): Likewise.
18511         (cosh_test_upward): Likewise.
18512         (sinh_test_tonearest): Likewise.
18513         (sinh_test_towardzero): Likewise.
18514         (sinh_test_downward): Likewise.
18515         (sinh_test_upward): Likewise.
18516         (main): Call the new functions.
18517         * sysdeps/i386/fpu/libm-test-ulps: Update.
18518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18520 2012-03-05  Tom de Vries  <tom@codesourcery.com>
18522         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18523         default stack guard is set in last bytes.
18524         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18526 2012-03-05  Kees Cook  <keescook@chromium.org>
18528         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18530         [BZ #13656]
18531         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18532         possibly allocate from heap instead of stack.
18533         * stdio-common/bug-vfprintf-nargs.c: New file.
18534         * stdio-common/Makefile (tests): Add nargs overflow test.
18536 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
18538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18540 2012-03-03  Marek Polacek  <polacek@redhat.com>
18542         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18543         * math/math_private.h: Likewise.
18544         * stdlib/tst-strtod.c: Likewise.
18545         * sysdeps/i386/i486/bits/atomic.h: Likewise.
18546         * sysdeps/x86_64/bits/atomic.h: Likewise.
18548 2012-03-02  David S. Miller  <davem@davemloft.net>
18550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18554         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18555         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18556         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18557         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18559 2012-03-02  Roland McGrath  <roland@hack.frob.com>
18561         [BZ #13792]
18562         * manual/examples/README: New file, says the example source files
18563         can be used under GPL>=2.
18564         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18565         line containing just "*/".
18566         * manual/examples/add.c: Add copyright header (GPL>=2).
18567         * manual/examples/argp-ex1.c: Likewise.
18568         * manual/examples/argp-ex2.c: Likewise.
18569         * manual/examples/argp-ex3.c: Likewise.
18570         * manual/examples/argp-ex4.c: Likewise.
18571         * manual/examples/atexit.c: Likewise.
18572         * manual/examples/db.c: Likewise.
18573         * manual/examples/dir.c: Likewise.
18574         * manual/examples/dir2.c: Likewise.
18575         * manual/examples/execinfo.c: Likewise.
18576         * manual/examples/filecli.c: Likewise.
18577         * manual/examples/filesrv.c: Likewise.
18578         * manual/examples/fmtmsgexpl.c: Likewise.
18579         * manual/examples/genpass.c: Likewise.
18580         * manual/examples/inetcli.c: Likewise.
18581         * manual/examples/inetsrv.c: Likewise.
18582         * manual/examples/isockad.c: Likewise.
18583         * manual/examples/longopt.c: Likewise.
18584         * manual/examples/memopen.c: Likewise.
18585         * manual/examples/memstrm.c: Likewise.
18586         * manual/examples/mkfsock.c: Likewise.
18587         * manual/examples/mkisock.c: Likewise.
18588         * manual/examples/mygetpass.c: Likewise.
18589         * manual/examples/pipe.c: Likewise.
18590         * manual/examples/popen.c: Likewise.
18591         * manual/examples/rprintf.c: Likewise.
18592         * manual/examples/search.c: Likewise.
18593         * manual/examples/select.c: Likewise.
18594         * manual/examples/setjmp.c: Likewise.
18595         * manual/examples/sigh1.c: Likewise.
18596         * manual/examples/sigusr.c: Likewise.
18597         * manual/examples/stpcpy.c: Likewise.
18598         * manual/examples/strdupa.c: Likewise.
18599         * manual/examples/strftim.c: Likewise.
18600         * manual/examples/strncat.c: Likewise.
18601         * manual/examples/subopt.c: Likewise.
18602         * manual/examples/swapcontext.c: Likewise.
18603         * manual/examples/termios.c: Likewise.
18604         * manual/examples/testopt.c: Likewise.
18605         * manual/examples/testpass.c: Likewise.
18606         * manual/examples/timeval_subtract.c: Likewise.
18608         [BZ #13792]
18609         * manual/time.texi (Elapsed Time): Move timeval_subtract example
18610         function to ...
18611         * manual/timeval_subtract.c.texi: ... here, new file.
18613 2012-03-02  David S. Miller  <davem@davemloft.net>
18615         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18617 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
18619         [BZ #3976]
18620         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18621         (__sin): Save and restore rounding mode and use round-to-nearest
18622         for all computations.
18623         (__cos): Save and restore rounding mode and use round-to-nearest
18624         for all computations.
18625         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18626         <fenv.h>.
18627         (tan): Save and restore rounding mode and use round-to-nearest for
18628         all computations.
18629         * math/libm-test.inc (cos_test_tonearest): New function.
18630         (cos_test_towardzero): Likewise.
18631         (cos_test_downward): Likewise.
18632         (cos_test_upward): Likewise.
18633         (sin_test_tonearest): Likewise.
18634         (sin_test_towardzero): Likewise.
18635         (sin_test_downward): Likewise.
18636         (sin_test_upward): Likewise.
18637         (tan_test_tonearest): Likewise.
18638         (tan_test_towardzero): Likewise.
18639         (tan_test_downward): Likewise.
18640         (tan_test_upward): Likewise.
18641         (main): Call the new functions.
18642         * sysdeps/i386/fpu/libm-test-ulps: Update.
18643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18645         [BZ #10135]
18646         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18647         small n, then large n, before computing and testing k+n.
18648         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18649         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18650         Likewise.
18651         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18652         Likewise.
18653         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18654         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18655         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18656         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18657         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18658         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18659         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18660         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18661         * math/libm-test.inc (scalbn_test): Add more tests.
18662         (scalbln_test): Likewise.
18664         * manual/filesys.texi (mode_t): Describe constraints on size and
18665         signedness, not exact equivalence to a particular type.
18666         (ino_t): Likewise.
18667         (ino64_t): Likewise.
18668         (dev_t): Likewise.
18669         (nlink_t): Likewise.
18670         (blkcnt_t): Likewise.
18671         (blkcnt64_t): Likewise.
18672         * manual/llio.texi (off_t): Likewise.
18674         [BZ #3976]
18675         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18676         (__ieee754_exp): Save and restore rounding mode and use
18677         round-to-nearest for all computations.
18678         * math/libm-test.inc (exp_test_tonearest): New function.
18679         (exp_test_towardzero): Likewise.
18680         (exp_test_downward): Likewise.
18681         (exp_test_upward): Likewise.
18682         (main): Call the new functions.
18683         * sysdeps/i386/fpu/libm-test-ulps: Update.
18684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18686 2012-03-01  Chris Demetriou  <cgd@google.com>
18688         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18689         have predictable order.
18691 2012-03-01  David S. Miller  <davem@davemloft.net>
18693         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18695         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18696         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18697         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18698         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18700         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18701         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18702         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18704         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18705         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18706         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18707         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18708         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18712         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18713         * sysdeps/sparc/fpu/libm-test-ulps: to here.
18714         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18716         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18717         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18718         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18719         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18720         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18721         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18722         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18723         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18724         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18725         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18726         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18727         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18728         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18729         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18730         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18731         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18732         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18733         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18734         * sysdeps/sparc/elf/configure: Regenerated.
18736 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
18738         * configure.in (AS, LD): Require binutils 2.20 or later.
18739         * configure: Regenerated.
18740         * manual/install.texi (Tools for Compilation): Give binutils 2.20
18741         as required minimum version.
18742         * INSTALL: Regenerated.
18744         [BZ #2541]
18745         [BZ #4108]
18746         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18747         before squaring exponent.
18748         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18749         bottom long double and 27 bits of top long double before squaring
18750         exponent.
18751         * math/libm-test.inc (erfc_test): Add more tests.
18752         * sysdeps/i386/fpu/libm-test-ulps: Update.
18753         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18756 2012-03-01  Kai Tietz  <ktietz@redhat.com>
18758         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18759         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18760         containing bit-fields.
18761         * soft-fp/extended.h (_FP_UNION_E): Likewise.
18762         * soft-fp/single.h (_FP_UNION_S): Likewise.
18763         * soft-fp/double.h (_FP_UNION_D): Likewise.
18765 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18767         [BZ #13786]
18768         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18769         not include ../strcmp.S.
18770         [USE_AS_STRNCASECMP_L]: Likewise.
18771         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18772         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18773         * sysdeps/i386/i686/multiarch/strncase_l-c.c
18774         (__strncasecmp_l_ia32): Define as alias to
18775         __strncasecmp_l_nonascii.
18777         [BZ #5794]
18778         * math/libm-test.inc (expm1_test): Add test for bug 5794.
18779         * sysdeps/i386/fpu/libm-test-ulps: Update.
18780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18782         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18785 2012-02-29  Jeff Law  <law@redhat.com>
18787         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18788         out of bounds read.
18790 2012-02-29  Marek Polacek  <polacek@redhat.com>
18792         [BZ #13706]
18793         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18794         * elf/Makefile: Add rules to run tst-unused-dep.out.
18796 2012-02-28  David S. Miller  <davem@davemloft.net>
18798         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18799         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18800         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18801         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18802         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18803         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18805 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18807         * math/libm-test.inc (llround_test): Move one test from
18808         lround_test.  Use TEST_f_L in moved test.
18809         (lround_test): Move misplaced test to llround_test.  Add testcase
18810         from bug 2561.
18812 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
18814         * sysdeps/x86_64/fpu/e_expf.S: New file.
18815         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18817 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
18819         [BZ #13637]
18820         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18821         of remain_len that may cause incomplete multi-byte character and
18822         false match.
18823         * posix/bug-regex33.c: New file.
18824         * posix/Makefile (tests): Add bug-regex33.
18826 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
18828         * manual/macros.texi: New file.
18829         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18830         * manual/libc.texinfo: Include macros.texi.
18831         * manual/creatute.texi: Likewise.
18832         * manual/install.texi: Likewise.
18833         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18834         @glibcadj{} in references to the GNU C Library.
18835         * manual/charset.texi: Likewise.
18836         * manual/conf.texi: Likewise.
18837         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
18838         when not using those macros.
18839         * manual/creature.texi: Likewise.
18840         * manual/crypt.texi: Likewise.
18841         * manual/errno.texi: Likewise.
18842         * manual/filesys.texi: Likewise.
18843         * manual/header.texi: Likewise.
18844         * manual/install.texi: Likewise.
18845         * manual/intro.texi: Likewise.
18846         * manual/io.texi: Likewise.
18847         * manual/job.texi: Likewise.
18848         * manual/lang.texi: Likewise.
18849         * manual/libc.texiinfo: Likewise.
18850         * manual/llio.texi: Likewise.
18851         * manual/locale.texi: Likewise.
18852         * manual/maint.texi: Likewise.
18853         * manual/math.texi: Likewise.
18854         * manual/memory.texi: Likewise.
18855         * manual/message.texi: Likewise.
18856         * manual/nss.texi: Likewise.
18857         * manual/pattern.texi: Likewise.
18858         * manual/process.texi: Likewise.
18859         * manual/resource.texi: Likewise.
18860         * manual/search.texi: Likewise.
18861         * manual/setjmp.texi: Likewise.
18862         * manual/signal.texi: Likewise.
18863         * manual/socket.texi: Likewise.
18864         * manual/startup.texi: Likewise.
18865         * manual/stdio.texi: Likewise.
18866         * manual/string.texi: Likewise.
18867         * manual/sysinfo.texi: Likewise.
18868         * manual/syslog.texi: Likewise.
18869         * manual/terminal.texi: Likewise.
18870         * manual/time.texi: Likewise.
18871         * manual/users.texi: Likewise.
18872         * INSTALL: Regenerated.
18873         * NOTES: Regenerated.
18874         * sysdeps/gnu/errlist.c: Regenerated.
18876 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
18878         * include/dirent.h: Include <dirstream.h> before
18879         <dirent/dirent.h>.
18881 2012-02-28  David S. Miller  <davem@davemloft.net>
18883         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18884         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18885         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18886         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18888 2012-02-27  David S. Miller  <davem@davemloft.net>
18890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18892         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18893         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18896         frame pointer instead of stack pointer relative arg slot.
18897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18898         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18899         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18901 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
18903         [BZ #3992]
18904         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18906 2012-02-27  David S. Miller  <davem@davemloft.net>
18908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18912         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18913         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18914         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18915         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18917 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18919         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18920         later.  Allow versions 5-9.
18921         * configure: Regenerated.
18922         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18923         required minimum version and 4.6 as recommended version.  Do not
18924         mention bugs in GCC 2.7 and 2.8.
18925         * INSTALL: Regenerated.
18927 2012-02-27  David S. Miller  <davem@davemloft.net>
18929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18933         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18934         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18935         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18936         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18938         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18939         manipulate bits before adding and subtracting TWO112[sx].
18940         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18942 2012-02-27  Roland McGrath  <roland@hack.frob.com>
18944         [BZ #13775]
18945         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18946         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18947         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18948         being in POSIX, because they are in 1003.1-2008.
18950         * rt/tst-aio.c: Include <fcntl.h>.
18951         * rt/tst-aio7.c: Likewise.
18952         * rt/tst-aio64.c: Likewise.
18954         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18956 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18958         * manual/install.texi (--with-headers): Describe headers as
18959         interface headers, not private headers.
18960         (Specific advice for GNU/Linux systems): Describe use of headers
18961         from "make headers_install", not private headers from older
18962         kernels.
18963         * INSTALL: Regenerated.
18964         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18965         Change to 2.6.19.
18966         * sysdeps/unix/sysv/linux/configure: Regenerated.
18968         * manual/llio.texi (fclean): Remove documentation.
18970         * manual/Makefile (libc-texi-generated): New variable.  Include
18971         version.texi.
18972         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18973         $(libc-texi-generated), not duplicated list of files.
18974         (version.texi, stamp-version): New rules.
18975         (realclean): Remove $(libc-texi-generated), not individual files
18976         from that list.  Do not remove dir-add.texinfo.
18977         * manual/libc.texinfo: Comment out uses of edition numbers and
18978         references to printed manual.  Remove last-updated dates.
18979         (EDITION): Comment out.
18980         (ISBN): Likewise.
18981         (VERSION, UPDATED): Remove.
18982         (version.texi): Include.
18984 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
18986         * sysdeps/posix/spawni.c: Include <signal.h>.
18987         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18988         * sysdeps/pthread/aio_fsync.c: Likewise.
18990 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
18992         * conform/Makefile (tests): Run only when not cross-compiling and
18993         when fast-check is not defined.
18995         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18996         * conform/data/limits.h-data: Fixes for POSIX2008.
18997         * conform/run-conformtest.sh: Run all tests.
18998         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18999         headers.
19000         * include/bits/dlfcn.h: Likewise.
19001         * include/langinfo.h: Likewise.
19002         * include/monetary.h: Likewise.
19003         * include/sys/poll.h: Likewise.
19005         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19006         for __USE_GNU.
19007         * posix/spawn.h: Define __need_sigset_t.
19008         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19009         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19010         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
19011         to get sigevent_t only.
19012         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19013         only for __USE_GNU.
19014         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19015         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19016         process_vm_writev only for __USE_GNU.
19017         * termios/termios.h: Declare tcgetsid also for POSIX2008.
19019         * conform/Makefile: For now ignore errors from run-conformtest.
19020         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
19021         POSIX to avoid namespace pollution.  Don't prepend headers.
19022         * conform/data/aio.h-data: Fixes for POSIX testing.
19023         * conform/data/fcntl.h-data: Likewise.
19024         * conform/data/glob.h-data: Likewise.
19025         * conform/data/grp.h-data: Likewise.
19026         * conform/data/pthread.h-data: Likewise.
19027         * conform/data/pwd.h-data: Likewise.
19028         * conform/data/signal.h-data: Likewise.
19029         * conform/data/spawn.h-data: Likewise.
19030         * conform/data/stdio.h-data: Likewise.
19031         * conform/data/stdlib.h-data: Likewise.
19032         * conform/data/stropts.h-data: Likewise.
19033         * conform/data/sys/mman.h-data: Likewise.
19034         * conform/data/sys/stat.h-data: Likewise.
19035         * conform/data/sys/types.h-data: Likewise.
19036         * conform/data/sys/wait.h-data: Likewise.
19037         * conform/data/time.h-data: Likewise.
19038         * conform/data/unistd.h-data: Likewise.
19039         * conform/data/utime.h-data: Likewise.
19041         * io/sys/stat.h: fchmod was always in POSIX.
19042         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19043         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19044         * rt/aio.h: Define __need_timespec before including <time.h>.
19045         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19046         struct.  Add forward declaration of pthread_attr_t and use it in
19047         sigevent.
19048         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19049         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19050         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19051         always remove CLK_TCK definition.
19053 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
19055         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19057 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
19059         * conform/run-conformtest.sh: New file.
19060         * conform/Makefile: Run run-conformtest for tests.
19061         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
19062         support.
19064         * conform/data/uchar.h-data: New file.
19065         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19066         * conform/data/arpa/inet.h-data: Likewise.
19067         * conform/data/assert.h-data: Likewise.
19068         * conform/data/complex.h-data: Likewise.
19069         * conform/data/cpio.h-data: Likewise.
19070         * conform/data/ctype.h-data: Likewise.
19071         * conform/data/dirent.h-data: Likewise.
19072         * conform/data/dlfcn.h-data: Likewise.
19073         * conform/data/errno.h-data: Likewise.
19074         * conform/data/fcntl.h-data: Likewise.
19075         * conform/data/float.h-data: Likewise.
19076         * conform/data/fmtmsg.h-data: Likewise.
19077         * conform/data/fnmatch.h-data: Likewise.
19078         * conform/data/ftw.h-data: Likewise.
19079         * conform/data/glob.h-data: Likewise.
19080         * conform/data/grp.h-data: Likewise.
19081         * conform/data/iconv.h-data: Likewise.
19082         * conform/data/inttypes.h-data: Likewise.
19083         * conform/data/langinfo.h-data: Likewise.
19084         * conform/data/libgen.h-data: Likewise.
19085         * conform/data/limits.h-data: Likewise.
19086         * conform/data/locale.h-data: Likewise.
19087         * conform/data/math.h-data: Likewise.
19088         * conform/data/monetary.h-data: Likewise.
19089         * conform/data/mqueue.h-data: Likewise.
19090         * conform/data/ndbm.h-data: Likewise.
19091         * conform/data/net/if.h-data: Likewise.
19092         * conform/data/netdb.h-data: Likewise.
19093         * conform/data/netinet/in.h-data: Likewise.
19094         * conform/data/nl_types.h-data: Likewise.
19095         * conform/data/poll.h-data: Likewise.
19096         * conform/data/pthread.h-data: Likewise.
19097         * conform/data/pwd.h-data: Likewise.
19098         * conform/data/regex.h-data: Likewise.
19099         * conform/data/sched.h-data: Likewise.
19100         * conform/data/search.h-data: Likewise.
19101         * conform/data/semaphore.h-data: Likewise.
19102         * conform/data/setjmp.h-data: Likewise.
19103         * conform/data/signal.h-data: Likewise.
19104         * conform/data/spawn.h-data: Likewise.
19105         * conform/data/stdarg.h-data: Likewise.
19106         * conform/data/stdio.h-data: Likewise.
19107         * conform/data/stdlib.h-data: Likewise.
19108         * conform/data/string.h-data: Likewise.
19109         * conform/data/strings.h-data: Likewise.
19110         * conform/data/stropts.h-data: Likewise.
19111         * conform/data/sys/ipc.h-data: Likewise.
19112         * conform/data/sys/mman.h-data: Likewise.
19113         * conform/data/sys/msg.h-data: Likewise.
19114         * conform/data/sys/resource.h-data: Likewise.
19115         * conform/data/sys/select.h-data: Likewise.
19116         * conform/data/sys/sem.h-data: Likewise.
19117         * conform/data/sys/shm.h-data: Likewise.
19118         * conform/data/sys/socket.h-data: Likewise.
19119         * conform/data/sys/stat.h-data: Likewise.
19120         * conform/data/sys/statvfs.h-data: Likewise.
19121         * conform/data/sys/time.h-data: Likewise.
19122         * conform/data/sys/timeb.h-data: Likewise.
19123         * conform/data/sys/times.h-data: Likewise.
19124         * conform/data/sys/types.h-data: Likewise.
19125         * conform/data/sys/uio.h-data: Likewise.
19126         * conform/data/sys/un.h-data: Likewise.
19127         * conform/data/sys/utsname.h-data: Likewise.
19128         * conform/data/sys/wait.h-data: Likewise.
19129         * conform/data/syslog.h-data: Likewise.
19130         * conform/data/tar.h-data: Likewise.
19131         * conform/data/termios.h-data: Likewise.
19132         * conform/data/utime.h-data: Likewise.
19133         * conform/data/utmpx.h-data: Likewise.
19134         * conform/data/varargs.h-data: Likewise.
19135         * conform/data/wchar.h-data: Likewise.
19136         * conform/data/wctype.h-data: Likewise.
19137         * conform/data/wordexp.h-data: Likewise.
19139         * include/stropts.h: New file.
19140         * include/uchar.h: New file.
19141         * include/aio.h: Changes to allow conformtest.pl to use the headers.
19142         * include/assert.h: Likewise.
19143         * include/ctype.h: Likewise.
19144         * include/dirent.h: Likewise.
19145         * include/dlfcn.h: Likewise.
19146         * include/fcntl.h: Likewise.
19147         * include/fnmatch.h: Likewise.
19148         * include/glob.h: Likewise.
19149         * include/grp.h: Likewise.
19150         * include/libio.h: Likewise.
19151         * include/locale.h: Likewise.
19152         * include/math.h: Likewise.
19153         * include/net/if.h: Likewise.
19154         * include/netdb.h: Likewise.
19155         * include/netinet/in.h: Likewise.
19156         * include/pthread.h: Likewise.
19157         * include/pwd.h: Likewise.
19158         * include/regex.h: Likewise.
19159         * include/sched.h: Likewise.
19160         * include/search.h: Likewise.
19161         * include/setjmp.h: Likewise.
19162         * include/signal.h: Likewise.
19163         * include/stdio.h: Likewise.
19164         * include/stdlib.h: Likewise.
19165         * include/string.h: Likewise.
19166         * include/sys/cdefs.h: Likewise.
19167         * include/sys/mman.h: Likewise.
19168         * include/sys/msg.h: Likewise.
19169         * include/sys/resource.h: Likewise.
19170         * include/sys/select.h: Likewise.
19171         * include/sys/socket.h: Likewise.
19172         * include/sys/stat.h: Likewise.
19173         * include/sys/statvfs.h: Likewise.
19174         * include/sys/time.h: Likewise.
19175         * include/sys/times.h: Likewise.
19176         * include/sys/uio.h: Likewise.
19177         * include/sys/utsname.h: Likewise.
19178         * include/sys/wait.h: Likewise.
19179         * include/termios.h: Likewise.
19180         * include/time.h: Likewise.
19181         * include/ulimit.h: Likewise.
19182         * include/unistd.h: Likewise.
19183         * include/utime.h: Likewise.
19184         * include/wchar.h: Likewise.
19185         * include/wctype.h: Likewise.
19186         * include/wordexp.h: Likewise.
19188         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19190         * time/time.h: TIME_UTC must be a macro.
19191         Make timespec_get available for ISO C11 only as well.
19193 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
19195         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19196         Reported by Peng Haitao <penght@cn.fujitsu.com>.
19198 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19200         * configure.in: Use -o not -a in test for unsupported multi-arch.
19202 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19204         * manual/texinfo.tex: Update to version 2012-01-19.16.
19206 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19208         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19210 2012-02-24  Roland McGrath  <roland@hack.frob.com>
19212         [BZ #13738]
19213         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19214         * manual/fdl-1.3.texi: New file.
19215         * manual/fdl-1.1.texi: File removed.
19217         [BZ #13738]
19218         * manual/libc.texinfo (FDL_VERSION): New @set.
19219         Use it for mention of FDL in cover text.
19220         (Documentation License): Use it in @include file name.
19222 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19223             Roland McGrath  <roland@hack.frob.com>
19225         [BZ #5461]
19226         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19227         not LONG_LONG_MAX and LONG_LONG_MIN.
19228         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19229         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
19230         name.
19231         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19233 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19235         [BZ #2547]
19236         [BZ #11365]
19237         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19238         manipulate bits before adding and subtracting TWO23[sx].
19239         * math/libm-test.inc (nearbyint_test): Add more tests.
19241 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19243         [BZ #2548]
19244         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19245         bits before adding and subtracting TWO23[sx].
19246         * math/libm-test.inc (rint_test): Add more tests.
19247         (rint_test_tonearest): Likewise.
19248         (rint_test_towardzero): Likewise.
19249         (rint_test_downward): Likewise.
19250         (rint_test_upward: Likewise.
19252 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19254         [BZ #10110]
19255         * include/stdc-predef.h: New file.  Extracted from features.h.
19256         * include/features.h: Include stdc-predef.h.
19257         * Makefile (headers): Add stdc-predef.h.
19258         * CONFORMANCE (Compiler limitations): Update.
19260 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19262         * manual/libc.texinfo (VERSION, UPDATED): Revert.
19264 2012-02-21  David S. Miller  <davem@davemloft.net>
19266         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19267         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19269 2012-02-20  David S. Miller  <davem@davemloft.net>
19271         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19272         using a normal save/restore sequence, rather than allocating a
19273         dummy stack frame just to store a frame pointer and restore.
19274         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19276 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19278         * manual/install.texi: Fix stray word in line-wrapped comment.
19280 2012-02-20  David S. Miller  <davem@davemloft.net>
19282         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19283         both binutils and gcc support GOTDATA.
19285         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19286         "rd %pc" in the PIC register setup sequences.
19288         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19289         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19290         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19291         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19292         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19293         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19294         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19295         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19296         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19297         (SYSCALL_ERROR_HANDLER): Likewise.
19298         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19299         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19300         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19301         (SYSCALL_ERROR_HANDLER): Likewise.
19303         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19304         (HAVE_GCC_GOTDATA): New.
19305         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19306         relocation support in both binutils and gcc.
19307         * sysdeps/sparc/elf/configure: Regenerate.
19309         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19310         * sysdeps/sparc/sparc32/elf/configure: Delete.
19311         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19312         * sysdeps/sparc/sparc64/elf/configure: Delete.
19313         * sysdeps/sparc/elf/configure.in: New file.
19314         * sysdeps/sparc/elf/configure: Generate.
19316         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19317         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19318         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19319         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19320         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19322 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19324         * manual/install.texi: Do not mention specific glibc version
19325         numbers.
19326         * manual/libc.texinfo (VERSION, UPDATED): Update.
19327         (@copying): Use @copyright{} and range of years.
19329 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19331         [BZ #13695]
19332         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19333         [crti.S not in sysdirs] (generated): Do not append.
19334         [crti.S not in sysdirs] (omit-deps): Likewise.
19335         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19336         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19337         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19338         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19339         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19340         Likewise.
19341         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19342         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19343         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19344         * csu/defs.awk: Remove file.
19345         * sysdeps/generic/initfini.c: Likewise.
19346         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19347         variable.
19348         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19349         Likewise.
19351 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19353         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19354         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19355         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19356         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19357         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19358         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19359         <bits/epoll.h>.
19360         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19361         (__EPOLL_PACKED): Define to empty if not defined by
19362         <bits/epoll.h>.
19363         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19364         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19365         bits/epoll.h.
19367 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19369         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19370         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19371         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19372         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19373         <bits/timerfd.h>.
19374         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19375         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19376         bits/timerfd.h.
19378 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19380         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19381         in C locale.
19382         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19383         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19384         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19387 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
19389         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19390         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19392 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
19394         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19395         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19396         defined.
19397         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19398         Likewise.
19399         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19400         entry for 2.16.
19402 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
19404         * math/w_acos.c: Use non-signaling floating-point comparisons.
19405         * math/w_acosf.c: Likewise.
19406         * math/w_acosh.c: Likewise.
19407         * math/w_acoshf.c: Likewise.
19408         * math/w_acoshl.c: Likewise.
19409         * math/w_acosl.c: Likewise.
19410         * math/w_asin.c: Likewise.
19411         * math/w_asinf.c: Likewise.
19412         * math/w_asinl.c: Likewise.
19413         * math/w_atanh.c: Likewise.
19414         * math/w_atanhf.c: Likewise.
19415         * math/w_atanhl.c: Likewise.
19416         * math/w_exp2.c: Likewise.
19417         * math/w_exp2f.c: Likewise.
19418         * math/w_exp2l.c: Likewise.
19419         * math/w_j0.c: Likewise.
19420         * math/w_j0f.c: Likewise.
19421         * math/w_j0l.c: Likewise.
19422         * math/w_j1.c: Likewise.
19423         * math/w_j1f.c: Likewise.
19424         * math/w_j1l.c: Likewise.
19425         * math/w_jn.c: Likewise.
19426         * math/w_jnf.c: Likewise.
19427         * math/w_log.c: Likewise.
19428         * math/w_log10.c: Likewise.
19429         * math/w_log10f.c: Likewise.
19430         * math/w_log10l.c: Likewise.
19431         * math/w_log2.c: Likewise.
19432         * math/w_log2f.c: Likewise.
19433         * math/w_log2l.c: Likewise.
19434         * math/w_logf.c: Likewise.
19435         * math/w_logl.c: Likewise.
19436         * math/w_sqrt.c: Likewise.
19437         * math/w_sqrtf.c: Likewise.
19438         * math/w_sqrtl.c: Likewise.
19439         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19440         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19441         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19442         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19443         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19445 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19447         [BZ #9739]
19448         * manual/string.texi (strnlen): Use correct parameter name in
19449         equivalent expression.
19451 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19453         [BZ #11174]
19454         * manual/users.texi (seteuid): Consistently use neweuid for
19455         argument name.
19457 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19459         [BZ #13704]
19460         * manual/nss.texi (Services in the NSS configuration): Correct
19461         list of services in example configuration file.
19463 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
19465         [BZ #11322]
19466         * manual/arith.texi: Remove statements about negative zero
19467         behaving identically to zero.
19469 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19471         [BZ #5993]
19472         * manual/install.texi: Do not document upgrading from libc5.
19474 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19476         [BZ #4596]
19477         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19479 2012-02-18  David S. Miller  <davem@davemloft.net>
19481         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19482         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19483         %o7 across the call.
19484         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19485         instead.
19486         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19487         SETUP_PIC_REG_LEAF.
19488         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19489         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19490         * sysdeps/sparc/crtn.S: Likewise.
19492 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
19494         * aout/Makefile: Remove.
19496 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
19498         [BZ #13058]
19499         * manual/examples/argp-ex1.c (main): Format definition in GNU
19500         style.
19501         * manual/examples/argp-ex2.c (main): Likewise.
19502         * manual/examples/argp-ex3.c (main): Likewise.
19503         * manual/examples/argp-ex4.c (main): Likewise.
19504         * manual/examples/longopt.c (main): Use new-style prototype
19505         definition.
19506         * manual/examples/strncat.c (main): Specify return type and use
19507         (void) for arguments.
19508         * manual/examples/subopt.c (main): Use char **argv argument.
19510 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19512         [BZ #5077]
19513         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19514         rounding modes.
19516 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
19518         [BZ #6907]
19519         * manual/string.texi (strchr): Change when strchrnul is
19520         recommended.
19522 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
19524         [BZ #174]
19525         * manual/locale.texi (setlocale): Document LOCPATH.
19527 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19529         [BZ #10210]
19530         * manual/process.texi (execle): Move @dots{} before last argument.
19532 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
19534         [BZ #12047]
19535         * manual/charset.texi (Generic Charset Conversion): Fix typo
19536         (LC_TYPE -> LC_CTYPE).
19538 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
19540         [BZ #5805]
19541         * manual/arith.texi (scalbn): Use @var{} on parameter names.
19542         (scalbnf): Likewise.
19543         (scalbnl): Likewise.
19544         (scalbln): Likewise.
19545         (scalblnf): Likewise.
19546         (scalblnl): Likewise.
19547         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19548         (vwarnx): Likewise.
19549         (verr): Likewise.
19550         (verrx): Likewise.
19551         * manual/filesys.texi (telldir): Use braces around return type.
19552         * manual/llio.texi (mmap): Add space after comma.
19553         (mmap64): Likewise.
19554         * manual/math.texi (jn): Use @var{} on parameter names.
19555         (jnf): Likewise.
19556         (jnl): Likewise.
19557         (yn): Likewise.
19558         (ynf): Likewise.
19559         (ynl): Likewise.
19560         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19561         line.
19562         * manual/resource.texi (ulimit): Use @dots{} instead of literal
19563         "...".
19564         (sched_get_priority_min): Remove semicolon on @deftypefun line.
19565         (sched_get_priority_max): Likewise.
19566         * manual/signal.texi (sigvec): Add space after comma.
19567         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19568         names.
19569         (if_indextoname): Likewise.
19570         (if_freenameindex): Likewise.
19571         (sendto): Use ',' instead of '.' in prototype.
19572         * manual/startup.texi (syscall): Use @dots{} instead of literal
19573         "...".
19574         * manual/stdio.texi (__fpending): Separate initial words of
19575         paragraph from @deftypefun line.
19576         * manual/syslog.texi (syslog): Use @dots{} instead of literal
19577         "...".
19578         (vsyslog): Use @var{} on parameter names.
19579         * manual/terminal.texi (stty): Use @var{} on parameter names.
19580         * manual/users.texi (getutmp): Use @var{} on parameter names.
19581         (getutmpx): Likewise.
19583 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19585         [BZ #6884]
19586         * manual/stdio.texi (fopen): Fix typos in description of
19587         ",ccs=STRING".
19589 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
19591         [BZ #4026]
19592         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19593         get clock_id definition.
19595 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
19597         [BZ #4822]
19598         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19599         (madvise): Cast every argument to void on its own.
19601 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19603         [BZ #9902]
19604         * manual/startup.texi (Exit Status): Fix typo.
19606 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19608         [BZ #10140]
19609         * manual/examples/argp-ex1.c: Include <stdlib.h>.
19610         * manual/examples/argp-ex2.c: Likewise.
19611         * manual/examples/argp-ex3.c: Likewise.
19613 2012-02-16  Richard Henderson  <rth@redhat.com>
19615         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19616         * sysdeps/s390/s390-32/initfini.c: Remove.
19617         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19618         * sysdeps/s390/s390-64/initfini.c: Remove.
19620 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19622         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19623         compiler output for sysdeps/generic/initfini.c.
19624         * sysdeps/sh/elf/initfini.c: Remove file.
19626 2012-02-16  David S. Miller  <davem@davemloft.net>
19628         [BZ #11494]
19629         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19631         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19632         * sysdeps/sparc/crti.S: New file.
19633         * sysdeps/sparc/crtn.S: New file.
19634         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19635         * sysdeps/sparc/sparc64/Makefile: Likewise.
19637 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
19639         [BZ #3335]
19640         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19642 2012-02-15  Roland McGrath  <roland@hack.frob.com>
19644         [BZ #4822]
19645         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19647         * mach/devstream.c (cookie_io_functions_t): Macro removed.
19648         (write, read, close): Likewise.
19649         Patch by Aurelien Jarno <aurelien@aurel32.net>.
19651 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
19653         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19654         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19655         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19656         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19657         <bits/signalfd.h>.
19658         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19659         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19660         bits/signalfd.h.
19662 2012-02-14  Marek Polacek  <polacek@redhat.com>
19664         * sysdeps/x86_64/crti.S: New file.
19665         * sysdeps/x86_64/crtn.S: New file.
19666         * sysdeps/x86_64/elf/initfini.c: Remove file.
19668 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19670         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19671         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19672         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19673         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19674         <bits/inotify.h>.
19675         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19676         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19677         bits/inotify.h.
19679 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19681         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19682         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19683         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19684         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19685         <bits/eventfd.h>.
19686         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19687         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19688         bits/eventfd.h.
19690 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
19692         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19693         __feraiseexcept instead of feraiseexcept.
19695         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19696         nanosleep invocations.
19697         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19698         strings, and add error checking for a nanosleep invocations.
19700 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
19702         Replace FSF snail mail address with URLs, as per GNU coding standards.
19703         Most of the snail mail addresses were wrong anyway, and omitting
19704         them makes the source code easier to maintain.  Almost all of the
19705         changes are to license notices and to locale LC_IDENTIFICATION
19706         addresses, except for this one:
19707         * manual/libc.texinfo: In "Published by", give the FSF's URL,
19708         not its snail mail address.
19710 2012-02-09  Richard Henderson  <rth@twiddle.net>
19712         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19713         of kernel-features.h.
19715         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19717 2012-02-08  Marek Polacek  <polacek@redhat.com>
19719         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19720         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19721         * sysdeps/gnu/_G_config.h: Likewise.
19722         * sysdeps/generic/_G_config.h: Likewise.
19724 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
19726         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19727         tests.
19728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19730         * sysdeps/powerpc/powerpc32/crti.S: New file.
19731         * sysdeps/powerpc/powerpc32/crtn.S: New file.
19732         * sysdeps/powerpc/powerpc64/crti.S: New file.
19733         * sysdeps/powerpc/powerpc64/crtn.S: New file.
19735         * Makeconfig (have-initfini): Don't set.
19736         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19737         * configure.in (nopic_initfini): Don't substitute.
19738         * config.h.in (HAVE_INITFINI): Don't #undef.
19739         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19740         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19742 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
19744         Support crti.S and crtn.S provided directly by architectures.
19745         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19746         [crti.S in sysdirs] (omit-deps): Likewise.
19747         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19748         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19749         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19750         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19751         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19752         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19753         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19754         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19755         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19756         compiler output for sysdeps/generic/initfini.c.
19757         * sysdeps/i386/elf/Makefile: Remove file.
19758         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19760 2012-02-07  Marek Polacek  <polacek@redhat.com>
19762         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19763         * sysdeps/gnu/_G_config.h: Likewise.
19764         * sysdeps/mach/hurd/_G_config.h: Likewise.
19766 2012-02-07  Marek Polacek  <polacek@redhat.com>
19768         * math/Makefile (tests): Add tst-CMPLX2.
19769         * math/tst-CMPLX2.c: New file.
19771 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
19773         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19775         * math/libm-test.inc (jn_test): Add missing L suffix.
19777 2012-02-06  Marek Polacek  <polacek@redhat.com>
19779         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19780         * sysdeps/i386/fpu/e_powf.S: Likewise.
19781         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19782         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19783         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19784         * sysdeps/i386/fpu/e_pow.S: Likewise.
19785         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19786         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19787         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19788         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19789         * sysdeps/i386/fpu/e_log2.S: Likewise.
19790         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19791         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19792         * sysdeps/i386/fpu/e_powl.S: Likewise.
19793         * sysdeps/i386/fpu/s_log1p.S: Likewise.
19794         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19795         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19796         * sysdeps/i386/fpu/e_logl.S: Likewise.
19797         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19798         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19799         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19800         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19801         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19802         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19803         * sysdeps/i386/fpu/e_log.S: Likewise.
19804         * sysdeps/i386/fpu/s_cexp.S: Likewise.
19805         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19806         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19807         * sysdeps/i386/fpu/e_logf.S: Likewise.
19808         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19809         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19810         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19811         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19812         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19813         * sysdeps/i386/fpu/e_log10.S: Likewise.
19814         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19815         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19816         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19817         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19818         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19819         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19820         * sysdeps/i386/asm-syntax.h: Likewise.
19821         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19822         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19823         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19824         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19825         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19826         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19827         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19828         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19829         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19830         * sysdeps/powerpc/sysdep.h: Likewise.
19831         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19832         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19834 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19836         [BZ #411]
19837         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19839 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19841         * sysdeps/i386/sysdep.h: Include <features.h>.
19842         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19843         version.
19845 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
19847         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19848         Define.
19849         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19850         LOAD_PIC_REG_STR.
19852 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19854         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19855         (SETUP_PIC_REG): Use GET_PC_THUNK.
19856         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19857         macro.
19859 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19861         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19862         for non-PIC compilation.
19863         (SETUP_PIC_REG): Add .p2align directive.
19864         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19865         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19866         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19867         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19868         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19869         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19870         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19871         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19872         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19873         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19874         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19875         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19876         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19877         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19878         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19879         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19880         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19881         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19882         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19883         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19884         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19885         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19886         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19887         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19888         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19889         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19890         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19891         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19892         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19893         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19894         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19895         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19896         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19897         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19898         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19899         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19900         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19901         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19902         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19903         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19904         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19906 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19908         * math/tst-CMPLX.c: Include <stdio.h>.
19910 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
19912         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19913         float.
19914         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19915         * sysdeps/sparc/bits/mathdef.h: Likewise.
19917 2012-01-31  Marek Polacek  <polacek@redhat.com>
19919         * libio/libio.h: Don't define _PARAMS.
19920         * locale/programs/config.h: Don't define PARAMS.
19921         * stdlib/strtol_l.c: Likewise.
19922         (__strtol_l): Remove PARAMS from the prototype.
19924 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
19926         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
19927         names.  Just use the correct names.  Remove unnecessary wrapper
19928         functions.
19929         * malloc/arena.c: Likewise.
19930         * malloc/hooks.c: Likewise.
19932         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19933         ARENA_TEST says not to.  Simplify test for creation of a new arena.
19934         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19936 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
19938         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19939         into tail calls.
19940         (update_get_addr): New function.
19941         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19942         GET_ADDR_MODULE parameter.
19944 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19946         * crypt/cert.c: Remove __STDC__ conditionals.
19947         * crypt/crypt-entry.c: Likewise.
19948         * crypt/crypt_util.c: Likewise.
19949         * libio/filedoalloc.c: Likewise.
19950         * libio/fileops.c: Likewise.
19951         * libio/genops.c: Likewise.
19952         * libio/iofclose.c: Likewise.
19953         * libio/iofdopen.c: Likewise.
19954         * libio/iofopen.c: Likewise.
19955         * libio/iofopen64.c: Likewise.
19956         * libio/iogetdelim.c: Likewise.
19957         * libio/iopopen.c: Likewise.
19958         * libio/obprintf.c: Likewise.
19959         * libio/oldfileops.c: Likewise.
19960         * libio/oldiofclose.c: Likewise.
19961         * libio/oldiofdopen.c: Likewise.
19962         * libio/oldiofopen.c: Likewise.
19963         * libio/oldiopopen.c: Likewise.
19964         * libio/wfiledoalloc.c: Likewise.
19965         * libio/wgenops.c: Likewise.
19966         * locale/programs/xmalloc.c: Likewise.
19967         * misc/syslog.c: Likewise.
19968         * stdio-common/xbug.c: Likewise.
19969         * string/memchr.c: Likewise.
19970         * string/memcmp.c: Likewise.
19971         * string/memrchr.c: Likewise.
19972         * string/rawmemchr.c: Likewise.
19973         * sysdeps/posix/getcwd.c: Likewise.
19974         * time/strftime_l.c: Likewise.
19976 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19978         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19979         * config.make.in (config-cflags-sse2avx): Define.
19980         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19981         Fix typo.
19983 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
19985         * scripts/config.guess: Update from upstream config git repository.
19986         * scripts/config.sub: Likewise.
19988 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
19990         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19991         (EM_NUM): Update.
19992         (R_TILEPRO_*, R_TILEGX_*): New macros.
19994         * scripts/firstversions.awk: Fix bug in version range handling.
19996         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19998         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20000         * include/sys/epoll.h: New file.
20001         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20002         libc_hidden_def.
20004 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
20006         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20007         Avoid unnecessary __WORDSIZE == 64 test.
20008         (fmaxf): Use VEX format if possible.
20009         (fmax): Likewise.
20010         (fminf): Likewise.
20011         (fmin): Likewise.
20013         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20014         * math/math_private.h: Remove libc_fegetround* and
20015         libc_fesetround*.
20016         * sysdeps/i386/configure.in: Check for -msse2avx.
20017         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20018         also if SSE2AVX is defined.
20019         Remove libc_fegetround* and libc_fesetround*.
20020         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20021         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
20022         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20023         of HAS_YMM_USABLE.
20024         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20025         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20026         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20027         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20028         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20030         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20032 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20034         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20035         size is not set.
20036         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20038 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
20040         [BZ #13618]
20041         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20042         relocation.
20043         * Makeconfig (libm): Define.
20044         * elf/Makefile: Add rules to build and run tst-relsort1.
20045         * elf/tst-relsort1.c: New file.
20046         * elf/tst-relsort1mod1.c: New file.
20047         * elf/tst-relsort1mod2.c: New file.
20049 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
20051         * math/s_ldexp.c: Remove __STDC__ conditionals.
20052         * math/s_ldexpf.c: Likewise.
20053         * math/s_ldexpl.c: Likewise.
20054         * math/s_nextafter.c: Likewise.
20055         * math/s_nexttowardf.c: Likewise.
20056         * math/s_significand.c: Likewise.
20057         * math/s_significandf.c: Likewise.
20058         * math/s_significandl.c: Likewise.
20059         * math/w_jnl.c: Likewise.
20060         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20061         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20062         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20063         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20064         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20065         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20066         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20067         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20068         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20069         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20070         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20071         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20072         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20073         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20074         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20075         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20076         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20077         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20078         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20079         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20080         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20081         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20082         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20083         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20084         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20085         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20086         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20087         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20088         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20089         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20090         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20091         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20092         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20093         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20094         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20095         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20096         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20097         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20098         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20099         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20100         * sysdeps/ieee754/k_standard.c: Likewise.
20101         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20102         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20103         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20104         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20105         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20106         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20107         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20108         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20109         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20110         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20111         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20112         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20113         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20114         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20115         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20116         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20117         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20118         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20119         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20120         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20121         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20122         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20123         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20124         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20125         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20126         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20127         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20128         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20129         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20130         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20131         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20132         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20133         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20134         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20135         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20136         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20137         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20138         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20139         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20140         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20141         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20142         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20143         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20144         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20145         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20146         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20147         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20148         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20149         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20150         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20151         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20152         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20153         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20154         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20155         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20156         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20157         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20158         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20159         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20160         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20161         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20162         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20163         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20164         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20165         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20166         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20167         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20168         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20169         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20170         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20171         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20172         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20173         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20174         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20175         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20176         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20177         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20178         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20179         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20180         * sysdeps/ieee754/s_matherr.c: Likewise.
20181         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20182         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20183         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20184         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20186 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20188         * crypt/md5.h: Remove __STDC__ conditionals.
20189         * libio/libioP.h: Likewise.
20190         * locale/programs/config.h: Likewise.
20191         * sysdeps/generic/sysdep.h: Likewise.
20192         * sysdeps/i386/asm-syntax.h: Likewise.
20193         * sysdeps/s390/asm-syntax.h: Likewise.
20194         * sysdeps/unix/sysdep.h: Likewise.
20195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20198 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20200         * libio/libio.h: Remove __STDC__ conditionals.
20201         * malloc/obstack.h: Likewise.
20202         * math/complex.h: Likewise.
20203         * math/math.h: Likewise.
20204         * sysdeps/generic/_G_config.h: Likewise.
20205         * sysdeps/gnu/_G_config.h: Likewise.
20206         * sysdeps/mach/hurd/_G_config.h: Likewise.
20207         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20208         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20209         * sysdeps/sparc/bits/mathdef.h: Likewise.
20211 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
20213         [BZ #13583]
20214         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20215         Clean up HAS_* macros.
20216         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20217         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20218         possible.
20219         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20220         HAS_AVX.
20221         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20222         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20223         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20224         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20225         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20227 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
20229         * elf/tst-unique3.cc (gets): Remove declaration.
20230         * elf/tst-unique3lib.cc (gets): Likewise.
20231         * elf/tst-unique3lib2.cc (gets): Likewise.
20232         * elf/tst-unique4.cc (gets): Likewise.
20234 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
20236         * include/stdio.h: Add C++ protection.  Add gets declarations and
20237         definitions.
20238         * debug/tst-chk1.c: Don't declare gets here.
20239         * stdio-common/tst-gets.c: Likewise.
20241 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20243         * posix/glob: Remove directory.
20245 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20247         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20249 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
20251         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20252         of the non-standard EPFNOSUPPORT.
20254 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20256         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20257         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20258         ANYWHERE set to 1 only on KERN_NO_SPACE error.
20260 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
20262         * wcsmbs/uchar.h: Test __STDC_VERSION__.
20264 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
20266         * nscd/aicache.c (addhstaiX): Do not cache negative results of
20267         transient errors.
20268         * nscd/grpcache.c (cache_addgr): Likewise.
20269         * nscd/hstcache.c (cache_addhst): Likewise.
20270         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20271         * nscd/pwdcache.c (cache_addpw): Likewise.
20272         * nscd/servicescache.c (cache_addserv): Likewise.
20274 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
20276         * malloc/malloc.c: Various cleanups.
20277         * malloc/hooks.c: Likewise.
20279         * stdlib/Makefile (tests): Add bug-fmtmsg1.
20280         * stdlib/bug-fmtmsg1.c: New file.
20282         * stdlib/fmtmsg.c (init): Add missing unlock.
20283         Patch by Peng Haitao <penght@cn.fujitsu.com>.
20285 2012-01-12  Marek Polacek  <polacek@redhat.com>
20287         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20288         and _GNU_SOURCE.
20290 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20292         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20293         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20294         macro to ensure uniqueness of label name.
20295         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20296         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20298 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
20300         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20302         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20303         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20304         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20305         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20307 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
20309         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20311         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20312         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20313         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20315         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20317         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20318         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20319         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20320         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20322         * math/bits/math-finite.h: Add ldexp support.
20324 2012-01-10  Marek Polacek  <polacek@redhat.com>
20326         * locale/programs/localedef.h (show_archive_content): Add noreturn
20327         attribute.
20329 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
20331         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20333 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20335         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20337         * io/Makefile (headers): Add bits/poll2.h.
20339 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
20341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20342         typo #include statement.
20344 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20346         * include/sys/cdefs.h: Define __attribute_alloc_size.
20347         * catgets/gencat.c: Add alloc_size attribute and apply consistently
20348         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20349         * elf/pldd.c: Likewise.
20350         * iconv/iconv_charmap.c: Likewise.
20351         * iconv/iconvconfig.c: Likewise.
20352         * iconv/strtab.c: Likewise.
20353         * locale/programs/locale.c: Likewise.
20354         * locale/programs/localedef.h: Likewise.
20355         * locale/programs/simple-hash.c: Likewise.
20356         * nscd/nscd.h: Likewise.
20357         * nss/makedb.c: Likewise.
20358         * sysdeps/generic/ldconfig.h: Likewise.
20359         * locale/programs/localedef.c: Remove xmalloc prototype.
20360         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20362 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20364         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20365         appropriate.
20367 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20369         * math/Makefile (tests): Add tst-CMPLX.
20370         * math/tst-CMPLX.c: New file.
20372         * math/complex.h (CMPLXL): Fix typo.
20374         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20375         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20376         GLIBC_2.16.
20377         * debug/tst-chk1.c: Add poll and ppoll tests.
20378         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20379         * include/sys/poll.h: Add hidden proto for ppoll.
20380         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20381         * sysdeps/mach/hurd/ppoll.c: Likewise.
20382         * io/ppoll.c: Likewise.
20383         * debug/poll_chk.c: New file.
20384         * debug/ppoll_chk.c: New file.
20385         * include/bits/poll2.h: New file.
20386         * io/bits/poll2.h: New file.
20388         [BZ #1350]
20389         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20391         * configure.in: static is always set to yes.  Remove.
20392         * config.make.in: Don't set build-static.
20393         * Makeconfig: Remove use of build-static.
20394         * dlfcn/Makefile: Likewise.
20395         * elf/Makefile: Likewise.
20396         * math/Makefile: Likewise.
20397         * misc/Makefile: Likewise.
20398         * nptl/Makefile: Likewise.
20399         * sysdeps/mach/hurd/Makefile: Likewise.
20401         * configure.in: PWD_P is not used anymore.
20402         * config.make.in: Remove PWD_P entry.
20404         * configure.in: Remove last remnants of RANLIB.
20405         No need to check for signed size_t anymore.
20406         Don't set libc_commonpagesize and libc_relro_required here for Alpha
20407         and IA-64.
20408         Remove __builtin_expect test because we require at least gcc 3.4.
20409         * aclocal.m4: Likewise.
20411         * wcsmbs/mbrtoc16.c: Implement using towc function.
20412         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20413         * wcsmbs/wcsmbsload.c: Likewise.
20414         * iconv/gconv_simple.c: Likewise.
20415         * iconv/gconv_int.h: Likewise.
20416         * iconv/gconv_builtin.h: Likewise.
20417         * iconv/iconv_prog.c: Remove CHAR16 handling.
20419         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20421         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20423         * configure.in: Remove --with-elf and --enable-bounded options.
20424         Dont set base_machine for ia64.  More non-ELF conditions removed.
20425         Remove testing and setting of leading underscore information.
20426         * config.make.in (build-bounded): Set to no.
20427         * config.h.in: Remove NO_UNDERSCORES entry.
20428         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
20429         them.
20430         * csu/start.c: Remove !NO_UNDERSCORE code.
20431         * locale/localeinfo.h: Likewise.
20432         * sysdeps/generic/machine-gmon.h: Likewise.
20433         * sysdeps/generic/sysdep.h: Likewise.
20434         * sysdeps/i386/sysdep.h: Likewise.
20435         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20436         * sysdeps/mach/sysdep.h: Likewise.
20437         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20438         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20439         * sysdeps/sh/sysdep.h: Likewise.
20440         * sysdeps/sparc/sparc32/alloca.S: Likewise.
20441         * sysdeps/unix/i386/sysdep.S: Likewise.
20442         * sysdeps/unix/sparc/start.c: Likewise.
20443         * sysdeps/unix/sparc/sysdep.S: Likewise.
20444         * sysdeps/unix/sparc/sysdep.h: Likewise.
20445         * sysdeps/unix/start.c: Likewise.
20446         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20447         * sysdeps/x86_64/sysdep.h: Likewise.
20449 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
20451         [BZ #13553]
20452         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20453         for non-gcc.
20454         * argp/argp-fmtstream.h: Use const instead __const.
20455         * argp/argp.h: Likewise.
20456         * assert/assert.h: Likewise.
20457         * bits/fenv.h: Likewise.
20458         * bits/sched.h: Likewise.
20459         * bits/sigset.h: Likewise.
20460         * bits/sigthread.h: Likewise.
20461         * catgets/nl_types.h: Likewise.
20462         * conform/data/pthread.h-data: Likewise.
20463         * crypt/crypt-private.h: Likewise.
20464         * crypt/crypt.h: Likewise.
20465         * crypt/crypt_util.c: Likewise.
20466         * ctype/ctype.h: Likewise.
20467         * debug/execinfo.h: Likewise.
20468         * debug/mbsnrtowcs_chk.c: Likewise.
20469         * debug/mbsrtowcs_chk.c: Likewise.
20470         * debug/wcsnrtombs_chk.c: Likewise.
20471         * debug/wcsrtombs_chk.c: Likewise.
20472         * debug/wcstombs_chk.c: Likewise.
20473         * dirent/dirent.h: Likewise.
20474         * dlfcn/dlfcn.h: Likewise.
20475         * elf/neededtest4.c: Likewise.
20476         * grp/grp.h: Likewise.
20477         * gshadow/gshadow.h: Likewise.
20478         * iconv/gconv.h: Likewise.
20479         * iconv/gconv_int.h: Likewise.
20480         * iconv/gconv_simple.c: Likewise.
20481         * iconv/iconv.h: Likewise.
20482         * iconv/loop.c: Likewise.
20483         * iconv/skeleton.c: Likewise.
20484         * include/aio.h: Likewise.
20485         * include/aliases.h: Likewise.
20486         * include/argz.h: Likewise.
20487         * include/arpa/inet.h: Likewise.
20488         * include/assert.h: Likewise.
20489         * include/dirent.h: Likewise.
20490         * include/dlfcn.h: Likewise.
20491         * include/execinfo.h: Likewise.
20492         * include/fcntl.h: Likewise.
20493         * include/fenv.h: Likewise.
20494         * include/glob.h: Likewise.
20495         * include/grp.h: Likewise.
20496         * include/libintl.h: Likewise.
20497         * include/mntent.h: Likewise.
20498         * include/netdb.h: Likewise.
20499         * include/pwd.h: Likewise.
20500         * include/rpc/netdb.h: Likewise.
20501         * include/sched.h: Likewise.
20502         * include/search.h: Likewise.
20503         * include/shadow.h: Likewise.
20504         * include/signal.h: Likewise.
20505         * include/stdio.h: Likewise.
20506         * include/stdlib.h: Likewise.
20507         * include/string.h: Likewise.
20508         * include/sys/socket.h: Likewise.
20509         * include/sys/stat.h: Likewise.
20510         * include/sys/statfs.h: Likewise.
20511         * include/sys/statvfs.h: Likewise.
20512         * include/sys/syslog.h: Likewise.
20513         * include/sys/time.h: Likewise.
20514         * include/sys/uio.h: Likewise.
20515         * include/time.h: Likewise.
20516         * include/unistd.h: Likewise.
20517         * include/utmp.h: Likewise.
20518         * include/wchar.h: Likewise.
20519         * include/wctype.h: Likewise.
20520         * inet/aliases.h: Likewise.
20521         * inet/arpa/inet.h: Likewise.
20522         * inet/netinet/ether.h: Likewise.
20523         * inet/netinet/in.h: Likewise.
20524         * intl/libintl.h: Likewise.
20525         * io/bits/fcntl2.h: Likewise.
20526         * io/fcntl.h: Likewise.
20527         * io/ftw.h: Likewise.
20528         * io/sys/poll.h: Likewise.
20529         * io/sys/stat.h: Likewise.
20530         * io/sys/statfs.h: Likewise.
20531         * io/sys/statvfs.h: Likewise.
20532         * io/utime.h: Likewise.
20533         * libio/bits/stdio.h: Likewise.
20534         * libio/bits/stdio2.h: Likewise.
20535         * libio/libio.h: Likewise.
20536         * libio/libioP.h: Likewise.
20537         * libio/stdio.h: Likewise.
20538         * locale/lc-ctype.c: Likewise.
20539         * locale/locale.h: Likewise.
20540         * login/utmp.h: Likewise.
20541         * malloc/arena.c: Likewise.
20542         * malloc/malloc.c: Likewise.
20543         * malloc/malloc.h: Likewise.
20544         * malloc/mcheck.c: Likewise.
20545         * malloc/mtrace.c: Likewise.
20546         * math/bits/mathcalls.h: Likewise.
20547         * math/fenv.h: Likewise.
20548         * math/math_private.h: Likewise.
20549         * misc/bits/error.h: Likewise.
20550         * misc/bits/syslog.h: Likewise.
20551         * misc/err.h: Likewise.
20552         * misc/error.h: Likewise.
20553         * misc/fstab.h: Likewise.
20554         * misc/mntent.h: Likewise.
20555         * misc/regexp.h: Likewise.
20556         * misc/search.h: Likewise.
20557         * misc/sgtty.h: Likewise.
20558         * misc/sys/mman.h: Likewise.
20559         * misc/sys/syslog.h: Likewise.
20560         * misc/sys/uio.h: Likewise.
20561         * misc/sys/xattr.h: Likewise.
20562         * misc/ttyent.h: Likewise.
20563         * nis/rpcsvc/ypclnt.h: Likewise.
20564         * nss/nss.h: Likewise.
20565         * posix/bits/unistd.h: Likewise.
20566         * posix/fnmatch.h: Likewise.
20567         * posix/glob.h: Likewise.
20568         * posix/sched.h: Likewise.
20569         * posix/spawn.h: Likewise.
20570         * posix/sys/wait.h: Likewise.
20571         * posix/unistd.h: Likewise.
20572         * posix/wordexp.h: Likewise.
20573         * pwd/pwd.h: Likewise.
20574         * resolv/netdb.h: Likewise.
20575         * resource/sys/resource.h: Likewise.
20576         * rt/aio.h: Likewise.
20577         * rt/bits/mqueue2.h: Likewise.
20578         * rt/mqueue.h: Likewise.
20579         * shadow/shadow.h: Likewise.
20580         * signal/signal.h: Likewise.
20581         * socket/send.c: Likewise.
20582         * socket/sendto.c: Likewise.
20583         * socket/sys/socket.h: Likewise.
20584         * stdio-common/printf.h: Likewise.
20585         * stdlib/bits/stdlib.h: Likewise.
20586         * stdlib/fmtmsg.h: Likewise.
20587         * stdlib/monetary.h: Likewise.
20588         * stdlib/stdlib.h: Likewise.
20589         * stdlib/ucontext.h: Likewise.
20590         * streams/stropts.h: Likewise.
20591         * string/argz.h: Likewise.
20592         * string/bits/string2.h: Likewise.
20593         * string/string.h: Likewise.
20594         * string/strings.h: Likewise.
20595         * sunrpc/rpc/auth.h: Likewise.
20596         * sunrpc/rpc/auth_des.h: Likewise.
20597         * sunrpc/rpc/clnt.h: Likewise.
20598         * sunrpc/rpc/netdb.h: Likewise.
20599         * sunrpc/rpc/pmap_clnt.h: Likewise.
20600         * sunrpc/rpc/xdr.h: Likewise.
20601         * sysdeps/generic/inttypes.h: Likewise.
20602         * sysdeps/generic/net/if.h: Likewise.
20603         * sysdeps/generic/sys/swap.h: Likewise.
20604         * sysdeps/gnu/net/if.h: Likewise.
20605         * sysdeps/gnu/utmpx.h: Likewise.
20606         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20607         * sysdeps/i386/i486/bits/string.h: Likewise.
20608         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20609         * sysdeps/s390/bits/string.h: Likewise.
20610         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20611         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20612         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20613         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20614         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20615         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20616         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20617         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20618         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20619         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20620         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20621         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20622         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20623         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20624         * sysdeps/unix/sysv/linux/readv.c: Likewise.
20625         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20626         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20627         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20628         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20629         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20630         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20631         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20632         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20633         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20634         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20635         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20636         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20637         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20638         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20639         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20640         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20641         * sysvipc/sys/ipc.h: Likewise.
20642         * sysvipc/sys/msg.h: Likewise.
20643         * sysvipc/sys/sem.h: Likewise.
20644         * sysvipc/sys/shm.h: Likewise.
20645         * termios/termios.h: Likewise.
20646         * time/sys/time.h: Likewise.
20647         * time/time.h: Likewise.
20648         * wcsmbs/bits/wchar2.h: Likewise.
20649         * wcsmbs/uchar.h: Likewise.
20650         * wcsmbs/wchar.h: Likewise.
20651         * wctype/wctype.h: Likewise.
20653         [BZ #13551]
20654         * Makeconfig: Remove all but ELF support including AIX support.
20655         * Makerules: Likewise.
20656         * config.h.in: Likewise.
20657         * config.make.in: Likewise.
20658         * configure: Likewise.
20659         * configure.in: Likewise.
20660         * csu/Makefile: Likewise.
20661         * csu/version.c: Likewise.
20662         * debug/Makefile: Likewise.
20663         * dlfcn/Makefile: Likewise.
20664         * elf/Makefile: Likewise.
20665         * extra-lib.mk: Likewise.
20666         * iconv/Makefile: Likewise.
20667         * include/libc-symbols.h: Likewise.
20668         * include/shlib-compat.h: Likewise.
20669         * resolv/Makefile: Likewise.
20670         * resolv/res_libc.c: Likewise.
20671         * rt/Makefile: Likewise.
20672         * sysdeps/i386/asm-syntax.h: Likewise.
20673         * sysdeps/i386/sysdep.h: Likewise.
20674         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20675         * sysdeps/mach/sysdep.h: Likewise.
20676         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20677         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20678         * sysdeps/s390/asm-syntax.h: Likewise.
20679         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20680         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20681         * sysdeps/sh/sysdep.h: Likewise.
20682         * sysdeps/unix/sparc/sysdep.h: Likewise.
20683         * sysdeps/wordsize-32/divdi3.c: Likewise.
20684         * sysdeps/x86_64/sysdep.h: Likewise.
20686         * argp/Versions: Remove _argp_unlock_xxx.
20688         [BZ #13559]
20689         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
20690         * abilist/libBrokenLocale.abilist: Likewise.
20691         * abilist/libanl.abilist: Likewise.
20692         * abilist/libc.abilist: Likewise.
20693         * abilist/libcrypt.abilist: Likewise.
20694         * abilist/libdl.abilist: Likewise.
20695         * abilist/libm.abilist: Likewise.
20696         * abilist/libnsl.abilist: Likewise.
20697         * abilist/libpthread.abilist: Likewise.
20698         * abilist/libresolv.abilist: Likewise.
20699         * abilist/librt.abilist: Likewise.
20700         * abilist/libthread_db.abilist: Likewise.
20701         * abilist/libutil.abilist: Likewise.
20702         * abilist/libnss_db.abilist: New file.
20704         * scripts/abilist.awk: Add support for indirect functions.
20706         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20708         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20710         * shlib-versions: Remove entries for ports architectures.
20712         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
20713         files in ports.
20714         * elf/stackguard-macros.h: Remove support for IA-64.
20715         * elf/tst-auditmod1.c: Likewise.
20716         * sysdeps/generic/ldsodefs.h: Likewise.
20718         * sysdeps/unix/sysv/linux/configure.in: Ports should define
20719         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20720         configure files.
20722         [BZ #13552]
20723         * configure.in: Remove --enable-omitfp support.
20724         * FAQ.in: Adjust.
20725         * config.make.in: Likewise.
20726         * Makeconfig: Likewise.
20727         * manual/install.texi: Likewise.
20729         In case anyone cares, the IA-64 architecture could move to ports.
20730         * sysdeps/ia64/*: Removed.
20731         * sysdeps/unix/sysv/linux/ia64/*: Removed.
20732         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20734         [BZ #13555]
20735         * configure.in: Remove entries for unsupported architectures.
20737         [BZ #13533]
20738         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20739         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
20740         routines.
20741         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20742         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20743         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
20744         fall back to using wcrtomb.
20745         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20746         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
20747         renaming.
20748         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20749         * wcsmbs/tst-c16c32-1.c: New file.
20751         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20752         local variable.
20754         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20756         * elf/tst-unique3.cc: Add explicit declaration of gets.
20757         * elf/tst-unique3lib.cc: Likewise.
20758         * elf/tst-unique3lib2.cc: Likewise.
20759         * elf/tst-unique4.cc: Likewise.
20761         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20763 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
20765         [BZ #13566]
20766         * assert/assert.h (static_assert): Don't define for C++.
20767         * libio/stdio.h (gets): Do declare for C++ <= C++11.
20768         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20770 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
20772         * iconv/loop.c (single loop): Fix assertion in storing of
20773         remaining bytes.
20775         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20777 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
20779         * posix/getconf.c: Update copyright year.
20780         * nss/getent.c: Likewise.
20781         * nss/makedb.c: Likewise.
20782         * iconv/iconvconfig.c: Likewise.
20783         * iconv/iconv_prog.c: Likewise.
20784         * elf/ldconfig.c: Likewise.
20785         * elf/pldd.c: Likewise.
20786         * elf/sotruss.ksh: Likewise.
20787         * catgets/gencat.c: Likewise.
20788         * csu/version.c: Likewise.
20789         * elf/ldd.bash.in: Likewise.
20790         * elf/sprof.c (print_version): Likewise.
20791         * locale/programs/locale.c: Likewise.
20792         * locale/programs/localedef.c: Likewise.
20793         * login/programs/pt_chown.c: Likewise.
20794         * nscd/nscd.c (print_version): Likewise.
20795         * debug/xtrace.sh: Likewise.
20796         * malloc/memusage.sh: Likewise.
20797         * malloc/mtrace.pl: Likewise.
20798         * debug/catchsegv.sh: Likewise.
20800 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
20802         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20803         pure attribute.
20805 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
20807         [BZ #13533]
20808         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20809         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20810         transformations.
20811         * iconv/gconv_int.h: Likewise.
20812         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20813         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20814         from libc for GLIBC_2.16.
20815         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20816         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20817         * wcsmbs/uchar.h: Really define mbstate_t.
20818         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20819         * wcsmbs/c16rtomb.c: New file.
20820         * wcsmbs/mbrtoc16.c: New file.
20821         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20822         for C/POSIX locale.
20823         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20824         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20826         * wcsmbs/wchar.h: Add missing __restrict.
20828 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20830         [BZ #13532]
20831         * time/Makefile (routines): Add timespec_get.
20832         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20833         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
20834         timespec for ISO C11.
20835         * time/timespec_get.c: New file.
20836         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20837         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20839         [BZ #13531]
20840         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20841         * stdlib/stdlib.h: Declare aligned_alloc.
20842         * Versions.def: Add GLIBC_2.16 for libc.
20843         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20845         [BZ 13527]
20846         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20847         ISO C11.
20849         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20850         code.
20852         [BZ #13528]
20853         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20855         [BZ #13529]
20856         * assert/assert.h (static_assert): Define.
20858         * version.h: Update for 2.16 development version.
20860         [BZ #13526]
20861         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20862         _ISOC11_SOURCE.
20864         * version.h (RELEASE): Bump for 2.15 release.
20865         * include/features.h (__GLIBC_MINOR__): Bump to 15.
20867         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20868         Patch by Marek Polacek <mpolacek@redhat.com>.
20870         * bits/byteswap.h: Protect long long constants with __extension__.
20871         * sysdeps/i386/bits/byteswap.h: Likewise.
20872         * sysdeps/ia64/bits/byteswap.h: Likewise.
20873         * sysdeps/s390/bits/byteswap.h: Likewise.
20874         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20876 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20878         [BZ #13540]
20879         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20880         destination buffer.
20881         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20883 2011-12-23  Marek Polacek  <polacek@redhat.com>
20885         * elf/dl-addr.c (determine_info): Add inline keyword.
20886         * elf/tst-auditmod4b.c (check_avx): Likewise.
20887         * elf/tst-auditmod6b.c (check_avx): Likewise.
20888         * elf/tst-auditmod6c.c (check_avx): Likewise.
20889         * elf/tst-auditmod7b.c (check_avx): Likewise.
20891 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20893         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20894         !__SSE_MATH__.
20896 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20898         [BZ #13540]
20899         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20900         processing for last bytes.
20902 2011-08-06  Bruno Haible  <bruno@clisp.org>
20904         [BZ #13061]
20905         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20906         U+0385, not to U+1FEE.
20908         [BZ #13062]
20909         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20910         entry for U+00A5 U+0301.
20912 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20914         [BZ #13166]
20915         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20916         buffer for the output is too small.
20918         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20919         optimization.
20921         [BZ #13185]
20922         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20923         SSE flags if possible.
20925 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20927         [BZ #13540]
20928         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20929         processing for last bytes.
20931 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
20933         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20934         (syscall-list-default-options, syscall-list-default-condition)
20935         (syscall-list-includes): Define.
20936         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20937         list of ABIs and options and #if conditions for each ABI.  Do not
20938         handle common syscalls between ABIs specially.
20939         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20940         Remove.
20941         (syscall-list-variants, syscall-list-32bit-options)
20942         (syscall-list-32bit-condition, syscall-list-64bit-options)
20943         (syscall-list-64bit-condition): Define.
20944         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20945         (syscall-list-variants, syscall-list-32bit-options)
20946         (syscall-list-32bit-condition, syscall-list-64bit-options)
20947         (syscall-list-64bit-condition): Define.
20948         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20949         Remove.
20950         (syscall-list-variants, syscall-list-32bit-options)
20951         (syscall-list-32bit-condition, syscall-list-64bit-options)
20952         (syscall-list-64bit-condition): Define.
20953         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20954         Remove.
20955         (syscall-list-variants, syscall-list-32bit-options)
20956         (syscall-list-32bit-condition, syscall-list-64bit-options)
20957         (syscall-list-64bit-condition): Define.
20959 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20961         * locale/iso-639.def: Add brx entry.
20963         [BZ #13328]
20964         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20965         Proposed by Mariusz_Cukr <marcukr@op.pl>.
20967         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20968         __feraiseexcept_renamed.
20970 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20972         [BZ #13538]
20973         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20974         EPOLLET with unsigned values.
20975         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20976         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20978         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20979         to large cancellation.
20980         * math/s_cacoshf.c: Likewise.
20981         * math/s_cacoshl.c: Likewise.
20983 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
20985         [BZ #13305]
20986         [BZ #12786]
20987         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20988         * math/s_cacoshf.c: Likewise.
20989         * math/s_cacoshl.c: Likewise.
20991 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20993         [BZ #13439]
20994         * iconv/gconv.h: Define __GCONV_SWAP.
20995         * iconvdata/unicode.c: The swap bit must be stored in __flags.
20996         * iconvdata/utf-16.c: Likewise.
20997         * iconvdata/utf-32.c: Likewise.
20999 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21001         [BZ #13524]
21002         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21003         numerator after shifting it by one limb.
21005 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
21007         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21008         under [__USE_EXTERN_INLINES].
21010 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21012         [BZ #13446]
21013         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21015 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21017         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21018         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21019         optimized code.
21020         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21021         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21022         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21023         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21024         for strncasecmp/strncasecmp_l compilation.
21025         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21026         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21028 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
21030         [BZ #13484]
21031         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21032         of __asm__.
21034 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21036         [BZ #13506]
21037         * time/tzfile.c (__tzfile_read): Check values from file header.
21039 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21041         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21042         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21043         * powerpc/powerpc32/dl-start.S: Likewise.
21044         * powerpc/powerpc32/elf/start.S: Likewise.
21045         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21046         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21047         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21048         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21049         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21050         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21051         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21052         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21053         * powerpc/powerpc32/fpu/s_round.S: Likewise.
21054         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21055         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21056         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21057         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21058         * powerpc/powerpc32/memset.S: Likewise.
21059         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21060         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21061         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21062         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21063         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21064         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21065         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21066         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21067         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21068         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21069         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21070         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21071         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21073 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21075         * math/libm-test.inc: Added more nearbyint tests.
21076         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21077         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21078         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21079         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21081 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
21083         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21084         FD_CLOEXEC.
21086 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21088         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21089         Add wcscpy-ssse3 wcscpy-c.
21090         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21091         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21092         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21093         * sysdeps/x86_64/wcschr.S: New file.
21094         * sysdeps/x86_64/wcsrchr.S: New file.
21095         * string/test-strcmp.c: Remove checking of wcscmp function for
21096         wrong alignments.
21097         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21098         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21099         wcsrchr-sse2 wcsrchr-c.
21100         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21101         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21102         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21103         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21104         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21105         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21106         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21107         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21108         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21109         * wcsmbc/wcschr.c (WCSCHR): New macro.
21111 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21113         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21114         * wcsmbs/test-wcsrchr.c: New file.
21115         * string/test-strrchr.c: Add wcsrchr support.
21116         (WIDE): New macro.
21117         * wcsmbs/test-wcscpy.c: New file.
21118         * string/test-strcpy.c: Add wcscpy support.
21119         (WIDE): New macro.
21121 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
21123         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21124         the inner loop.
21126 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
21128         [BZ #13472]
21129         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21131 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
21133         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21134         Minor optimizations.
21136         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21137         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21138         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21140 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
21142         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21143         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21144         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21145         for gcc to avoid warnings.
21146         * inet/Makefile (tests): Add tst-checks.
21147         * inet/tst-checks.c: New file.
21149         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21150         warning.
21152         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21153         __wmemcmp_sse2.
21155         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21156         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21158         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21160 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
21162         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21163         problem.
21165         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21167 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
21169         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21170         conditional on GCC version.
21171         (__arch_compare_and_exchange_val_8_acq)
21172         (__arch_compare_and_exchange_val_16_acq)
21173         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21174         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21175         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21177 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
21179         * sysdeps/sh/backtrace.c: New file.
21181 2011-12-02  Andreas Schwab  <schwab@redhat.com>
21183         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
21184         parenthesis.
21186 2011-12-01  Andreas Schwab  <schwab@redhat.com>
21188         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21189         falling back to utime.
21191 2011-11-30  Andreas Schwab  <schwab@redhat.com>
21193         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21194         expectations for float.
21196 2011-11-29  Andreas Schwab  <schwab@redhat.com>
21198         * locale/weight.h (findidx): Add parameter len.
21199         * locale/weightwc.h (findidx): Likewise.
21200         * posix/fnmatch_loop.c (FCT): Adjust caller.
21201         * posix/regcomp.c (build_equiv_class): Likewise.
21202         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21203         * posix/regexec.c (check_node_accept_bytes): Likewise.
21204         * string/strcoll_l.c (STRCOLL): Likewise.
21205         * string/strxfrm_l.c (STRXFRM): Likewise.
21207 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
21209         * Makefile.in: Remove CVSOPT handling.
21210         * configure.in: Remove use of AC_REVISION.
21211         * iconvdata/Makefile (distribute): No need to filter out CVS.
21212         * scripts/list-sources.sh: Remove CVS, subversion and monotone
21213         handling.
21215 2011-11-16  Andreas Schwab  <schwab@redhat.com>
21217         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21218         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21219         [USE_AS_STRNCASECMP_L]: Likewise.
21220         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21221         NO_TLS_DIRECT_SEG_REFS.
21222         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21223         Fix argument offsets for non-PIC.
21224         [USE_AS_STRNCASECMP_L]: Likewise.
21225         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21226         NO_TLS_DIRECT_SEG_REFS.
21228 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21230         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21231         O_CLOEXEC.
21232         * locale/loadlocale.c (_nl_load_locale): Likewise.
21234 2011-11-15  Andreas Schwab  <schwab@redhat.com>
21236         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21237         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21238         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21239         (SYSCALL_GETTIME): Set errno on error.
21241         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21242         count references to noai6ai_cached.
21244 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21246         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21248         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21249         FD_CLOEXEC for /proc/self/maps.
21251         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21252         FD_CLOEXEC for /proc/meminfo.
21254         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21255         gai.conf.
21257         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
21258         FD_CLOEXEC for given file.
21260         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21262         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21263         FD_CLOEXEC for /etc/hosts.
21264         (_gethtent): Likewise.
21266         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21268         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21269         cancellation and set FD_CLOEXEC for /etc/netgroup.
21271         * nss/nss_files/files-key.c (search): Don't allow cancellation when
21272         reading /etc/publickey.
21274         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21275         allow cancellation when reading /etc/group.
21277         * nss/nss_files/files-alias.c (internal_setent): Don't allow
21278         cancellation.
21279         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
21281         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21282         when using data file.
21284         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21286         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21287         (write_nis_obj): Use "c" and "e" in fopen.
21289         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21291         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21293         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21295         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21297         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21298         locale.alias.
21300         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21302         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21304         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21306         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21307         file parsing and set FD_CLOEXEC.
21309 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21311         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21313 2011-11-14  Andreas Schwab  <schwab@redhat.com>
21315         * malloc/arena.c (arena_get2): Don't call reused_arena when
21316         _int_new_arena failed.
21318 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21320         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21321         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21322         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21323         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21324         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21325         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21326         to compile strcasecmp and strncasecmp.
21327         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21328         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21330         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21332 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
21334         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21335         locale-defines.sym to gen-as-const-headers.
21336         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21337         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21338         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21339         to compile strcasecmp and strncasecmp.
21340         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21341         strcasecmp_l and strncasecmp_l.
21342         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21343         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21344         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21345         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21346         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21347         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21348         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21349         * sysdeps/i386/i686/multiarch/strncase.S: New file.
21350         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21351         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21352         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21354 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
21356         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21357         result of SYSDEP_GETTIME_CPU to retval.
21358         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21359         parameter list to macro.  Remove trailing semicolon.  Adjust users.
21361         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21362         variable.
21364         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21365         mantissa words.
21366         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21368         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21369         from unused variable.
21371         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21372         DWARF definitions.
21373         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21374         for assembling.
21376         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21377         over namespaces.
21379         * sunrpc/rpc_prot.c (rejected): Fix case value.
21381         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21382         unsigned long long int to avoid warnings in shift.
21384         * posix/regex_internal.c (re_string_reconstruct): Actually use result
21385         of use of trans.
21386         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21387         variable tmp.
21389         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21390         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21391         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21393         * nis/nis_table.c (nis_list): Use variable of correct type for
21394         result of __follow_path call.
21396 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21398         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21399         of math functions ceil, trunc, floor, round, and sqrt, when
21400         avaliable on the platform.
21401         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21402         name clash.
21403         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21404         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21405         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21407 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
21409         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21410         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21412 2011-11-11  Roland McGrath  <roland@hack.frob.com>
21414         * include/unistd.h: Fix __readlink return type.
21415         Reported by Chris Metcalf <cmetcalf@tilera.com>.
21417 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
21419         * stdlib/ucontext.h: Undo last change for makecontext.
21421 2011-11-11  Andreas Schwab  <schwab@redhat.com>
21423         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21425         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21426         * setjmp/setjmp.h: Mark functions as non-leaf.
21427         * setjmp/bits/setjmp2.h: Likewise.
21428         * stdlib/ucontext.h: Likewise.
21430 2011-11-10  Andreas Schwab  <schwab@redhat.com>
21432         * malloc/arena.c (_int_new_arena): Don't increment narenas.
21433         (reused_arena): Don't check arena limit.
21434         (arena_get2): Atomically check arena limit.
21436 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
21438         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21439         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21441         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21442         instructions.
21444 2011-11-07  Andreas Schwab  <schwab@redhat.com>
21446         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21447         handler when locking.
21449         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21450         Fix size of allocated buffer.
21452 2011-11-04  Andreas Schwab  <schwab@redhat.com>
21454         [BZ #10103]
21455         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21456         declarations for long double functions.
21457         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21459         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21461 2011-11-03  Andreas Schwab  <schwab@redhat.com>
21463         * nscd/nscd.c (main): Don't start AVC thread until credentials are
21464         installed.
21466         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21467         is disabled.
21469 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21471         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21473 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21475         * include/alloca.h (stackinfo_alloca_round): Define.
21476         (extend_alloca): Use it.
21477         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21478         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21479         here.
21481         * scripts/check-local-headers.sh: Ignore libaudit.h.
21483         * nscd/Makefile (extra-objs): Make recursively expanded.
21485 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
21487         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21488         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21490         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21491         * posix/tst-rfc3484-2.c: Likewise.
21492         * posix/tst-rfc3484-3.c: Likewise.
21494         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21495         process_vm_writev.
21496         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21497         process_vm_writev.
21498         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21499         process_vm_writev from libc using GLIBC_2.15 version.
21501         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21503 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
21505         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21506         stack usage.
21508 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
21510         [BZ #13367]
21511         * nss/getent.c (initgroups_keys): Show error message in case no group
21512         names are given.
21514         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21515         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21516         __bump_nl_timestamp.
21517         * nscd/connections (nscd_init): When host database is served open
21518         netlink socket and request notification about configuration changes.
21519         (main_loop_poll): Track netlink file descriptor and bump timestamp
21520         in case data becomes available.
21521         (main_loop_epoll): Likewise.
21522         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21523         (database_pers_head): Add extra_data fileds.
21524         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21525         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21526         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21527         Adjust caller.
21528         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21529         in6ai data, call __free_in6ai.
21530         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21531         Add -DHAVE_NETLINK.
21532         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
21533         interface information.  Reuse previous data if netlink timestamp
21534         is not changed.
21535         (__bump_nl_timestamp): New function.
21536         (__free_in6ai): New function.
21538 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
21540         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21541         close_not_cancel_no_status here.
21542         (__check_pf): Reorganize code a bit to not call close twice if OOM.
21544 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21546         [BZ #13276]
21547         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21548         return value.
21550         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21551         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21552         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21554 2011-07-03  Andreas Jaeger  <aj@suse.de>
21556         [BZ #10709]
21557         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21558         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21559         * math/libm-test.inc (sin_test): Add test case.
21561 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21563         [BZ #13337]
21564         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21565         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21567         * elf/chroot_canon.c (chroot_canon): Cleanups.
21569         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21571         [BZ #13335]
21572         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21573         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21575         * string/test-strchr.c: Make usable for strchrnul testing.
21576         * string/test-strchrnul.c: New file.
21577         * string/Makefile (strop-tests): Add strchrnul.
21579         * po/it.po: Update from translation team.
21580         * po/es.po: Likewise.
21582 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
21584         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21585         the three constants needed as parameters.  Drop the others.
21586         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21587         __m128i_strloadu_tolower.
21588         Create and initialize variable zero and use it in all the places
21589         where _mm_setzero_si128 was used.
21591         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21592         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21593         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21594         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21595         anymore.
21596         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21597         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21598         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21599         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21600         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21601         __mpranred, __mptan.
21602         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21603         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21604         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21605         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21606         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21607         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21608         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21609         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21610         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21612 2011-10-28  Andreas Schwab  <schwab@redhat.com>
21614         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21615         redefine if SHARED.
21616         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21618         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21619         wide char related routines to wcsmbs subdir.
21621 2011-10-27  Andreas Schwab  <schwab@redhat.com>
21623         [BZ #13344]
21624         * misc/sys/cdefs.h (__THROWNL): Define.
21625         * posix/unistd.h: Use __THREADNL instead of __THREAD
21626         for memory synchronization functions.
21628 2011-10-26  Roland McGrath  <roland@hack.frob.com>
21630         [BZ #13349]
21631         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21632         doesn't exist.
21633         * manual/stdio.texi (Obstack Streams): Node removed.
21635 2011-10-26  Andreas Schwab  <schwab@redhat.com>
21637         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21638         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21639         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21641         * math/math_private.h (math_force_eval): Allow non-addressable
21642         arguments.
21643         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21645 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21647         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21648         file is not needed.
21650         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21651         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21652         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21653         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21654         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21655         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21656         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21657         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21658         Add AVX variants.
21659         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21660         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21661         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21662         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21663         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21664         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21665         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21666         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21667         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21668         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21669         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21670         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21671         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21672         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21673         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21674         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21675         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21676         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21677         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21679         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21680         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
21682         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21683         place.  Use VEX encoding when compiling for AVX.
21685 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21687         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21688         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21690         * string/test-strchr.c (do_test): Don't generate NUL bytes.
21692 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21694         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21695         useless if() expression.
21696         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21697         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21698         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21699         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21700         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21701         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21702         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21703         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21704         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21705         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21706         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21707         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21708         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21709         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21710         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21711         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21712         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21713         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21714         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21716         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21718 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21720         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21721         condition.
21722         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21724 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21726         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21727         .text section.  Avoid duplicate constants.
21728         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21729         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21730         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21731         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21732         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21733         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21734         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21735         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21736         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21737         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21738         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21739         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21740         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21741         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21742         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21743         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21744         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21745         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21746         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21747         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21748         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21749         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21750         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21751         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21752         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21753         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21754         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21755         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21756         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21757         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21758         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21759         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21760         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21761         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21762         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21763         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21764         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21765         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21766         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21767         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21768         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21769         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21770         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21771         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21772         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21774 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
21776         * sysdeps/x86_64/dla.h: Move to ...
21777         * sysdeps/x86_64/fpu/dla.h: ...here.
21778         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21779         situations.  Use __builtin_fma only for gcc 4.6 and up.
21781         * config.make.in: Add have-mfma4 entry.
21782         * configure.in: Substitute libc_cv_cc_fma4.
21783         * math/Makefile (dbl-only-routines): Add sincostab.
21784         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21785         Use __sincostab not sincos.
21786         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21787         name is a macro.
21788         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21789         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21790         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21791         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
21792         using __copysign.
21793         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
21794         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
21795         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21796         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21797         and __inv.
21798         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21799         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21800         __copysign.
21801         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
21802         define aliases when function name is a macro.
21803         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21804         sysdeps/ieee754/dbl-64/sincos.tbl.
21805         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21806         fma4-enabled routines.
21807         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21808         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21809         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21810         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21811         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21812         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21813         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21814         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21815         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21816         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21817         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21818         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21819         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21820         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21821         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21822         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21823         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21824         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21825         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21826         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21827         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21828         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21829         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21830         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21831         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21832         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21833         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21834         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21835         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21836         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21838         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21839         rename.
21840         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21841         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21842         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21843         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21844         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21845         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21846         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21847         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21849 2011-10-24  Andreas Schwab  <schwab@redhat.com>
21851         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21853 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21855         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21857         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21858         prediction.
21859         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21861         * string/strnlen.c: Don't define STRNLEN, reverse logic.
21862         Remove unused variable magic_bits.
21863         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21865         * string/strnlen.c: Define and use STRNLEN macro.
21866         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21867         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21868         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21869         * wcsmbs/wcslen.c: Define and use WCSLEN.
21870         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21871         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21872         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21873         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21874         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21875         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21876         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21878 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21881         strnlen-sse2-no-bsf.
21882         Rename strlen-no-bsf to strlen-sse2-no-bsf.
21883         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21884         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21885         Add strnlen support.
21886         (USE_AS_STRNLEN): New macro.
21887         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21888         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21889         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21890         * sysdeps/x86_64/wcslen.S: New file.
21892 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
21894         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21895         XMM-moves are used for copying on small sizes.
21897 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21899         * wcsmbs/Makefile (strop-tests): Add wcschr.
21900         * wcsmbs/test-wcschr.c: New file.
21901         * string/test-strchr.c: Update.
21902         Add wcschr support.
21903         (WIDE): New macro.
21905 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21907         * wcsmbs/Makefile (strop-tests): Add wcslen.
21908         * wcsmbs/test-wcslen.c: New file.
21909         * string/test-strlen.c: Update.
21910         Add wcslen support.
21911         (WIDE): New macro.
21913 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21915         * po/it.po: Update from translation team.
21917 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21919         * sysdeps/x86_64/wcscmp.S: Update.
21920         Fix wrong comparison semantics.
21921         wcscmp shall use signed comparison not unsigned.
21922         Don't use substraction to avoid overflow bug.
21923         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21924         * wcsmbc/wcscmp.c: Likewise.
21925         * string/test-strcmp.c: Likewise.
21926         Add new tests to check cases with negative values.
21928 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21930         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21931         * sysdeps/x86_64/dla.h: ...here.  New file.
21932         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21933         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21934         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21935         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21936         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21937         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21938         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21939         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21940         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21942 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
21944         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21945         __ynl_finite aliases.
21947 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21949         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21951         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21952         define DLA_FMA.
21953         [DLA_FMA] (EMULV): Use DLA_FMA.
21954         [DLA_FMA] (MUL12): Use EMULV.
21955         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21956         that are not needed.
21957         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21958         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21959         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21960         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21961         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21962         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21963         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21965 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
21967         * math/s_nan.c: Undef __nan.
21968         * math/s_nanf.c: Undef __nanf.
21969         * math/s_nanl.c: Undef __nanl.
21970         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21971         "math_private.h".
21973 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21975         * math/s_catan.c: Add branch predictions.
21976         * math/s_catanf.c: Likewise.
21977         * math/s_catanh.c: Likewise.
21978         * math/s_catanhf.c: Likewise.
21979         * math/s_catanhl.c: Likewise.
21980         * math/s_catanl.c: Likewise.
21981         * math/s_cexp.c: Likewise.
21982         * math/s_cexpf.c: Likewise.
21983         * math/s_cexpl.c: Likewise.
21984         * math/s_clog.c: Likewise.
21985         * math/s_clog10.c: Likewise.
21986         * math/s_clog10f.c: Likewise.
21987         * math/s_clog10l.c: Likewise.
21988         * math/s_clogf.c: Likewise.
21989         * math/s_clogl.c: Likewise.
21990         * math/s_csqrt.c: Likewise.
21991         * math/s_csqrtf.c: Likewise.
21992         * math/s_csqrtl.c: Likewise.
21993         * math/s_ctanf.c: Likewise.
21994         * math/s_ctanh.c: Likewise.
21995         * math/s_ctanhf.c: Likewise.
21996         * math/s_ctanhl.c: Likewise.
21997         * math/s_ctanl.c: Likewise.
21999         * math/math_private.h: Define __nan, __nanf, __nanl.
22000         * math/s_cacosh.c: Include <math_private.h>.
22001         * math/s_cacoshl.c: Likewise.
22002         * math/s_casinh.c: Likewise.
22003         * math/s_casinhf.c: Likewise.
22004         * math/s_casinhl.c: Likewise.
22005         * math/s_ccos.c: Rely entire on ccosh.
22006         * math/s_ccosf.c: Rely entire on ccoshf.
22007         * math/s_ccosl.c: Rely entirely on ccoshl.
22008         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
22009         Remove tests for FE_INVALID.
22010         * math/s_ccoshf.c: Likewise.
22011         * math/s_ccoshl.c: Likewise.
22012         * math/s_csin.c: Likewise.
22013         * math/s_csinf.c: Likewise.
22014         * math/s_csinh.c Likewise.
22015         * math/s_csinhf.c: Likewise.
22016         * math/s_csinhl.c: Likewise.
22017         * math/s_csinl.c: Likewise.
22018         * math/s_ctan.c: Likewise.
22019         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22020         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22021         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22023 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
22025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22026         compilation problems.
22028         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22029         __builtin_expect.
22031 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
22033         * sysdeps/i386/configure.in: Test for -mfma4 option.
22034         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22035         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22036         COMMON_CPUID_INDEX_80000001.
22037         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22038         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22039         use it if FMA3 is not supported.
22040         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22042         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22043         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22045 2011-10-20  Andreas Schwab  <schwab@redhat.com>
22047         [BZ #12892]
22048         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22049         it would create a cycle with a link time dependency.
22051 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
22053         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22054         instruction.
22055         * string/Makefile (strop-tests): Add rawmemchr.
22056         * string/test-rawmemchr.c: New file.
22058         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22059         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
22060         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
22061         when compiling str{,n}casecmp and when AVX is available.  Hook up
22062         new optimized code in initializers.
22064 2011-10-19  Andreas Schwab  <schwab@redhat.com>
22066         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22067         __feraiseexcept instead of feraiseexcept.
22069 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
22071         * math/math_private.h: Define defaults for libc_fetestexcept and
22072         libc_feupdateenv.
22073         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22074         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22075         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22076         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22077         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22078         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22079         libc_fetestexcept and libc_feupdateenv.
22081         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22082         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22083         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22084         * sysdeps/x86_64/fpu/math_private.h: Define special version of
22085         libc_feholdexcept_setround.
22087         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22088         Add s_nearbyint-c and s_nearbyintf-c.
22089         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22090         nearbyintf inlines.
22091         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22092         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22093         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22094         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22096         * math/math_private.h: Define defaults for libc_fegetround,
22097         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22098         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22099         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22100         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22101         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22102         standard functions.
22103         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22104         Remove comments and hacks for old compiler versions.
22105         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22106         libc_fegetround, libc_fesetround, libc_feholdexcept, and
22107         libc_feholdexceptl.
22109 2011-10-18  Andreas Schwab  <schwab@redhat.com>
22111         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22112         (__feraiseexcept_renamed): Add __NTH.
22113         (feraiseexcept): Add __NTH.  Rename local variables to fix
22114         namespace violations.
22116 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
22118         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22120         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22122         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22123         recently added interfaces.
22124         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22126         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22127         about macro parameter expansion.
22129         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22130         __NO_MATH_INLINES is defined.  Cleanups.
22132         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22133         and __floorf is target has SSE4.1.
22134         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22135         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22136         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22137         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22139         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22140         name.
22141         (floorf): Likewise.
22143         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22145 2011-10-17  Andreas Schwab  <schwab@redhat.com>
22147         * misc/sys/cdefs.h: Fix last change.
22149         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22150         database lookup.
22152 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
22154         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22156         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22157         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22158         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22159         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22160         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22161         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22162         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22163         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22164         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22165         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22166         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22167         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22168         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22169         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22170         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22171         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22172         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22173         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22174         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22175         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22176         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22177         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22179         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22180         ceil, ceilf, floor, floorf.
22182         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22183         Perform IRELATIVE relocations last.
22185         * elf/do-rel.h: Add another parameter nrelative, replacing the
22186         local variable with the same name.  Change name of the function
22187         to end in Rel or Rela (uppercase).
22188         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22189         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
22190         elf_dynamic_do_##reloc function.
22192 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22194         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22195         is sufficient, at least on modern CPUs.
22197         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22199         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22200         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22202         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22203         __expl_finite.
22204         * math/bits/math-finite.h: Add entries for exp.
22205         * math/e_expl.c: Add __*_finite alias.
22206         * sysdeps/i386/fpu/e_exp.S: Likewise.
22207         * sysdeps/i386/fpu/e_expf.S: Likewise.
22208         * sysdeps/i386/fpu/e_expl.c: Likewise.
22209         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22210         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22211         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22212         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22213         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22214         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22215         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22217         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22218         is sufficient, at least on modern CPUs.
22220         * ctype/ctype-info.c (__ctype_init): Define.
22221         * include/ctype.h (__ctype_init): Declare.
22222         (__ctype_b_loc): The variable is always initialized.
22223         (__ctype_toupper_loc): Likewise.
22224         (__ctype_tolower_loc): Likewise.
22225         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22226         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22228 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
22230         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22232         * configure.in: Also look in $cxxmachine/include for C++ system
22233         headers.
22235 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22237         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22238         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22239         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22240         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
22241         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22242         (USE_AS_WMEMCMP): New macro.
22243         Fixing indents.
22244         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22245         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22246         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22247         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22248         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22249         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22250         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22251         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22252         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22253         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22254         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22255         (USE_AS_WMEMCMP): New macro.
22256         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22257         * sysdeps/string/test-memcmp.c: Update.
22258         Fix simple_wmemcmp.
22259         Add new tests.
22260         * wcsmbs/wmemcmp.c: Update.
22261         (WMEMCMP): New macro.
22262         Fix overflow bug.
22264 2011-10-12  Andreas Jaeger  <aj@suse.de>
22266         [BZ #13268]
22267         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22269 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22271         * libio/iofwide.c (do_length): Avoid warning.
22273         * ctype/ctype.h (__isctype_f): Add missing __THROW.
22275 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
22277         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22279         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22280         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22281         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22282         * sysdeps/i386/i686/fpu/e_log.S: New file.
22283         * sysdeps/i386/i686/fpu/e_logf.S: New file.
22284         * sysdeps/i386/i686/fpu/e_logl.S: New file.
22286         * ctype/ctype.h: Add support for inlined isXXX functions when
22287         compiling C++ code.
22289 2011-10-14  Andreas Schwab  <schwab@redhat.com>
22291         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22293         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22295 2011-10-13  Roland McGrath  <roland@hack.frob.com>
22297         [BZ #13291]
22298         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22300 2011-10-13  Andreas Schwab  <schwab@redhat.com>
22302         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22303         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22304         feraiseexcept.
22306         * sysdeps/x86_64/memrchr.S: Check for zero size.
22308         * string/stratcliff.c: Add memrchr tests.
22310 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22312         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22313         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22314         rawmemchr-sse2 rawmemchr-sse2-bsf.
22315         * sysdeps/i386/i686/multiarch/memchr.S: New file.
22316         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22317         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22318         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22319         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22320         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22321         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22322         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22323         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22324         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22325         * string/memrchr.c (MEMRCHR): New macro.
22327 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
22329         Add integration with gcc's -ffinite-math-only and optimize wrapper
22330         functions in libm.
22331         * Versions.def: Define GLIBC_2.15 version for libm.
22332         * math/Makefile (headers): Add bits/math-finite.h.
22333         * math/bits/math-finite.h: New file.
22334         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22335         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22336         * math/e_acoshl.c: Add __*_finite alias.
22337         * math/e_acosl.c: Likewise.
22338         * math/e_asinl.c: Likewise.
22339         * math/e_atan2l.c: Likewise.
22340         * math/e_atanhl.c: Likewise.
22341         * math/e_coshl.c: Likewise.
22342         * math/e_exp10.c: Likewise.
22343         * math/e_exp10f.c: Likewise.
22344         * math/e_exp10l.c: Likewise.
22345         * math/e_exp2l.c: Likewise.
22346         * math/e_fmodl.c: Likewise.
22347         * math/e_gammal_r.c: Likewise.
22348         * math/e_hypotl.c: Likewise.
22349         * math/e_j0l.c: Likewise.
22350         * math/e_j1l.c: Likewise.
22351         * math/e_jnl.c: Likewise.
22352         * math/e_lgammal_r.c: Likewise.
22353         * math/e_log10l.c: Likewise.
22354         * math/e_log2l.c: Likewise.
22355         * math/e_logl.c: Likewise.
22356         * math/e_powl.c: Likewise.
22357         * math/e_sinhl.c: Likewise.
22358         * math/e_sqrtl.c: Likewise.
22359         * math/e_scalb.c: Completely rewritten and optimized.
22360         * math/e_scalbf.c: Likewise.
22361         * math/e_scalbl.c: Likewise.
22362         * math/w_acos.c: Likewise.
22363         * math/w_acosf.c: Likewise.
22364         * math/w_acosl.c: Likewise.
22365         * math/w_acosh.c: Likewise.
22366         * math/w_acoshf.c: Likewise.
22367         * math/w_acoshl.c: Likewise.
22368         * math/w_asin.c: Likewise.
22369         * math/w_asinf.c: Likewise.
22370         * math/w_asinl.c: Likewise.
22371         * math/w_atan2.c: Likewise.
22372         * math/w_atan2f.c: Likewise.
22373         * math/w_atan2l.c: Likewise.
22374         * math/w_atanh.c: Likewise.
22375         * math/w_atanhf.c: Likewise.
22376         * math/w_atanhl.c: Likewise.
22377         * math/w_exp10.c: Likewise.
22378         * math/w_exp10f.c: Likewise.
22379         * math/w_exp10l.c: Likewise.
22380         * math/w_fmod.c: Likewise.
22381         * math/w_fmodf.c: Likewise.
22382         * math/w_fmodl.c: Likewise.
22383         * math/w_j0.c: Likewise.
22384         * math/w_j0f.c: Likewise.
22385         * math/w_j0l.c: Likewise.
22386         * math/w_j1.c: Likewise.
22387         * math/w_j1f.c: Likewise.
22388         * math/w_j1l.c: Likewise.
22389         * math/w_jn.c: Likewise.
22390         * math/w_jnf.c: Likewise.
22391         * math/w_log.c: Likewise.
22392         * math/w_logf.c: Likewise.
22393         * math/w_logl.c: Likewise.
22394         * math/w_log10.c: Likewise.
22395         * math/w_log10f.c: Likewise.
22396         * math/w_log10l.c: Likewise.
22397         * math/w_log2.c: Likewise.
22398         * math/w_log2f.c: Likewise.
22399         * math/w_log2l.c: Likewise.
22400         * math/w_pow.c: Likewise.
22401         * math/w_powf.c: Likewise.
22402         * math/w_powl.c: Likewise.
22403         * math/w_remainder.c: Likewise.
22404         * math/w_remainderf.c: Likewise.
22405         * math/w_remainderl.c: Likewise.
22406         * math/w_scalb.c: Likewise.
22407         * math/w_scalbf.c: Likewise.
22408         * math/w_scalbl.c: Likewise.
22409         * math/w_sqrt.c: Likewise.
22410         * math/w_sqrtf.c: Likewise.
22411         * math/w_sqrtl.c: Likewise.
22412         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22413         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
22414         used.
22415         * math/math_private.h: Declare __kernel_standard_f.
22416         * math/w_cosh.c: Remove cruft and optimize a bit.
22417         * math/w_coshf.c: Likewise.
22418         * math/w_coshl.c: Likewise.
22419         * math/w_exp2.c: Likewise.
22420         * math/w_exp2f.c: Likewise.
22421         * math/w_exp2l.c: Likewise.
22422         * math/w_hypot.c: Likewise.
22423         * math/w_hypotf.c: Likewise.
22424         * math/w_hypotl.c: Likewise.
22425         * math/w_lgamma.c: Likewise.
22426         * math/w_lgamma_r.c: Likewise.
22427         * math/w_lgammaf.c: Likewise.
22428         * math/w_lgammaf_r.c: Likewise.
22429         * math/w_lgammal.c: Likewise.
22430         * math/w_lgammal_r.c: Likewise.
22431         * math/w_sinh.c: Likewise.
22432         * math/w_sinhf.c: Likewise.
22433         * math/w_sinhl.c: Likewise.
22434         * math/w_tgamma.c: Likewise.
22435         * math/w_tgammaf.c: Likewise.
22436         * math/w_tgammal.c: Likewise.
22437         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22438         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22439         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22440         Minor optimizations.  Pretty printing.  Remove cruft.
22441         * sysdeps/i386/fpu/e_acosf.S: Likewise.
22442         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22443         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22444         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22445         * sysdeps/i386/fpu/e_acosl.c: Likewise.
22446         * sysdeps/i386/fpu/e_asin.S: Likewise.
22447         * sysdeps/i386/fpu/e_asinf.S: Likewise.
22448         * sysdeps/i386/fpu/e_atan2.S: Likewise.
22449         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22450         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22451         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22452         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22453         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22454         * sysdeps/i386/fpu/e_exp10.S: Likewise.
22455         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22456         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22457         * sysdeps/i386/fpu/e_exp2.S: Likewise.
22458         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22459         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22460         * sysdeps/i386/fpu/e_fmod.S: Likewise.
22461         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22462         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22463         * sysdeps/i386/fpu/e_hypot.S: Likewise.
22464         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22465         * sysdeps/i386/fpu/e_log.S: Likewise.
22466         * sysdeps/i386/fpu/e_log10.S: Likewise.
22467         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22468         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22469         * sysdeps/i386/fpu/e_log2.S: Likewise.
22470         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22471         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22472         * sysdeps/i386/fpu/e_logf.S: Likewise.
22473         * sysdeps/i386/fpu/e_logl.S: Likewise.
22474         * sysdeps/i386/fpu/e_pow.S: Likewise.
22475         * sysdeps/i386/fpu/e_powf.S: Likewise.
22476         * sysdeps/i386/fpu/e_powl.S: Likewise.
22477         * sysdeps/i386/fpu/e_remainder.S: Likewise.
22478         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22479         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22480         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22481         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22482         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22483         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22484         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22485         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22486         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22487         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22488         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22489         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22490         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22491         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22492         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22493         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22494         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22495         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22496         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22497         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22498         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22499         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22500         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22501         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22502         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22503         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22504         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22505         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22506         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22507         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22508         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22509         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22510         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22511         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22512         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22513         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22514         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22515         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22516         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22517         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22518         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22519         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22520         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22521         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22522         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22523         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22524         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22525         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22526         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22527         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22528         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22529         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22530         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22531         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22532         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22533         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22534         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22535         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22536         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22537         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22538         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22539         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22540         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22541         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22542         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22543         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22544         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22545         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22546         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22547         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22548         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22549         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22550         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22551         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22552         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22553         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22554         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22555         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22556         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22557         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22558         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22559         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22560         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22561         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22562         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22563         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22564         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22565         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22566         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22567         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22568         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22569         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22570         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22571         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22572         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22573         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22574         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22575         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22576         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22577         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22578         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22579         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22580         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22581         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22582         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22583         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22584         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22585         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22586         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22587         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22588         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22589         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22590         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22591         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22592         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22593         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22594         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22595         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22596         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
22597         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22598         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22599         (__isnanf): Likewise.
22600         (__isinf_ns): Likewise.
22601         (__isinf_nsf): Likewise.
22602         (__finite): Likewise.
22603         (__finitef): Likewise.
22604         (__ieee754_sqrt): Define as macro.
22605         (__ieee754_sqrtf): Define as macro.
22606         (__ieee754_sqrtl): Define as macro.
22607         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22608         inlined copy.
22609         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22610         __FINITE_MATH_ONLY__ consistent.
22611         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22613 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
22615         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22616         of rawmemchr.
22618         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22620 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
22622         * po/ja.po: Update from translation team.
22624 2011-10-08  Roland McGrath  <roland@hack.frob.com>
22626         * locale/programs/locarchive.c (prepare_address_space): New function.
22627         (create_archive, enlarge_archive, open_archive): Use it.
22629         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22630         inside [SHARED], where it is used.
22632         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22634         * nss/getent.c (netgroup_keys): Remove unused variable.
22635         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22637 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
22639         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22640         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22641         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22642         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22643         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22644         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22645         * math/Makefile (libm-calls): Add s_isinf_ns.
22646         * math/divtc3.c: Use __isinf_nsl instead of isinf.
22647         * math/multc3.c: Likewise.
22648         * math/s_casin.c: Likewise.
22649         * math/s_casinf.c: Likewise.
22650         * math/s_casinl.c: Likewise.
22651         * math/s_ccos.c: Likewise.
22652         * math/s_ccosf.c: Likewise.
22653         * math/s_ccosl.c: Likewise.
22654         * math/s_ctan.c: Likewise.
22655         * math/s_ctanf.c: Likewise.
22656         * math/s_ctanh.c: Likewise.
22657         * math/s_ctanhf.c: Likewise.
22658         * math/s_ctanhl.c: Likewise.
22659         * math/s_ctanl.c: Likewise.
22660         * math/w_fmod.c: Likewise.
22661         * math/w_fmodf.c: Likewise.
22662         * math/w_fmodl.c: Likewise.
22663         * math/w_remainder.c: Likewise.
22664         * math/w_remainderf.c: Likewise.
22665         * math/w_remainderl.c: Likewise.
22666         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22667         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22668         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22669         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22670         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22671         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22672         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22673         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22675         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22676         of the number.
22677         * stdio-common/printf_fphex.c: Likewise.
22678         * stdio-common/printf_size.c: Likewise.
22680         * math/e_exp10.c: Include math_private.h using <...> not "...".
22681         * math/e_exp10f.c: Likewise.
22682         * math/e_exp10l.c: Likewise.
22683         * math/e_exp2l.c: Likewise.
22684         * math/e_j0l.c: Likewise.
22685         * math/e_j1l.c: Likewise.
22686         * math/e_jnl.c: Likewise.
22687         * math/e_lgammal_r.c: Likewise.
22688         * math/e_rem_pio2l.c: Likewise.
22689         * math/e_scalb.c: Likewise.
22690         * math/e_scalbf.c: Likewise.
22691         * math/e_scalbl.c: Likewise.
22692         * math/k_cosl.c: Likewise.
22693         * math/k_sinl.c: Likewise.
22694         * math/k_tanl.c: Likewise.
22695         * math/s_cacoshf.c: Likewise.
22696         * math/s_catan.c: Likewise.
22697         * math/s_catanf.c: Likewise.
22698         * math/s_catanh.c: Likewise.
22699         * math/s_catanhf.c: Likewise.
22700         * math/s_catanhl.c: Likewise.
22701         * math/s_catanl.c: Likewise.
22702         * math/s_ccosh.c: Likewise.
22703         * math/s_ccoshf.c: Likewise.
22704         * math/s_ccoshl.c: Likewise.
22705         * math/s_cexp.c: Likewise.
22706         * math/s_cexpf.c: Likewise.
22707         * math/s_cexpl.c: Likewise.
22708         * math/s_clog.c: Likewise.
22709         * math/s_clog10.c: Likewise.
22710         * math/s_clog10f.c: Likewise.
22711         * math/s_clog10l.c: Likewise.
22712         * math/s_clogf.c: Likewise.
22713         * math/s_clogl.c: Likewise.
22714         * math/s_csin.c: Likewise.
22715         * math/s_csinf.c: Likewise.
22716         * math/s_csinh.c: Likewise.
22717         * math/s_csinhf.c: Likewise.
22718         * math/s_csinhl.c: Likewise.
22719         * math/s_csinl.c: Likewise.
22720         * math/s_csqrt.c: Likewise.
22721         * math/s_csqrtf.c: Likewise.
22722         * math/s_csqrtl.c: Likewise.
22723         * math/s_ctan.c: Likewise.
22724         * math/s_ctanf.c: Likewise.
22725         * math/s_ctanh.c: Likewise.
22726         * math/s_ctanhf.c: Likewise.
22727         * math/s_ctanhl.c: Likewise.
22728         * math/s_ctanl.c: Likewise.
22729         * math/s_ldexp.c: Likewise.
22730         * math/s_ldexpf.c: Likewise.
22731         * math/s_ldexpl.c: Likewise.
22732         * math/s_significand.c: Likewise.
22733         * math/s_significandf.c: Likewise.
22734         * math/s_significandl.c: Likewise.
22735         * math/w_acos.c: Likewise.
22736         * math/w_acosf.c: Likewise.
22737         * math/w_acosh.c: Likewise.
22738         * math/w_acoshf.c: Likewise.
22739         * math/w_acoshl.c: Likewise.
22740         * math/w_acosl.c: Likewise.
22741         * math/w_asin.c: Likewise.
22742         * math/w_asinf.c: Likewise.
22743         * math/w_asinl.c: Likewise.
22744         * math/w_atan2.c: Likewise.
22745         * math/w_atan2f.c: Likewise.
22746         * math/w_atan2l.c: Likewise.
22747         * math/w_atanh.c: Likewise.
22748         * math/w_atanhf.c: Likewise.
22749         * math/w_atanhl.c: Likewise.
22750         * math/w_cosh.c: Likewise.
22751         * math/w_coshf.c: Likewise.
22752         * math/w_coshl.c: Likewise.
22753         * math/w_dremf.c: Likewise.
22754         * math/w_exp10.c: Likewise.
22755         * math/w_exp10f.c: Likewise.
22756         * math/w_exp10l.c: Likewise.
22757         * math/w_exp2.c: Likewise.
22758         * math/w_exp2f.c: Likewise.
22759         * math/w_fmod.c: Likewise.
22760         * math/w_fmodf.c: Likewise.
22761         * math/w_fmodl.c: Likewise.
22762         * math/w_hypot.c: Likewise.
22763         * math/w_hypotf.c: Likewise.
22764         * math/w_hypotl.c: Likewise.
22765         * math/w_j0.c: Likewise.
22766         * math/w_j0f.c: Likewise.
22767         * math/w_j0l.c: Likewise.
22768         * math/w_j1.c: Likewise.
22769         * math/w_j1f.c: Likewise.
22770         * math/w_j1l.c: Likewise.
22771         * math/w_jn.c: Likewise.
22772         * math/w_jnf.c: Likewise.
22773         * math/w_jnl.c: Likewise.
22774         * math/w_lgamma.c: Likewise.
22775         * math/w_lgamma_r.c: Likewise.
22776         * math/w_lgammaf.c: Likewise.
22777         * math/w_lgammaf_r.c: Likewise.
22778         * math/w_lgammal.c: Likewise.
22779         * math/w_lgammal_r.c: Likewise.
22780         * math/w_log.c: Likewise.
22781         * math/w_log10.c: Likewise.
22782         * math/w_log10f.c: Likewise.
22783         * math/w_log10l.c: Likewise.
22784         * math/w_log2.c: Likewise.
22785         * math/w_log2f.c: Likewise.
22786         * math/w_log2l.c: Likewise.
22787         * math/w_logf.c: Likewise.
22788         * math/w_logl.c: Likewise.
22789         * math/w_pow.c: Likewise.
22790         * math/w_powf.c: Likewise.
22791         * math/w_powl.c: Likewise.
22792         * math/w_remainder.c: Likewise.
22793         * math/w_remainderf.c: Likewise.
22794         * math/w_remainderl.c: Likewise.
22795         * math/w_scalb.c: Likewise.
22796         * math/w_scalbf.c: Likewise.
22797         * math/w_scalbl.c: Likewise.
22798         * math/w_sinh.c: Likewise.
22799         * math/w_sinhf.c: Likewise.
22800         * math/w_sinhl.c: Likewise.
22801         * math/w_sqrt.c: Likewise.
22802         * math/w_sqrtf.c: Likewise.
22803         * math/w_sqrtl.c: Likewise.
22804         * math/w_tgamma.c: Likewise.
22805         * math/w_tgammaf.c: Likewise.
22806         * math/w_tgammal.c: Likewise.
22808         * po/ja.po: Update from translation team.
22810 2011-09-29  Andreas Jaeger  <aj@suse.de>
22812         [BZ #13179]
22813         * sunrpc/netname.c (netname2host): Fix logic.
22815         [BZ #6779]
22816         [BZ #6783]
22817         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22818         correctly.
22819         * math/w_remainder.c (__remainder): Likewise.
22820         * math/w_remainderf.c (__remainderf): Likewise.
22821         * math/libm-test.inc (remainder_test): Add test cases.
22823 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22825         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
22826         sdiv_qrnnd.
22828 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22830         * string/test-memcmp.c: Avoid unncessary #defines.
22831         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22833 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22835         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22836         Use new sse2 version for core i3 - i7 as it's faster
22837         than sse42 version.
22838         (bit_Prefer_PMINUB_for_stringop): New.
22839         * sysdeps/x86_64/rawmemchr.S: Update.
22840         Replace with faster SSE2 version.
22841         * sysdeps/x86_64/memrchr.S: New file.
22842         * sysdeps/x86_64/memchr.S: Update.
22843         Replace with faster SSE2 version.
22845 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
22847         * elf/dl-load.c (lose): Add cast to avoid warning.
22849 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22851         * po/ca.po: Update from translation team.
22853         * inet/getnetgrent_r.c: Hook up nscd.
22854         * nscd/Makefile (routines): Add nscd_netgroup.
22855         (nscd-modules): Add netgroupcache.
22856         (CFLAGS-netgroupcache.c): Define.
22857         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22858         (cache_search): Add const to second parameter.
22859         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22860         INNETGR.
22861         (dbs): Add netgrdb entry.
22862         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22863         (verify_persistent_db): Handle netgrdb.
22864         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22865         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22866         GETFDNETGR.
22867         (netgroup_response_header): Define.
22868         (innetgroup_response_header): Define.
22869         (datahead): Add netgroup_response_header and innetgroup_response_header
22870         elements.
22871         * nscd/nscd.conf: Add entries for netgroup cache.
22872         * nscd/nscd.h (dbtype): Add netgrdb.
22873         (_PATH_NSCD_NETGROUP_DB): Define.
22874         (netgroup_iov_disabled): Declare.
22875         (xmalloc, xcalloc, xrealloc): Move declarations here.
22876         (cache_search): Adjust prototype.
22877         Add netgroup-related prototypes.
22878         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22879         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22880         (__nscd_innetgr): Declare.
22881         * nscd/selinux.c (perms): Use access_vector_t as element type and
22882         add netgroup-related initializers.
22883         * nscd/netgroupcache.c: New file.
22884         * nscd/nscd_netgroup.c: New file.
22885         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22886         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22887         For four parameters use innetgr.
22888         * nss/nss_files/files-init.c: Add definition and callback for netgr.
22889         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22890         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22891         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22893         * nscd/connections.c (register_traced_file): Don't register file
22894         for disabled databases.
22896 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
22898         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22900         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22901         from tree and freeing node.
22903 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
22905         * nss/nsswitch.c (__nss_database_lookup): Handle
22906         nss_parse_service_list out of memory case.
22908 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
22910         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22911         out of memory case.
22913 2011-10-04  Andreas Schwab  <schwab@redhat.com>
22915         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22916         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22917         pass it down.
22918         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22919         elf_machine_rela, elf_machine_lazy_rel.
22920         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22921         (ELF_DYNAMIC_DO_REL): Likewise.
22922         (ELF_DYNAMIC_DO_RELA): Likewise.
22923         (ELF_DYNAMIC_RELOCATE): Likewise.
22924         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22925         to ELF_DYNAMIC_DO_REL.
22926         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22927         (dl_main): In trace mode always set __RTLD_NOIFUNC.
22928         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22929         elf_machine_rela.
22930         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22931         skip_ifunc, don't call ifunc function if non-zero.
22932         (elf_machine_rela): Likewise.
22933         (elf_machine_lazy_rel): Likewise.
22934         (elf_machine_lazy_rela): Likewise.
22935         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22936         (elf_machine_lazy_rel): Likewise.
22937         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22938         Likewise.
22939         (elf_machine_lazy_rel): Likewise.
22940         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22941         Likewise.
22942         (elf_machine_lazy_rel): Likewise.
22943         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22944         (elf_machine_lazy_rel): Likewise.
22945         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22946         (elf_machine_lazy_rel): Likewise.
22947         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22948         (elf_machine_lazy_rel): Likewise.
22949         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22950         (elf_machine_lazy_rel): Likewise.
22951         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22952         (elf_machine_lazy_rel): Likewise.
22953         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22954         (elf_machine_lazy_rel): Likewise.
22956 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
22958         * nss/nss_files/files-init.c (_nss_files_init): Use static
22959         initialization for all the *_traced_file variables.
22961 2011-09-28  Andreas Schwab  <schwab@redhat.com>
22963         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22965 2011-09-27  Roland McGrath  <roland@hack.frob.com>
22967         [BZ #13226]
22968         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22970 2011-09-27  Andreas Schwab  <schwab@redhat.com>
22972         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22973         Reread the line before reparsing it.
22975 2011-09-26  Andreas Schwab  <schwab@redhat.com>
22977         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22979 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
22980             Maxim Kuvyrkov  <maxim@codesourcery.com>
22981             Joseph Myers  <joseph@codesourcery.com>
22983         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22984         if needed for __stack_chk_guard.
22986 2011-09-19  Roland McGrath  <roland@hack.frob.com>
22988         * sysdeps/posix/spawni.c (script_execute): Always define it.
22989         It will be optimized away if unused.
22990         (maybe_script_execute): New function.
22991         (__spawni): Call it.
22993         * Makerules: Don't include tls.make.
22994         (config-tls): Always set to thread.
22995         * tls.make.c: File removed.
22997 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
22999         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23000         * config.make.in (CPPFLAGS-config): New substituted variable.
23002 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23004         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23006         [BZ #13192]
23007         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23008         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23010 2011-09-15  Roland McGrath  <roland@hack.frob.com>
23012         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23013         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23014         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23015         (CALL_FAIL): Likewise.
23016         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23017         (CALL_FAIL): Macro removed.
23018         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23020 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23022         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23023         for __FINITE_MATH_ONLY__ == 1.
23025 2011-09-15  Andreas Schwab  <schwab@redhat.com>
23027         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23028         __ieee754_sqrt instead of sqrt.
23029         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23030         __ieee754_sqrtf instead of sqrtf.
23031         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23032         __floorf instead of floorf.
23033         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23034         __floorf, __truncf instead of floorf, truncf.
23036 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
23038         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23040         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23041         __extern_always_inline.
23042         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23043         32-bit.
23045 2011-09-14  Andreas Schwab  <schwab@redhat.com>
23047         * elf/rtld.c (dl_main): Also relocate in dependency order when
23048         doing symbol dependency testing.
23050 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
23052         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23053         Always define `refsym'.
23055 2011-09-13  Andreas Schwab  <schwab@redhat.com>
23057         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23058         (__FD_ELT): Renamed from __FDELT.
23059         * misc/bits/select2.h (__FD_ELT): Likewise.
23060         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23061         __FD_MASK instead of __FDELT, __FDMASK.
23062         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23063         Likewise.
23064         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23065         Likewise.
23067         * elf/Makefile (gen-ldd): Fix pattern.
23069         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23070         (init_tls): Likewise.
23072 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
23074         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23076 2011-09-12  Andreas Schwab  <schwab@redhat.com>
23078         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23079         `struct cmsghdr *' instead of `void *'.
23080         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23081         Likewise.
23083 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
23085         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23086         if non-absolute.
23087         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23088         ldd_rewrite_script.
23090 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
23092         * configure.in: Remove --with-tls option.
23093         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23094         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23095         out in case it is missing.
23096         * sysdeps/ia64/elf/configure.in: Likewise.
23097         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23098         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23099         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23100         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23101         * sysdeps/sh/elf/configure.in: Likewise.
23102         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23103         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23104         * sysdeps/x86_64/elf/configure.in: Likewise.
23105         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23106         * sysdeps/mach/hurd/tls.h: Likewise.
23108         [BZ #13067]
23109         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23111         [BZ #13090]
23112         * configure.in: Fix use of AC_INIT.
23114         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23116 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
23118         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23119         __set_errno.
23120         * malloc/hooks.c: Likewise.
23122         [BZ #11929]
23123         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
23124         variables statically.
23125         (narenas): Initialize.
23126         (list_lock): Initialize.
23127         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
23128         initializtion of main_arena and list_lock.  Small cleanups.
23129         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23130         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
23131         Add initializers to main_arena and mp_.
23132         (malloc_state): Remove pagesize member.  Change all users to use
23133         GLRO(dl_pagesize).
23135         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23136         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
23137         is always initialized.
23139         * malloc/malloc.c: Removed unused configurations and dead code.
23140         * malloc/arena.c: Likewise.
23141         * malloc/hooks.c: Likewise.
23142         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23144         * include/tls.h: Removed.  USE___THREAD must always be defined.
23145         * bits/libc-tsd.h: Don't handle !USE___THREAD.
23146         * elf/dl-libc.c: Likewise.
23147         * elf/dl-tsd.c: Likewise.
23148         * include/errno.h: Likewise.
23149         * include/netdb.h: Likewise.
23150         * include/resolv.h: Likewise.
23151         * inet/herrno-loc.c: Likewise.
23152         * inet/herrno.c: Likewise.
23153         * malloc/arena.c: Likewise.
23154         * malloc/hooks.c: Likewise.
23155         * malloc/malloc.c: Likewise.
23156         * resolv/res-state.c: Likewise.
23157         * resolv/res_libc.c: Likewise.
23158         * sysdeps/i386/dl-machine.h: Likewise.
23159         * sysdeps/ia64/dl-machine.h: Likewise.
23160         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23161         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23162         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23163         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23164         * sysdeps/sh/dl-machine.h: Likewise.
23165         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23166         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23167         * sysdeps/unix/i386/sysdep.S: Likewise.
23168         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23169         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23170         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23171         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23172         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23173         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23174         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23175         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23178         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23179         * sysdeps/x86_64/dl-machine.h: Likewise.
23180         * tls.make.c: Likewise.
23182         * configure.in: Remove --with-__thread option.  Make tests for
23183         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23184         tls_model attribute fail if no support is available.  Remove
23185         USE_IN_LIBIO.
23186         * Makeconfig: Adjust for dropped configure option.  All features are
23187         now mandatory.
23188         * Makerules: Likewise.
23189         * Versions.def: Likewise.
23190         * argp/argp-fmtstream.c: Likewise.
23191         * argp/argp-fmtstream.h: Likewise.
23192         * argp/argp-help.c: Likewise.
23193         * assert/assert.c: Likewise.
23194         * config.h.in: Likewise.
23195         * config.make.in: Likewise.
23196         * configure: Likewise.
23197         * configure.in: Likewise.
23198         * csu/Versions: Likewise.
23199         * csu/init.c: Likewise.
23200         * elf/tst-audit2.c: Likewise.
23201         * elf/tst-tls10.c: Likewise.
23202         * elf/tst-tls10.h: Likewise.
23203         * elf/tst-tls11.c: Likewise.
23204         * elf/tst-tls12.c: Likewise.
23205         * elf/tst-tls14.c: Likewise.
23206         * elf/tst-tlsmod11.c: Likewise.
23207         * elf/tst-tlsmod12.c: Likewise.
23208         * elf/tst-tlsmod13.c: Likewise.
23209         * elf/tst-tlsmod13a.c: Likewise.
23210         * elf/tst-tlsmod14a.c: Likewise.
23211         * elf/tst-tlsmod15b.c: Likewise.
23212         * elf/tst-tlsmod16a.c: Likewise.
23213         * elf/tst-tlsmod16b.c: Likewise.
23214         * elf/tst-tlsmod7.c: Likewise.
23215         * elf/tst-tlsmod8.c: Likewise.
23216         * elf/tst-tlsmod9.c: Likewise.
23217         * gmon/gmon.c: Likewise.
23218         * grp/fgetgrent_r.c: Likewise.
23219         * grp/putgrent.c: Likewise.
23220         * hurd/fopenport.c: Likewise.
23221         * include/libc-symbols.h: Likewise.
23222         * include/tls.h: Likewise.
23223         * intl/gettextP.h: Likewise.
23224         * intl/loadinfo.h: Likewise.
23225         * locale/global-locale.c: Likewise.
23226         * locale/localeinfo.h: Likewise.
23227         * mach/devstream.c: Likewise.
23228         * malloc/arena.c: Likewise.
23229         * malloc/set-freeres.c: Likewise.
23230         * misc/err.c: Likewise.
23231         * misc/getttyent.c: Likewise.
23232         * misc/mntent_r.c: Likewise.
23233         * posix/getopt.c: Likewise.
23234         * posix/wordexp.c: Likewise.
23235         * pwd/fgetpwent_r.c: Likewise.
23236         * resolv/Versions: Likewise.
23237         * resolv/res_hconf.c: Likewise.
23238         * shadow/fgetspent_r.c: Likewise.
23239         * shadow/putspent.c: Likewise.
23240         * stdio-common/printf_fphex.c: Likewise.
23241         * stdio-common/tmpfile.c: Likewise.
23242         * stdlib/abort.c: Likewise.
23243         * stdlib/fmtmsg.c: Likewise.
23244         * sunrpc/auth_unix.c: Likewise.
23245         * sunrpc/clnt_perr.c: Likewise.
23246         * sunrpc/clnt_tcp.c: Likewise.
23247         * sunrpc/clnt_udp.c: Likewise.
23248         * sunrpc/clnt_unix.c: Likewise.
23249         * sunrpc/openchild.c: Likewise.
23250         * sunrpc/svc_simple.c: Likewise.
23251         * sunrpc/svc_tcp.c: Likewise.
23252         * sunrpc/svc_udp.c: Likewise.
23253         * sunrpc/svc_unix.c: Likewise.
23254         * sunrpc/xdr.c: Likewise.
23255         * sunrpc/xdr_array.c: Likewise.
23256         * sunrpc/xdr_rec.c: Likewise.
23257         * sunrpc/xdr_ref.c: Likewise.
23258         * sunrpc/xdr_stdio.c: Likewise.
23260 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23262         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23264 2011-07-03  Andreas Jaeger  <aj@suse.de>
23266         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23267         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23268         regenerate with gen-libm-tests.pl.
23270 2010-05-12  Petr Baudis  <pasky@suse.cz>
23272         [BZ #11589]
23273         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23274         around j0() zero points by switching to j1().
23275         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23276         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23277         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23278         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23280 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23282         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23283         instead of 0.
23284         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23285         instead of 0.
23286         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23287         Patch in part by Pavel Roskin <proski@gnu.org>.
23289         [BZ #13138]
23290         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23291         realloc.
23292         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
23293         Free memory block if necessary.
23295         [BZ #12847]
23296         * libio/genops.c (INTDEF): For string streams the _lock pointer can
23297         be NULL.  Don't lock in this case.
23299 2011-09-09  Roland McGrath  <roland@hack.frob.com>
23301         * elf/elf.h (ELFOSABI_GNU): New macro.
23302         (ELFOSABI_LINUX): Define to that.
23304 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
23306         * string/strncat.c (strncat): Undef the symbol in case it has been
23307         defined in bits/string.h.
23309 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23311         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23313         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23314         link map.
23316 2011-08-17  Andreas Jaeger  <aj@suse.de>
23318         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23320 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23321             Ian Lance Taylor  <iant@google.com>
23323         * math/libm-test.inc (lround_test): New testcase.
23324         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23326 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
23328         * Makefile: Remove support for automatic cvs check-ins.
23329         * Makerules: Likewise.
23330         * config.make.in: Likewise.
23331         * configure.in: Likewise.
23332         * intl/Makefile: Likewise.
23333         * locale/Makefile: Likewise.
23334         * po/Makefile: Likewise.
23335         * posix/Makefile: Likewise.
23336         * sysdeps/gnu/Makefile: Likewise.
23337         * sysdeps/mach/hurd/Makefile: Likewise.
23338         * sysdeps/sparc/sparc32/Makefile: Likewise.
23340         [BZ #13118]
23341         * posix/Makefile (bug-regex32-ENV): Define.
23342         Patch by John Stanley <jpsinthemix@verizon.net>.
23344         * misc/Makefile (headers): Add bits/select2.h.
23345         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23346         * misc/bits/select2.h: New file.
23347         * include/bits/select2.h: New file.
23348         * debug/Makefile (routines): Add fdelt_chk.
23349         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23350         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23351         FD_ISSET.
23352         * debug/fdelt_chk.c: New file.
23354         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
23355         * wcsmbs/test-wmemcmp.c: Likewise.
23356         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23357         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23359 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23361         * string/Makefile (strop-tests): Add memcmp.
23362         * string/test-wmemcmp.c: New file.
23363         * string/test-memcmp.c: Add wmemcmp support.
23365 2011-09-08  Roland McGrath  <roland@hack.frob.com>
23367         [BZ #13153]
23368         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23369         2011-07-19 change.
23371         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23372         garbage value in a __mach_port_mod_refs call in the cases of the
23373         task-self and thread-self ports.
23375 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23377         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23379 2011-09-08  Andreas Schwab  <schwab@redhat.com>
23381         * elf/dl-load.c (lose): Check for non-null L.
23383 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23385         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23387         * elf/dl-libc.c (dlerror_run): Pass back error code from
23388         dl_catch_error.
23390         [BZ #13123]
23391         * elf/dl-load.c (lose): Free l_origin if it is valid.
23393         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23394         names.
23395         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23396         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23397         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23398         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23399         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23400         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23402 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23404         * sysdeps/powerpc/fpu/e_hypot.c: New file.
23405         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23406         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23407         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23408         * sysdeps/powerpc/fpu/k_cosf.c: New file.
23409         * sysdeps/powerpc/fpu/k_sinf.c: New file.
23410         * sysdeps/powerpc/fpu/s_cosf.c: New file.
23411         * sysdeps/powerpc/fpu/s_sinf.c: New file.
23412         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23413         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23415 2011-08-15  Alan Modra  <amodra@gmail.com>
23417         [BZ #13092]
23418         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23419         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23420         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
23421         ppc_mcount to static-only-routines.
23422         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23423         __mcount_internal.
23424         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23425         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
23427 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
23429         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23430         for finite and infinity parameters.
23432 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23434         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23435         and add nop instructions for throughput optimization.
23436         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23438 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
23440         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23441         aligned copy for power7 with vector-scalar instructions.
23442         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23444 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
23446         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23447         AVX check.
23449 2011-09-07  Andreas Schwab  <schwab@redhat.com>
23451         [BZ #13144]
23452         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23453         last change.
23455 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23457         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23458         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23459         syscall wrapper around clock_gettime in __vdso_clock_gettime.
23460         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23461         clock_gettime.
23463 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23465         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23466         Forgot to demangle the pointer.
23468         * sysdeps/i386/sysdep.h: Define atom_text_section.
23469         * sysdeps/x86_64/sysdep.h: Likewise.
23470         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23471         section with atom_text_section.
23472         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23473         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23474         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23475         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23476         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23478         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23479         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23480         already be defined.  Change to take two parameters and don't assign
23481         result to variable.  Adjust all users.
23482         Define INTERNAL_GETTIME if not already defined.
23483         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23484         call.
23485         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23486         HAVE_CLOCK_GETTIME_VSYSCALL.
23487         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23489         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23490         gettimeofday vsyscall, just use time.
23492 2011-09-06  Andreas Schwab  <schwab@redhat.com>
23494         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23495         <errno.h>.
23497 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23499         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23500         syscall on x86-64.
23501         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23502         syscall.
23503         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23504         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23505         syscall if possible.
23507 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23509         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23510         e_ident.  Don't pass to find_mapsXX.
23511         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23513 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23515         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23516         strchr-sse2-no-bsf strrchr-sse2-no-bsf
23517         * sysdeps/x86_64/multiarch/strchr.S: Update.
23518         Check bit_slow_BSF bit.
23519         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23520         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23521         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23523 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23525         [BZ #13134]
23526         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23527         before glibc 2.15.
23528         (tryshell): Define.
23529         (__spawni): Change last parameter to be flag.  Test
23530         SPAWN_XFLAGS_USE_PATH flag to use path or not.
23531         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23532         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23533         * posix/spawni.c: Likewise.
23534         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23535         * posix/spawnp.c: Likewise.  Change normal version to use
23536         SPAWN_XFLAGS_USE_PATH.
23537         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23538         SPAWN_XFLAGS_TRY_SHELL.
23540         [BZ #13150]
23541         * posix/glob.h: Remove gcc 1.x support.
23543         [BZ #13068]
23544         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23546 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23548         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23549         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23550         strrchr-sse2-bsf
23551         * sysdeps/i386/i686/multiarch/strchr.S: New file.
23552         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23553         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23554         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23555         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23556         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23558 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23560         * sysdeps/x86_64/wcscmp.S: New file.
23562         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23563         wcscmp-c wcscmp-sse2
23564         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23565         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23566         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23567         * wcsmbs/wcscmp.c: Allow renaming.
23569 2011-09-05  David S. Miller  <davem@davemloft.net>
23571         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23572         stack slot, rather than the struct return pointer slot.
23573         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23574         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23576         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23578 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23580         * po/ja.po: Update from translation team.
23582         [BZ #13144]
23583         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23584         kernel in 64-bit binaries.
23586 2011-09-01  David S. Miller  <davem@davemloft.net>
23588         * elf/elf.h (HWCAP_SPARC_*): Move to..
23589         * sysdeps/sparc/sysdep.h: this new file and add new values.
23590         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23591         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23592         _DL_HWCAP_COUNT to 24.
23593         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23594         entries.
23595         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23596         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23597         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23598         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23599         instead of magic constants.
23600         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23602 2011-08-31  David S. Miller  <davem@davemloft.net>
23604         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23605         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23606         Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
23612         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23613         (PSEUDO): Reimplement to do errno handling inline.
23614         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23615         (SYSCALL_ERROR_HANDLER): New macro.
23616         (__SYSCALL_STRING): Do not do errno handling in asm.
23617         (__CLONE_SYSCALL_STRING): Delete.
23618         (__INTERNAL_SYSCALL_STRING): Delete.
23619         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23620         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23621         i386.
23622         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23623         (inline_syscall*): Add 'err' argument.
23624         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23625         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23626         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23627         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23629         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23630         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23632 2011-08-30  Andreas Schwab  <schwab@redhat.com>
23634         * elf/rtld.c (dl_main): Relocate objects in dependency order.
23636 2011-08-29  Jiri Olsa <jolsa@redhat.com>
23638         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23639         directive.
23641 2011-08-24  David S. Miller  <davem@davemloft.net>
23643         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23645 2011-08-24  Andreas Schwab  <schwab@redhat.com>
23647         * elf/Makefile: Add rules to build and run unload8 test.
23648         * elf/unload8.c: New file.
23649         * elf/unload8mod1.c: New file.
23650         * elf/unload8mod1x.c: New file.
23651         * elf/unload8mod2.c: New file.
23652         * elf/unload8mod3.c: New file.
23654         * elf/dl-close.c (_dl_close_worker): Reset private search list if
23655         it wasn't used.
23657 2011-08-23  David S. Miller  <davem@davemloft.net>
23659         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23660         subtract stack bias.
23661         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23662         %sp not %fp in calculations.
23663         (_JMPBUF_UNWINDS_ADJ): Likewise.
23665         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23666         (aio_suspend): Call it to force an exception region around the
23667         AIO_MISC_WAIT() invocation.
23669 2011-08-23  Andreas Schwab  <schwab@redhat.com>
23671         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23672         backslash.
23674 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
23676         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23677         protection macro.
23678         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23679         and <dl-machine.h>.
23680         (Elf64_FuncDesc): Remove.
23682 2011-08-22  David S. Miller  <davem@davemloft.net>
23684         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23685         sigaltstack check, add missing cfi directives.
23686         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23687         missing cfi directives, and sigaltstack handling.
23689 2011-08-16  Andreas Schwab  <schwab@redhat.com>
23691         [BZ #11724]
23692         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23693         object is seen twice.
23694         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23696         * elf/Makefile (distribute): Add tst-initorder2.c.
23697         (tests): Add tst-initorder2.
23698         (modules-names): Add tst-initorder2a tst-initorder2b
23699         tst-initorder2c tst-initorder2d.  Add rules to build them.
23700         ($(objpfx)tst-initorder2.out): New rule.
23701         * elf/tst-initorder2.c: New file.
23702         * elf/tst-initorder2.exp: New file.
23704 2011-08-22  Andreas Schwab  <schwab@redhat.com>
23706         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23708         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23709         dependencies back to end of function.
23711         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23712         $(elfobjdir)/ld.so.
23714 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
23716         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23717         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23718         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23719         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23720         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23721         of __vdso_gettimeofday.
23722         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23723         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
23724         attribute_hidden.
23725         (_libc_vdso_platform_setup): Remove initialization of
23726         __vdso_gettimeofday and __vdso_time.
23728 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23730         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23731         and fgetc_unlocked.
23732         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23733         getc_unlocked.
23735         * elf/dl-open.c (add_to_global): Report additions to the global scope
23736         for LD_DEBUG=scopes.
23737         (dl_open_worker): Also print scope of newly loaded dependencies.
23738         (_dl_show_scope): Indicate if there is no scope.
23740         [BZ #13114]
23741         * stdio-common/Makefile (tests): Add bug24.
23742         * stdio-common/bug24.c: New file.
23744 2011-08-19  Andreas Jaeger  <aj@suse.de>
23746         [BZ #13114]
23747         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23748         non-existant file when using close-on-exec mode.
23750 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23752         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23753         the very first instruction.
23755         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23756         the CFI state in the end.
23757         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23758         inclusion of dl-trampoline.h.
23759         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23761 2011-08-19  Andreas Schwab  <schwab@redhat.com>
23763         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23764         expectations for long double.
23766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23767         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23769 2011-08-14  David S. Miller  <davem@davemloft.net>
23771         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23772         artificual limit depends upon the system page size.
23774 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23776         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23777         * resolv/Makefile: Define CFLAGS-libresolv.
23779 2011-08-17  Andreas Schwab  <schwab@redhat.com>
23781         * nss/makedb.c (compute_tables): Make variables used in nested
23782         function static.
23784 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23786         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23787         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23788         if buffer was too small.
23790         * elf/pldd.c (main): Attach to all threads in the process.
23791         Rewrite /proc handling to use *at functions.
23793 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
23795         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23796         specifies first scope to show.
23797         (dl_open_worker): Update callers.  Move printing scope of new
23798         object to before the relocation.
23799         * elf/rtld.c (dl_main): Update _dl_show_scope call.
23800         * sysdeps/generic/ldsodefs.h: Update declaration.
23802         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23803         string for the scope number.
23805 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
23807         * nscd/servicescache.c (cache_addserv): Make sure written is always
23808         initialized.
23810 2011-08-14  Roland McGrath  <roland@hack.frob.com>
23812         * sysdeps/i386/i486/bits/atomic.h
23813         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23814         statement expression, so as to suppress "set but not used" warning.
23815         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23817         * string/strncat.c (STRNCAT): Use prototype definition.
23819         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23820         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23821         -Iprograms here.
23822         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23823         (localedef-modules): Add localedef.
23824         (locale-modules): Add locale.
23826         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23827         * elf/rtld.c (dl_main): Invert order of assignment in last change,
23828         to avoid a warning.
23830 2011-08-14  David S. Miller  <davem@davemloft.net>
23832         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23833         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23835 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
23837         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23838         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23839         * elf/rtld.c (dl_main): Set l_name of vDSO.
23840         Call _dl_show_scope when DL_DEBUG_SCOPES.
23841         (process_dl_debug): Recognize scopes flag and also set it for all.
23842         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23843         Declare _dl_show_scope.
23845         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23846         (do_dlopen): Pass caller_dlopen to dl_open.
23847         (__libc_dlopen_mode): Initialize caller_dlopen.
23849         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23850         of libc.  Make tolower call locale-independent.  Optimize a bit by
23851         using isdigit instead of isalnum.
23852         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23854 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
23856         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23857         was a dependency or dynamically loaded.
23859 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
23861         * intl/l10nflist.c: Allow architecture-specific pop function.
23862         * sysdeps/x86_64/l10nflist.c: New file.
23864         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23865         classification.
23867 2011-08-10  Andreas Schwab  <schwab@redhat.com>
23869         * include/dirent.h: Add libc_hidden_proto for scandirat and
23870         scandirat64.  Don't declare __scandirat64.
23871         * dirent/scandirat.c: Add libc_hidden_def.
23872         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23873         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23875 2011-08-10  David S. Miller  <davem@davemloft.net>
23877         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23878         enum.
23879         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23880         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23881         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23883 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
23885         * Versions.def [libc]: Add GLIBC_2.15.
23886         * dirent/Makefile (routines): Add scandirat and scandirat64.
23887         * dirent/Versions [libc]: Export scandirat and scandirat64 for
23888         GLIBC_2.15.
23889         * dirent/dirent.h: Declare scandirat and scandirat64.
23890         * dirent/scandirat.c: New file.
23891         * dirent/scandirat64.c: New file.
23892         * sysdeps/wordsize-64/scandirat.c: New file.
23893         * sysdeps/wordsize-64/scandirat64.c: New file.
23894         * dirent/opendir.c: Define opendirat.
23895         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
23896         using scandirat.
23897         * dirent/scandir64.c: Adjust for scandir.c change.
23898         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
23899         __scandirat64, and __scandir_cancel_handler.
23900         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
23901         additional parameter and use openat instead of open (outside of ld.so).
23902         Add new __opendir as wrapper around __opendirat.
23903         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23904         here without requiring old scandirat implementation.
23906 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
23908         * dirent/scandir.c (cancel_handler): Renamed to
23909         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
23910         defined.  Adjust users.
23911         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23912         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23914 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
23916         * string/test-string.h (IMPL): Use __STRING to expand name and then
23917         stringify it.
23919         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
23920         of cleanups.
23922 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23924         * string/Makefile: Update.
23925         (strop-tests): Append strncat.
23926         * string/test-wcscmp.c: New file.
23927         New comprehensive test for wcscmp.
23928         * string/test-strcmp.c: Update.
23929         (WIDE): New define.
23931 2011-07-22  Andreas Schwab  <schwab@redhat.com>
23933         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23934         line.
23936 2011-07-26  Andreas Schwab  <schwab@redhat.com>
23938         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23939         encoding to ACE if AI_IDN.
23941 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
23943         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23944         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23946 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23948         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23949         Fix overflow bug in strncat.
23950         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23952         * string/test-strncat.c: Update.
23953         Add new tests for checking overflow bugs.
23955 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23957         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23958         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23959         * sysdeps/i386/i686/multiarch/strcat.S: New file.
23960         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23961         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23962         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23963         * sysdeps/i386/i686/multiarch/strncat.S: New file.
23964         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23965         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23967         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23968         (USE_AS_STRCAT): Define.
23969         Add strcat and strncat support.
23970         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23972 2011-07-25  Andreas Schwab  <schwab@redhat.com>
23974         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23975         __n bigger than INT_MAX+1.
23976         (__strncmp_g): Likewise.
23978 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
23980         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23981         * libio/stido.h: Likewise.
23983         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23984         (AF_NFC): Define.
23985         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23986         (AF_NFC): Define.
23988         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23989         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23990         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23991         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23992         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23994         [BZ #13021]
23995         * scripts/test-installation.pl: Don't expect libnss_test1 to be
23996         installed.
23998         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23999         typo.
24000         (_dl_x86_64_save_sse): Likewise.
24002 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
24004         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24005         OSXSAVE.
24006         (_dl_x86_64_save_sse): Likewise.
24008         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24010         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24012 2011-07-21  Andreas Schwab  <schwab@redhat.com>
24014         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24015         change.
24016         (_dl_x86_64_save_sse): Use correct AVX check.
24018 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24020         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24021         bug in strncpy/strncat.
24022         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24024 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
24026         * string/tester.c (test_strcat): Add tests for different alignments
24027         of source and destination.
24028         (test_strncat): Likewise.
24030 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24032         [BZ #12852]
24033         * posix/glob.c (glob): Check passed in values before using them in
24034         expressions to avoid some overflows.
24035         (glob_in_dir): Likewise.
24037         [BZ #13007]
24038         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24039         check for AVX enablement so that we don't crash with old kernels and
24040         new hardware.
24041         * elf/tst-audit4.c: Add same checks here.
24042         * elf/tst-audit6.c: Likewise.
24044         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24046 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
24048         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24050 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24052         * po/cs.po: Update from translation team.
24053         * po/bg.po: Likewise.
24055 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
24057         * misc/sys/cdefs.h: Add support for const attribute.
24058         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24059         to gnu_dev_{major,minor,makedev} functions.
24061 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
24063         * intl/dcigettext.c (get_output_charset): Add missing bracket.
24065 2011-07-20  Andreas Schwab  <schwab@redhat.com>
24067         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24068         strlen results.
24070 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24072         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24073         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24074         register in order to avoid conflicts with the soft frame pointer
24075         being held in r11 when necessary.
24076         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24077         (INTERNAL_VSYSCALL_NCS): Likewise.
24079 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
24081         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24082         * elf/dl-fini.c (_dl_fini): Adjust caller.
24083         * elf/dl-close.c (_dl_close_worker): Likewise.
24084         * sysdeps/generic/ldsodefs.h: Adjust declaration.
24086 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24088         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24089         "aux_cache->nlibs < 0".
24091         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24092         in the reload-count case.
24094 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24097         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24098         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24099         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24100         * sysdeps/x86_64/multiarch/strcat.S: New file.
24101         * sysdeps/x86_64/multiarch/strncat.S: New file.
24102         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24103         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24104         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24105         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24106         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24107         (USE_AS_STRCAT): Define.
24108         Add strcat and strncat support.
24109         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24110         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24111         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24112         * string/strncat.c: Update.
24113         (USE_AS_STRNCAT): Define.
24114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24115         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24116         and i7.
24117         * sysdeps/x86_64/multiarch/init-arch.h
24118         (bit_Prefer_PMINUB_for_stringop): New.
24119         (index_Prefer_PMINUB_for_stringop): Likewise.
24120         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24121         bit_Prefer_PMINUB_for_stringop.
24123 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24125         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24126         buffer64.
24127         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24128         of casting of buffer.
24129         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24130         buffer32 and buffer64.
24131         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24132         writes instead of casting of buffer.
24133         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24134         buffer32.
24135         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24136         casting of buffer.
24138 2011-07-19  Andreas Schwab  <schwab@redhat.com>
24140         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24142 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24144         * nscd/nscd.c (termination_handler): Don't do anything for a database
24145         if it has not yet been initialized.
24147 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24149         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24151 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24153         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24155 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24157         * po/nl.po: Update from translation team.
24158         * po/sv.po: Likewise.
24160 2011-07-16  Roland McGrath  <roland@hack.frob.com>
24162         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24163         now disallowed by GCC.
24165         * configure.in (use-default-link): Default to yes if a test -shared
24166         link meets our qualifications.
24167         * configure: Regenerated.
24169         * config.make.in (output-format): New variable.
24170         * configure.in: Check for ld --print-output-format support.
24171         * configure: Regenerated.
24172         * Makerules ($(common-objpfx)format.lds)
24173         [$(output-format) != unknown]: Just use $(output-format),
24174         instead of the linker-script munging.
24176 2011-07-14  Roland McGrath  <roland@hack.frob.com>
24178         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24179         of $(common-objpfx)shlib.lds.
24180         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24182         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24183         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24185         * configure.in (-z relro check): Adjust test code to add a large
24186         writable data section after it.
24187         * configure: Regenerated.
24189 2011-07-11  Roland McGrath  <roland@hack.frob.com>
24191         * configure.in (-z relro check): Fix test code to make the variable
24192         truly const.
24193         * configure: Regenerated.
24195 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
24197         * nscd/nscd.h (struct traced_file): Define.
24198         (struct database_dyn): Remove inotify_descr, reset_res, and filename
24199         elements.  Add traced_files.
24200         (inotify_fd): Declare.
24201         (register_traced_file): Declare.
24202         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24203         (inotify_fd): Export.
24204         (resolv_conf_descr): Remove.
24205         (nscd_init): Move inotify descriptor creation to main.
24206         Don't register files for notification here.
24207         (register_traced_file): New function.
24208         (invalidate_cache): Don't use reset_res to determine whether to call
24209         res_init, go through the list of registered files.
24210         (main_loop_poll): The inotify descriptors are now stored in the
24211         structures for the traced files.
24212         (main_loop_epoll): Likewise
24213         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
24214         to __nss_disable_nscd.
24215         * nscd/cache.c (prune_cache): There is no single inotify descriptor
24216         for a database anymore.  Check the records for all the registered
24217         files instead.
24218         * nss/Makefile (libnss_files-routines): Add files-init.
24219         (libnss_db-routines): Add db-init.
24220         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24221         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24222         * nss/nss_db/db-init.c: New file.
24223         * nss/nss_files/files-init.c: New file.
24224         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
24225         __nss_lookup_function.
24226         (__nss_lookup_function): Call nss_load_library.
24227         (nss_load_all_libraries): New function.
24228         (__nss_disable_nscd): Take parameter with callback function for files
24229         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
24230         used for the cached services.
24231         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24232         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24233         options for features to all the files in nscd.
24235         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24237 2011-07-10  Roland McGrath  <roland@hack.frob.com>
24239         * csu/elf-init.c (__libc_csu_init): Comment typo.
24241 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
24243         * po/pl.po: Update from translation team.
24244         * po/ja.po: Likewise.
24245         * po/ru.po: Likewise.
24246         * po/ko.po: Likewise.
24247         * po/fr.po: Likewise.
24249 2011-07-09  Roland McGrath  <roland@hack.frob.com>
24251         * configure.in (.ctors/.dtors header and trailer check):
24252         Use an empirical test on a built program.
24253         * configure: Regenerated.
24255         * configure.in (-z relro check): Use an empirical test on a built DSO.
24256         Detect, but do not require, on ia64.
24257         * configure: Regenerated.
24259         * configure.in (READELF): Find it with AC_CHECK_TOOL.
24260         Update tests that use readelf to use $READELF instead.
24261         * configure: Regenerated.
24263 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
24265         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24266         if the result is not used.
24268 2011-07-05  Andreas Jaeger  <aj@suse.de>
24270         [BZ#9696]
24271         * stdlib/tst-strtod.c: Add testcase.
24273 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
24275         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24276         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24277         The latter has a higher limit.  Take additional parameter to pass to
24278         the new function.
24279         (__pathconf): Pass file to __statfs_link_max.
24280         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24281         __statfs_link_max.
24282         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24283         __statfs_link_max.
24285         [BZ #12868]
24286         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24287         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24288         Handle Lustre.
24289         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24290         (__statfs_filesize_max): Likewise.
24291         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24293 2011-07-05  Andreas Jaeger  <aj@suse.de>
24295         * resolv/res_comp.c (dn_skipname): Remove unused variable.
24297 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
24299         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24300         `status' variable.
24301         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24302         Likewise.
24304 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
24306         * Makefile (strop-tests): Add strncat.
24307         * string/test-strncat.c: New file.
24309 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
24311         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24313 2011-06-21  Andreas Jaeger  <aj@suse.de>
24315         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24316         Copy rule from iconvdata/Makefile.
24318 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24320         [BZ #12922]
24321         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24322         but no long options are defined, just return 'W'.
24324 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
24326         [BZ #9696]
24327         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24329 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24331         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24332         netgroups to read.
24333         (innetgr): Likewise.
24335 2011-07-05  Roland McGrath  <roland@hack.frob.com>
24337         * config.make.in (install_root): Default to $(DESTDIR).
24339 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
24341         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24343 2011-07-02  Roland McGrath  <roland@hack.frob.com>
24345         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24347         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24348         containing directory rather than embedding absolute directory names.
24350         * scripts/check-local-headers.sh: Rewritten using awk.
24351         Match by word, not by line.  Print error messages for matches.
24352         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24354         * Makerules [shlib-lds-flags empty]:
24355         ($(common-objpfx)libc_pic.opts): New target.
24356         ($(common-objpfx)libc_pic.os.clean): New target.
24357         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24359         * config.make.in (OBJCOPY): New variable.
24360         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24361         * configure: Regenerated.
24363         * config.make.in (use-default-link): New variable.
24364         * configure.in (use_default_link): Grok --with-default-link to set it.
24365         * configure: Regenerated.
24366         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24367         (shlib-lds, shlib-lds-flags): Define to empty.
24369         * Makerules (shlib-lds): New variable.
24370         (shlib-lds-flags): New variable.
24371         (build-shlib, build-moduile, build-module-asneeded): Use it.
24372         ($(common-objpfx)libc.so): Use $(shlib-lds).
24373         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24374         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24376         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24377         DT_FLAGS/DT_FLAGS_1 with zero flags.
24379         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24380         linker script munging.
24382 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
24384         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24385         as 128-bit value.
24386         * crypt/sha512.c (sha512_process_block): Perform total addition using
24387         128-bit if possible.
24388         (__sha512_finish_ctx): Likewise.
24389         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24390         as 64-bit value.
24391         * crypt/sha256.c (SWAP64): Define.
24392         (sha256_process_block): Perform total addition using 64-bit if
24393         possible.
24394         (__sha256_finish_ctx): Likewise.
24396 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
24398         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
24399         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24400         * nscd/hstcache.c (cache_addhst): Likewise.
24401         * nscd/grpcache.c (cache_addgr): Likewise.
24402         * nscd/aicache.c (addhstaiX): Likewise
24403         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24405 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
24407         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24408         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24409         * nscd/hstcache.c (cache_addhst): Likewise.
24410         * nscd/grpcache.c (cache_addgr): Likewise.
24411         * nscd/aicache.c (addhstaiX): Likewise
24413 2011-07-01  Andreas Schwab  <schwab@redhat.com>
24415         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24416         domain only when needed.
24418 2011-06-30  Andreas Schwab  <schwab@redhat.com>
24420         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24421         is always restored.
24423 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
24425         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24426         are re-adding the entry.
24427         * nscd/servicescache.c (cache_addserv): Likewise.
24429 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
24431         * sysdeps/generic/dl-irel.h: fix protection against multiple
24432         inclusions.
24433         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24435 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
24437         [BZ #12935]
24438         * malloc/memusage.sh: Fix quoting in message.
24439         * debug/xtrace.sh: Likewise.
24441         * configure.in: Remove support for --experimental-malloc option, make
24442         it the default.
24443         * config.make.in: Likewise.
24444         * malloc/Makefile: Likewise.
24446 2011-06-27  Andreas Schwab  <schwab@redhat.com>
24448         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24449         two-byte characters.
24451 2011-06-27  Roland McGrath  <roland@hack.frob.com>
24453         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24454         AC_CACHE_CHECK invocation.
24455         * configure: Regenerated.
24457         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24459 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
24461         [BZ #12350]
24462         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
24463         bit from old_res_options.
24465         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24467         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24468         value type for setfct.
24470 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
24472         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24473         __gettimeofday instead of gettimeofday.
24475 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
24477         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24479 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24481         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24483         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24484         info.
24486 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24488         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24489         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24490         strcpy-sse2-unaligned strncpy-sse2-unaligned
24491         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24492         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24493         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24494         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24495         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24496         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24497         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24498         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24499         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24500         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24501         (STRCPY): Support SSE2 and SSSE3 versions.
24503 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
24505         [BZ #12874]
24506         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24507         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24508         kernels which artificially limit size of requests.
24510 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24512         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24513         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24514         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24515         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24516         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24517         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24518         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24519         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24520         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24521         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24522         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24523         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24524         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24525         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24526         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24527         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24528         Enable unaligned load optimization for Intel Core i3, i5 and i7
24529         processors.
24530         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24531         Define.
24532         (index_Fast_Unaligned_Load): Define.
24533         (HAS_FAST_UNALIGNED_LOAD): Define.
24535 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
24537         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24539 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24541         [BZ #12907]
24542         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24543         until it is clear that the information is realy needed.
24544         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24546 2011-06-22  Andreas Schwab  <schwab@redhat.com>
24548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24550 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24552         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24553         /sys/devices/system/cpu/online if it is usable.
24555         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24556         reading the information from the /proc filesystem to once a second.
24558 2011-06-21  Andreas Jaeger  <aj@suse.de>
24560         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24561         NULL after inclusion of kernel headers.
24563 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
24565         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24566         calls to internal_setent.
24568         [BZ #12885]
24569         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24570         addresses using gethostbyname4_r ignore IPv4 addresses.
24572         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24573         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
24575         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24577 2011-06-20  David S. Miller  <davem@davemloft.net>
24579         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24580         inclusions.
24581         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24583         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24584         (elf_irel): Use it.
24585         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24586         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24587         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24588         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24589         * sysdeps/x86_64/dl-irel.h: Likewise.
24591         * elf/dl-runtime.c: Use elf_ifunc_invoke.
24592         * elf/dl-sym.c: Likewise.
24594 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24596         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
24597         need to dereference resplen2.
24599 2011-06-14  Andreas Schwab  <schwab@redhat.com>
24601         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24603 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24605         * Makeconfig: Define vardbdir and inst_vardbdir.
24606         * nss/Makefile: Add rules to install db-Makefile.
24608         * nss/nss_db/db-XXX.c: Cleanup.
24610         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24611         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24612         GLIBC_PRIVATE.
24613         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24614         * nss/makedb.c: Implement -g option to specify that value strings
24615         are generated and should not be added to table iterated over for
24616         get*ent calls.
24617         * nss/nss_db/db-initgroups.c: New file.
24619         * nss/getent.c: Add support for initgroups lookups through getgrouplist
24620         interface.
24622         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24623         (internal_getgrouplist): Adjust to name change.
24624         Update use_initgroups_entry if this is not the first call.
24625         * nss/databases.def: Add initgroups entry.
24627         * nss/makedb.c (compute_tables): Check result of multiple hash table
24628         sizes to minimize maximum chain length.
24630 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
24632         * Versions.def: Add entry for libnss_db.
24633         * shlib-versions: Likewise.
24634         * nss/Makefile: Add rules to build libnss_db.
24635         * nss/Versions: Add libnss_db information.  Organize libnss_files
24636         entries better.
24637         * nss/db-Makefile: Add gshadow support.  Change rules for the new
24638         makedb progra.  Some minor improvements to generate smaller files.
24639         * nss/nss_db/nss_db.h: Move NSS database header data structures to
24640         here from...
24641         * nss/makedb.c: ...here.
24642         Improve database format to be smaller and require less memory at
24643         runtime.
24644         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
24645         db anymore.
24646         * nss/nss_db/db-netgrp.c: Likewise.
24647         * nss/nss_db/db-open.c: Likewise.
24648         * nss/nss_files/flies-XXX.x: Adjust comments.
24649         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24650         * nss/nss_files/files-grp.c: Likewise.
24651         * nss/nss_files/files-hosts.c: Likewise.
24652         * nss/nss_files/files-network.c: Likewise.
24653         * nss/nss_files/files-proto.c: Likewise.
24654         * nss/nss_files/files-pwd.c: Likewise.
24655         * nss/nss_files/files-rpc.c: Likewise.
24656         * nss/nss_files/files-service.c: Likewise.
24657         * nss/nss_files/files-sgrp.c: Likewise.
24658         * nss/nss_files/files-spwd.c: Likewise.
24659         * nss/nss_db/db-alias.c: Removed.
24660         * nss/nss_db/dummy-db.h: Removed.
24662 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
24664         * nss/makedb.c: Rewritten to not use database library.
24665         * nss/Makefile: Update to build new makedb program.
24667 2011-06-14  Andreas Jaeger  <aj@suse.de>
24669         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24670         memset declaration.
24672 2011-06-10  Andreas Schwab  <schwab@redhat.com>
24674         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24675         tmpbuf.
24677 2011-06-10  Roland McGrath  <roland@hack.frob.com>
24679         * Makerules (shlib.lds): Fail if the linker script comes out empty.
24680         * elf/Makefile ($(objpfx)ld.so): Likewise.
24682         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24683         Don't list ld.so twice in dependencies.
24685         * posix/bug-regex31.c: Include <stdlib.h>.
24687         * nscd/hstcache.c (cache_addhst): Remove unused variable.
24689         * nis/nss_compat/compat-spwd.c
24690         (getspent_next_nss_netgr): Remove unused variable.
24691         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24693         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24694         nonmembers" output to use the right array.
24696         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24698         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24700         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24701         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24702         * catgets/gencat.c (read_input_file): Likewise.
24703         * locale/programs/locarchive.c (enlarge_archive): Likewise.
24705         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24706         variable definition inside #if's controlling its use.
24708         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24710         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24712         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24714         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24715         unreachable code.
24717         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24719         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24720         * configure: Regenerated.
24722         * Makerules: Revert last change.
24723         * elf/Makefile: Likewise.
24725 2011-06-09  Roland McGrath  <roland@hack.frob.com>
24727         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24728         * elf/Makefile ($(objpfx)librtld.os): Likewise.
24729         (reloc-link): Likewise.
24731 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
24733         * elf/Makefile: Add rules to build pldd.
24734         * elf/pldd.c: New file.
24735         * elf/pldd-xx.c: New file.
24737 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
24739         * version.h: Update for 2.15 development version.
24741 2011-06-07  David S. Miller  <davem@davemloft.net>
24743         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24744         ifuncs.
24745         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24746         elf_machine_lazy_rel): Likewise.
24747         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24748         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24749         elf_machine_lazy_rel): Likewise.
24750         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24751         dl_hwcap via passed in argument.
24752         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24753         Likewise.
24755 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24757         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
24759 2011-06-06  Roland McGrath  <roland@hack.frob.com>
24761         [BZ #12849]
24762         * manual/fdl-1.1.texi: New file, verbatim from:
24763         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24764         * manual/lgpl-2.1.texi: New file, verbatim from:
24765         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24766         * manual/Makefile (licenses): New variable, list those new file names.
24767         (texis): Use it.
24768         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24770         * manual/fdl.texi: File removed.
24771         * manual/lesser.texi: File removed.
24772         * manual/libc.texinfo (Copying, Documentation License):
24773         Use new @include file names, put @appendix directive before @include.
24775 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
24777         [BZ #12841]
24778         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24779         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24780         (mq_open): Add __NTH.
24782 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
24784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24785         Assume Intel Core i3/i5/i7 processor if AVX is available.
24787 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24789         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24790         typo.
24792 2011-05-31  Andreas Schwab  <schwab@redhat.com>
24794         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24795         memory.  Use alloca_account.  Fix memory leak when retrying.
24797 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24799         * version.h (RELEASE): Bump for 2.14 release.
24800         * include/features.h (__GLIBC_MINOR__): Bump to 14.
24802         * config.make.in (RANLIB): Remove entry.
24804 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
24806         * po/Makefile (po-sed-cmd): Add ksh to extensions.
24807         (libc.pot): Work around missing support for .ksh extension in xgettext.
24809         [BZ #12684]
24810         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24811         if both request failed.
24812         (send_dg): In case of server errors clear resplen or *resplen2.
24814         [BZ #12454]
24815         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24816         when there are multiple maps.
24817         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24818         (_dl_fini): Remove test here.
24820         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24822 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
24824         [BZ #12350]
24825         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24826         bit from old_res_options.
24827         (gaih_inet): Likewise.
24829         [BZ #11099]
24830         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24831         as signed.
24833         * resolv/res_init.c (res_setoptions): Make the code more compact.
24835         [BZ #11558]
24836         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24837         set RES_USEVC.
24839         [BZ #11634]
24840         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24842         * malloc/malloc.h: Mark malloc hook variables as deprecated.
24844         [BZ #11781]
24845         * malloc/malloc.h: Declare malloc hook variables as volatile.
24847         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24848         in last patch.
24850         [BZ #11799]
24851         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24852         raise in the comment.
24853         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24854         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24855         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24857 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
24859         [BZ #12811]
24860         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24861         grow the buffers more if it already has to be sufficient.
24862         (build_wcs_upper_buffer): Likewise.
24863         * posix/regexec.c (check_matching): Likewise.
24864         (clean_state_log_if_needed): Likewise.
24865         (extend_buffers): Don't enlarge buffers beyond size of the input
24866         buffer.
24867         Patches mostly by Emil Wojak <emil@wojak.eu>.
24868         * posix/bug-regex32.c: New file.
24869         * posix/Makefile (tests): Add bug-regex32.
24871         * locale/findlocale.c (_nl_find_locale): Return right away if
24872         _nl_explode_name failed.
24873         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24875         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24877         * debug/xtrace.sh: Unify messages.
24878         * malloc/memusage.sh: Likewise.
24880         [BZ #12813]
24881         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24882         time symbol from vDSO.  Substitute with vsyscall if not available.
24883         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24884         __vdso_time.
24886         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24887         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24888         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24889         Add sendmmsg and internal_sendmmsg.
24890         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24891         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24892         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24894         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24895         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24896         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24898 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
24900         [BZ #12813]
24901         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24902         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
24903         available.
24904         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24905         __vdso_getcpu.
24907         [BZ #12814]
24908         * iconvdata/Makefile (tests): Add bug-iconv9.
24909         * iconvdata/bug-iconv9.c: New file.
24911 2011-05-27  Andreas Schwab  <schwab@redhat.com>
24913         [BZ #12814]
24914         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24916 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
24918         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24919         (struct user_regs_struct): Change intcs field back to cs.
24921 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
24923         * po/ja.po: Update from translation team.
24925 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
24927         [BZ #12795]
24928         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24929         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24931 2011-05-20  Andreas Schwab  <schwab@redhat.com>
24933         * stdlib/longlong.h: Update from GCC.
24935 2011-05-23  Andreas Schwab  <schwab@redhat.com>
24937         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24938         parameter name.
24939         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24940         Add parameter name.
24941         (__sysconf): Pass it down.
24943 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
24945         [BZ #12671]
24946         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24947         some situations.
24948         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24949         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24950         add in in __libc_use_alloca calls.  Adjust callers.
24951         (glob): Use malloc in some situations.
24953         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24954         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24955         pltexit.
24957 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
24959         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24960         and CLOCK_BOOTTIME_ALARM.
24962         [BZ #12782]
24963         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24964         is returned.
24966         * string/_strerror.c (__strerror_r): Print negative errors as signed
24967         numbers.
24969         [BZ #12777]
24970         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24971         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24972         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24974         * configure.in: Fix typo in redirection and correct removal of test
24975         files in two cases.
24977         [BZ #12788]
24978         * locale/setlocale.c (new_composite_name): Fix test to check for
24979         identical name of all categories.
24981         [BZ #12792]
24982         * libio/filedoalloc.c (local_isatty): New function.
24983         (_IO_file_doallocate): Use local_isatty.
24984         * stdio-common/perror.c (perror): In case a new stream is used
24985         forward the stream error.
24986         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24987         error flag.
24989 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
24991         [BZ #11869]
24992         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24993         alloca.
24994         * include/alloca.h (extend_alloca_account): Define.
24996         [BZ #11857]
24997         * posix/regex.h: Fix comments with documentation of user-accessible
24998         fields after compilation and describe correct free'ing of pattern
24999         after re_compile_pattern.
25000         Patch by Reuben Thomas <rrt@sc3d.org>.
25002 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
25004         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25005         and -mno-altivec to prevent the compiler from using Altivec and/or
25006         VSX instructions when the corresponding registers are not available.
25008 2011-05-19  Andreas Schwab  <schwab@redhat.com>
25010         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25012 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
25014         * libio/freopen.c (freopen): Use __dup2, not dup2.
25015         * libio/freopen64.c (freopen64): Likewise.
25017 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25019         [BZ #12775]
25020         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25021         * math/Makefile (tests): Add test-powl.
25022         (CFLAGS-test-powl.c): Define.
25023         * math/test-powl.c: New file.
25025 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25027         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25029 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
25031         [BZ #11837]
25032         * iconvdata/gb18030.c: Update to GB18020-2005.
25034 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
25036         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25037         RE_SYNTAX_POSIX_AWK): Update to match recent development.
25038         Patch by Aharon Robbins <arnold@skeeve.com>.
25040         [BZ #11892]
25041         * stdlib/putenv.c (putenv): Don't always create copy of the variable
25042         on the stack.
25044         [BZ #11895]
25045         * misc/pselect.c (__pselect): Handle timeout value errors hidden
25046         through underflows.
25048         [BZ #12766]
25049         * misc/error.c (error_at_line): Ensure file_name and old_file_name
25050         point to strings before performing equality test for error_one_per_line
25051         mode.
25053         [BZ #11697]
25054         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25056         [BZ #11820]
25057         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25058         (struct user_fpregs_struct): Avoid __uint*_t types.
25060         [BZ #6420]
25061         * malloc/mtrace.c (tr_where): Add additional parameter to point to
25062         symbol info.  Use it instead of calling _dl_addr locally.
25063         (lock_and_info): New function.
25064         (tr_freehook): Call lock_and_info and pass symbol info as additional
25065         parameter to tr_where.
25066         (tr_mallochook): Likewise.
25067         (tr_reallochook): Likewise.
25068         (tr_memalignhook): Likewise.
25070         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
25071         used and couldn't be at all thread-safe.
25073 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
25075         * libio/freopen.c (freopen): Don't close old file descriptor
25076         before the new one is opened.  Instead dup the new file descriptor
25077         to the old one after the new stream is created.
25078         * libio/freopen64.c (freopen64): Likewise.
25079         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25080         * libio/fileops.c (_IO_new_file_close_it): Handle new
25081         _IO_FLAGS2_NOCLOSE flag.
25082         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25083         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25084         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25085         _IO_FLAGS2_NOCLOSE flag.
25086         * include/unistd.h: Add hidden_proto for dup3.
25087         Define __have_dup3.
25088         * io/dup3.c: Define hidden symbol.
25089         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25091         [BZ #7101]
25092         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25093         when an incomplete long option is used.
25094         * posix/tst-getopt_long1.c: New file.
25095         * posix/Makefile (tests): Add tst-getopt_long1.
25097         [BZ #10138]
25098         * scripts/config.guess: Update from autoconf-2.68.
25099         * scripts/config.sub: Likewise.
25101         [BZ #10157]
25102         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25103         tests into ...
25104         (has_cpuclock): ...this.  New function.
25105         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25106         macro here based on has_cpuclock code.
25108         [BZ #10149]
25109         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25110         First byte (not low byte) is now always NUL.
25111         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25113         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25114         Use non-cancelable interfaces.
25116         [BZ #9809]
25117         * locale/iso-639.def: Add entry for Sorani.
25119         [BZ #11901]
25120         * include/stdlib.h: Move include protection to the right place.
25121         Define abort_msg_s.  Declare __abort_msg with it.
25122         * stdlib/abort.c (__abort_msg): Adjust type.
25123         * assert/assert.c (__assert_fail_base): New function.  Majority
25124         of code from __assert_fail.  Allocate memory for __abort_msg with
25125         mmap.
25126         (__assert_fail): Now call __assert_fail_base.
25127         * assert/assert-perr.c: Remove bulk of implementation.  Use
25128         __assert_fail_base.
25129         * include/assert.hL Declare __assert_fail_base.
25130         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25131         mmap.
25132         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25134 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
25136         [BZ #11952]
25137         [BZ #12453]
25138         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25139         until all modules are registered in the DTV.
25140         * elf/Makefile: Add rules to build and run tst-tls19.
25141         * elf/tst-tls19.c: New file.
25142         * elf/tst-tls19mod1.c: New file.
25143         * elf/tst-tls19mod2.c: New file.
25144         * elf/tst-tls19mod3.c: New file.
25145         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25147         [BZ #12083]
25148         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25149         correctly.
25151         [BZ #12601]
25152         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25153         two-byte sequence errors.
25154         * iconvdata/Makefile (tests): Add bug-iconv8.
25155         * iconvdata/bug-iconv8.c: New file.
25157         [BZ #12626]
25158         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25159         buf2 definition.
25161         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25163         [BZ #12432]
25164         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25165         (dummy_getcfa): New function.
25166         (init): Get _Unwind_GetCFA address, use dummy if not found.
25167         (backtrace_helper): In recursion check, also check whether CFA changes.
25168         (__backtrace): Completely initialize arg.
25170         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25171         storing incomplete byte sequence in state object.  Avoid testing for
25172         guaranteed too small input if we know there is enough data available.
25174 2011-05-11  Andreas Schwab  <schwab@redhat.com>
25176         * Makeconfig (+link-pie): Indent.
25177         * Rules (binaries-pie): Define if $(have-fpie) and
25178         $(build-shared).
25179         (binaries-shared): Also filter out $(binaries-pie).
25180         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25181         * nscd/Makefile (others-pie): Add nscd.
25182         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25183         ($(objpfx)nscd): Remove command override.
25184         * login/Makefile (others-pie): Add pt_chown.
25185         ($(objpfx)pt_chown): Remove command override.
25186         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25187         remove command overrides.
25189 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
25191         * libio/tst_putwc.c: Fix error messages.
25193         [BZ #12724]
25194         * libio/fileops.c (_IO_new_file_close_it): Always flush when
25195         currently writing and seek to current position when not.
25196         * libio/Makefile (tests): Add bug-fclose1.
25197         * libio/bug-fclose1.c: New file.
25199 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
25201         [BZ #12511]
25202         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25203         don't set DF_1_NODELETE here.
25204         (do_lookup_x): When entering new entry test for copy relocation
25205         and if necessary set DF_1_NODELETE flag.
25206         * elf/tst-unique4.cc: New file.
25207         * elf/tst-unique4.h: New file.
25208         * elf/tst-unique4lib.cc: New file.
25209         * elf/Makefile: Add rules to build and run tst-unique4.
25210         Patch by Piotr Bury <pbury@goahead.com>.
25212 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
25214         [BZ #12052]
25215         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25217         [BZ #12625]
25218         * misc/mntent_r.c (addmntent): Flush the stream after the output
25220         [BZ #12393]
25221         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25222         (is_trusted_path_normalize): Skip initial colon.  Append slash
25223         to empty buffer.  Duplicate is_trusted_path code but allow
25224         constructed patch to be prefix.
25225         (is_dst): Allow $ORIGIN followed by /.
25226         (_dl_dst_substitute): Correct clearing of check_for_trusted.
25227         Correct testing of result of is_trusted_path_normalize
25228         (decompose_rpath): Fix warning.
25230 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
25232         [BZ #11257]
25233         * grp/initgroups.c (internal_getgrouplist): When we found the service
25234         list through the initgroups entry in nsswitch.conf do not always
25235         continue on a successful lookup.  Don't always use the
25236         __nss_group_database value if it is set.
25237         * nss/nsswitch.conf (initgroups): Change action for successful db
25238         lookup to continue for compatibility.
25240 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
25242         [BZ #11532]
25243         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25244         and CP774 modules.
25245         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25246         and CP774 modules.
25247         * iconvdata/tst-tables.sh: Likewise.
25248         * iconvdata/cp770.c: New file.
25249         * iconvdata/cp771.c: New file.
25250         * iconvdata/cp772.c: New file.
25251         * iconvdata/cp773.c: New file.
25252         * iconvdata/cp774.c: New file.
25253         * iconvdata/testdata/CP770: New file.
25254         * iconvdata/testdata/CP770..UTF8: New file.
25255         * iconvdata/testdata/CP771: New file.
25256         * iconvdata/testdata/CP771..UTF8: New file.
25257         * iconvdata/testdata/CP772: New file.
25258         * iconvdata/testdata/CP772..UTF8: New file.
25259         * iconvdata/testdata/CP773: New file.
25260         * iconvdata/testdata/CP773..UTF8: New file.
25261         * iconvdata/testdata/CP774: New file.
25262         * iconvdata/testdata/CP774..UTF8: New file.
25264         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25265         END CHARMAP line.
25266         * iconvdata/gen-8bit-gap.sh: Likewise.
25267         * iconvdata/gen-8bit.sh: Likewise.
25269         * locale/iso-639.def: Add ary entry.
25271         [BZ #11258]
25272         * locale/C-translit.h.in: Add U20A1 transliteration.
25274         [BZ #12178]
25275         * locale/iso-639.def: Add wae entry.
25276         Patch by Kevin Bortis <bortis@translate-wae.ch>.
25278         [BZ #12545]
25279         * locale/programs/localedef.c (construct_output_path): Use ssize_t
25280         for n.
25282         [BZ #12711]
25283         * locale/C-translit.h.in: Add entry for U20B9.
25284         Patch by pravin.d.s@gmail.com.
25286 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
25288         [BZ #12713]
25289         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25290         ENAMETOOLONG use generic getcwd.
25291         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
25292         in rtld.  Use *stat64.
25293         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25294         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25295         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25296         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25297         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25298         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25299         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25300         __fstatat64 macros.
25301         * include/dirent.h: Add libc_hidden_proto for rewinddir.
25302         * dirent/rewinddir.c: Add libc_hidden_def.
25303         * sysdeps/mach/hurd/rewinddir.c: Likewise.
25304         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
25306         * include/dirent.h (__alloc_dir): Add flags parameter.
25307         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25308         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25309         __alloc_dir.
25310         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
25311         from fdopendir if O_CLOEXEC is already set.
25313 2011-03-15  Alan Modra  <amodra@gmail.com>
25315         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25316         l_tls_firstbyte_offset non-zero.  Save padding offset in
25317         l_tls_firstbyte_offset for later use.
25318         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25319         freeing static tls block.
25321 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
25323         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25324         where #ifdef was intended.  The intent is to prevent ARG_MAX from
25325         being defined by the kernel headers.
25327 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
25329         [BZ #12734]
25330         * resolv/resolv.h: Define RES_NOTLDQUERY.
25331         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25332         no-tld-query and set RES_NOTLDQUERY.
25333         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25334         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25335         modern BIND to search name as TLD unless forbidden.
25337 2011-05-07  Petr Baudis  <pasky@suse.cz>
25338             Ulrich Drepper  <drepper@gmail.com>
25340         [BZ #12393]
25341         * elf/dl-load.c (fillin_rpath): Move trusted path check...
25342         (is_trusted_path): ...to here.
25343         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25344         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25345         using is_trusted_path_normalize() in setuid scripts.
25347 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25349         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25350         __BEGIN/__END_DECLS.
25352 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
25354         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25355         NSS_STATUS_NOTFOUND if no record was found.
25357 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25359         * sunrpc/Makefile (headers): Add rpc/netdb.h.
25360         (headers-not-in-tirpc): Remove rpc/netdb.h
25361         * resolv/netdb.h: Revert last change.
25363 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25365         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25366         circular dependency between libgcc.a and libc.a.
25368 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25370         * resolv/netdb.h: Don't include <rpc/netdb.h>.
25371         * nis/Makefile: Don't install rpcsvc/*.
25372         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25373         instead of <rpc/types.h>.
25374         (MAXHOSTNAMELEN): Define.
25376 2011-05-03  Andreas Schwab  <schwab@redhat.com>
25378         * elf/ldconfig.c (add_dir): Don't crash on empty path.
25380 2011-04-28  Maciej Babinski  <mbabinski@google.com>
25382         [BZ #12714]
25383         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25384         gethostbyname4_r when IPv6 results are possible.
25386 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
25388         [BZ #12723]
25389         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25390         _PC_PIPE_BUF handling.
25392 2011-04-30  Bruno Haible  <bruno@clisp.org>
25394         [BZ #12717]
25395         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25396         * resolv/netdb.h (getnameinfo): Change type of flags parameter
25397         to 'int'.
25398         * inet/getnameinfo.c (getnameinfo): Likewise.
25400 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
25402         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25403         to groups setting in database lookup.
25404         * nss/nsswitch.conf: Add initgroups entry.
25406 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
25408         [BZ #12685]
25409         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25410         mode string.
25411         Patch by Eric Blake <eblake@redhat.com>.
25413 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
25415         * sunrpc/Makefile (need-export-routines): Add svc_run.
25416         (routines): Remove svc_run.
25417         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25418         * sunrpc/clnt_perr.c (clnt_perrno): Export.
25419         * sunrpc/svc_run.c (svc_run): Likewise.
25420         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25422 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
25424         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25425         problem in reallocation in last patch.
25427 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
25429         * sunrpc/Makefile: Move inclusion of Rules.
25431 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25433         * nss/nss_files/files-initgroups.c: New file.
25434         * nss/Makefile (libnss_files-routines): Add files-initgroups.
25435         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25436         _nss_files_initgroups_dyn.
25438 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
25440         * elf/elf.h (R_ARM_IRELATIVE): Define.
25442 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25444         * po/ru.po: Update from translation team.
25446 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25448         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25449         dependencies.
25451 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
25453         [BZ #12653]
25454         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25455         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25456         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25457         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25458         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25460 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
25462         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25463         differing bytes.
25464         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25465         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25466         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25468 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25470         [BZ #12420]
25471         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25472         storing it.
25473         * stdlib/bug-getcontext.c: New file.
25474         * stdlib/Makefile: Add rules to build and run bug-getcontext.
25476 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25478         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25479         instructions into .machine "z9-109".
25480         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25481         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25483 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25485         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25486         between environment variables and auxiliary vector.
25488 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
25490         * Makefile: Add rules to build linkobj/libc.so.
25491         * include/libc-symbols.h: Define libc_hidden_nolink.
25492         * include/rpc/auth.h: Mark functions which are to be hidden.
25493         * include/rpc/auth_des.h: Likewise.
25494         * include/rpc/auth_unix.h: Likewise.
25495         * include/rpc/clnt.h: Likewise.
25496         * include/rpc/des_crypt.h: Likewise.
25497         * include/rpc/key_prot.h: Likewise.
25498         * include/rpc/pmap_clnt.h: Likewise.
25499         * include/rpc/pmap_prot.h: Likewise.
25500         * include/rpc/pmap_rmt.h: Likewise.
25501         * include/rpc/rpc_msg.h: Likewise.
25502         * include/rpc/svc.h: Likewise.
25503         * include/rpc/svc_auth.h: Likewise.
25504         * include/rpc/xdr.h: Likewise.
25505         * nis/Makefile: Link all DSOs against linkobj/libc.so.
25506         * nss/Makefile: Likewise.
25507         * sunrpc/Makefile: Don't install headers.  Build library with normal
25508         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
25509         * sunrpc/auth_des.c: Hide exported symbols by default, export some
25510         for the compat linking library.  Remove use of INTDEF/INTUSE.
25511         * sunrpc/auth_none.c: Likewise.
25512         * sunrpc/auth_unix.c: Likewise.
25513         * sunrpc/authdes_prot.c: Likewise.
25514         * sunrpc/authuxprot.c: Likewise.
25515         * sunrpc/clnt_gen.c: Likewise.
25516         * sunrpc/clnt_perr.c: Likewise.
25517         * sunrpc/clnt_raw.c: Likewise.
25518         * sunrpc/clnt_simp.c: Likewise.
25519         * sunrpc/clnt_tcp.c: Likewise.
25520         * sunrpc/clnt_udp.c: Likewise.
25521         * sunrpc/clnt_unix.c: Likewise.
25522         * sunrpc/des_crypt.c: Likewise.
25523         * sunrpc/des_soft.c: Likewise.
25524         * sunrpc/get_myaddr.c: Likewise.
25525         * sunrpc/key_call.c: Likewise.
25526         * sunrpc/key_prot.c: Likewise.
25527         * sunrpc/netname.c: Likewise.
25528         * sunrpc/pm_getmaps.c: Likewise.
25529         * sunrpc/pm_getport.c: Likewise.
25530         * sunrpc/pmap_clnt.c: Likewise.
25531         * sunrpc/pmap_prot.c: Likewise.
25532         * sunrpc/pmap_prot2.c: Likewise.
25533         * sunrpc/pmap_rmt.c: Likewise.
25534         * sunrpc/publickey.c: Likewise.
25535         * sunrpc/rpc_cmsg.c: Likewise.
25536         * sunrpc/rpc_common.c: Likewise.
25537         * sunrpc/rpc_dtable.c: Likewise.
25538         * sunrpc/rpc_prot.c: Likewise.
25539         * sunrpc/rpc_thread.c: Likewise.
25540         * sunrpc/rtime.c: Likewise.
25541         * sunrpc/svc.c: Likewise.
25542         * sunrpc/svc_auth.c: Likewise.
25543         * sunrpc/svc_authux.c: Likewise.
25544         * sunrpc/svc_raw.c: Likewise.
25545         * sunrpc/svc_run.c: Likewise.
25546         * sunrpc/svc_simple.c: Likewise.
25547         * sunrpc/svc_tcp.c: Likewise.
25548         * sunrpc/svc_udp.c: Likewise.
25549         * sunrpc/svc_unix.c: Likewise.
25550         * sunrpc/svcauth_des.c: Likewise.
25551         * sunrpc/xcrypt.c: Likewise.
25552         * sunrpc/xdr.c: Likewise.
25553         * sunrpc/xdr_array.c: Likewise.
25554         * sunrpc/xdr_float.c: Likewise.
25555         * sunrpc/xdr_intXX_t.c: Likewise.
25556         * sunrpc/xdr_mem.c: Likewise.
25557         * sunrpc/xdr_rec.c: Likewise.
25558         * sunrpc/xdr_ref.c: Likewise.
25559         * sunrpc/xdr_sizeof.c: Likewise.
25560         * sunrpc/xdr_stdio.c: Likewise.
25562 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
25564         [BZ #12650]
25565         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25566         * sysdeps/ia64/dl-tls.h: Likewise.
25567         * sysdeps/powerpc/dl-tls.h: Likewise.
25568         * sysdeps/s390/dl-tls.h: Likewise.
25569         * sysdeps/sh/dl-tls.h: Likewise.
25570         * sysdeps/sparc/dl-tls.h: Likewise.
25571         * sysdeps/x86_64/dl-tls.h: Likewise.
25572         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25574 2011-03-14  Andreas Schwab  <schwab@redhat.com>
25576         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25577         rpath element also skip the following colon.
25578         (expand_dynamic_string_token): Add is_path parameter and pass
25579         down to DL_DST_REQUIRED and _dl_dst_substitute.
25580         (decompose_rpath): Call expand_dynamic_string_token with
25581         non-zero is_path.  Ignore empty rpaths.
25582         (_dl_map_object_from_fd): Call expand_dynamic_string_token
25583         with zero is_path.
25585 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
25587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25588         Make cancelable.
25590 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
25592         [BZ #12655]
25593         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25594         Patch by Filipe David Manana <fdmanana@apache.org>.
25596 2011-04-07  Andreas Schwab  <schwab@redhat.com>
25598         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25599         Maintain aligned stack.
25600         (CHECK_RSP): Remove unused macro.
25602 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
25604         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25605         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25607 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
25609         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25611         * include/features.h: Mention __USE_XOPEN2K8 in comment.
25613 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
25615         [BZ #12518]
25616         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25617         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25618         * sysdeps/x86_64/memmove.c: New file.
25619         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25620         (memcpy): Renamed to ...
25621         (__new_memcpy): This.
25622         (memcpy): Provide GLIBC_2_14 memcpy.
25623         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25624         (memcpy): Provide GLIBC_2_2_5 memcpy.
25626 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25628         [BZ #12631]
25629         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25631 2011-03-30  Andreas Schwab  <schwab@redhat.com>
25633         * misc/syncfs.c: New file.
25634         * misc/Makefile (routines): Add syncfs.
25635         * posix/unistd.h: Declare syncfs.
25636         * sysdeps/unix/syscalls.list: Add syncfs.
25638 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25640         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25641         open_by_handle_at.
25642         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25643         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25644         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25645         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25646         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25647         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25648         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25650 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25652         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25653         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25654         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25655         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25656         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25657         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25658         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25660         * io/Makefile: Compile fallocate.c, fallocate64.c, and
25661         sync_file_range.c with -fexceptions.
25662         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25663         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25664         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25665         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25666         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25667         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25668         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25669         sync_file_range as cancellation point
25670         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
25671         now a wrapper around __call_sync_file_range with cancellation handling.
25672         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25673         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
25674         function name to __call_sync_file_range.
25675         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25676         Add call_sync_file_range.
25678 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25680         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25681         bits/timex.h.
25683 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25685         * iconv/iconv.h: Fix typo in comment.
25686         * io/fcntl.h: Likewise.
25687         * libio/stdio.h: Likewise.
25688         * posix/spawn.h: Likewise.
25689         * posix/unistd.h: Likewise.
25690         * stdlib/stdlib.h: Likewise.
25691         * time/time.h: Likewise.
25692         * wcsmbs/wchar.h: Likewise.
25694         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25695         open_by_handle): Add.
25696         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25697         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
25698         Augment a few comments.
25699         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25700         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25701         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25702         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25703         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25704         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25705         open_by_handle.
25707         * io/fcntl.h (AT_EMPTY_PATH): Define.
25709 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
25711         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25712         * sysdeps/unix/sysv/linux/bits/time.h: New file.
25713         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25714         to...
25715         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
25716         * Versions.def: Add GLIBC_2.14.
25717         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25718         Export.
25720 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
25722         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25723         round counter.
25724         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25726 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25728         [BZ #12597]
25729         * string/test-strncmp.c (do_page_test): New function.
25730         (check2): Likewise.
25731         (test_main): Call check2.
25732         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25734 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
25736         [BZ #12587]
25737         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25738         Handle cache information in CPU leaf 4.
25739         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25741 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
25743         [BZ #12583]
25744         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25745         character representation.
25746         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25748 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
25750         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25751         END(__isnan) to END(__isnanf) to match function entry point/label
25752         EALIGN(__isnanf,...).
25754 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
25756         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25758 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
25760         [BZ #12510]
25761         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25762         copy from the symbol referenced in the relocation to initialize the
25763         used variable.
25764         Patch by Piotr Bury <pbury@goahead.com>.
25765         * elf/Makefile: Add rules to build and tst-unique3.
25766         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25767         * elf/tst-unique3.cc: New file.
25768         * elf/tst-unique3.h: New file.
25769         * elf/tst-unique3lib.cc: New file.
25770         * elf/tst-unique3lib2.cc: New file.
25772         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25774 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
25776         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25777         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
25778         to _start.
25780 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
25782         * elf/dl-load.c (_dl_map_object): If we are looking for the first
25783         to-be-loaded object along a path to loader is ld.so.
25785 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25786             Ulrich Drepper  <drepper@gmail.com>
25788         * sysdeps/x86_64/memset.S: After aligning destination, code
25789         branches to different locations depending on the value of
25790         misalignment, when multiarch is enabled. Fix this.
25792 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25794         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25795         Set _x86_64_preferred_memory_instruction for AMD processsors.
25796         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25797         Set bit_Prefer_SSE_for_memop for AMD processors.
25799 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
25801         * libio/fmemopen.c (fmemopen): Optimize a bit.
25803 2011-03-03  Andreas Schwab  <schwab@redhat.com>
25805         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25807 2011-03-03  Roland McGrath  <roland@redhat.com>
25809         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25811 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
25813         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25814         __bzero_ultra1 instead of __memset_ultra1.
25816 2011-02-23  Andreas Schwab  <schwab@redhat.com>
25817             Ulrich Drepper  <drepper@gmail.com>
25819         [BZ #12509]
25820         * include/link.h (struct link_map): Add l_orig_initfini.
25821         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25822         returning unsuccessfully.
25823         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25824         close of a file loaded at startup, restore the original l_initfini
25825         list.
25826         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25827         list, store the pointer.
25828         * elf/Makefile ($(objpfx)noload-mem): New rule.
25829         (noload-ENV): Define.
25830         (tests): Add $(objpfx)noload-mem.
25831         * elf/noload.c: Include <memcheck.h>.
25832         (main): Call mtrace.  Close all opened handles.
25834 2011-02-17  Andreas Schwab  <schwab@redhat.com>
25836         [BZ #12454]
25837         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25838         dependencies are missing.
25840 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25842         Fix __if_freereq crash: Unlike the generic version which uses free,
25843         Hurd needs munmap.
25844         * sysdeps/mach/hurd/ifreq.h: New file.
25846 2011-01-27  Petr Baudis  <pasky@suse.cz>
25847             Ulrich Drepper  <drepper@gmail.com>
25849         [BZ 12445]#
25850         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25851         to extend_alloca().
25852         * stdio-common/bug23.c: New file.
25853         * stdio-common/Makefile (tests): Add bug23.
25855 2010-09-28  Andreas Schwab  <schwab@redhat.com>
25856             Ulrich Drepper  <drepper@gmail.com>
25858         [BZ #12489]
25859         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25860         before performing relro protection.  At old place add assertion
25861         to make sure nothing changed.
25863 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
25864             Glauber de Oliveira Costa  <glommer@gmail.com>
25866         * elf/elf.h: Add new ARM TLS relocs.
25868 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
25870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25871         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25872         cast from r3.
25873         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
25874         'tests' variable.
25875         * sysdeps/wordsize-64/tst-writev.c: New file.
25877 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
25879         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25880         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25881         insns in _dl_start to prevent a TOC reference before relocs are
25882         resolved.
25884 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
25886         [BZ #12469]
25887         * Makeconfig: Remove RANLIB definition.
25888         * Makerules: Don't use RANLIB.
25889         * aclocal.m4: Remove ranlib test.
25890         * configure.in: No need to check for ranlib.
25891         * elf/rtld-Rules: Don't use RANLIB.
25893 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25895         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25896         protection macro.
25897         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25898         inclusion protection macro.
25900         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25901         SIGRTMIN and SIGRTMAX and print information in that case only when
25902         SIGRTMIN is defined.
25904 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
25906         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25907         arginfo fn returning -1.
25909         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25910         and thousands string is zero terminated.
25912 2011-02-03  Andreas Schwab  <schwab@redhat.com>
25914         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25915         sysdeps/unix/sysv/linux/bits/socket.h.
25917 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25919         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25920         (__CPU_COUNT): Remove old macros.
25921         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25922         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25923         (__CPU_ALLOC, __CPU_FREE): Add macros.
25924         (__sched_cpualloc, __sched_cpufree): Add declarations.
25926 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
25928         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25929         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25930         * nscd/aicache.c (addhstaiX): Return timeout of added value.
25931         (readdhstai): Return value of addhstaiX call.
25932         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25933         (addgrbyX): Return value returned by cache_addgr.
25934         (readdgrbyname): Return value returned by addgrbyX.
25935         (readdgrbygid): Likewise.
25936         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25937         (addpwbyX): Return value returned by cache_addpw.
25938         (readdpwbyname): Return value returned by addhstbyX.
25939         (readdpwbyuid): Likewise.
25940         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25941         (addservbyX): Return value returned by cache_addserv.
25942         (readdservbyname): Return value returned by addservbyX:
25943         (readdservbyport): Likewise.
25944         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25945         (addhstbyX): Return value returned by cache_addhst.
25946         (readdhstbyname): Return value returned by addhstbyX.
25947         (readdhstbyaddr): Likewise.
25948         (readdhstbynamev6): Likewise.
25949         (readdhstbyaddrv6): Likewise.
25950         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25951         (readdinitgroups): Return value returned by addinitgroupsX.
25952         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25953         (prune_cache): Keep track of timeout value of re-added entries.
25954         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25955         * nscd/nscd.h: Adjust prototypes of readd* functions.
25957 2011-02-04  Roland McGrath  <roland@redhat.com>
25959         * nis/nis_server.c (nis_servstate): Use the right name for 0.
25960         (nis_stats): Likewise.
25961         * nis/nis_modify.c (nis_modify): Likewise.
25962         * nis/nis_remove.c (nis_remove): Likewise.
25963         * nis/nis_add.c (nis_add): Likewise.
25965         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25967         * posix/fnmatch_loop.c: Add some consts.
25969         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25971 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
25973         [BZ #12460]
25974         * config.make.in (config-cflags-novzeroupper): Define.
25975         * configure.in: Substitute libc_cv_cc_novzeroupper.
25976         * elf/Makefile (AVX-CFLAGS): Define.
25977         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25978         (CFLAGS-tst-auditmod4a.c): Likewise.
25979         (CFLAGS-tst-auditmod4b.c): Likewise.
25980         (CFLAGS-tst-auditmod6b.c): Likewise.
25981         (CFLAGS-tst-auditmod6c.c): Likewise.
25982         (CFLAGS-tst-auditmod7b.c): Likewise.
25983         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25985 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
25987         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25988         function to the callback.
25989         Patch partly by Jiri Olsa <jolsa@redhat.com>.
25991 2011-02-02  Andreas Schwab  <schwab@redhat.com>
25993         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25994         of errno.
25996 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
25998         [BZ #11724]
25999         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26000         of constructors.
26001         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26002         of destructors.
26003         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26005         [BZ #11724]
26006         * elf/Makefile: Add rules to build and run new test.
26007         * elf/tst-initorder.c: New file.
26008         * elf/tst-initorder.exp: New file.
26009         * elf/tst-initordera1.c: New file.
26010         * elf/tst-initordera2.c: New file.
26011         * elf/tst-initordera3.c: New file.
26012         * elf/tst-initordera4.c: New file.
26013         * elf/tst-initorderb1.c: New file.
26014         * elf/tst-initorderb2.c: New file.
26015         * elf/tst-order-a1.c: New file.
26016         * elf/tst-order-a2.c: New file.
26017         * elf/tst-order-a3.c: New file.
26018         * elf/tst-order-a4.c: New file.
26019         * elf/tst-order-b1.c: New file.
26020         * elf/tst-order-b2.c: New file.
26021         * elf/tst-order-main.c: New file.
26022         New test case by George Gensure <werkt0@gmail.com>.
26024 2010-10-01  Andreas Schwab  <schwab@redhat.com>
26026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26027         decoding ACE if AI_CANONIDN.
26029 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
26031         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26033 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
26035         * version.h (RELEASE): Bump for 2.13 release.
26036         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26038         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26040         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26041         MADV_NOHUGEPAGE.
26042         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26043         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26044         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26045         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26046         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26047         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26049         * posix/getconf.c: Update copyright year.
26050         * catgets/gencat.c: Likewise.
26051         * csu/version.c: Likewise.
26052         * debug/catchsegv.sh: Likewise.
26053         * debug/xtrace.sh: Likewise.
26054         * elf/ldconfig.c: Likewise.
26055         * elf/ldd.bash.in: Likewise.
26056         * elf/sprof.c (print_version): Likewise.
26057         * iconv/iconv_prog.c: Likewise.
26058         * iconv/iconvconfig.c: Likewise.
26059         * locale/programs/locale.c: Likewise.
26060         * locale/programs/localedef.c: Likewise.
26061         * malloc/memusage.sh: Likewise.
26062         * malloc/mtrace.pl: Likewise.
26063         * nscd/nscd.c (print_version): Likewise.
26064         * nss/getent.c: Likewise.
26066         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26067         PF_CAIF, and PF_ALG.
26068         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26070 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
26072         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26073         (modules-names): Use them.
26074         (ifunc-test-modules, ifunc-pie-tests): Define.
26075         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26076         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26077         (test-extras): Likewise.
26078         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26079         $(compile-command.c).
26080         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26081         (all-built-dso): Define.
26082         (check-textrel.out, check-execstack.out): Depend on it.
26084         * configure.in: Don't override --enable-multi-arch.
26086 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
26088         [BZ #6812]
26089         * nscd/hstcache.c (tryagain): Define.
26090         (cache_addhst): Return tryagain not notfound for temporary errors.
26091         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26092         failed.
26094 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
26096         [BZ #10563]
26097         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26098         to make the syscall.
26099         * sysdeps/unix/sysv/linux/setgroups.c: New file.
26101         [BZ #12378]
26102         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26103         and fall back to matching as normal character if the string ends before
26104         the matching ']' is found.  This is what POSIX requires.
26105         * posix/testfnm.c: Adjust test result.
26106         * posix/globtest.sh: Adjust test result.  Add new test.
26107         * posix/tst-fnmatch.input: Likewise.
26108         * posix/tst-fnmatch2.c: Add new test.
26110 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
26112         * elf/Makefile (check-execstack): Revert last change.  Depend on
26113         check-execstack.h.
26114         (check-execstack.h): New target.
26115         (generated): Add check-execstack.h.
26116         * elf/check-execstack.c: Include "check-execstack.h".
26117         (main): Revert last change.
26118         (handle_file): Return zero if GNU_STACK is absent and
26119         DEFAULT_STACK_PERMS doesn't include PF_X.
26121 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
26123         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26124         in child fails because the descriptor is already closed.
26125         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26126         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26127         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26129         [BZ #12397]
26130         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26131         syscall.
26133         [BZ #10484]
26134         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26135         temporary buffer used to handle multi lookups locally.
26136         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26138 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26140         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26141         loader is ld.so.
26143 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
26145         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26146         alignment for SSE2.
26148 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26150         [BZ #12394]
26151         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26152         characters.  When rounding increased number of integer digits recompute
26153         number of groups.
26154         * stdio-common/tst-grouping.c: New file.
26155         * stdio-common/Makefile: Add rules to build and run tst-grouping.
26157 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
26159         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26160         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
26162         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26163         void.
26164         * bits/select.h: Likewise.
26166 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
26168         * po/ja.po: Update from translation team.
26170 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
26172         [BZ #11155]
26173         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26174         implementation just like for lxstat, fxstatat, et al.
26176 2010-12-27  Jim Meyering  <meyering@redhat.com>
26178         [BZ #12348]
26179         * posix/regexec.c (build_trtable): Return failure indication upon
26180         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
26182 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
26184         [BZ #12201]
26185         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26186         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26187         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26188         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26190         [BZ #12207]
26191         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26193         [BZ #12204]
26194         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26195         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26197 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
26199         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26200         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26201         script has SORT_BY_INIT_PRIORITY.
26202         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26203         NO_CTORS_DTORS_SECTIONS is defined.
26204         * elf/soinit.c: Likewise.
26205         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26206         NO_CTORS_DTORS_SECTIONS is defined.
26207         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26208         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26209         * sysdeps/sh/init-first.c: Likewise.
26210         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26212 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
26214         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26215         always use the slow path.
26217 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
26219         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26220         similar rule which adds the sysdep directories to the header search in
26221         order to pick up the correct platform stackinfo.h.
26222         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26223         perform test if it is, otherwise return successfully without testing.
26224         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26225         DEFAULT_STACK_PERMS define in stackinfo.h.
26226         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26227         defined in stackinfo.h.
26228         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26229         DEFAULT_STACK_PERMS defined in stackinfo.h.
26230         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26231         * sysdeps/ia64/stackinfo.h: Likewise.
26232         * sysdeps/s390/stackinfo.h: Likewise.
26233         * sysdeps/sh/stackinfo.h: Likewise.
26234         * sysdeps/sparc/stackinfo.h: Likewise.
26235         * sysdeps/x86_64/stackinfo.h: Likewise.
26236         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26237         PF_X for powerpc64.  Retain PF_X for powerpc32.
26239 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
26241         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26242         accurately.
26243         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26244         GETDENTS_64BIT_ALIGNED.
26246 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
26248         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26250 2010-12-10  Andreas Schwab  <schwab@redhat.com>
26252         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26253         _GNU_SOURCE.
26255         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26256         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26257         Remove __restrict.
26258         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26259         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26261 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
26263         [BZ #11655]
26264         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26265         are initialized.
26267 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
26269         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26271 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
26273         * po/it.po: Update from translation team.
26275 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26277         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26278         unused codes.
26280 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
26282         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26284 2010-11-24  Andreas Schwab  <schwab@redhat.com>
26286         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26287         specially.
26288         (gaih_getanswer_slice): Likewise.
26290 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
26292         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26294 2010-05-31  Petr Baudis  <pasky@suse.cz>
26296         [BZ #11149]
26297         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26298         silently even in the chroot mode.
26300 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
26302         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26303         last patch a bit.  Pretty printing
26305 2010-05-31  Petr Baudis <pasky@suse.cz>
26307         [BZ #10085]
26308         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26309         initialization of skip_initgroups_dyn.
26311 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
26313         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26314         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26316 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
26318         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26320 2010-11-11  Andreas Schwab  <schwab@redhat.com>
26322         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26323         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26324         (tst-fnmatch-ENV): Set MALLOC_TRACE.
26325         ($(objpfx)tst-fnmatch-mem): New rule.
26326         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26327         * posix/tst-fnmatch.c (main): Call mtrace.
26329 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
26331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26332         Support Intel processor model 6 and model 0x2c.
26334 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
26336         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26337           signed comparison.
26339 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
26341         [BZ #12205]
26342         * string/test-strncasecmp.c (check_result): New function.
26343         (do_one_test): Use it.
26344         (check1): New function.
26345         (test_main): Use it.
26346         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26347         Support strcasecmp and strncasecmp.
26349 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
26351         [BZ #12194]
26352         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26353         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26355 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26357         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26358         IFUNC support.
26359         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26360         memset-x86-64.
26361         * sysdeps/x86_64/multiarch/bzero.S: New file.
26362         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26363         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26364         * sysdeps/x86_64/multiarch/memset.S: New file.
26365         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26366         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26367         Set bit_Prefer_SSE_for_memop for Intel processors.
26368         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26369         Define.
26370         (index_Prefer_SSE_for_memop): Define.
26371         (HAS_PREFER_SSE_FOR_MEMOP): Define.
26373 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
26375         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26376         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26378 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
26380         [BZ #12191]
26381         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26382         (__x86_64_raw_data_cache_size_half): Likewise.
26383         (__x86_64_raw_shared_cache_size): Likewise.
26384         (__x86_64_raw_shared_cache_size_half): Likewise.
26386         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26387         (__x86_64_raw_data_cache_size_half): Likewise.
26388         (__x86_64_raw_shared_cache_size): Likewise.
26389         (__x86_64_raw_shared_cache_size_half): Likewise.
26390         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26391         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26392         and __x86_64_raw_shared_cache_size_half.  Round
26393         __x86_64_data_cache_size_half, __x86_64_data_cache_size
26394         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26395         to multiple of 256 bytes.
26397 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
26399         [BZ #12167]
26400         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26401         of inacessible symlinks.  Verify result of symlink before returning it.
26402         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26403         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26405 2010-10-28  Erich Ritz  <erichritz@gmail.com>
26407         * math/math.h (isinf): Fix typo in comment.
26409 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
26411         * po/da.po: Update from translation team.
26413 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
26415         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26416         is added to the list.
26418 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26419             Ulrich Drepper  <drepper@gmail.com>
26421         * elf/dl-object.c (_dl_new_object): Don't append the new object to
26422         the global list here.  Move code to...
26423         (_dl_add_to_namespace_list): ...here.  New function.
26424         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26425         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26426         * elf/dl-load.c (lose): Don't remove the element from the list.
26427         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26428         (_dl_map_object): Likewise.
26430 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
26432         [BZ #12159]
26433         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26434         into all bytes of SSE register.
26435         Patch by Richard Li <richardpku@gmail.com>.
26437 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
26439         [BZ #12140]
26440         * malloc/malloc.c (_int_free): Fill correct number of bytes when
26441         perturbing.
26443 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
26445         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26446         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26447         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26448         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26450         submachine.
26451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26453 2010-10-22  Andreas Schwab  <schwab@redhat.com>
26455         * include/dlfcn.h (__RTLD_SECURE): Define.
26456         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
26457         mode & __RTLD_SECURE instead.
26458         (open_path): Rename preloaded parameter to secure.
26459         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26460         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26461         * elf/dl-deps.c (openaux): Likewise.
26462         * elf/rtld.c (struct map_args): Remove is_preloaded.
26463         (map_doit): Don't use it.
26464         (dl_main): Likewise.
26465         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26466         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26468 2010-09-09  Andreas Schwab  <schwab@redhat.com>
26470         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26471         (sysd-rules-targets): Remove duplicates.
26472         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26473         rtld-%.$o dependency.
26475 2010-10-18  Andreas Schwab  <schwab@redhat.com>
26477         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26478         _dl_map_object do it.
26480 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
26482         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26483         fast fma builtins, define the macros in the C99 standard.
26484         (FP_FAST_FMAF): Likewise.
26485         (FP_FAST_FMAL): Likewise.
26486         * sysdeps/x86_64/bits/mathdef.h: Likewise.
26488         * bits/mathdef.h: Update copyright year.
26489         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26491 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
26493         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26494         builtins, define the macros in the C99 standard.
26495         (FP_FAST_FMAF): Likewise.
26496         (FP_FAST_FMAL): Likewise.
26497         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26498         multiply/add.
26499         (FP_FAST_FMAF): Likewise.
26501 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
26503         [BZ #3268]
26504         * math/libm-test.inc (fma_test): Some new testcases.
26505         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26506         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26507         y and infinite z.  Do multiplication by C already in long double.
26508         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26510         y and infinite z.  Do bitwise or of inexact bit into u.d.
26511         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26512         * sysdeps/i386/fpu/s_fmaf.S: Removed.
26513         * sysdeps/i386/fpu/s_fma.S: Removed.
26514         * sysdeps/i386/fpu/s_fmal.S: Removed.
26516 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
26518         [BZ #3268]
26519         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26520         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26521         computation is not scheduled after fetestexcept.  Fix value
26522         of minimum denormal long double.
26524 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
26526         [BZ #3268]
26527         * math/libm-test.inc (fma_test): Add some more tests.
26528         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26529         correctly.
26531 2010-10-15  Andreas Schwab  <schwab@redhat.com>
26533         * scripts/data/localplt-s390-linux-gnu.data: New file.
26534         * scripts/data/localplt-s390x-linux-gnu.data: New file.
26536 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
26538         [BZ #3268]
26539         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26540         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26541         instead of dbl-64.
26542         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26543         inlines.
26544         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26546         if one of x and y is very large and the other is subnormal.
26547         * sysdeps/s390/fpu/s_fmaf.c: New file.
26548         * sysdeps/s390/fpu/s_fma.c: New file.
26549         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26550         * sysdeps/powerpc/fpu/s_fma.S: New file.
26551         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26552         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26553         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26555 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
26557         [BZ #3268]
26558         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26559         fma tests.
26560         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26561         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26562         * sysdeps/i386/i686/multiarch/s_fma.c: Include
26563         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26564         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26565         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26566         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26568 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
26570         [BZ #12078]
26571         * posix/regcomp.c (parse_branch): One more memory leak plugged.
26572         * posix/bug-regex31.input: Add test case.
26574 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26576         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26577         * posix/bug-regex31.input: New file.
26579         [BZ #12078]
26580         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26581         (parse_sub_exp): Fix last change, use postorder.
26583         * posix/bug-regex31.c: New file.
26584         * posix/Makefile: Add rules to build and run bug-regex31.
26586         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26588         [BZ #12078]
26589         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26591         [BZ #12108]
26592         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26593         to have entries in sys_siglist.
26595         [BZ #12093]
26596         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26597         be NULL.
26599 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
26601         [BZ #3268]
26602         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26603         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26604         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26605         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26606         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26607         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26608         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26609         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26610         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26611         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26612         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26613         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26614         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26615         * math/ftestexcept.c (fetestexcept): Likewise.
26616         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26617         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26618         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26619         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26620         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26621         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26622         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26624 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26626         [BZ #12107]
26627         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26628         newline.
26630 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
26632         * string/bug-strstr1.c: New file.
26633         * string/Makefile: Add rules to build and run bug-strstr1.
26635 2010-10-05  Eric Blake  <eblake@redhat.com>
26637         [BZ #12092]
26638         * string/str-two-way.h (two_way_long_needle): Always clear memory
26639         when skipping input due to the shift table.
26641 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
26643         [BZ #12005]
26644         * malloc/mcheck.c: Handle large requests.
26646         [BZ #12077]
26647         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26648         for strncmp and strncasecmp.
26649         * string/stratcliff.c: Add tests for strcmp and strncmp.
26650         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26652 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26654         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26655         __set_fpscr.
26657 2010-09-30  Andreas Jaeger  <aj@suse.de>
26659         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26660         (CGROUP_SUPER_MAGIC): Define.
26661         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26662         Handle btrfs and cgroup file systems.
26663         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26664         Likewise.
26666 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
26668         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26669         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26671 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26673         [BZ #12067]
26674         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26675         trying to locate the ELF header.
26677 2010-09-27  Andreas Schwab  <schwab@redhat.com>
26679         [BZ #11611]
26680         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26681         Mask out sign-bit copies when constructing f_fsid.
26683 2010-09-24  Petr Baudis <pasky@suse.cz>
26685         * debug/stack_chk_fail_local.c: Add missing licence exception.
26686         * debug/warning-nop.c: Likewise.
26688 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
26690         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26691         implementing getdents64 using getdents syscall, set d_type if
26692         __ASSUME_GETDENTS32_D_TYPE.
26694 2010-09-16  Andreas Schwab  <schwab@redhat.com>
26696         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26697         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26699 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
26701         [BZ #12037]
26702         * posix/unistd.h: Undo change of feature selection for ftruncate from
26703         2010-01-11.
26705 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
26707         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26708         detection.
26710 2010-09-20  Andreas Schwab  <schwab@redhat.com>
26712         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26713         fanotify_mark.
26714         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26716 2010-09-14  Andreas Schwab  <schwab@redhat.com>
26718         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26719         variables after CHECK_SP call.
26720         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26722 2010-09-13  Andreas Schwab  <schwab@redhat.com>
26723             Ulrich Drepper  <drepper@redhat.com>
26725         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26726         re-relocationg ld.so.
26727         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26728         _dl_init_paths call.
26729         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
26730         here anymore.
26732 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
26734         * resolv/res_init.c (__res_vinit): Count the default server we added.
26736 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
26737             Ulrich Drepper  <drepper@redhat.com>
26739         [BZ #11968]
26740         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26741         (____longjmp_chk): Use %ebx for saving value across system call.
26742         Add unwind info.
26744 2010-09-06  Andreas Schwab  <schwab@redhat.com>
26746         * manual/Makefile: Don't mix pattern rules with normal rules.
26748 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26750         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26751         operation.
26752         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26753         * libio/iofopncook.c (_IO_cookie_init): Likewise.
26754         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26755         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26756         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26757         Likewise.
26759 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
26761         [BZ #11979]
26762         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26763         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26765 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
26767         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26768         * sysdeps/x86_64/addmul_1.S: Likewise.
26769         * sysdeps/x86_64/lshift.S: Likewise.
26770         * sysdeps/x86_64/mul_1.S: Likewise.
26771         * sysdeps/x86_64/rshift.S: Likewise.
26772         * sysdeps/x86_64/sub_n.S: Likewise.
26773         * sysdeps/x86_64/submul_1.S: Likewise.
26775 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26777         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26778         Define __sched_param instead of SCHED_* and sched_param when
26779         <bits/sched.h> is included with __need_schedparam defined.
26780         * bits/sched.h [__need_schedparam]
26781         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26782         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26783         (__defined_schedparam): Define to 1.
26784         (__sched_param): New structure, identical to sched_param.
26785         (__need_schedparam): Undefine.
26787 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
26789         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26790         (epoll_create1): Declare.
26792         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26794 2010-08-31  Andreas Schwab  <schwab@redhat.com>
26796         [BZ #7066]
26797         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26798         shifting retval into place.
26800 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
26802         * nis/rpcsvc/nis.h: Update copyright notice.
26803         * nis/rpcsvc/nis.x: Likewise.
26804         * nis/rpcsvc/nis_callback.h: Likewise.
26805         * nis/rpcsvc/nis_callback.x: Likewise.
26806         * nis/rpcsvc/nis_object.x: Likewise.
26807         * nis/rpcsvc/nis_tags.h: Likewise.
26808         * nis/rpcsvc/yp.h: Likewise.
26809         * nis/rpcsvc/yp.x: Likewise.
26810         * nis/rpcsvc/ypupd.h: Likewise.
26811         * nis/yp_xdr.c: Likewise.
26812         * nis/ypupdate_xdr.c: Likewise.
26814         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
26815         mainly the body of pmap_getport.  Add parameters to specify timeouts.
26816         (pmap_getport): Use __libc_rpc_getport.
26817         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26818         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26819         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26821 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
26823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26824         fanotify_mark.
26826 2010-08-27  Roland McGrath  <roland@redhat.com>
26828         * sysdeps/i386/i686/multiarch/Makefile
26829         (CFLAGS-varshift.c): New variable.
26831 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
26833         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26834         * sysdeps/i386/i686/multiarch/varshift.c: New file.
26836         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26838         * sysdeps/x86_64/strlen.S: Minimal code improvement.
26840 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26842         * sysdeps/x86_64/strlen.S: Unroll the loop.
26843         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26844         strlen-sse2 strlen-sse2-bsf.
26845         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26846         __strlen_no_bsf if bit_Slow_BSF is set.
26847         (__strlen_sse42): Removed.
26848         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26849         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26851 2010-08-25  Roland McGrath  <roland@redhat.com>
26853         * sysdeps/x86_64/multiarch/varshift.S: File removed.
26854         * sysdeps/x86_64/multiarch/varshift.c: New file.
26855         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26856         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26857         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26858         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26860 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26862         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26863         strlen-sse2 strlen-sse2-bsf.
26864         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26865         __strlen_sse2_bsf if bit_Slow_BSF is unset.
26866         (__strlen_sse2): Removed.
26867         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26868         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26870         bit_Slow_BSF for Atom.
26871         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26872         (index_Slow_BSF): Define.
26873         (HAS_SLOW_BSF): Define.
26875 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
26877         [BZ #10851]
26878         * resolv/res_init.c (__res_vinit): When no server address at all
26879         is given default to loopback.
26881 2010-08-24  Roland McGrath  <roland@redhat.com>
26883         * configure.in: Remove config-name.h generation.
26884         * configure: Regenerated.
26885         * config-name.in: File removed.
26886         * scripts/config-uname.sh: New file.
26887         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26888         ($(objdir)config-name.h): New target.
26890         * sunrpc/rpc_parse.h: Avoid nested comment.
26892 2010-08-24  Richard Henderson  <rth@redhat.com>
26893             Ulrich Drepper  <drepper@redhat.com>
26894             H.J. Lu  <hongjiu.lu@intel.com>
26896         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26897         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26898         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26899         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
26900         _mm_alignr_epi8 with _mm_loadu_si128.
26901         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26902         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26903         (__m128i_shift_right): Removed.
26904         * sysdeps/i386/i686/multiarch/varshift.h: New file.
26905         * sysdeps/i386/i686/multiarch/varshift.S: New file.
26906         * sysdeps/x86_64/multiarch/varshift.h: New file.
26907         * sysdeps/x86_64/multiarch/varshift.S: New file.
26909 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
26911         * configure.in: Move assembler checks to before sysdep dir checking.
26913 2010-08-20  Petr Baudis  <pasky@suse.cz>
26915         * LICENSES: Sync the sunrpc license.
26917 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
26919         * sunrpc/auth_des.c: Update copyright notice once again.
26920         * sunrpc/auth_none.c: Likewise.
26921         * sunrpc/auth_unix.c: Likewise.
26922         * sunrpc/authdes_prot.c: Likewise.
26923         * sunrpc/authuxprot.c: Likewise.
26924         * sunrpc/bindrsvprt.c: Likewise.
26925         * sunrpc/clnt_gen.c: Likewise.
26926         * sunrpc/clnt_perr.c: Likewise.
26927         * sunrpc/clnt_raw.c: Likewise.
26928         * sunrpc/clnt_simp.c: Likewise.
26929         * sunrpc/clnt_tcp.c: Likewise.
26930         * sunrpc/clnt_udp.c: Likewise.
26931         * sunrpc/clnt_unix.c: Likewise.
26932         * sunrpc/des_crypt.c: Likewise.
26933         * sunrpc/des_soft.c: Likewise.
26934         * sunrpc/get_myaddr.c: Likewise.
26935         * sunrpc/getrpcport.c: Likewise.
26936         * sunrpc/key_call.c: Likewise.
26937         * sunrpc/key_prot.c: Likewise.
26938         * sunrpc/openchild.c: Likewise.
26939         * sunrpc/pm_getmaps.c: Likewise.
26940         * sunrpc/pm_getport.c: Likewise.
26941         * sunrpc/pmap_clnt.c: Likewise.
26942         * sunrpc/pmap_prot.c: Likewise.
26943         * sunrpc/pmap_prot2.c: Likewise.
26944         * sunrpc/pmap_rmt.c: Likewise.
26945         * sunrpc/rpc/auth.h: Likewise.
26946         * sunrpc/rpc/auth_unix.h: Likewise.
26947         * sunrpc/rpc/clnt.h: Likewise.
26948         * sunrpc/rpc/des_crypt.h: Likewise.
26949         * sunrpc/rpc/key_prot.h: Likewise.
26950         * sunrpc/rpc/netdb.h: Likewise.
26951         * sunrpc/rpc/pmap_clnt.h: Likewise.
26952         * sunrpc/rpc/pmap_prot.h: Likewise.
26953         * sunrpc/rpc/pmap_rmt.h: Likewise.
26954         * sunrpc/rpc/rpc.h: Likewise.
26955         * sunrpc/rpc/rpc_des.h: Likewise.
26956         * sunrpc/rpc/rpc_msg.h: Likewise.
26957         * sunrpc/rpc/svc.h: Likewise.
26958         * sunrpc/rpc/svc_auth.h: Likewise.
26959         * sunrpc/rpc/types.h: Likewise.
26960         * sunrpc/rpc/xdr.h: Likewise.
26961         * sunrpc/rpc_clntout.c: Likewise.
26962         * sunrpc/rpc_cmsg.c: Likewise.
26963         * sunrpc/rpc_common.c: Likewise.
26964         * sunrpc/rpc_cout.c: Likewise.
26965         * sunrpc/rpc_dtable.c: Likewise.
26966         * sunrpc/rpc_hout.c: Likewise.
26967         * sunrpc/rpc_main.c: Likewise.
26968         * sunrpc/rpc_parse.c: Likewise.
26969         * sunrpc/rpc_parse.h: Likewise.
26970         * sunrpc/rpc_prot.c: Likewise.
26971         * sunrpc/rpc_sample.c: Likewise.
26972         * sunrpc/rpc_scan.c: Likewise.
26973         * sunrpc/rpc_scan.h: Likewise.
26974         * sunrpc/rpc_svcout.c: Likewise.
26975         * sunrpc/rpc_tblout.c: Likewise.
26976         * sunrpc/rpc_util.c: Likewise.
26977         * sunrpc/rpc_util.h: Likewise.
26978         * sunrpc/rpcinfo.c: Likewise.
26979         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26980         * sunrpc/rpcsvc/key_prot.x: Likewise.
26981         * sunrpc/rpcsvc/klm_prot.x: Likewise.
26982         * sunrpc/rpcsvc/mount.x: Likewise.
26983         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26984         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26985         * sunrpc/rpcsvc/rex.x: Likewise.
26986         * sunrpc/rpcsvc/rstat.x: Likewise.
26987         * sunrpc/rpcsvc/rusers.x: Likewise.
26988         * sunrpc/rpcsvc/sm_inter.x: Likewise.
26989         * sunrpc/rpcsvc/spray.x: Likewise.
26990         * sunrpc/rpcsvc/yppasswd.x: Likewise.
26991         * sunrpc/rtime.c: Likewise.
26992         * sunrpc/svc.c: Likewise.
26993         * sunrpc/svc_auth.c: Likewise.
26994         * sunrpc/svc_authux.c: Likewise.
26995         * sunrpc/svc_raw.c: Likewise.
26996         * sunrpc/svc_run.c: Likewise.
26997         * sunrpc/svc_simple.c: Likewise.
26998         * sunrpc/svc_tcp.c: Likewise.
26999         * sunrpc/svc_udp.c: Likewise.
27000         * sunrpc/svc_unix.c: Likewise.
27001         * sunrpc/svcauth_des.c: Likewise.
27002         * sunrpc/xcrypt.c: Likewise.
27003         * sunrpc/xdr.c: Likewise.
27004         * sunrpc/xdr_array.c: Likewise.
27005         * sunrpc/xdr_float.c: Likewise.
27006         * sunrpc/xdr_mem.c: Likewise.
27007         * sunrpc/xdr_rec.c: Likewise.
27008         * sunrpc/xdr_ref.c: Likewise.
27009         * sunrpc/xdr_sizeof.c: Likewise.
27010         * sunrpc/xdr_stdio.c: Likewise.
27012         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27013         handling.
27015 2010-08-19  Andreas Schwab  <schwab@redhat.com>
27017         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27019 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
27021         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27022         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27023         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27024         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27025         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27026         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27027         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27028         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27029         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27030         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27031         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27032         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27033         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27034         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27036 2010-07-26  Anton Blanchard  <anton@samba.org>
27038         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27039         * malloc/arena.c (heap_trim): Likewise.
27041 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
27043         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27044         here.  Not...
27045         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27046         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27048 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27050         * sysdeps/i386/elf/Makefile: New file.
27052 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27054         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27055         from fanotify_init.
27056         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27057         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27059 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
27061         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27062         of strncasecmp_l.
27063         * sysdeps/multiarch/strcmp.S: Likewise.
27065 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
27067         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27068         strncase_l-nonascii.
27069         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27070         Add strncase_l-ssse3.
27071         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27072         * sysdeps/x86_64/strcmp.S: Likewise.
27073         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27074         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27075         * sysdeps/x86_64/strncase.S: New file.
27076         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27077         * sysdeps/x86_64/strncase_l.S: New file.
27078         * string/Makefile (strop-tests): Add strncasecmp.
27079         * string/test-strncasecmp.c: New file.
27081         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27082         warning.
27084         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27085         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27087 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27089         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27091 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
27093         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27094         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27095         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27097 2010-05-01  Alan Modra  <amodra@gmail.com>
27099         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27100         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27101         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27102         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27103         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27104         tidying.  Don't tail-call __sigjmp_save for static lib.
27105         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27106         save location.
27107         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27108         (CALL_MCOUNT): Add eh info, and nop after bl.
27109         (TAIL_CALL_SYSCALL_ERROR): New macro.
27110         (PSEUDO_RET): Use it.
27111         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27112         Correct save location of integer regs and cr.
27113         (_dl_profile_resolve): Correct cr save location.  Delete nops
27114         after bl when SHARED.  Reduce cfi size a little by better
27115         placement of cfi directives.
27116         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27117         make a stack frame.  Instead use parm save area as a temp.
27118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27119         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
27120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27121         Don't make a stack frame for parent, use parm save area.
27122         Increase child stack frame to 112 bytes.  Don't save unused reg,
27123         and adjust reg usage.  Set up cfi on error recovery and
27124         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27126         (__makecontext): Add dummy nop after jump to exit.
27127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27128         Use correct parm save area and cr save, reduce stack frame.
27129         Correct cfi for possible PSEUDO_RET frame setup.
27130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27131         Branch to local label emitted by PSEUDO_RET rather than
27132         __syscall_error.
27134 2010-08-12  Andreas Schwab  <schwab@redhat.com>
27136         [BZ #11904]
27137         * locale/programs/locale.c (print_assignment): New function.
27138         (show_locale_vars): Use it.
27140 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
27142         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27143         field.
27144         (struct statfs64): Likewise.
27145         (_STATFS_F_FLAGS): Define.
27146         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27147         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27148         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27149         (ST_VALID): Define locally.
27150         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27151         __statvfs_getflags, use the provided value.
27152         * sysdeps/unix/sysv/linux/kernel-features.h: Define
27153         __ASSUME_STATFS_F_FLAGS.
27155         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27157         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27158         Add sys/fanotify.h.
27159         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27160         fanotify_mask for GLIBC_2.13.
27161         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27162         fanotify_init and fanotify_mark.
27163         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27164         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27166         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27167         Add prlimit.
27168         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27169         prlimit64 for GLIBC_2.13.
27170         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27171         prlimit64.
27172         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27173         syscall.
27174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27175         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27176         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27177         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27178         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
27179         add prlimit alias.
27180         * sysdeps/unix/sysv/linux/prlimit.c: New file.
27182         [BZ #11903]
27183         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27184         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27186         * nss/Makefile: Add rules to build and run tst-nss-test1.
27187         * shlib-versions: Add entry for libnss_test1.
27188         * nss/nss_test1.c: New file.
27189         * nss/tst-nss-test1.c: New file.
27191         * nss/nsswitch.c (__nss_database_custom): Define new variable.
27192         (__nss_configure_lookup): Set appropriate entry in
27193         __nss_configure_lookup to true.
27194         * nss/nsswitch.h: Define enum with indeces of databases in
27195         databases and __nss_database_custom arrays.  Declare
27196         __nss_database_custom.
27197         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27198         to avoid using nscd when custom rules are installed.
27199         * nss/getXXbyYY_r.c: Likewise.
27200         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27202         * nss/nss_files/files-parse.c: Whitespace fixes.
27204 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
27206         [BZ #11883]
27207         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27208         * posix/fnmatch_loop.c: Likewise.
27210 2010-07-17  Andi Kleen  <ak@linux.intel.com>
27212         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27213         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27214         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27215         * Versions.def [GLIBC_2.13]: Add.
27217 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
27219         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27220         Also fail if tpwd after pwuid call is NULL.
27222 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27224         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27225         when converting to ms.
27227 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27229         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27230         EOPNOTSUPP errors with ENOTTY.
27231         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27232         EOPNOTSUPP errors with ENOTTY.
27234 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
27236         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27237         Add strcasecmp_l-ssse3.
27238         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27239         strcasecmp.
27240         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27241         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27242         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27244 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
27246         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27248         * string/Makefile (strop-tests): Add strcasecmp.
27249         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27250         strcasecmp_l-nonascii.
27251         (gen-as-const-headers): Add locale-defines.sym.
27252         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27253         * sysdeps/x86_64/strcasecmp.S: New file.
27254         * sysdeps/x86_64/strcasecmp_l.S: New file.
27255         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27256         * sysdeps/x86_64/locale-defines.sym: New file.
27257         * string/test-strcasecmp.c: New file.
27259         * string/test-strcasestr.c: Test both ends of the range of characters.
27260         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27262 2010-07-29  Roland McGrath  <roland@redhat.com>
27264         [BZ #11856]
27265         * manual/locale.texi (Yes-or-No Questions): Fix example code.
27267 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
27269         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27270         for ld.so.
27272 2010-07-27  Andreas Schwab  <schwab@redhat.com>
27274         * manual/memory.texi (Malloc Tunable Parameters): Document
27275         M_PERTURB.
27277 2010-07-26  Roland McGrath  <roland@redhat.com>
27279         [BZ #11840]
27280         * configure.in (-fgnu89-inline check): Set and substitute
27281         gnu89_inline, not libc_cv_gnu89_inline.
27282         * configure: Regenerated.
27283         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27285 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
27287         * string/test-strnlen.c: New file.
27288         * string/Makefile (strop-tests): Add strnlen.
27289         * string/tester.c (test_strnlen): Add a few more test cases.
27290         * string/tst-strlen.c: Better error reporting.
27292         * sysdeps/x86_64/strnlen.S: New file.
27294 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
27296         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27297         lower-latency instructions.
27299 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
27301         * string/test-strcasestr.c: New file.
27302         * string/test-strstr.c: New file.
27303         * string/Makefile (strop-tests): Add strstr and strcasestr.
27304         * string/str-two-way.h: Don't undefine MAX.
27305         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27307 2010-07-21  Andreas Schwab  <schwab@redhat.com>
27309         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27310         strcasestr-nonascii.
27311         (CFLAGS-strcasestr-nonascii.c): Define.
27312         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27313         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27314         Remove unused attribute.
27316 2010-07-20  Roland McGrath  <roland@redhat.com>
27318         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27319         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
27320         ld.so.cache was broken.  With it, there is no way to disable dsocaps
27321         like LD_HWCAP_MASK can disable hwcaps.
27323 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27325         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27327 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
27329         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27330         call in strcasestr.
27331         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27332         __strcasestr_sse42_nonascii.
27333         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27334         strcasestr-nonascii.c.
27335         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27337 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
27339         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27340         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27341         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27342         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27344 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
27346         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27347         fcntl.
27349 2010-07-06  Andreas Schwab  <schwab@redhat.com>
27351         [BZ #11577]
27352         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27353         dl_signal_cerror.
27355 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
27357         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27358         _PC_PIPE_BUF using F_GETPIPE_SZ.
27360 2010-07-05  Roland McGrath  <roland@redhat.com>
27362         * manual/arith.texi (Rounding Functions): Fix rint description
27363         implicit in round description.
27365 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
27367         * elf/Makefile: Fix linking for a few tests to make recent linker
27368         happy.
27370 2010-06-30  Andreas Schwab  <schwab@redhat.com>
27372         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27373         $(common-objpfx)libc_nonshared.a.
27375 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
27377         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27378         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27379         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27380         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27381         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27382         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27383         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27384         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27399         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27400         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27401         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27402         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27403         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27404         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27405         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27406         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27407         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27408         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27409         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27410         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27426 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27428         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27429         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
27430         * string/memmove.c (memmove): Renamed to ...
27431         (MEMMOVE): ...this.  Default to memmove.
27432         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27433         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27434         (END_CHK): Define.
27435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27436         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27437         mempcpy-ssse3-back memmove-ssse3-back.
27438         * sysdeps/x86_64/multiarch/bcopy.S: New file .
27439         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27440         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27441         * sysdeps/x86_64/multiarch/memcpy.S: New file.
27442         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27443         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27444         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27445         * sysdeps/x86_64/multiarch/memmove.c: New file.
27446         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27447         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27448         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27449         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27450         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27451         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27452         Define.
27453         (index_Fast_Copy_Backward): Define.
27454         (HAS_ARCH_FEATURE): Define.
27455         (HAS_FAST_REP_STRING): Define.
27456         (HAS_FAST_COPY_BACKWARD): Define.
27458 2010-06-21  Andreas Schwab  <schwab@redhat.com>
27460         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27461         Restore proper fallback handling.
27463 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
27465         [BZ #11701]
27466         * posix/group_member.c (__group_member): Correct checking loop.
27468         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27469         OOM in getpwuid_r correctly.  Return error number when the caller
27470         should return, otherwise -1.
27471         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27472         call returning > 0 value.
27473         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27475 2010-06-07  Andreas Schwab  <schwab@redhat.com>
27477         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27478         libc_nonshared.a from targets in modules-names.
27480 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
27482         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27483         requires it.
27485 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
27487         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27488         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27489         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27490         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27492 2010-06-02  Andreas Schwab  <schwab@redhat.com>
27494         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27496 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
27498         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27499         and F_GETPIPE_SZ.
27500         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27501         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27502         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27503         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27504         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27505         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27507 2010-06-14  Roland McGrath  <roland@redhat.com>
27509         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27511 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
27513         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27514         __REDIRECT followed by __THROW.
27515         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27516         * posix/getopt.h (getopt): Likewise.
27518 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27520         * hurd/lookup-at.c (__file_name_lookup_at): Accept
27521         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
27522         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27523         in AT_FLAGS.
27524         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27525         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27527 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
27529         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27531 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
27533         [BZ #11640]
27534         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27535         Properly check family and model.
27537 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
27539         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27541 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
27543         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27545 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
27547         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27548         symbol reference.
27550 2010-05-19  Andreas Schwab  <schwab@redhat.com>
27552         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27553         symbol reference.
27555 2010-05-21  Andreas Schwab  <schwab@redhat.com>
27557         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27558         and internal_recvmmsg.
27559         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27560         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27561         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27562         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27564         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27565         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27566         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27568 2010-05-20  Andreas Schwab  <schwab@redhat.com>
27570         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27572 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
27574         POWER7 optimizations.
27575         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27576         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27578 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
27580         * version.h: Update for 2.13 development version.
27582 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
27584         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27585         exceptions.  Return 0.
27587 2010-05-07  Roland McGrath  <roland@redhat.com>
27589         * elf/ldconfig.c (main): Add a const.
27591 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
27593         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27594         (args_options): Add no-idn option.
27595         (ahosts_keys_int): Add idn_flags to ai_flags.
27596         (parse_option): Handle 'i' option to clear idn_flags.
27598         * malloc/malloc.c (_int_free): Possible race in the most recently
27599         added check.  Only act on the data if no current modification
27600         happened.
27602 See ChangeLog.17 for earlier changes.